File manager - Edit - /home/jardides/www/Cloud/apps/calendar/js/public/vendor.min.js
Back
!function(e){"use strict";function t(e,t){return t=t||Error,function(){var n,i,r=arguments[0],a=arguments[1],s="["+(e?e+":":"")+r+"] ",o=W(arguments,2).map(function(e){return $e(e,Ki.objectMaxDepth)});for(s+=a.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1);return t<o.length?o[t]:e}),s+="\nhttp://errors.angularjs.org/1.6.4/"+(e?e+"/":"")+r,i=0,n="?";i<o.length;i++,n="&")s+=n+"p"+i+"="+encodeURIComponent(o[i]);return new t(s)}}function n(e){return T(e)?void(b(e.objectMaxDepth)&&(Ki.objectMaxDepth=i(e.objectMaxDepth)?e.objectMaxDepth:NaN)):Ki}function i(e){return $(e)&&e>0}function r(e){if(null==e||x(e))return!1;if(mr(e)||w(e)||nr&&e instanceof nr)return!0;var t="length"in Object(e)&&e.length;return $(t)&&(t>=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function a(e,t,n){var i,s;if(e)if(k(e))for(i in e)"prototype"!==i&&"length"!==i&&"name"!==i&&e.hasOwnProperty(i)&&t.call(n,e[i],i,e);else if(mr(e)||r(e)){var o="object"!=typeof e;for(i=0,s=e.length;i<s;i++)(o||i in e)&&t.call(n,e[i],i,e)}else if(e.forEach&&e.forEach!==a)e.forEach(t,n,e);else if(M(e))for(i in e)t.call(n,e[i],i,e);else if("function"==typeof e.hasOwnProperty)for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e);else for(i in e)Gi.call(e,i)&&t.call(n,e[i],i,e);return e}function s(e,t,n){for(var i=Object.keys(e).sort(),r=0;r<i.length;r++)t.call(n,e[i[r]],i[r]);return i}function o(e){return function(t,n){e(n,t)}}function l(){return++hr}function u(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function c(e,t,n){for(var i=e.$$hashKey,r=0,a=t.length;r<a;++r){var s=t[r];if(T(s)||k(s))for(var o=Object.keys(s),l=0,d=o.length;l<d;l++){var h=o[l],p=s[h];n&&T(p)?D(p)?e[h]=new Date(p.valueOf()):L(p)?e[h]=new RegExp(p):p.nodeName?e[h]=p.cloneNode(!0):N(p)?e[h]=p.clone():(T(e[h])||(e[h]=mr(p)?[]:{}),c(e[h],[p],!0)):e[h]=p}}return u(e,i),e}function d(e){return c(e,ar.call(arguments,1),!1)}function h(e){return c(e,ar.call(arguments,1),!0)}function p(e){return parseInt(e,10)}function m(e,t){return d(Object.create(e),t)}function f(){}function g(e){return e}function v(e){return function(){return e}}function y(e){return k(e.toString)&&e.toString!==lr}function _(e){return"undefined"==typeof e}function b(e){return"undefined"!=typeof e}function T(e){return null!==e&&"object"==typeof e}function M(e){return null!==e&&"object"==typeof e&&!ur(e)}function w(e){return"string"==typeof e}function $(e){return"number"==typeof e}function D(e){return"[object Date]"===lr.call(e)}function k(e){return"function"==typeof e}function L(e){return"[object RegExp]"===lr.call(e)}function x(e){return e&&e.window===e}function S(e){return e&&e.$evalAsync&&e.$watch}function C(e){return"[object File]"===lr.call(e)}function A(e){return"[object FormData]"===lr.call(e)}function Y(e){return"[object Blob]"===lr.call(e)}function E(e){return"boolean"==typeof e}function I(e){return e&&k(e.then)}function H(e){return e&&$(e.length)&&fr.test(lr.call(e))}function O(e){return"[object ArrayBuffer]"===lr.call(e)}function N(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},i=e.split(",");for(t=0;t<i.length;t++)n[i[t]]=!0;return n}function j(e){return Zi(e.nodeName||e[0]&&e[0].nodeName)}function R(e,t){return Array.prototype.indexOf.call(e,t)!==-1}function z(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function F(e,t,n){function r(e,t,n){if(n--,n<0)return"...";var i,r=t.$$hashKey;if(mr(e))for(var a=0,o=e.length;a<o;a++)t.push(s(e[a],n));else if(M(e))for(i in e)t[i]=s(e[i],n);else if(e&&"function"==typeof e.hasOwnProperty)for(i in e)e.hasOwnProperty(i)&&(t[i]=s(e[i],n));else for(i in e)Gi.call(e,i)&&(t[i]=s(e[i],n));return u(t,r),t}function s(e,t){if(!T(e))return e;var n=l.indexOf(e);if(n!==-1)return c[n];if(x(e)||S(e))throw cr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var i=!1,a=o(e);return void 0===a&&(a=mr(e)?[]:Object.create(ur(e)),i=!0),l.push(e),c.push(a),i?r(e,a,t):a}function o(e){switch(lr.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(s(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(k(e.cloneNode))return e.cloneNode(!0)}var l=[],c=[];if(n=i(n)?n:NaN,t){if(H(t)||O(t))throw cr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw cr("cpi","Can't copy! Source and destination are identical.");return mr(t)?t.length=0:a(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),l.push(e),c.push(t),r(e,t,n)}return s(e,n)}function V(e,t){return e===t||e!==e&&t!==t}function B(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,i,r,a=typeof e,s=typeof t;if(a===s&&"object"===a){if(!mr(e)){if(D(e))return!!D(t)&&V(e.getTime(),t.getTime());if(L(e))return!!L(t)&&e.toString()===t.toString();if(S(e)||S(t)||x(e)||x(t)||mr(t)||D(t)||L(t))return!1;r=_e();for(i in e)if("$"!==i.charAt(0)&&!k(e[i])){if(!B(e[i],t[i]))return!1;r[i]=!0}for(i in t)if(!(i in r)&&"$"!==i.charAt(0)&&b(t[i])&&!k(t[i]))return!1;return!0}if(!mr(t))return!1;if((n=e.length)===t.length){for(i=0;i<n;i++)if(!B(e[i],t[i]))return!1;return!0}}return!1}function U(e,t,n){return e.concat(ar.call(t,n))}function W(e,t){return ar.call(e,t||0)}function J(e,t){var n=arguments.length>2?W(arguments,2):[];return!k(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,U(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function q(t,n){var i=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?i=void 0:x(n)?i="$WINDOW":n&&e.document===n?i="$DOCUMENT":S(n)&&(i="$SCOPE"),i}function G(e,t){if(!_(e))return $(t)||(t=t?2:null),JSON.stringify(e,q,t)}function K(e){return w(e)?JSON.parse(e):e}function Z(e,t){e=e.replace(br,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return pr(n)?t:n}function Q(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function X(e,t,n){n=n?-1:1;var i=e.getTimezoneOffset(),r=Z(t,i);return Q(e,n*(r-i))}function ee(e){e=nr(e).clone();try{e.empty()}catch(e){}var t=nr("<div>").append(e).html();try{return e[0].nodeType===Lr?Zi(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+Zi(t)})}catch(e){return Zi(t)}}function te(e){try{return decodeURIComponent(e)}catch(e){}}function ne(e){var t={};return a((e||"").split("&"),function(e){var n,i,r;e&&(i=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),n!==-1&&(i=e.substring(0,n),r=e.substring(n+1)),i=te(i),b(i)&&(r=!b(r)||te(r),Gi.call(t,i)?mr(t[i])?t[i].push(r):t[i]=[t[i],r]:t[i]=r))}),t}function ie(e){var t=[];return a(e,function(e,n){mr(e)?a(e,function(e){t.push(ae(n,!0)+(e===!0?"":"="+ae(e,!0)))}):t.push(ae(n,!0)+(e===!0?"":"="+ae(e,!0)))}),t.length?t.join("&"):""}function re(e){return ae(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ae(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":"+")}function se(e,t){var n,i,r=Tr.length;for(i=0;i<r;++i)if(n=Tr[i]+t,w(n=e.getAttribute(n)))return n;return null}function oe(t){var n=t.currentScript;if(!n)return!0;if(!(n instanceof e.HTMLScriptElement||n instanceof e.SVGScriptElement))return!1;var i=n.attributes,r=[i.getNamedItem("src"),i.getNamedItem("href"),i.getNamedItem("xlink:href")];return r.every(function(e){if(!e)return!0;if(!e.value)return!1;var n=t.createElement("a");if(n.href=e.value,t.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}})}function le(t,n){var i,r,s={};if(a(Tr,function(e){var n=e+"app";!i&&t.hasAttribute&&t.hasAttribute(n)&&(i=t,r=t.getAttribute(n))}),a(Tr,function(e){var n,a=e+"app";!i&&(n=t.querySelector("["+a.replace(":","\\:")+"]"))&&(i=n,r=n.getAttribute(a))}),i){if(!Mr)return void e.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");s.strictDi=null!==se(i,"strict-di"),n(i,r?[r]:[],s)}}function ue(t,n,i){T(i)||(i={});var r={strictDi:!1};i=d(r,i);var s=function(){if(t=nr(t),t.injector()){var r=t[0]===e.document?"document":ee(t);throw cr("btstrpd","App already bootstrapped with this element '{0}'",r.replace(/</,"<").replace(/>/,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var a=dt(n,i.strictDi);return a.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,i){e.$apply(function(){t.data("$injector",i),n(t)(e)})}]),a},o=/^NG_ENABLE_DEBUG_INFO!/,l=/^NG_DEFER_BOOTSTRAP!/;return e&&o.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(o,"")),e&&!l.test(e.name)?s():(e.name=e.name.replace(l,""),dr.resumeBootstrap=function(e){return a(e,function(e){n.push(e)}),s()},void(k(dr.resumeDeferredBootstrap)&&dr.resumeDeferredBootstrap()))}function ce(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function de(e){var t=dr.element(e).injector();if(!t)throw cr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function he(e,t){return t=t||"_",e.replace(wr,function(e,n){return(n?t:"")+e.toLowerCase()})}function pe(){var t;if(!$r){var n=_r();ir=_(n)?e.jQuery:n?e[n]:void 0,ir&&ir.fn.on?(nr=ir,d(ir.fn,{scope:Br.scope,isolateScope:Br.isolateScope,controller:Br.controller,injector:Br.injector,inheritedData:Br.inheritedData}),t=ir.cleanData,ir.cleanData=function(e){for(var n,i,r=0;null!=(i=e[r]);r++)n=ir._data(i,"events"),n&&n.$destroy&&ir(i).triggerHandler("$destroy");t(e)}):nr=Oe,dr.element=nr,$r=!0}}function me(e,t,n){if(!e)throw cr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function fe(e,t,n){return n&&mr(e)&&(e=e[e.length-1]),me(k(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function ge(e,t){if("hasOwnProperty"===e)throw cr("badname","hasOwnProperty is not a valid {0} name",t)}function ve(e,t,n){if(!t)return e;for(var i,r=t.split("."),a=e,s=r.length,o=0;o<s;o++)i=r[o],e&&(e=(a=e)[i]);return!n&&k(e)?J(a,e):e}function ye(e){for(var t,n=e[0],i=e[e.length-1],r=1;n!==i&&(n=n.nextSibling);r++)(t||e[r]!==n)&&(t||(t=nr(ar.call(e,0,r))),t.push(n));return t||e}function _e(){return Object.create(null)}function be(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!y(e)||mr(e)||D(e)?G(e):e.toString()}return e}function Te(e){function n(e,t,n){return e[t]||(e[t]=n())}var i=t("$injector"),r=t("ng"),a=n(e,"angular",Object);return a.$$minErr=a.$$minErr||t,n(a,"module",function(){var e={};return function(t,a,s){var o={},l=function(e,t){if("hasOwnProperty"===e)throw r("badname","hasOwnProperty is not a valid {0} name",t)};return l(t,"module"),a&&e.hasOwnProperty(t)&&(e[t]=null),n(e,t,function(){function e(e,t,n,i){return i||(i=l),function(){return i[n||"push"]([e,t,arguments]),h}}function n(e,n,i){return i||(i=l),function(r,a){return a&&k(a)&&(a.$$moduleName=t),i.push([e,n,arguments]),h}}if(!a)throw i("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.",t);var l=[],u=[],c=[],d=e("$injector","invoke","push",u),h={_invokeQueue:l,_configBlocks:u,_runBlocks:c,info:function(e){if(b(e)){if(!T(e))throw r("aobj","Argument '{0}' must be an object","value");return o=e,this}return o},requires:a,name:t,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:n("$provide","decorator",u),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:d,run:function(e){return c.push(e),this}};return s&&d(s),h})}})}function Me(e,t){if(mr(e)){t=t||[];for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}else if(T(e)){t=t||{};for(var r in e)"$"===r.charAt(0)&&"$"===r.charAt(1)||(t[r]=e[r])}return t||e}function we(e,t){var n=[];return i(t)&&(e=F(e,null,t)),JSON.stringify(e,function(e,t){if(t=q(e,t),T(t)){if(n.indexOf(t)>=0)return"...";n.push(t)}return t})}function $e(e,t){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):_(e)?"undefined":"string"!=typeof e?we(e,t):e}function De(i){d(i,{errorHandlingConfig:n,bootstrap:ue,copy:F,extend:d,merge:h,equals:B,element:nr,forEach:a,injector:dt,noop:f,bind:J,toJson:G,fromJson:K,identity:g,isUndefined:_,isDefined:b,isString:w,isFunction:k,isObject:T,isNumber:$,isElement:N,isArray:mr,version:Ar,isDate:D,lowercase:Zi,uppercase:Qi,callbacks:{$$counter:0},getTestability:de,reloadWithDebugInfo:ce,$$minErr:t,$$csp:yr,$$encodeUriSegment:re,$$encodeUriQuery:ae,$$stringify:be}),rr=Te(e),rr("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Cn}),e.provider("$compile",Mt).directive({a:Qa,input:ys,textarea:ys,form:rs,script:po,select:go,option:vo,ngBind:Ts,ngBindHtml:ws,ngBindTemplate:Ms,ngClass:Ds,ngClassEven:Ls,ngClassOdd:ks,ngCloak:xs,ngController:Ss,ngForm:as,ngHide:ao,ngIf:Ys,ngInclude:Es,ngInit:Hs,ngNonBindable:Ks,ngPluralize:eo,ngRepeat:to,ngShow:ro,ngStyle:so,ngSwitch:oo,ngSwitchWhen:lo,ngSwitchDefault:uo,ngOptions:Xs,ngTransclude:ho,ngModel:Js,ngList:Os,ngChange:$s,pattern:_o,ngPattern:_o,required:yo,ngRequired:yo,minlength:To,ngMinlength:To,maxlength:bo,ngMaxlength:bo,ngValue:bs,ngModelOptions:Gs}).directive({ngInclude:Is}).directive(Xa).directive(Cs),e.provider({$anchorScroll:ht,$animate:la,$animateCss:da,$$animateJs:sa,$$animateQueue:oa,$$AnimateRunner:ca,$$animateAsyncRun:ua,$browser:yt,$cacheFactory:_t,$controller:xt,$document:St,$$isDocumentHidden:Ct,$exceptionHandler:At,$filter:Un,$$forceReflow:ya,$interpolate:Ut,$interval:Wt,$http:zt,$httpParamSerializer:Et,$httpParamSerializerJQLike:It,$httpBackend:Vt,$xhrFactory:Ft,$jsonpCallbacks:ka,$location:ln,$log:un,$parse:$n,$rootScope:Sn,$q:Dn,$$q:kn,$sce:Hn,$sceDelegate:In,$sniffer:On,$templateCache:bt,$templateRequest:Nn,$$testability:Pn,$timeout:jn,$window:Fn,$$rAF:xn,$$jqLite:rt,$$Map:Kr,$$cookieReader:Bn})}]).info({angularVersion:"1.6.4"})}function ke(){return++Er}function Le(e){return Se(e.replace(Hr,"ms-"))}function xe(e,t){return t.toUpperCase()}function Se(e){return e.replace(Ir,xe)}function Ce(e){return!jr.test(e)}function Ae(e){var t=e.nodeType;return t===Dr||!t||t===Sr}function Ye(e){for(var t in Yr[e.ng339])return!0;return!1}function Ee(e,t){var n,i,r,s,o=t.createDocumentFragment(),l=[];if(Ce(e))l.push(t.createTextNode(e));else{for(n=o.appendChild(t.createElement("div")),i=(Rr.exec(e)||["",""])[1].toLowerCase(),r=Fr[i]||Fr._default,n.innerHTML=r[1]+e.replace(zr,"<$1></$2>")+r[2],s=r[0];s--;)n=n.lastChild;l=U(l,n.childNodes),n=o.firstChild,n.textContent=""}return o.textContent="",o.innerHTML="",a(l,function(e){o.appendChild(e)}),o}function Ie(t,n){n=n||e.document;var i;return(i=Pr.exec(t))?[n.createElement(i[1])]:(i=Ee(t,n))?i.childNodes:[]}function He(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Oe(e){if(e instanceof Oe)return e;var t;if(w(e)&&(e=gr(e),t=!0),!(this instanceof Oe)){if(t&&"<"!==e.charAt(0))throw Nr("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Oe(e)}t?We(this,Ie(e)):k(e)?Qe(e):We(this,e)}function Ne(e){return e.cloneNode(!0)}function Pe(e,t){!t&&Ae(e)&&nr.cleanData([e]),e.querySelectorAll&&nr.cleanData(e.querySelectorAll("*"))}function je(e,t,n,i){if(b(i))throw Nr("offargs","jqLite#off() does not support the `selector` argument");var r=ze(e),s=r&&r.events,o=r&&r.handle;if(o)if(t){var l=function(t){var i=s[t];b(n)&&z(i||[],n),b(n)&&i&&i.length>0||(e.removeEventListener(t,o),delete s[t])};a(t.split(" "),function(e){l(e),Or[e]&&l(Or[e])})}else for(t in s)"$destroy"!==t&&e.removeEventListener(t,o),delete s[t]}function Re(e,t){var n=e.ng339,i=n&&Yr[n];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),je(e)),delete Yr[n],e.ng339=void 0}}function ze(e,t){var n=e.ng339,i=n&&Yr[n];return t&&!i&&(e.ng339=n=ke(),i=Yr[n]={events:{},data:{},handle:void 0}),i}function Fe(e,t,n){if(Ae(e)){var i,r=b(n),a=!r&&t&&!T(t),s=!t,o=ze(e,!a),l=o&&o.data;if(r)l[Se(t)]=n;else{if(s)return l;if(a)return l&&l[Se(t)];for(i in t)l[Se(i)]=t[i]}}}function Ve(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function Be(e,t){t&&e.setAttribute&&a(t.split(" "),function(t){e.setAttribute("class",gr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+gr(t)+" "," ")))})}function Ue(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");a(t.split(" "),function(e){e=gr(e),n.indexOf(" "+e+" ")===-1&&(n+=e+" ")}),e.setAttribute("class",gr(n))}}function We(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 i=0;i<n;i++)e[e.length++]=t[i]}else e[e.length++]=t}}function Je(e,t){return qe(e,"$"+(t||"ngController")+"Controller")}function qe(e,t,n){e.nodeType===Sr&&(e=e.documentElement);for(var i=mr(t)?t:[t];e;){for(var r=0,a=i.length;r<a;r++)if(b(n=nr.data(e,i[r])))return n;e=e.parentNode||e.nodeType===Cr&&e.host}}function Ge(e){for(Pe(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Ke(e,t){t||Pe(e);var n=e.parentNode;n&&n.removeChild(e)}function Ze(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):nr(n).on("load",t)}function Qe(t){function n(){e.document.removeEventListener("DOMContentLoaded",n),e.removeEventListener("load",n),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}function Xe(e,t){var n=Ur[t.toLowerCase()];return n&&Wr[j(e)]&&n}function et(e){return Jr[e]}function tt(e,t){var n=function(n,i){n.isDefaultPrevented=function(){return n.defaultPrevented};var r=t[i||n.type],a=r?r.length:0;if(a){if(_(n.immediatePropagationStopped)){var s=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),s&&s.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var o=r.specialHandlerWrapper||nt;a>1&&(r=Me(r));for(var l=0;l<a;l++)n.isImmediatePropagationStopped()||o(e,n,r[l])}};return n.elem=e,n}function nt(e,t,n){n.call(e,t)}function it(e,t,n){var i=t.relatedTarget;i&&(i===e||Vr.call(e,i))||n.call(e,t)}function rt(){this.$get=function(){return d(Oe,{hasClass:function(e,t){return e.attr&&(e=e[0]),Ve(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Ue(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Be(e,t)}})}}function at(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var i=typeof e;return n="function"===i||"object"===i&&null!==e?e.$$hashKey=i+":"+(t||l)():i+":"+e}function st(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}function ot(e){return Function.prototype.toString.call(e)}function lt(e){var t=ot(e).replace(ta,""),n=t.match(Zr)||t.match(Qr);return n}function ut(e){var t=lt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function ct(e,t,n){var i,r,s;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw w(n)&&n||(n=e.name||ut(e)),na("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);r=lt(e),a(r[1].split(Xr),function(e){e.replace(ea,function(e,t,n){i.push(n)})})}e.$inject=i}}else mr(e)?(s=e.length-1,fe(e[s],"fn"),i=e.slice(0,s)):fe(e,"fn",!0);return i}function dt(e,t){function n(e){return function(t,n){return T(t)?void a(t,o(e)):e(t,n)}}function i(e,t){if(ge(e,"service"),(k(t)||mr(t))&&(t=M.instantiate(t)),!t.$get)throw na("pget","Provider '{0}' must define $get factory method.",e);return b[e+f]=t}function r(e,t){return function(){var n=L.invoke(t,this);if(_(n))throw na("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:n!==!1?r(e,t):t})}function l(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function u(e,t){return s(e,v(t),!1)}function c(e,t){ge(e,"constant"),b[e]=t,$[e]=t}function d(e,t){var n=M.get(e+f),i=n.$get;n.$get=function(){var e=L.invoke(i,n);return L.invoke(t,null,{$delegate:e})}}function h(e){me(_(e)||mr(e),"modulesToLoad","not an array");var t,n=[];return a(e,function(e){function i(e){var t,n;for(t=0,n=e.length;t<n;t++){var i=e[t],r=M.get(i[0]);r[i[1]].apply(r,i[2])}}if(!y.get(e)){y.set(e,!0);try{w(e)?(t=rr(e),L.modules[e]=t,n=n.concat(h(t.requires)).concat(t._runBlocks),i(t._invokeQueue),i(t._configBlocks)):k(e)?n.push(M.invoke(e)):mr(e)?n.push(M.invoke(e)):fe(e,"module")}catch(t){throw mr(e)&&(e=e[e.length-1]),t.message&&t.stack&&t.stack.indexOf(t.message)===-1&&(t=t.message+"\n"+t.stack),na("modulerr","Failed to instantiate module {0} due to:\n{1}",e,t.stack||t.message||t)}}}),n}function p(e,n){function i(t,i){if(e.hasOwnProperty(t)){if(e[t]===m)throw na("cdep","Circular dependency found: {0}",t+" <- "+g.join(" <- "));return e[t]}try{return g.unshift(t),e[t]=m,e[t]=n(t,i),e[t]}catch(n){throw e[t]===m&&delete e[t],n}finally{g.shift()}}function r(e,n,r){for(var a=[],s=dt.$$annotate(e,t,r),o=0,l=s.length;o<l;o++){var u=s[o];if("string"!=typeof u)throw na("itkn","Incorrect injection token! Expected service name as string, got {0}",u);a.push(n&&n.hasOwnProperty(u)?n[u]:i(u,r))}return a}function a(e){if(tr||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return E(t)||(t=e.$$ngIsClass=/^(?:class\b|constructor\()/.test(ot(e))),t}function s(e,t,n,i){"string"==typeof n&&(i=n,n=null);var s=r(e,n,i);return mr(e)&&(e=e[e.length-1]),a(e)?(s.unshift(null),new(Function.prototype.bind.apply(e,s))):e.apply(t,s)}function o(e,t,n){var i=mr(e)?e[e.length-1]:e,a=r(e,t,n);return a.unshift(null),new(Function.prototype.bind.apply(i,a))}return{invoke:s,instantiate:o,get:i,annotate:dt.$$annotate,has:function(t){return b.hasOwnProperty(t+f)||e.hasOwnProperty(t)}}}t=t===!0;var m={},f="Provider",g=[],y=new Gr,b={$provide:{provider:n(i),factory:n(s),service:n(l),value:n(u),constant:n(c),decorator:d}},M=b.$injector=p(b,function(e,t){throw dr.isString(t)&&g.push(t),na("unpr","Unknown provider: {0}",g.join(" <- "))}),$={},D=p($,function(e,t){var n=M.get(e+f,t);return L.invoke(n.$get,n,void 0,e)}),L=D;b["$injector"+f]={$get:v(D)},L.modules=M.modules=_e();var x=h(e);return L=D.get("$injector"),L.strictDi=t,a(x,function(e){e&&L.invoke(e)}),L}function ht(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,i){function r(e){var t=null;return Array.prototype.some.call(e,function(e){if("a"===j(e))return t=e,!0}),t}function a(){var e=o.yOffset;if(k(e))e=e();else if(N(e)){var n=e[0],i=t.getComputedStyle(n);e="fixed"!==i.position?0:n.getBoundingClientRect().bottom}else $(e)||(e=0);return e}function s(e){if(e){e.scrollIntoView();var n=a();if(n){var i=e.getBoundingClientRect().top;t.scrollBy(0,i-n)}}else t.scrollTo(0,0)}function o(e){e=w(e)?e:$(e)?e.toString():n.hash();var t;e?(t=l.getElementById(e))?s(t):(t=r(l.getElementsByName(e)))?s(t):"top"===e&&s(null):s(null)}var l=t.document;return e&&i.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||Ze(function(){i.$evalAsync(o)})}),o}]}function pt(e,t){return e||t?e?t?(mr(e)&&(e=e.join(" ")),mr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function mt(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===ra)return n}}function ft(e){w(e)&&(e=e.split(" "));var t=_e();return a(e,function(e){e.length&&(t[e]=!0)}),t}function gt(e){return T(e)?e:{}}function vt(e,t,n,i){function r(e){try{e.apply(null,W(arguments,1))}finally{if(v--,0===v)for(;y.length;)try{y.pop()()}catch(e){n.error(e)}}}function s(e){var t=e.indexOf("#");return t===-1?"":e.substr(t)}function o(){$=null,u()}function l(){b=D(),b=_(b)?null:b,B(b,x)&&(b=x),x=b,T=b}function u(){var e=T;l(),M===c.url()&&e===b||(M=c.url(),T=b,a(k,function(e){e(c.url(),b)}))}var c=this,d=e.location,h=e.history,p=e.setTimeout,m=e.clearTimeout,g={};c.isMock=!1;var v=0,y=[];c.$$completeOutstandingRequest=r,c.$$incOutstandingRequestCount=function(){v++},c.notifyWhenNoOutstandingRequests=function(e){0===v?e():y.push(e)};var b,T,M=d.href,w=t.find("base"),$=null,D=i.history?function(){try{return h.state}catch(e){}}:f;l(),c.url=function(t,n,r){if(_(r)&&(r=null),d!==e.location&&(d=e.location),h!==e.history&&(h=e.history),t){var a=T===r;if(M===t&&(!i.history||a))return c;var o=M&&Qt(M)===Qt(t);return M=t,T=r,!i.history||o&&a?(o||($=t),n?d.replace(t):o?d.hash=s(t):d.href=t,d.href!==t&&($=t)):(h[n?"replaceState":"pushState"](r,"",t),l()),$&&($=t),c}return $||d.href.replace(/%27/g,"'")},c.state=function(){return b};var k=[],L=!1,x=null;c.onUrlChange=function(t){return L||(i.history&&nr(e).on("popstate",o),nr(e).on("hashchange",o),L=!0),k.push(t),t},c.$$applicationDestroyed=function(){nr(e).off("hashchange popstate",o)},c.$$checkUrlChange=u,c.baseHref=function(){var e=w.attr("href");return e?e.replace(/^(https?:)?\/\/[^\/]*/,""):""},c.defer=function(e,t){var n;return v++,n=p(function(){delete g[n],r(e)},t||0),g[n]=!0,n},c.defer.cancel=function(e){return!!g[e]&&(delete g[e],m(e),r(f),!0)}}function yt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,i){return new vt(e,i,t,n)}]}function _t(){this.$get=function(){function e(e,i){function r(e){e!==h&&(p?p===e&&(p=e.n):p=e,a(e.n,e.p),a(e,h),h=e,h.n=null)}function a(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}if(e in n)throw t("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var s=0,o=d({},i,{id:e}),l=_e(),u=i&&i.capacity||Number.MAX_VALUE,c=_e(),h=null,p=null;return n[e]={put:function(e,t){if(!_(t)){if(u<Number.MAX_VALUE){var n=c[e]||(c[e]={key:e});r(n)}return e in l||s++,l[e]=t,s>u&&this.remove(p.key),t}},get:function(e){if(u<Number.MAX_VALUE){var t=c[e];if(!t)return;r(t)}return l[e]},remove:function(e){if(u<Number.MAX_VALUE){var t=c[e];if(!t)return;t===h&&(h=t.p),t===p&&(p=t.n),a(t.n,t.p),delete c[e]}e in l&&(delete l[e],s--)},removeAll:function(){l=_e(),s=0,c=_e(),h=p=null},destroy:function(){l=null,o=null,c=null,delete n[e]},info:function(){return d({},o,{size:s})}}}var n={};return e.info=function(){var e={};return a(n,function(t,n){e[n]=t.info()}),e},e.get=function(e){return n[e]},e}}function bt(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function Tt(){}function Mt(t,n){function i(e,t,n){var i=/^\s*([@&<]|=(\*?))(\??)\s*([\w$]*)\s*$/,r=_e();return a(e,function(e,a){if(e in L)return void(r[a]=L[e]);var s=e.match(i);if(!s)throw ha("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,a,e,n?"controller bindings definition":"isolate scope definition");r[a]={mode:s[1][0],collection:"*"===s[2],optional:"?"===s[3],attrName:s[4]||a},s[4]&&(L[e]=r[a])}),r}function r(e,t){var n={isolateScope:null,bindToController:null};if(T(e.scope)&&(e.bindToController===!0?(n.bindToController=i(e.scope,t,!0),n.isolateScope={}):n.isolateScope=i(e.scope,t,!1)),T(e.bindToController)&&(n.bindToController=i(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw ha("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}function s(e){var t=e.charAt(0);if(!t||t!==Zi(t))throw ha("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw ha("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}function l(e){var t=e.require||e.controller&&e.name;return!mr(t)&&T(t)&&a(t,function(e,n){var i=e.match($),r=e.substring(i[0].length);r||(t[n]=i[0]+n)}),t}function u(e,t){if(e&&(!w(e)||!/[EACM]/.test(e)))throw ha("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}var c={},h="Directive",p=/^\s*directive:\s*([\w-]+)\s+(.*)$/,y=/(([\w-]+)(?::([^;]+))?;?)/,M=P("ngSrc,ngSrcset,src,srcset"),$=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,D=/^(on[a-z]+|formaction)$/,L=_e();this.directive=function e(n,i){return me(n,"name"),ge(n,"directive"),w(n)?(s(n),me(i,"directiveFactory"),c.hasOwnProperty(n)||(c[n]=[],t.factory(n+h,["$injector","$exceptionHandler",function(e,t){var i=[];return a(c[n],function(r,a){try{var s=e.invoke(r);k(s)?s={compile:v(s)}:!s.compile&&s.link&&(s.compile=v(s.link)),s.priority=s.priority||0,s.index=a,s.name=s.name||n,s.require=l(s),s.restrict=u(s.restrict,n),s.$$moduleName=r.$$moduleName,i.push(s)}catch(e){t(e)}}),i}])),c[n].push(i)):a(n,o(e)),this},this.component=function(e,t){function n(e){function n(t){return k(t)||mr(t)?function(n,i){return e.invoke(t,this,{$element:n,$attrs:i})}:t}var r=t.template||t.templateUrl?t.template:"",s={controller:i,controllerAs:Lt(t.controller)||t.controllerAs||"$ctrl",template:n(r),templateUrl:n(t.templateUrl),transclude:t.transclude,scope:{},bindToController:t.bindings||{},restrict:"E",require:t.require};return a(t,function(e,t){"$"===t.charAt(0)&&(s[t]=e)}),s}var i=t.controller||function(){};return a(t,function(e,t){"$"===t.charAt(0)&&(n[t]=e,k(i)&&(i[t]=e))}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return b(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return b(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var x=!0;this.debugInfoEnabled=function(e){return b(e)?(x=e,this):x};var C=!1;this.preAssignBindingsEnabled=function(e){return b(e)?(C=e,this):C};var A=10;this.onChangesTtl=function(e){return arguments.length?(A=e,this):A};var Y=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(Y=e,this):Y};var I=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(I=e,this):I},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(t,n,i,s,o,l,u,v,L,H){function O(){try{if(!--Se)throw $e=void 0,ha("infchng","{0} $onChanges() iterations reached. Aborting!\n",A);u.$apply(function(){for(var e=[],t=0,n=$e.length;t<n;++t)try{$e[t]()}catch(t){e.push(t)}if($e=void 0,e.length)throw e})}finally{Se++}}function N(e,t){if(t){var n,i,r,a=Object.keys(t);for(n=0,i=a.length;n<i;n++)r=a[n],this[r]=t[r]}else this.$attr={};this.$$element=e}function P(e,t,n){ke.innerHTML="<span "+t+">";var i=ke.firstChild.attributes,r=i[0];i.removeNamedItem(r.name),r.value=n,e.attributes.setNamedItem(r)}function R(e,t){try{e.addClass(t)}catch(e){}}function F(e,t,n,i,r){e instanceof nr||(e=nr(e));var a=q(e,t,e,n,i,r);F.$$addScopeClass(e);var s=null;return function(t,n,i){if(!e)throw ha("multilink","This element has already been linked.");me(t,"scope"),r&&r.needsNewScope&&(t=t.$parent.$new()),i=i||{};var o=i.parentBoundTranscludeFn,l=i.transcludeControllers,u=i.futureParentElement;o&&o.$$boundTransclude&&(o=o.$$boundTransclude),s||(s=U(u));var c;if(c="html"!==s?nr(ge(s,nr("<div>").append(e).html())):n?Br.clone.call(e):e,l)for(var d in l)c.data("$"+d+"Controller",l[d].instance);return F.$$addScopeInfo(c,t),n&&n(c,t),a&&a(t,c,c,o),n||(e=a=null),c}}function U(e){var t=e&&e[0];return t&&"foreignobject"!==j(t)&&lr.call(t).match(/SVG/)?"svg":"html"; }function q(e,t,n,i,r,a){function s(e,n,i,r){var a,s,o,l,u,c,d,h,f;if(p){var g=n.length;for(f=new Array(g),u=0;u<m.length;u+=3)d=m[u],f[d]=n[d]}else f=n;for(u=0,c=m.length;u<c;)o=f[m[u++]],a=m[u++],s=m[u++],a?(a.scope?(l=e.$new(),F.$$addScopeInfo(nr(o),l)):l=e,h=a.transcludeOnThisElement?K(e,a.transclude,r):!a.templateOnThisElement&&r?r:!r&&t?K(e,t):null,a(s,l,o,i,h)):s&&s(e,o.childNodes,void 0,r)}for(var o,l,u,c,d,h,p,m=[],f=mr(e)||e instanceof nr,g=0;g<e.length;g++)o=new N,11===tr&&G(e,g,f),l=Z(e[g],[],o,0===g?i:void 0,r),u=l.length?ie(l,e[g],o,t,n,null,[],[],a):null,u&&u.scope&&F.$$addScopeClass(o.$$element),d=u&&u.terminal||!(c=e[g].childNodes)||!c.length?null:q(c,u?(u.transcludeOnThisElement||!u.templateOnThisElement)&&u.transclude:t),(u||d)&&(m.push(g,u,d),h=!0,p=p||u),a=null;return h?s:null}function G(e,t,n){var i,r=e[t],a=r.parentNode;if(r.nodeType===Lr)for(;;){if(i=a?r.nextSibling:e[t+1],!i||i.nodeType!==Lr)break;r.nodeValue=r.nodeValue+i.nodeValue,i.parentNode&&i.parentNode.removeChild(i),n&&i===e[t+1]&&e.splice(t+1,1)}}function K(e,t,n){function i(i,r,a,s,o){return i||(i=e.$new(!1,o),i.$$transcluded=!0),t(i,r,{parentBoundTranscludeFn:n,transcludeControllers:a,futureParentElement:s})}var r=i.$$slots=_e();for(var a in t.$$slots)t.$$slots[a]?r[a]=K(e,t.$$slots[a],n):r[a]=null;return i}function Z(e,t,n,i,r){var a,s,o,l=e.nodeType,u=n.$attr;switch(l){case Dr:s=j(e),oe(t,$t(s),"E",i,r);for(var c,d,h,p,m,f,g=e.attributes,v=0,_=g&&g.length;v<_;v++){var b=!1,M=!1;c=g[v],d=c.name,m=c.value,p=$t(d),f=Ie.test(p),f&&(d=d.replace(ma,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var $=p.match(He);$&&le($[1])&&(b=d,M=d.substr(0,d.length-5)+"end",d=d.substr(0,d.length-6)),h=$t(d.toLowerCase()),u[h]=d,!f&&n.hasOwnProperty(h)||(n[h]=m,Xe(e,h)&&(n[h]=!0)),ye(e,t,m,h,f),oe(t,h,"A",i,r,b,M)}if("input"===s&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!xe)break;if(o=e.className,T(o)&&(o=o.animVal),w(o)&&""!==o)for(;a=y.exec(o);)h=$t(a[2]),oe(t,h,"C",i,r)&&(n[h]=gr(a[3])),o=o.substr(a.index+a[0].length);break;case Lr:fe(t,e.nodeValue);break;case xr:if(!Le)break;Q(e,t,n,i,r)}return t.sort(de),t}function Q(e,t,n,i,r){try{var a=p.exec(e.nodeValue);if(a){var s=$t(a[1]);oe(t,s,"M",i,r)&&(n[s]=gr(a[2]))}}catch(e){}}function X(e,t,n){var i=[],r=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw ha("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType===Dr&&(e.hasAttribute(t)&&r++,e.hasAttribute(n)&&r--),i.push(e),e=e.nextSibling}while(r>0)}else i.push(e);return nr(i)}function te(e,t,n){return function(i,r,a,s,o){return r=X(r[0],t,n),e(i,r,a,s,o)}}function ne(e,t,n,i,r,a){var s;return e?F(t,n,i,r,a):function(){return s||(s=F(t,n,i,r,a),t=n=a=null),s.apply(this,arguments)}}function ie(e,t,n,r,s,o,l,u,c){function h(e,t,n,i){e&&(n&&(e=te(e,n,i)),e.require=m.require,e.directiveName=f,($===m||m.$$isolateScope)&&(e=Te(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=te(t,n,i)),t.require=m.require,t.directiveName=f,($===m||m.$$isolateScope)&&(t=Te(t,{isolateScope:!0})),u.push(t))}function p(e,r,s,o,c){function h(e,t,n,i){var r;if(S(e)||(i=n,n=t,t=e,e=void 0),Y&&(r=y),n||(n=Y?L.parent():L),!i)return c(e,t,r,n,j);var a=c.$$slots[i];if(a)return a(e,t,r,n,j);if(_(a))throw ha("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',i,ee(L))}var p,m,f,g,v,y,b,L,x,A;t===s?(x=n,L=n.$$element):(L=nr(s),x=new N(L,n)),v=r,$?g=r.$new(!0):M&&(v=r.$parent),c&&(b=h,b.$$boundTransclude=c,b.isSlotFilled=function(e){return!!c.$$slots[e]}),w&&(y=ae(L,x,b,w,g,r,$)),$&&(F.$$addScopeInfo(L,g,!0,!(D&&(D===$||D===$.$$originalDirective))),F.$$addScopeClass(L,!0),g.$$isolateBindings=$.$$isolateBindings,A=we(r,x,g,g.$$isolateBindings,$),A.removeWatches&&g.$on("$destroy",A.removeWatches));for(var E in y){var I=w[E],H=y[E],O=I.$$bindings.bindToController;if(C){O?H.bindingInfo=we(v,x,H.instance,O,I):H.bindingInfo={};var P=H();P!==H.instance&&(H.instance=P,L.data("$"+I.name+"Controller",P),H.bindingInfo.removeWatches&&H.bindingInfo.removeWatches(),H.bindingInfo=we(v,x,H.instance,O,I))}else H.instance=H(),L.data("$"+I.name+"Controller",H.instance),H.bindingInfo=we(v,x,H.instance,O,I)}for(a(w,function(e,t){var n=e.require;e.bindToController&&!mr(n)&&T(n)&&d(y[t].instance,re(t,n,L,y))}),a(y,function(e){var t=e.instance;if(k(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){i(e)}if(k(t.$onInit))try{t.$onInit()}catch(e){i(e)}k(t.$doCheck)&&(v.$watch(function(){t.$doCheck()}),t.$doCheck()),k(t.$onDestroy)&&v.$on("$destroy",function(){t.$onDestroy()})}),p=0,m=l.length;p<m;p++)f=l[p],Me(f,f.isolateScope?g:r,L,x,f.require&&re(f.directiveName,f.require,L,y),b);var j=r;for($&&($.template||null===$.templateUrl)&&(j=g),e&&e(j,s.childNodes,void 0,c),p=u.length-1;p>=0;p--)f=u[p],Me(f,f.isolateScope?g:r,L,x,f.require&&re(f.directiveName,f.require,L,y),b);a(y,function(e){var t=e.instance;k(t.$postLink)&&t.$postLink()})}c=c||{};for(var m,f,g,v,y,b=-Number.MAX_VALUE,M=c.newScopeDirective,w=c.controllerDirectives,$=c.newIsolateScopeDirective,D=c.templateDirective,L=c.nonTlbTranscludeDirective,x=!1,A=!1,Y=c.hasElementTranscludeDirective,E=n.$$element=nr(t),I=o,H=r,O=!1,P=!1,R=0,z=e.length;R<z;R++){m=e[R];var V=m.$$start,B=m.$$end;if(V&&(E=X(t,V,B)),g=void 0,b>m.priority)break;if(y=m.scope,y&&(m.templateUrl||(T(y)?(pe("new/isolated scope",$||M,m,E),$=m):pe("new/isolated scope",$,m,E)),M=M||m),f=m.name,!O&&(m.replace&&(m.templateUrl||m.template)||m.transclude&&!m.$$tlb)){for(var U,q=R+1;U=e[q++];)if(U.transclude&&!U.$$tlb||U.replace&&(U.templateUrl||U.template)){P=!0;break}O=!0}if(!m.templateUrl&&m.controller&&(w=w||_e(),pe("'"+f+"' controller",w[f],m,E),w[f]=m),y=m.transclude)if(x=!0,m.$$tlb||(pe("transclusion",L,m,E),L=m),"element"===y)Y=!0,b=m.priority,g=E,E=n.$$element=nr(F.$$createComment(f,n[f])),t=E[0],be(s,W(g),t),g[0].$$parentNode=g[0].parentNode,H=ne(P,g,r,b,I&&I.name,{nonTlbTranscludeDirective:L});else{var G=_e();if(T(y)){g=[];var K=_e(),Q=_e();a(y,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,K[e]=t,G[t]=null,Q[t]=n}),a(E.contents(),function(e){var t=K[$t(j(e))];t?(Q[t]=!0,G[t]=G[t]||[],G[t].push(e)):g.push(e)}),a(Q,function(e,t){if(!e)throw ha("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ie in G)G[ie]&&(G[ie]=ne(P,G[ie],r))}else g=nr(Ne(t)).contents();E.empty(),H=ne(P,g,r,void 0,void 0,{needsNewScope:m.$$isolateScope||m.$$newScope}),H.$$slots=G}if(m.template)if(A=!0,pe("template",D,m,E),D=m,y=k(m.template)?m.template(E,n):m.template,y=Ee(y),m.replace){if(I=m,g=Ce(y)?[]:kt(ge(m.templateNamespace,gr(y))),t=g[0],1!==g.length||t.nodeType!==Dr)throw ha("tplrt","Template for directive '{0}' must have exactly one root element. {1}",f,"");be(s,E,t);var oe={$attr:{}},le=Z(t,[],oe),de=e.splice(R+1,e.length-(R+1));($||M)&&se(le,$,M),e=e.concat(le).concat(de),ue(n,oe),z=e.length}else E.html(y);if(m.templateUrl)A=!0,pe("template",D,m,E),D=m,m.replace&&(I=m),p=ce(e.splice(R,e.length-R),E,n,s,x&&H,l,u,{controllerDirectives:w,newScopeDirective:M!==m&&M,newIsolateScopeDirective:$,templateDirective:D,nonTlbTranscludeDirective:L}),z=e.length;else if(m.compile)try{v=m.compile(E,n,H);var he=m.$$originalDirective||m;k(v)?h(null,J(he,v),V,B):v&&h(J(he,v.pre),J(he,v.post),V,B)}catch(e){i(e,ee(E))}m.terminal&&(p.terminal=!0,b=Math.max(b,m.priority))}return p.scope=M&&M.scope===!0,p.transcludeOnThisElement=x,p.templateOnThisElement=A,p.transclude=H,c.hasElementTranscludeDirective=Y,p}function re(e,t,n,i){var r;if(w(t)){var s=t.match($),o=t.substring(s[0].length),l=s[1]||s[3],u="?"===s[2];if("^^"===l?n=n.parent():(r=i&&i[o],r=r&&r.instance),!r){var c="$"+o+"Controller";r=l?n.inheritedData(c):n.data(c)}if(!r&&!u)throw ha("ctreq","Controller '{0}', required by directive '{1}', can't be found!",o,e)}else if(mr(t)){r=[];for(var d=0,h=t.length;d<h;d++)r[d]=re(e,t[d],n,i)}else T(t)&&(r={},a(t,function(t,a){r[a]=re(e,t,n,i)}));return r||null}function ae(e,t,n,i,r,a,s){var o=_e();for(var u in i){var c=i[u],d={$scope:c===s||c.$$isolateScope?r:a,$element:e,$attrs:t,$transclude:n},h=c.controller;"@"===h&&(h=t[c.name]);var p=l(h,d,!0,c.controllerAs);o[c.name]=p,e.data("$"+c.name+"Controller",p.instance)}return o}function se(e,t,n){for(var i=0,r=e.length;i<r;i++)e[i]=m(e[i],{$$isolateScope:t,$$newScope:n})}function oe(e,n,i,a,s,o,l){if(n===s)return null;var u=null;if(c.hasOwnProperty(n))for(var d,p=t.get(n+h),f=0,g=p.length;f<g;f++)if(d=p[f],(_(a)||a>d.priority)&&d.restrict.indexOf(i)!==-1){if(o&&(d=m(d,{$$start:o,$$end:l})),!d.$$bindings){var v=d.$$bindings=r(d,d.name);T(v.isolateScope)&&(d.$$isolateBindings=v.isolateScope)}e.push(d),u=d}return u}function le(e){if(c.hasOwnProperty(e))for(var n,i=t.get(e+h),r=0,a=i.length;r<a;r++)if(n=i[r],n.multiElement)return!0;return!1}function ue(e,t){var n=t.$attr,i=e.$attr;a(e,function(i,r){"$"!==r.charAt(0)&&(t[r]&&t[r]!==i&&(i.length?i+=("style"===r?";":" ")+t[r]:i=t[r]),e.$set(r,i,!0,n[r]))}),a(t,function(t,r){e.hasOwnProperty(r)||"$"===r.charAt(0)||(e[r]=t,"class"!==r&&"style"!==r&&(i[r]=n[r]))})}function ce(e,t,n,r,o,l,u,c){var d,h,p=[],f=t[0],g=e.shift(),v=m(g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),y=k(g.templateUrl)?g.templateUrl(t,n):g.templateUrl,_=g.templateNamespace;return t.empty(),s(y).then(function(i){var s,m,b,M;if(i=Ee(i),g.replace){if(b=Ce(i)?[]:kt(ge(_,gr(i))),s=b[0],1!==b.length||s.nodeType!==Dr)throw ha("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g.name,y);m={$attr:{}},be(r,t,s);var w=Z(s,[],m);T(g.scope)&&se(w,!0),e=w.concat(e),ue(n,m)}else s=f,t.html(i);for(e.unshift(v),d=ie(e,s,n,o,t,g,l,u,c),a(r,function(e,n){e===s&&(r[n]=t[0])}),h=q(t[0].childNodes,o);p.length;){var $=p.shift(),D=p.shift(),k=p.shift(),L=p.shift(),x=t[0];if(!$.$$destroyed){if(D!==f){var S=D.className;c.hasElementTranscludeDirective&&g.replace||(x=Ne(s)),be(k,nr(D),x),R(nr(x),S)}M=d.transcludeOnThisElement?K($,d.transclude,L):L,d(h,$,x,r,M)}}p=null}).catch(function(e){e instanceof Error&&i(e)}),function(e,t,n,i,r){var a=r;t.$$destroyed||(p?p.push(t,n,i,a):(d.transcludeOnThisElement&&(a=K(t,d.transclude,r)),d(h,t,n,i,a)))}}function de(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 pe(e,t,n,i){function r(e){return e?" (module: "+e+")":""}if(t)throw ha("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,r(t.$$moduleName),n.name,r(n.$$moduleName),e,ee(i))}function fe(e,t){var i=n(t,!0);i&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&F.$$addBindingClass(t),function(e,t){var r=t.parent();n||F.$$addBindingClass(r),F.$$addBindingInfo(r,i.expressions),e.$watch(i,function(e){t[0].nodeValue=e})}}})}function ge(t,n){switch(t=Zi(t||"html")){case"svg":case"math":var i=e.document.createElement("div");return i.innerHTML="<"+t+">"+n+"</"+t+">",i.childNodes[0].childNodes;default:return n}}function ve(e,t){if("srcdoc"===t)return v.HTML;var n=j(e);if("src"===t||"ngSrc"===t){if(["img","video","audio","source","track"].indexOf(n)===-1)return v.RESOURCE_URL}else if("xlinkHref"===t||"form"===n&&"action"===t||"link"===n&&"href"===t)return v.RESOURCE_URL}function ye(e,t,i,r,a){var s=ve(e,r),o=!a,l=M[r]||a,u=n(i,o,s,l);if(u){if("multiple"===r&&"select"===j(e))throw ha("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",ee(e));if(D.test(r))throw ha("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");t.push({priority:100,compile:function(){return{pre:function(e,t,a){var o=a.$$observers||(a.$$observers=_e()),c=a[r];c!==i&&(u=c&&n(c,!0,s,l),i=c),u&&(a[r]=u(e),(o[r]||(o[r]=[])).$$inter=!0,(a.$$observers&&a.$$observers[r].$$scope||e).$watch(u,function(e,t){"class"===r&&e!==t?a.$updateClass(e,t):a.$set(r,e)}))}}}})}}function be(t,n,i){var r,a,s=n[0],o=n.length,l=s.parentNode;if(t)for(r=0,a=t.length;r<a;r++)if(t[r]===s){t[r++]=i;for(var u=r,c=u+o-1,d=t.length;u<d;u++,c++)c<d?t[u]=t[c]:delete t[u];t.length-=o-1,t.context===s&&(t.context=i);break}l&&l.replaceChild(i,s);var h=e.document.createDocumentFragment();for(r=0;r<o;r++)h.appendChild(n[r]);for(nr.hasData(s)&&(nr.data(i,nr.data(s)),nr(s).off("$destroy")),nr.cleanData(h.querySelectorAll("*")),r=1;r<o;r++)delete n[r];n[0]=i,n.length=1}function Te(e,t){return d(function(){return e.apply(null,arguments)},e,t)}function Me(e,t,n,r,a,s){try{e(t,n,r,a,s)}catch(e){i(e,ee(n))}}function we(e,t,i,r,s){function l(t,n,r){k(i.$onChanges)&&!V(n,r)&&($e||(e.$$postDigest(O),$e=[]),c||(c={},$e.push(u)),c[t]&&(r=c[t].previousValue),c[t]=new wt(r,n))}function u(){i.$onChanges(c),c=void 0}var c,d=[],h={};return a(r,function(r,a){var u,c,p,m,g,v=r.attrName,y=r.optional,_=r.mode;switch(_){case"@":y||Gi.call(t,v)||(i[a]=t[v]=void 0),g=t.$observe(v,function(e){if(w(e)||E(e)){var t=i[a];l(a,e,t),i[a]=e}}),t.$$observers[v].$$scope=e,u=t[v],w(u)?i[a]=n(u)(e):E(u)&&(i[a]=u),h[a]=new wt(pa,i[a]),d.push(g);break;case"=":if(!Gi.call(t,v)){if(y)break;t[v]=void 0}if(y&&!t[v])break;c=o(t[v]),m=c.literal?B:V,p=c.assign||function(){throw u=i[a]=c(e),ha("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[v],v,s.name)},u=i[a]=c(e);var b=function(t){return m(t,i[a])||(m(t,u)?p(e,t=i[a]):i[a]=t),u=t};b.$stateful=!0,g=r.collection?e.$watchCollection(t[v],b):e.$watch(o(t[v],b),null,c.literal),d.push(g);break;case"<":if(!Gi.call(t,v)){if(y)break;t[v]=void 0}if(y&&!t[v])break;c=o(t[v]);var T=c.literal,M=i[a]=c(e);h[a]=new wt(pa,i[a]),g=e.$watch(c,function(e,t){if(t===e){if(t===M||T&&B(t,M))return;t=M}l(a,e,t),i[a]=e},T),d.push(g);break;case"&":if(c=t.hasOwnProperty(v)?o(t[v]):f,c===f&&y)break;i[a]=function(t){return c(e,t)}}}),{initialChanges:h,removeWatches:d.length&&function(){for(var e=0,t=d.length;e<t;++e)d[e]()}}}var $e,De=/^\w/,ke=e.document.createElement("div"),Le=Y,xe=I,Se=A;N.prototype={$normalize:$t,$addClass:function(e){e&&e.length>0&&L.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&L.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Dt(e,t);n&&n.length&&L.addClass(this.$$element,n);var i=Dt(t,e);i&&i.length&&L.removeClass(this.$$element,i)},$set:function(e,t,n,r){var s,o=this.$$element[0],l=Xe(o,e),u=et(e),c=e;if(l?(this.$$element.prop(e,t),r=l):u&&(this[u]=t,c=u),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e],r||(this.$attr[e]=r=he(e,"-"))),s=j(this.$$element),"a"===s&&("href"===e||"xlinkHref"===e)||"img"===s&&"src"===e)this[e]=t=H(t,"src"===e);else if("img"===s&&"srcset"===e&&b(t)){for(var d="",h=gr(t),p=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,m=/\s/.test(h)?p:/(,)/,f=h.split(m),g=Math.floor(f.length/2),v=0;v<g;v++){var y=2*v;d+=H(gr(f[y]),!0),d+=" "+gr(f[y+1])}var T=gr(f[2*v]).split(/\s/);d+=H(gr(T[0]),!0),2===T.length&&(d+=" "+gr(T[1])),this[e]=t=d}n!==!1&&(null===t||_(t)?this.$$element.removeAttr(r):De.test(r)?this.$$element.attr(r,t):P(this.$$element[0],r,t));var M=this.$$observers;M&&a(M[c],function(e){try{e(t)}catch(e){i(e)}})},$observe:function(e,t){var n=this,i=n.$$observers||(n.$$observers=_e()),r=i[e]||(i[e]=[]);return r.push(t),u.$evalAsync(function(){r.$$inter||!n.hasOwnProperty(e)||_(n[e])||t(n[e])}),function(){z(r,t)}}};var Ae=n.startSymbol(),Ye=n.endSymbol(),Ee="{{"===Ae&&"}}"===Ye?g:function(e){return e.replace(/\{\{/g,Ae).replace(/}}/g,Ye)},Ie=/^ngAttr[A-Z]/,He=/^(.+)Start$/;return F.$$addBindingInfo=x?function(e,t){var n=e.data("$binding")||[];mr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:f,F.$$addBindingClass=x?function(e){R(e,"ng-binding")}:f,F.$$addScopeInfo=x?function(e,t,n,i){var r=n?i?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(r,t)}:f,F.$$addScopeClass=x?function(e,t){R(e,t?"ng-isolate-scope":"ng-scope")}:f,F.$$createComment=function(t,n){var i="";return x&&(i=" "+(t||"")+": ",n&&(i+=n+" ")),e.document.createComment(i)},F}]}function wt(e,t){this.previousValue=e,this.currentValue=t}function $t(e){return e.replace(ma,"").replace(fa,xe)}function Dt(e,t){var n="",i=e.split(/\s+/),r=t.split(/\s+/);e:for(var a=0;a<i.length;a++){for(var s=i[a],o=0;o<r.length;o++)if(s===r[o])continue e;n+=(n.length>0?" ":"")+s}return n}function kt(e){e=nr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===xr||n.nodeType===Lr&&""===n.nodeValue.trim())&&sr.call(e,t,1)}return e}function Lt(e,t){if(t&&w(t))return t;if(w(e)){var n=va.exec(e);if(n)return n[3]}}function xt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){ge(t,"controller"),T(t)?d(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(i,r){function a(e,n,i,r){if(!e||!T(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,n);e.$scope[n]=i}return function(t,s,o,l){var u,c,h,p;if(o=o===!0,l&&w(l)&&(p=l),w(t)){if(c=t.match(va),!c)throw ga("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);if(h=c[1],p=p||c[3],t=e.hasOwnProperty(h)?e[h]:ve(s.$scope,h,!0)||(n?ve(r,h,!0):void 0),!t)throw ga("ctrlreg","The controller with the name '{0}' is not registered.",h);fe(t,h,!0)}if(o){var m=(mr(t)?t[t.length-1]:t).prototype;return u=Object.create(m||null),p&&a(s,p,u,h||t.name),d(function(){var e=i.invoke(t,u,s,h);return e!==u&&(T(e)||k(e))&&(u=e,p&&a(s,p,u,h||t.name)),u},{instance:u,identifier:p})}return u=i.instantiate(t,s,h),p&&a(s,p,u,h||t.name),u}}]}function St(){this.$get=["$window",function(e){return nr(e.document)}]}function Ct(){this.$get=["$document","$rootScope",function(e,t){function n(){r=i.hidden}var i=e[0],r=i&&i.hidden;return e.on("visibilitychange",n),t.$on("$destroy",function(){e.off("visibilitychange",n)}),function(){return r}}]}function At(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function Yt(e){return T(e)?D(e)?e.toISOString():G(e):e}function Et(){this.$get=function(){return function(e){if(!e)return"";var t=[];return s(e,function(e,n){null===e||_(e)||(mr(e)?a(e,function(e){t.push(ae(n)+"="+ae(Yt(e)))}):t.push(ae(n)+"="+ae(Yt(e))))}),t.join("&")}}}function It(){this.$get=function(){return function(e){function t(e,i,r){null===e||_(e)||(mr(e)?a(e,function(e,n){t(e,i+"["+(T(e)?n:"")+"]")}):T(e)&&!D(e)?s(e,function(e,n){t(e,i+(r?"":"[")+n+(r?"":"]"))}):n.push(ae(i)+"="+ae(Yt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Ht(e,t){if(w(e)){var n=e.replace(wa,"").trim();if(n){var i=t("Content-Type");if(i&&0===i.indexOf(_a)||Ot(n))try{e=K(n)}catch(t){throw $a("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,t)}}}return e}function Ot(e){var t=e.match(Ta);return t&&Ma[t[0]].test(e)}function Nt(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=_e();return w(e)?a(e.split("\n"),function(e){n=e.indexOf(":"),t(Zi(gr(e.substr(0,n))),gr(e.substr(n+1)))}):T(e)&&a(e,function(e,n){t(Zi(n),gr(e))}),i}function Pt(e){var t;return function(n){if(t||(t=Nt(e)),n){var i=t[Zi(n)];return void 0===i&&(i=null),i}return t}}function jt(e,t,n,i){return k(i)?i(e,t,n):(a(i,function(i){e=i(e,t,n)}),e)}function Rt(e){return 200<=e&&e<300}function zt(){var e=this.defaults={transformResponse:[Ht],transformRequest:[function(e){return!T(e)||C(e)||Y(e)||A(e)?e:G(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:Me(ba),put:Me(ba),patch:Me(ba)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},n=!1;this.useApplyAsync=function(e){return b(e)?(n=!!e,this):n};var i=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(r,s,o,l,u,c,h,p){function m(n){function i(e,t){for(var n=0,i=t.length;n<i;){var r=t[n++],a=t[n++];e=e.then(r,a)}return t.length=0,e}function s(){r.$$completeOutstandingRequest(f)}function o(e,t){var n,i={};return a(e,function(e,r){k(e)?(n=e(t),null!=n&&(i[r]=n)):i[r]=e}),i}function l(t){var n,i,r,a=e.headers,s=d({},t.headers);a=d({},a.common,a[Zi(t.method)]);e:for(n in a){i=Zi(n);for(r in s)if(Zi(r)===i)continue e;s[n]=a[n]}return o(s,Me(t))}function u(t){var n=t.headers,i=jt(t.data,Pt(n),void 0,t.transformRequest);return _(i)&&a(n,function(e,t){"content-type"===Zi(t)&&delete n[t]}),_(t.withCredentials)&&!_(e.withCredentials)&&(t.withCredentials=e.withCredentials),y(t,i).then(m,m)}function m(e){var t=d({},e);return t.data=jt(e.data,e.headers,e.status,g.transformResponse),Rt(e.status)?t:c.reject(t)}if(!T(n))throw t("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!w(p.valueOf(n.url)))throw t("$http")("badreq","Http request configuration url must be a string or a $sce trusted object. Received: {0}",n.url);var g=d({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},n);g.headers=l(n),g.method=Qi(g.method),g.paramSerializer=w(g.paramSerializer)?h.get(g.paramSerializer):g.paramSerializer,r.$$incOutstandingRequestCount();var v=[],b=[],M=c.resolve(g);return a(L,function(e){(e.request||e.requestError)&&v.unshift(e.request,e.requestError),(e.response||e.responseError)&&b.push(e.response,e.responseError)}),M=i(M,v),M=M.then(u),M=i(M,b),M=M.finally(s)}function g(e){a(arguments,function(e){m[e]=function(t,n){return m(d({},n||{},{method:e,url:t}))}})}function v(e){a(arguments,function(e){m[e]=function(t,n,i){return m(d({},i||{},{method:e,url:t,data:n}))}})}function y(t,i){function r(e){if(e){var t={};return a(e,function(e,i){t[i]=function(t){function i(){e(t)}n?u.$applyAsync(i):u.$$phase?i():u.$apply(i)}}),t}}function l(e,t,i,r){function a(){d(t,e,i,r)}g&&(Rt(e)?g.put(S,[e,t,Nt(i),r]):g.remove(S)),n?u.$applyAsync(a):(a(),u.$$phase||u.$apply())}function d(e,n,i,r){n=n>=-1?n:0,(Rt(n)?y.resolve:y.reject)({data:e,status:n,headers:Pt(i),config:t,statusText:r})}function h(e){d(e.data,e.status,Me(e.headers()),e.statusText)}function f(){var e=m.pendingRequests.indexOf(t);e!==-1&&m.pendingRequests.splice(e,1)}var g,v,y=c.defer(),k=y.promise,L=t.headers,x="jsonp"===Zi(t.method),S=t.url;if(x?S=p.getTrustedResourceUrl(S):w(S)||(S=p.valueOf(S)),S=M(S,t.paramSerializer(t.params)),x&&(S=$(S,t.jsonpCallbackParam)),m.pendingRequests.push(t),k.then(f,f),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(g=T(t.cache)?t.cache:T(e.cache)?e.cache:D),g&&(v=g.get(S),b(v)?I(v)?v.then(h,h):mr(v)?d(v[1],v[0],Me(v[2]),v[3]):d(v,200,{},"OK"):g.put(S,k)),_(v)){var C=zn(t.url)?o()[t.xsrfCookieName||e.xsrfCookieName]:void 0;C&&(L[t.xsrfHeaderName||e.xsrfHeaderName]=C),s(t.method,S,i,l,L,t.timeout,t.withCredentials,t.responseType,r(t.eventHandlers),r(t.uploadEventHandlers))}return k}function M(e,t){return t.length>0&&(e+=(e.indexOf("?")===-1?"?":"&")+t),e}function $(e,t){if(/[&?][^=]+=JSON_CALLBACK/.test(e))throw $a("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);var n=new RegExp("[&?]"+t+"=");if(n.test(e))throw $a("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e);return e+=(e.indexOf("?")===-1?"?":"&")+t+"=JSON_CALLBACK"}var D=l("$http");e.paramSerializer=w(e.paramSerializer)?h.get(e.paramSerializer):e.paramSerializer;var L=[];return a(i,function(e){L.unshift(w(e)?h.get(e):h.invoke(e))}),m.pendingRequests=[],g("get","delete","head","jsonp"),v("post","put","patch"),m.defaults=e,m}]}function Ft(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Vt(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,i){return Bt(e,i,e.defer,t,n[0])}]}function Bt(e,t,n,i,r){function s(e,t,n){e=e.replace("JSON_CALLBACK",t);var a=r.createElement("script"),s=null;return a.type="text/javascript",a.src=e,a.async=!0,s=function(e){a.removeEventListener("load",s),a.removeEventListener("error",s),r.body.removeChild(a),a=null;var o=-1,l="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),l=e.type,o="error"===e.type?404:200),n&&n(o,l)},a.addEventListener("load",s),a.addEventListener("error",s),r.body.appendChild(a),s}return function(r,o,l,u,c,d,h,p,m,f){function g(){T&&T(),M&&M.abort()}function v(e,t,i,r,a){b($)&&n.cancel($),T=M=null,e(t,i,r,a)}if(o=o||e.url(),"jsonp"===Zi(r))var y=i.createCallback(o),T=s(o,y,function(e,t){var n=200===e&&i.getResponse(y);v(u,e,n,"",t),i.removeCallback(y)});else{var M=t(r,o);M.open(r,o,!0),a(c,function(e,t){b(e)&&M.setRequestHeader(t,e)}),M.onload=function(){var e=M.statusText||"",t="response"in M?M.response:M.responseText,n=1223===M.status?204:M.status;0===n&&(n=t?200:"file"===Rn(o).protocol?404:0),v(u,n,t,M.getAllResponseHeaders(),e)};var w=function(){v(u,-1,null,null,"")};if(M.onerror=w,M.onabort=w,M.ontimeout=w,a(m,function(e,t){M.addEventListener(t,e)}),a(f,function(e,t){M.upload.addEventListener(t,e)}),h&&(M.withCredentials=!0),p)try{M.responseType=p}catch(e){if("json"!==p)throw e}M.send(_(l)?null:l)}if(d>0)var $=n(g,d);else I(d)&&d.then(g)}}function Ut(){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,i,r){function a(e){return"\\\\\\"+e}function s(n){return n.replace(h,e).replace(p,t)}function o(e,t,n,i){var r=e.$watch(function(e){return r(),i(e)},t,n);return r}function l(a,l,h,p){function m(e){try{return e=A(e),p&&!b(e)?e:be(e)}catch(e){i(Da.interr(a,e))}}if(!a.length||a.indexOf(e)===-1){var f;if(!l){var g=s(a);f=v(g),f.exp=a,f.expressions=[],f.$$watchDelegate=o}return f}p=!!p;for(var y,T,M,w=0,$=[],D=[],L=a.length,x=[],S=[];w<L;){if((y=a.indexOf(e,w))===-1||(T=a.indexOf(t,y+u))===-1){w!==L&&x.push(s(a.substring(w)));break}w!==y&&x.push(s(a.substring(w,y))),M=a.substring(y+u,T),$.push(M),D.push(n(M,m)),w=T+c,S.push(x.length),x.push("")}if(h&&x.length>1&&Da.throwNoconcat(a),!l||$.length){var C=function(e){for(var t=0,n=$.length;t<n;t++){if(p&&_(e[t]))return;x[S[t]]=e[t]}return x.join("")},A=function(e){return h?r.getTrusted(h,e):r.valueOf(e)};return d(function(e){var t=0,n=$.length,r=new Array(n);try{for(;t<n;t++)r[t]=D[t](e);return C(r)}catch(e){i(Da.interr(a,e))}},{exp:a,expressions:$,$$watchDelegate:function(e,t){var n;return e.$watchGroup(D,function(i,r){var a=C(i);k(t)&&t.call(this,a,i!==r?n:a,e),n=a})}})}}var u=e.length,c=t.length,h=new RegExp(e.replace(/./g,a),"g"),p=new RegExp(t.replace(/./g,a),"g");return l.startSymbol=function(){return e},l.endSymbol=function(){return t},l}]}function Wt(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,i,r){function a(a,o,l,u){function c(){d?a.apply(null,h):a(f)}var d=arguments.length>4,h=d?W(arguments,4):[],p=t.setInterval,m=t.clearInterval,f=0,g=b(u)&&!u,v=(g?i:n).defer(),y=v.promise;return l=b(l)?l:0,y.$$intervalId=p(function(){g?r.defer(c):e.$evalAsync(c),v.notify(f++),l>0&&f>=l&&(v.resolve(f),m(y.$$intervalId),delete s[y.$$intervalId]),g||e.$apply()},o),s[y.$$intervalId]=v,y}var s={};return a.cancel=function(e){return!!(e&&e.$$intervalId in s)&&(s[e.$$intervalId].promise.catch(f),s[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete s[e.$$intervalId],!0)},a}]}function Jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=re(t[n]);return t.join("/")}function qt(e,t){var n=Rn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=p(n.port)||xa[n.protocol]||null}function Gt(e,t){if(Ca.test(e))throw Sa("badpath",'Invalid url "{0}".',e);var n="/"!==e.charAt(0);n&&(e="/"+e);var i=Rn(e);t.$$path=decodeURIComponent(n&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),t.$$search=ne(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Kt(e,t){return e.slice(0,t.length)===t}function Zt(e,t){if(Kt(t,e))return t.substr(e.length)}function Qt(e){var t=e.indexOf("#");return t===-1?e:e.substr(0,t)}function Xt(e){return e.replace(/(#.+)|#$/,"$1")}function en(e){return e.substr(0,Qt(e).lastIndexOf("/")+1)}function tn(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function nn(e,t,n){this.$$html5=!0,n=n||"",qt(e,this),this.$$parse=function(e){var n=Zt(t,e);if(!w(n))throw Sa("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Gt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ie(this.$$search),n=this.$$hash?"#"+re(this.$$hash):"";this.$$url=Jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(i,r){if(r&&"#"===r[0])return this.hash(r.slice(1)),!0;var a,s,o;return b(a=Zt(e,i))?(s=a,o=n&&b(a=Zt(n,a))?t+(Zt("/",a)||a):e+s):b(a=Zt(t,i))?o=t+a:t===i+"/"&&(o=t),o&&this.$$parse(o),!!o}}function rn(e,t,n){qt(e,this),this.$$parse=function(i){function r(e,t,n){var i,r=/^\/[A-Z]:(\/.*)/;return Kt(t,n)&&(t=t.replace(n,"")),r.exec(t)?e:(i=r.exec(e),i?i[1]:e)}var a,s=Zt(e,i)||Zt(t,i);_(s)||"#"!==s.charAt(0)?this.$$html5?a=s:(a="",_(s)&&(e=i,this.replace())):(a=Zt(n,s),_(a)&&(a=s)),Gt(a,this),this.$$path=r(this.$$path,a,e),this.$$compose()},this.$$compose=function(){var t=ie(this.$$search),i=this.$$hash?"#"+re(this.$$hash):"";this.$$url=Jt(this.$$path)+(t?"?"+t:"")+i,this.$$absUrl=e+(this.$$url?n+this.$$url:""),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(t,n){return Qt(e)===Qt(t)&&(this.$$parse(t),!0)}}function an(e,t,n){this.$$html5=!0,rn.apply(this,arguments),this.$$parseLinkUrl=function(i,r){if(r&&"#"===r[0])return this.hash(r.slice(1)),!0;var a,s;return e===Qt(i)?a=i:(s=Zt(t,i))?a=e+n+s:t===i+"/"&&(a=t),a&&this.$$parse(a),!!a},this.$$compose=function(){var t=ie(this.$$search),i=this.$$hash?"#"+re(this.$$hash):"";this.$$url=Jt(this.$$path)+(t?"?"+t:"")+i,this.$$absUrl=e+n+this.$$url,this.$$urlUpdatedByLocation=!0}}function sn(e){return function(){return this[e]}}function on(e,t){return function(n){return _(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function ln(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return b(t)?(e=t,this):e},this.html5Mode=function(e){return E(e)?(t.enabled=e,this):T(e)?(E(e.enabled)&&(t.enabled=e.enabled),E(e.requireBase)&&(t.requireBase=e.requireBase),(E(e.rewriteLinks)||w(e.rewriteLinks))&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,i,r,a,s){function o(e,t,n){var r=u.url(),a=u.$$state;try{i.url(e,t,n),u.$$state=i.state()}catch(e){throw u.url(r),u.$$state=a,e}}function l(e,t){n.$broadcast("$locationChangeSuccess",u.absUrl(),e,u.$$state,t)}var u,c,d,h=i.baseHref(),p=i.url();if(t.enabled){if(!h&&t.requireBase)throw Sa("nobase","$location in HTML5 mode requires a <base> tag to be present!");d=tn(p)+(h||"/"),c=r.history?nn:an}else d=Qt(p),c=rn;var m=en(d);u=new c(d,m,"#"+e),u.$$parseLinkUrl(p,p),u.$$state=i.state();var f=/^\s*(javascript|mailto):/i;a.on("click",function(e){var r=t.rewriteLinks;if(r&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var o=nr(e.target);"a"!==j(o[0]);)if(o[0]===a[0]||!(o=o.parent())[0])return;if(!w(r)||!_(o.attr(r))){var l=o.prop("href"),c=o.attr("href")||o.attr("xlink:href");T(l)&&"[object SVGAnimatedString]"===l.toString()&&(l=Rn(l.animVal).href),f.test(l)||!l||o.attr("target")||e.isDefaultPrevented()||u.$$parseLinkUrl(l,c)&&(e.preventDefault(),u.absUrl()!==i.url()&&(n.$apply(),s.angular["ff-684208-preventDefault"]=!0))}}}),Xt(u.absUrl())!==Xt(p)&&i.url(u.absUrl(),!0);var g=!0;return i.onUrlChange(function(e,t){return Kt(e,m)?(n.$evalAsync(function(){var i,r=u.absUrl(),a=u.$$state;e=Xt(e),u.$$parse(e),u.$$state=t,i=n.$broadcast("$locationChangeStart",e,r,t,a).defaultPrevented,u.absUrl()===e&&(i?(u.$$parse(r),u.$$state=a,o(r,!1,a)):(g=!1,l(r,a)))}),void(n.$$phase||n.$digest())):void(s.location.href=e)}),n.$watch(function(){if(g||u.$$urlUpdatedByLocation){u.$$urlUpdatedByLocation=!1;var e=Xt(i.url()),t=Xt(u.absUrl()),a=i.state(),s=u.$$replace,c=e!==t||u.$$html5&&r.history&&a!==u.$$state; (g||c)&&(g=!1,n.$evalAsync(function(){var t=u.absUrl(),i=n.$broadcast("$locationChangeStart",t,e,u.$$state,a).defaultPrevented;u.absUrl()===t&&(i?(u.$$parse(e),u.$$state=a):(c&&o(t,s,a===u.$$state?null:u.$$state),l(e,a)))}))}u.$$replace=!1}),u}]}function un(){var e=!0,t=this;this.debugEnabled=function(t){return b(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack&&s?e=e.message&&e.stack.indexOf(e.message)===-1?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function r(e){var t=n.console||{},r=t[e]||t.log||f,s=!1;try{s=!!r.apply}catch(e){}return s?function(){var e=[];return a(arguments,function(t){e.push(i(t))}),r.apply(t,e)}:function(e,t){r(e,null==t?"":t)}}var s=tr||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:r("log"),info:r("info"),warn:r("warn"),error:r("error"),debug:function(){var n=r("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function cn(e){return e+""}function dn(e,t){return"undefined"!=typeof e?e:t}function hn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function pn(e,t){var n=e(t);return!n.$stateful}function mn(e,t){var n,i,r;switch(e.type){case Na.Program:n=!0,a(e.body,function(e){mn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case Na.Literal:e.constant=!0,e.toWatch=[];break;case Na.UnaryExpression:mn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case Na.BinaryExpression:mn(e.left,t),mn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case Na.LogicalExpression:mn(e.left,t),mn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case Na.ConditionalExpression:mn(e.test,t),mn(e.alternate,t),mn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case Na.Identifier:e.constant=!1,e.toWatch=[e];break;case Na.MemberExpression:mn(e.object,t),e.computed&&mn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case Na.CallExpression:r=!!e.filter&&pn(t,e.callee.name),n=r,i=[],a(e.arguments,function(e){mn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=r?i:[e];break;case Na.AssignmentExpression:mn(e.left,t),mn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case Na.ArrayExpression:n=!0,i=[],a(e.elements,function(e){mn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case Na.ObjectExpression:n=!0,i=[],a(e.properties,function(e){mn(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch),e.computed&&(mn(e.key,t),e.key.constant||i.push.apply(i,e.key.toWatch))}),e.constant=n,e.toWatch=i;break;case Na.ThisExpression:e.constant=!1,e.toWatch=[];break;case Na.LocalsExpression:e.constant=!1,e.toWatch=[]}}function fn(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function gn(e){return e.type===Na.Identifier||e.type===Na.MemberExpression}function vn(e){if(1===e.body.length&&gn(e.body[0].expression))return{type:Na.AssignmentExpression,left:e.body[0].expression,right:{type:Na.NGValueParameter},operator:"="}}function yn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===Na.Literal||e.body[0].expression.type===Na.ArrayExpression||e.body[0].expression.type===Na.ObjectExpression)}function _n(e){return e.constant}function bn(e){this.$filter=e}function Tn(e){this.$filter=e}function Mn(e,t,n){this.ast=new Na(e,n),this.astCompiler=n.csp?new Tn(t):new bn(t)}function wn(e){return k(e.valueOf)?e.valueOf():Ea.call(e)}function $n(){var e,t,n=_e(),i={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(n,i){return e=n,t=i,this},this.$get=["$filter",function(r){function s(e,t){var i,a,s;switch(typeof e){case"string":if(e=e.trim(),s=e,i=n[s],!i){":"===e.charAt(0)&&":"===e.charAt(1)&&(a=!0,e=e.substring(2));var o=new Oa(m),c=new Mn(o,r,m);i=c.parse(e),i.constant?i.$$watchDelegate=d:a?(i.oneTime=!0,i.$$watchDelegate=u):i.inputs&&(i.$$watchDelegate=l),n[s]=i}return h(i,t);case"function":return h(e,t);default:return h(f,t)}}function o(e,t,n){return null==e||null==t?e===t:!("object"==typeof e&&(e=wn(e),"object"==typeof e&&!n))&&(e===t||e!==e&&t!==t)}function l(e,t,n,i,r){var a,s=i.inputs;if(1===s.length){var l=o;return s=s[0],e.$watch(function(e){var t=s(e);return o(t,l,i.literal)||(a=i(e,void 0,void 0,[t]),l=t&&wn(t)),a},t,n,r)}for(var u=[],c=[],d=0,h=s.length;d<h;d++)u[d]=o,c[d]=null;return e.$watch(function(e){for(var t=!1,n=0,r=s.length;n<r;n++){var l=s[n](e);(t||(t=!o(l,u[n],i.literal)))&&(c[n]=l,u[n]=l&&wn(l))}return t&&(a=i(e,void 0,void 0,c)),a},t,n,r)}function u(e,t,n,i,r){function a(e){return i(e)}function s(e,n,i){u=e,k(t)&&t(e,n,i),d(e)&&i.$$postDigest(function(){d(u)&&o()})}var o,u,d=i.literal?c:b;return o=i.inputs?l(e,s,n,i,r):e.$watch(a,s,n)}function c(e){var t=!0;return a(e,function(e){b(e)||(t=!1)}),t}function d(e,t,n,i){var r=e.$watch(function(e){return r(),i(e)},t,n);return r}function h(e,t){function n(n,i,r,s){var o=a&&s?s[0]:e(n,i,r,s);return t(o,n,i)}function i(n,i,r,o){var l=a&&o?o[0]:e(n,i,r,o),u=t(l,n,i);return s(l)?u:l}if(!t)return e;var r=e.$$watchDelegate,a=!1,s=e.literal?c:b,o=e.oneTime?i:n;return o.literal=e.literal,o.oneTime=e.oneTime,a=!e.inputs,r&&r!==l?(o.$$watchDelegate=r,o.inputs=e.inputs):t.$stateful||(o.$$watchDelegate=l,o.inputs=e.inputs?e.inputs:[e]),o}var p=yr().noUnsafeEval,m={csp:p,literals:F(i),isIdentifierStart:k(e)&&e,isIdentifierContinue:k(t)&&t};return s}]}function Dn(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return Ln(function(e){t.$evalAsync(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return b(t)?(e=t,this):e}}function kn(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return Ln(function(e){t.defer(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return b(t)?(e=t,this):e}}function Ln(e,n,i){function r(){return new s}function s(){var e=this.promise=new o;this.resolve=function(t){h(e,t)},this.reject=function(t){m(e,t)},this.notify=function(t){g(e,t)}}function o(){this.$$state={status:0}}function l(t){var n,r,a;a=t.pending,t.processScheduled=!1,t.pending=void 0;try{for(var s=0,o=a.length;s<o;++s){t.pur=!0,r=a[s][0],n=a[s][t.status];try{k(n)?h(r,n(t.value)):1===t.status?h(r,t.value):m(r,t.value)}catch(e){m(r,e)}}}finally{--L,i&&0===L&&e(u)}}function u(){for(;!L&&x.length;){var e=x.shift();if(!e.pur){e.pur=!0;var t="Possibly unhandled rejection: "+$e(e.value);e.value instanceof Error?n(e.value,t):n(t)}}}function c(t){!i||t.pending||2!==t.status||t.pur||(0===L&&0===x.length&&e(u),x.push(t)),!t.processScheduled&&t.pending&&(t.processScheduled=!0,++L,e(function(){l(t)}))}function h(e,t){e.$$state.status||(t===e?f(e,D("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):p(e,t))}function p(e,t){function n(t){s||(s=!0,p(e,t))}function i(t){s||(s=!0,f(e,t))}function r(t){g(e,t)}var a,s=!1;try{(T(t)||k(t))&&(a=t.then),k(a)?(e.$$state.status=-1,a.call(t,n,i,r)):(e.$$state.value=t,e.$$state.status=1,c(e.$$state))}catch(e){i(e)}}function m(e,t){e.$$state.status||f(e,t)}function f(e,t){e.$$state.value=t,e.$$state.status=2,c(e.$$state)}function g(t,i){var r=t.$$state.pending;t.$$state.status<=0&&r&&r.length&&e(function(){for(var e,t,a=0,s=r.length;a<s;a++){t=r[a][0],e=r[a][3];try{g(t,k(e)?e(i):i)}catch(e){n(e)}}})}function v(e){var t=new o;return m(t,e),t}function y(e,t,n){var i=null;try{k(n)&&(i=n())}catch(e){return v(e)}return I(i)?i.then(function(){return t(e)},v):t(e)}function b(e,t,n,i){var r=new o;return h(r,e),r.then(t,n,i)}function M(e){var t=new o,n=0,i=mr(e)?[]:{};return a(e,function(e,r){n++,b(e).then(function(e){i[r]=e,--n||h(t,i)},function(e){m(t,e)})}),0===n&&h(t,i),t}function w(e){var t=r();return a(e,function(e){b(e).then(t.resolve,t.reject)}),t.promise}function $(e){function t(e){h(i,e)}function n(e){m(i,e)}if(!k(e))throw D("norslvr","Expected resolverFn, got '{0}'",e);var i=new o;return e(t,n),i}var D=t("$q",TypeError),L=0,x=[];d(o.prototype,{then:function(e,t,n){if(_(e)&&_(t)&&_(n))return this;var i=new o;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([i,e,t,n]),this.$$state.status>0&&c(this.$$state),i},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then(function(t){return y(t,S,e)},function(t){return y(t,v,e)},t)}});var S=b;return $.prototype=o.prototype,$.defer=r,$.reject=v,$.when=b,$.resolve=S,$.all=M,$.race=w,$}function xn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,i=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,r=!!n,a=r?function(e){var t=n(e);return function(){i(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return a.supported=r,a}]}function Sn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=l(),this.$$ChildScope=null}return t.prototype=e,t}var n=10,i=t("$rootScope"),s=null,o=null;this.digestTtl=function(e){return arguments.length&&(n=e),n},this.$get=["$exceptionHandler","$parse","$browser",function(t,u,c){function d(e){e.currentScope.$$destroyed=!0}function h(e){9===tr&&(e.$$childHead&&h(e.$$childHead),e.$$nextSibling&&h(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=l(),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}function m(e){if($.$$phase)throw i("inprog","{0} already in progress",$.$$phase);$.$$phase=e}function g(){$.$$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 b(){}function M(){for(;x.length;)try{x.shift()()}catch(e){t(e)}o=null}function w(){null===o&&(o=c.defer(function(){$.$apply(M)}))}p.prototype={constructor:p,$new:function(t,n){var i;return n=n||this,t?(i=new p,i.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),i=new this.$$ChildScope),i.$parent=n,i.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=i,n.$$childTail=i):n.$$childHead=n.$$childTail=i,(t||n!==this)&&i.$on("$destroy",d),i},$watch:function(e,t,n,i){var r=u(e);if(r.$$watchDelegate)return r.$$watchDelegate(this,t,n,r,e);var a=this,o=a.$$watchers,l={fn:t,last:b,get:r,exp:i||e,eq:!!n};return s=null,k(t)||(l.fn=f),o||(o=a.$$watchers=[],o.$$digestWatchIndex=-1),o.unshift(l),o.$$digestWatchIndex++,v(this,1),function(){var e=z(o,l);e>=0&&(v(a,-1),e<o.$$digestWatchIndex&&o.$$digestWatchIndex--),s=null}},$watchGroup:function(e,t){function n(){l=!1,u?(u=!1,t(r,r,o)):t(r,i,o)}var i=new Array(e.length),r=new Array(e.length),s=[],o=this,l=!1,u=!0;if(!e.length){var c=!0;return o.$evalAsync(function(){c&&t(r,r,o)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,a){r[0]=e,i[0]=n,t(r,e===n?r:i,a)}):(a(e,function(e,t){var a=o.$watch(e,function(e,a){r[t]=e,i[t]=a,l||(l=!0,o.$evalAsync(n))});s.push(a)}),function(){for(;s.length;)s.shift()()})},$watchCollection:function(e,t){function n(e){a=e;var t,n,i,o,l;if(!_(a)){if(T(a))if(r(a)){s!==p&&(s=p,g=s.length=0,d++),t=a.length,g!==t&&(d++,s.length=g=t);for(var u=0;u<t;u++)l=s[u],o=a[u],i=l!==l&&o!==o,i||l===o||(d++,s[u]=o)}else{s!==m&&(s=m={},g=0,d++),t=0;for(n in a)Gi.call(a,n)&&(t++,o=a[n],l=s[n],n in s?(i=l!==l&&o!==o,i||l===o||(d++,s[n]=o)):(g++,s[n]=o,d++));if(g>t){d++;for(n in s)Gi.call(a,n)||(g--,delete s[n])}}else s!==a&&(s=a,d++);return d}}function i(){if(f?(f=!1,t(a,a,l)):t(a,o,l),c)if(T(a))if(r(a)){o=new Array(a.length);for(var e=0;e<a.length;e++)o[e]=a[e]}else{o={};for(var n in a)Gi.call(a,n)&&(o[n]=a[n])}else o=a}n.$stateful=!0;var a,s,o,l=this,c=t.length>1,d=0,h=u(e,n),p=[],m={},f=!0,g=0;return this.$watch(h,i)},$digest:function(){var e,r,a,l,u,d,h,p,f,v,y,_=n,T=this,w=[];m("$digest"),c.$$checkUrlChange(),this===$&&null!==o&&(c.defer.cancel(o),M()),s=null;do{h=!1,f=T;for(var x=0;x<D.length;x++){try{y=D[x],l=y.fn,l(y.scope,y.locals)}catch(e){t(e)}s=null}D.length=0;e:do{if(d=f.$$watchers)for(d.$$digestWatchIndex=d.length;d.$$digestWatchIndex--;)try{if(e=d[d.$$digestWatchIndex])if(u=e.get,(r=u(f))===(a=e.last)||(e.eq?B(r,a):pr(r)&&pr(a))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?F(r,null):r,l=e.fn,l(r,a===b?r:a,f),_<5&&(v=4-_,w[v]||(w[v]=[]),w[v].push({msg:k(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:r,oldVal:a}))}catch(e){t(e)}if(!(p=f.$$watchersCount&&f.$$childHead||f!==T&&f.$$nextSibling))for(;f!==T&&!(p=f.$$nextSibling);)f=f.$parent}while(f=p);if((h||D.length)&&!_--)throw g(),i("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",n,w)}while(h||D.length);for(g();S<L.length;)try{L[S++]()}catch(e){t(e)}L.length=S=0,c.$$checkUrlChange()},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===$&&c.$$applicationDestroyed(),v(this,-this.$$watchersCount);for(var t in 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=f,this.$on=this.$watch=this.$watchGroup=function(){return f},this.$$listeners={},this.$$nextSibling=null,h(this)}},$eval:function(e,t){return u(e)(this,t)},$evalAsync:function(e,t){$.$$phase||D.length||c.defer(function(){D.length&&$.$digest()}),D.push({scope:this,fn:u(e),locals:t})},$$postDigest:function(e){L.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{g()}}catch(e){t(e)}finally{try{$.$digest()}catch(e){throw t(e),e}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&x.push(t),e=u(e),w()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var i=this;do i.$$listenerCount[e]||(i.$$listenerCount[e]=0),i.$$listenerCount[e]++;while(i=i.$parent);var r=this;return function(){var i=n.indexOf(t);i!==-1&&(n[i]=null,y(r,1,e))}},$emit:function(e,n){var i,r,a,s=[],o=this,l=!1,u={name:e,targetScope:o,stopPropagation:function(){l=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=U([u],arguments,1);do{for(i=o.$$listeners[e]||s,u.currentScope=o,r=0,a=i.length;r<a;r++)if(i[r])try{i[r].apply(null,c)}catch(e){t(e)}else i.splice(r,1),r--,a--;if(l)return u.currentScope=null,u;o=o.$parent}while(o);return u.currentScope=null,u},$broadcast:function(e,n){var i=this,r=i,a=i,s={name:e,targetScope:i,preventDefault:function(){s.defaultPrevented=!0},defaultPrevented:!1};if(!i.$$listenerCount[e])return s;for(var o,l,u,c=U([s],arguments,1);r=a;){for(s.currentScope=r,o=r.$$listeners[e]||[],l=0,u=o.length;l<u;l++)if(o[l])try{o[l].apply(null,c)}catch(e){t(e)}else o.splice(l,1),l--,u--;if(!(a=r.$$listenerCount[e]&&r.$$childHead||r!==i&&r.$$nextSibling))for(;r!==i&&!(a=r.$$nextSibling);)r=r.$parent}return s.currentScope=null,s}};var $=new p,D=$.$$asyncQueue=[],L=$.$$postDigestQueue=[],x=$.$$applyAsyncQueue=[],S=0;return $}]}function Cn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return b(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return b(e)?(t=e,this):t},this.$get=function(){return function(n,i){var r,a=i?t:e;return r=Rn(n).href,""===r||r.match(a)?n:"unsafe:"+r}}}function An(e){return e.replace(Ra,xe)}function Yn(e){if("self"===e)return e;if(w(e)){if(e.indexOf("***")>-1)throw Pa("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=vr(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(L(e))return new RegExp("^"+e.source+"$");throw Pa("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function En(e){var t=[];return b(e)&&a(e,function(e){t.push(Yn(e))}),t}function In(){this.SCE_CONTEXTS=ja;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=En(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=En(e)),t},this.$get=["$injector",function(n){function i(e,t){return"self"===e?zn(t):!!e.exec(t.href)}function r(n){var r,a,s=Rn(n.toString()),o=!1;for(r=0,a=e.length;r<a;r++)if(i(e[r],s)){o=!0;break}if(o)for(r=0,a=t.length;r<a;r++)if(i(t[r],s)){o=!1;break}return o}function a(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}function s(e,t){var n=d.hasOwnProperty(e)?d[e]:null;if(!n)throw Pa("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||_(t)||""===t)return t;if("string"!=typeof t)throw Pa("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function o(e){return e instanceof c?e.$$unwrapTrustedValue():e}function l(e,t){if(null===t||_(t)||""===t)return t;var n=d.hasOwnProperty(e)?d[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===ja.RESOURCE_URL){if(r(t))return t;throw Pa("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===ja.HTML)return u(t);throw Pa("unsafe","Attempting to use an unsafe value in a safe context.")}var u=function(e){throw Pa("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(u=n.get("$sanitize"));var c=a(),d={};return d[ja.HTML]=a(c),d[ja.CSS]=a(c),d[ja.URL]=a(c),d[ja.JS]=a(c),d[ja.RESOURCE_URL]=a(d[ja.URL]),{trustAs:s,getTrusted:l,valueOf:o}}]}function Hn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&tr<8)throw Pa("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=Me(ja);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=g),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var r=i.parseAs,s=i.getTrusted,o=i.trustAs;return a(ja,function(e,t){var n=Zi(t);i[An("parse_as_"+n)]=function(t){return r(e,t)},i[An("get_trusted_"+n)]=function(t){return s(e,t)},i[An("trust_as_"+n)]=function(t){return o(e,t)}}),i}]}function On(){this.$get=["$window","$document",function(e,t){var n={},i=e.nw&&e.nw.process,r=!i&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id),a=!r&&e.history&&e.history.pushState,s=p((/android (\d+)/.exec(Zi((e.navigator||{}).userAgent))||[])[1]),o=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},u=l.body&&l.body.style,c=!1,d=!1;return u&&(c=!!("transition"in u||"webkitTransition"in u),d=!!("animation"in u||"webkitAnimation"in u)),{history:!(!a||s<4||o),hasEvent:function(e){if("input"===e&&tr)return!1;if(_(n[e])){var t=l.createElement("div");n[e]="on"+e in t}return n[e]},csp:yr(),transitions:c,animations:d,android:s}}]}function Nn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,i,r,a){function s(o,l){function u(e){return l||(e=za("tpload","Failed to load template: {0} (HTTP status: {1} {2})",o,e.status,e.statusText),t(e)),r.reject(e)}s.totalPendingRequests++,w(o)&&!_(n.get(o))||(o=a.getTrustedResourceUrl(o));var c=i.defaults&&i.defaults.transformResponse;return mr(c)?c=c.filter(function(e){return e!==Ht}):c===Ht&&(c=null),i.get(o,d({cache:n,transformResponse:c},e)).finally(function(){s.totalPendingRequests--}).then(function(e){return n.put(o,e.data),e.data},u)}return s.totalPendingRequests=0,s}]}function Pn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),r=[];return a(i,function(e){var i=dr.element(e).data("$binding");i&&a(i,function(i){if(n){var a=new RegExp("(^|\\s)"+vr(t)+"(\\s|\\||$)");a.test(i)&&r.push(e)}else i.indexOf(t)!==-1&&r.push(e)})}),r},i.findModels=function(e,t,n){for(var i=["ng-","data-ng-","ng\\:"],r=0;r<i.length;++r){var a=n?"=":"*=",s="["+i[r]+"model"+a+'"'+t+'"]',o=e.querySelectorAll(s);if(o.length)return o}},i.getLocation=function(){return n.url()},i.setLocation=function(t){t!==n.url()&&(n.url(t),e.$digest())},i.whenStable=function(e){t.notifyWhenNoOutstandingRequests(e)},i}]}function jn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,i,r){function a(a,o,l){k(a)||(l=o,o=a,a=f);var u,c=W(arguments,3),d=b(l)&&!l,h=(d?i:n).defer(),p=h.promise;return u=t.defer(function(){try{h.resolve(a.apply(null,c))}catch(e){h.reject(e),r(e)}finally{delete s[p.$$timeoutId]}d||e.$apply()},o),p.$$timeoutId=u,s[u]=h,p}var s={};return a.cancel=function(e){return!!(e&&e.$$timeoutId in s)&&(s[e.$$timeoutId].promise.catch(f),s[e.$$timeoutId].reject("canceled"),delete s[e.$$timeoutId],t.defer.cancel(e.$$timeoutId))},a}]}function Rn(e){var t=e;return tr&&(Fa.setAttribute("href",t),t=Fa.href),Fa.setAttribute("href",t),{href:Fa.href,protocol:Fa.protocol?Fa.protocol.replace(/:$/,""):"",host:Fa.host,search:Fa.search?Fa.search.replace(/^\?/,""):"",hash:Fa.hash?Fa.hash.replace(/^#/,""):"",hostname:Fa.hostname,port:Fa.port,pathname:"/"===Fa.pathname.charAt(0)?Fa.pathname:"/"+Fa.pathname}}function zn(e){var t=w(e)?Rn(e):e;return t.protocol===Va.protocol&&t.host===Va.host}function Fn(){this.$get=v(e)}function Vn(e){function t(e){try{return e.cookie||""}catch(e){return""}}function n(e){try{return decodeURIComponent(e)}catch(t){return e}}var i=e[0]||{},r={},a="";return function(){var e,s,o,l,u,c=t(i);if(c!==a)for(a=c,e=a.split("; "),r={},o=0;o<e.length;o++)s=e[o],l=s.indexOf("="),l>0&&(u=n(s.substring(0,l)),_(r[u])&&(r[u]=n(s.substring(l+1))));return r}}function Bn(){this.$get=Vn}function Un(e){function t(i,r){if(T(i)){var s={};return a(i,function(e,n){s[n]=t(n,e)}),s}return e.factory(i+n,r)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Kn),t("date",di),t("filter",Wn),t("json",hi),t("limitTo",pi),t("lowercase",Ka),t("number",Zn),t("orderBy",fi),t("uppercase",Za)}function Wn(){return function(e,n,i,a){if(!r(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}a=a||"$";var s,o,l=Gn(n);switch(l){case"function":s=n;break;case"boolean":case"null":case"number":case"string":o=!0;case"object":s=Jn(n,i,a,o);break;default:return e}return Array.prototype.filter.call(e,s)}}function Jn(e,t,n,i){var r,a=T(e)&&n in e;return t===!0?t=B:k(t)||(t=function(e,t){return!_(e)&&(null===e||null===t?e===t:!(T(t)||T(e)&&!y(e))&&(e=Zi(""+e),t=Zi(""+t),e.indexOf(t)!==-1))}),r=function(r){return a&&!T(r)?qn(r,e[n],t,n,!1):qn(r,e,t,n,i)}}function qn(e,t,n,i,r,a){var s=Gn(e),o=Gn(t);if("string"===o&&"!"===t.charAt(0))return!qn(e,t.substring(1),n,i,r);if(mr(e))return e.some(function(e){return qn(e,t,n,i,r)});switch(s){case"object":var l;if(r){for(l in e)if(l.charAt&&"$"!==l.charAt(0)&&qn(e[l],t,n,i,!0))return!0;return!a&&qn(e,t,n,i,!1)}if("object"===o){for(l in t){var u=t[l];if(!k(u)&&!_(u)){var c=l===i,d=c?e:e[l];if(!qn(d,u,n,i,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Gn(e){return null===e?"null":typeof e}function Kn(e){var t=e.NUMBER_FORMATS;return function(e,n,i){return _(n)&&(n=t.CURRENCY_SYM),_(i)&&(i=t.PATTERNS[1].maxFrac),null==e?e:ei(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,i).replace(/\u00A4/g,n)}}function Zn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:ei(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Qn(e){var t,n,i,r,a,s=0;for((n=e.indexOf(Ua))>-1&&(e=e.replace(Ua,"")),(i=e.search(/e/i))>0?(n<0&&(n=i),n+=+e.slice(i+1),e=e.substring(0,i)):n<0&&(n=e.length),i=0;e.charAt(i)===Wa;i++);if(i===(a=e.length))t=[0],n=1;else{for(a--;e.charAt(a)===Wa;)a--;for(n-=i,t=[],r=0;i<=a;i++,r++)t[r]=+e.charAt(i)}return n>Ba&&(t=t.splice(0,Ba-1),s=n-1,n=1),{d:t,e:s,i:n}}function Xn(e,t,n,i){var r=e.d,a=r.length-e.i;t=_(t)?Math.min(Math.max(n,a),i):+t;var s=t+e.i,o=r[s];if(s>0){r.splice(Math.max(e.i,s));for(var l=s;l<r.length;l++)r[l]=0}else{a=Math.max(0,a),e.i=1,r.length=Math.max(1,s=t+1),r[0]=0;for(var u=1;u<s;u++)r[u]=0}if(o>=5)if(s-1<0){for(var c=0;c>s;c--)r.unshift(0),e.i++;r.unshift(1),e.i++}else r[s-1]++;for(;a<Math.max(0,t);a++)r.push(0);var d=r.reduceRight(function(e,t,n,i){return t+=e,i[n]=t%10,Math.floor(t/10)},0);d&&(r.unshift(d),e.i++)}function ei(e,t,n,i,r){if(!w(e)&&!$(e)||isNaN(e))return"";var a,s=!isFinite(e),o=!1,l=Math.abs(e)+"",u="";if(s)u="∞";else{a=Qn(l),Xn(a,r,t.minFrac,t.maxFrac);var c=a.d,d=a.i,h=a.e,p=[];for(o=c.reduce(function(e,t){return e&&!t},!0);d<0;)c.unshift(0),d++;d>0?p=c.splice(d,c.length):(p=c,c=[0]);var m=[];for(c.length>=t.lgSize&&m.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)m.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&m.unshift(c.join("")),u=m.join(n),p.length&&(u+=i+p.join("")),h&&(u+="e+"+h)}return e<0&&!o?t.negPre+u+t.negSuf:t.posPre+u+t.posSuf}function ti(e,t,n,i){var r="";for((e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,r="-")),e=""+e;e.length<t;)e=Wa+e;return n&&(e=e.substr(e.length-t)),r+e}function ni(e,t,n,i,r){return n=n||0,function(a){var s=a["get"+e]();return(n>0||s>-n)&&(s+=n),0===s&&n===-12&&(s=12),ti(s,t,i,r)}}function ii(e,t,n){return function(i,r){var a=i["get"+e](),s=(n?"STANDALONE":"")+(t?"SHORT":""),o=Qi(s+e);return r[o][a]}}function ri(e,t,n){var i=-1*n,r=i>=0?"+":"";return r+=ti(Math[i>0?"floor":"ceil"](i/60),2)+ti(Math.abs(i%60),2)}function ai(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function si(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function oi(e){return function(t){var n=ai(t.getFullYear()),i=si(t),r=+i-+n,a=1+Math.round(r/6048e5);return ti(a,e)}}function li(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function ui(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function ci(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function di(e){function t(e){var t;if(t=e.match(n)){var i=new Date(0),r=0,a=0,s=t[8]?i.setUTCFullYear:i.setFullYear,o=t[8]?i.setUTCHours:i.setHours;t[9]&&(r=p(t[9]+t[10]),a=p(t[9]+t[11])),s.call(i,p(t[1]),p(t[2])-1,p(t[3]));var l=p(t[4]||0)-r,u=p(t[5]||0)-a,c=p(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(i,l,u,c,d),i}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,r){var s,o,l="",u=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Ga.test(n)?p(n):t(n)),$(n)&&(n=new Date(n)),!D(n)||!isFinite(n.getTime()))return n;for(;i;)o=qa.exec(i),o?(u=U(u,o,1),i=u.pop()):(u.push(i),i=null);var c=n.getTimezoneOffset();return r&&(c=Z(r,c),n=X(n,r,!0)),a(u,function(t){s=Ja[t],l+=s?s(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}}function hi(){return function(e,t){return _(t)&&(t=2),G(e,t)}}function pi(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):p(t),pr(t)?e:($(e)&&(e=e.toString()),r(e)?(n=!n||isNaN(n)?0:p(n),n=n<0?Math.max(0,e.length+n):n,t>=0?mi(e,n,n+t):0===n?mi(e,t,e.length):mi(e,Math.max(0,n+t),n)):e)}}function mi(e,t,n){return w(e)?e.slice(t,n):ar.call(e,t,n)}function fi(e){function n(t){return t.map(function(t){var n=1,i=g;if(k(t))i=t;else if(w(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant))){var r=i();i=function(e){return e[r]}}return{get:i,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function a(e){return k(e.valueOf)&&(e=e.valueOf(),i(e))?e:y(e)&&(e=e.toString(),i(e))?e:e}function s(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=a(e)),{value:e,type:n,index:t}}function o(e,t){var n=0,i=e.type,r=t.type;if(i===r){var a=e.value,s=t.value;"string"===i?(a=a.toLowerCase(),s=s.toLowerCase()):"object"===i&&(T(a)&&(a=e.index),T(s)&&(s=t.index)),a!==s&&(n=a<s?-1:1)}else n=i<r?-1:1;return n}return function(e,i,a,l){function u(e,t){return{value:e,tieBreaker:{value:t,type:"number",index:t},predicateValues:d.map(function(n){return s(n.get(e),t)})}}function c(e,t){for(var n=0,i=d.length;n<i;n++){var r=p(e.predicateValues[n],t.predicateValues[n]);if(r)return r*d[n].descending*h}return p(e.tieBreaker,t.tieBreaker)*h}if(null==e)return e;if(!r(e))throw t("orderBy")("notarray","Expected array but received: {0}",e);mr(i)||(i=[i]),0===i.length&&(i=["+"]);var d=n(i),h=a?-1:1,p=k(l)?l:o,m=Array.prototype.map.call(e,u);return m.sort(c),e=m.map(function(e){return e.value})}}function gi(e){return k(e)&&(e={link:e}),e.restrict=e.restrict||"AC",v(e)}function vi(e,t){e.$name=t}function yi(e,t,n,i,r){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=r(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=es,this.$$element=e,this.$$animate=i,_i(this)}function _i(e){e.$$classCache={},e.$$classCache[Ps]=!(e.$$classCache[Ns]=e.$$element.hasClass(Ns))}function bi(e){function t(e,t,n,i){e[t]||(e[t]={}),s(e[t],n,i)}function n(e,t,n,i){e[t]&&o(e[t],n,i),Ti(e[t])&&(e[t]=void 0)}function i(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function r(e,t,n){t=t?"-"+he(t,"-"):"",i(e,Ns+t,n===!0),i(e,Ps+t,n===!1)}var a=e.clazz,s=e.set,o=e.unset;a.prototype.$setValidity=function(e,a,l){_(a)?t(this,"$pending",e,l):n(this,"$pending",e,l),E(a)?a?(o(this.$error,e,l),s(this.$$success,e,l)):(s(this.$error,e,l),o(this.$$success,e,l)):(o(this.$error,e,l),o(this.$$success,e,l)),this.$pending?(i(this,ts,!0),this.$valid=this.$invalid=void 0,r(this,"",null)):(i(this,ts,!1),this.$valid=Ti(this.$error),this.$invalid=!this.$valid,r(this,"",this.$valid));var u;u=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null),r(this,e,u),this.$$parentForm.$setValidity(e,u,this)}}function Ti(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Mi(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function wi(e,t,n,i,r,a){$i(e,t,n,i,r,a),Mi(i)}function $i(e,t,n,i,r,a){var s=Zi(t[0].type);if(!r.android){var o=!1;t.on("compositionstart",function(){o=!0}),t.on("compositionend",function(){o=!1,u()})}var l,u=function(e){if(l&&(a.defer.cancel(l),l=null),!o){var r=t.val(),u=e&&e.type;"password"===s||n.ngTrim&&"false"===n.ngTrim||(r=gr(r)),(i.$viewValue!==r||""===r&&i.$$hasNativeValidators)&&i.$setViewValue(r,u)}};if(r.hasEvent("input"))t.on("input",u);else{var c=function(e,t,n){l||(l=a.defer(function(){l=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||c(e,this,this.value)}),r.hasEvent("paste")&&t.on("paste cut",c); }t.on("change",u),gs[s]&&i.$$hasNativeValidators&&s===n.type&&t.on(fs,function(e){if(!l){var t=this[qi],n=t.badInput,i=t.typeMismatch;l=a.defer(function(){l=null,t.badInput===n&&t.typeMismatch===i||u(e)})}}),i.$render=function(){var e=i.$isEmpty(i.$viewValue)?"":i.$viewValue;t.val()!==e&&t.val(e)}}function Di(e,t){if(D(e))return e;if(w(e)){hs.lastIndex=0;var n=hs.exec(e);if(n){var i=+n[1],r=+n[2],a=0,s=0,o=0,l=0,u=ai(i),c=7*(r-1);return t&&(a=t.getHours(),s=t.getMinutes(),o=t.getSeconds(),l=t.getMilliseconds()),new Date(i,0,u.getDate()+c,a,s,o,l)}}return NaN}function ki(e,t){return function(n,i){var r,s;if(D(n))return n;if(w(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),ss.test(n))return new Date(n);if(e.lastIndex=0,r=e.exec(n))return r.shift(),s=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},a(r,function(e,n){n<t.length&&(s[t[n]]=+e)}),new Date(s.yyyy,s.MM-1,s.dd,s.HH,s.mm,s.ss||0,1e3*s.sss||0)}return NaN}}function Li(e,t,n,i){return function(r,a,s,o,l,u,c){function d(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function h(e){return b(e)&&!D(e)?n(e)||void 0:e}xi(r,a,s,o),$i(r,a,s,o,l,u);var p,m=o&&o.$options.getOption("timezone");if(o.$$parserName=e,o.$parsers.push(function(e){if(o.$isEmpty(e))return null;if(t.test(e)){var i=n(e,p);return m&&(i=X(i,m)),i}}),o.$formatters.push(function(e){if(e&&!D(e))throw Us("datefmt","Expected `{0}` to be a date",e);return d(e)?(p=e,p&&m&&(p=X(p,m,!0)),c("date")(e,i,m)):(p=null,"")}),b(s.min)||s.ngMin){var f;o.$validators.min=function(e){return!d(e)||_(f)||n(e)>=f},s.$observe("min",function(e){f=h(e),o.$validate()})}if(b(s.max)||s.ngMax){var g;o.$validators.max=function(e){return!d(e)||_(g)||n(e)<=g},s.$observe("max",function(e){g=h(e),o.$validate()})}}}function xi(e,t,n,i){var r=t[0],a=i.$$hasNativeValidators=T(r.validity);a&&i.$parsers.push(function(e){var n=t.prop(qi)||{};return n.badInput||n.typeMismatch?void 0:e})}function Si(e){e.$$parserName="number",e.$parsers.push(function(t){return e.$isEmpty(t)?null:us.test(t)?parseFloat(t):void 0}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!$(t))throw Us("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function Ci(e){return b(e)&&!$(e)&&(e=parseFloat(e)),pr(e)?void 0:e}function Ai(e){return(0|e)===e}function Yi(e){var t=e.toString(),n=t.indexOf(".");if(n===-1){if(-1<e&&e<1){var i=/e-(\d+)$/.exec(t);if(i)return Number(i[1])}return 0}return t.length-n-1}function Ei(e,t,n){var i=Number(e),r=!Ai(i),a=!Ai(t),s=!Ai(n);if(r||a||s){var o=r?Yi(i):0,l=a?Yi(t):0,u=s?Yi(n):0,c=Math.max(o,l,u),d=Math.pow(10,c);i*=d,t*=d,n*=d,r&&(i=Math.round(i)),a&&(t=Math.round(t)),s&&(n=Math.round(n))}return(i-t)%n===0}function Ii(e,t,n,i,r,a){xi(e,t,n,i),Si(i),$i(e,t,n,i,r,a);var s,o;if((b(n.min)||n.ngMin)&&(i.$validators.min=function(e){return i.$isEmpty(e)||_(s)||e>=s},n.$observe("min",function(e){s=Ci(e),i.$validate()})),(b(n.max)||n.ngMax)&&(i.$validators.max=function(e){return i.$isEmpty(e)||_(o)||e<=o},n.$observe("max",function(e){o=Ci(e),i.$validate()})),b(n.step)||n.ngStep){var l;i.$validators.step=function(e,t){return i.$isEmpty(t)||_(l)||Ei(t,s||0,l)},n.$observe("step",function(e){l=Ci(e),i.$validate()})}}function Hi(e,t,n,i,r,a){function s(e,i){t.attr(e,n[e]),n.$observe(e,i)}function o(e){if(d=Ci(e),!pr(i.$modelValue))if(c){var n=t.val();d>n&&(n=d,t.val(n)),i.$setViewValue(n)}else i.$validate()}function l(e){if(h=Ci(e),!pr(i.$modelValue))if(c){var n=t.val();h<n&&(t.val(h),n=h<d?d:h),i.$setViewValue(n)}else i.$validate()}function u(e){p=Ci(e),pr(i.$modelValue)||(c&&i.$viewValue!==t.val()?i.$setViewValue(t.val()):i.$validate())}xi(e,t,n,i),Si(i),$i(e,t,n,i,r,a);var c=i.$$hasNativeValidators&&"range"===t[0].type,d=c?0:void 0,h=c?100:void 0,p=c?1:void 0,m=t[0].validity,f=b(n.min),g=b(n.max),v=b(n.step),y=i.$render;i.$render=c&&b(m.rangeUnderflow)&&b(m.rangeOverflow)?function(){y(),i.$setViewValue(t.val())}:y,f&&(i.$validators.min=c?function(){return!0}:function(e,t){return i.$isEmpty(t)||_(d)||t>=d},s("min",o)),g&&(i.$validators.max=c?function(){return!0}:function(e,t){return i.$isEmpty(t)||_(h)||t<=h},s("max",l)),v&&(i.$validators.step=c?function(){return!m.stepMismatch}:function(e,t){return i.$isEmpty(t)||_(p)||Ei(t,d||0,p)},s("step",u))}function Oi(e,t,n,i,r,a){$i(e,t,n,i,r,a),Mi(i),i.$$parserName="url",i.$validators.url=function(e,t){var n=e||t;return i.$isEmpty(n)||os.test(n)}}function Ni(e,t,n,i,r,a){$i(e,t,n,i,r,a),Mi(i),i.$$parserName="email",i.$validators.email=function(e,t){var n=e||t;return i.$isEmpty(n)||ls.test(n)}}function Pi(e,t,n,i){var r=!n.ngTrim||"false"!==gr(n.ngTrim);_(n.name)&&t.attr("name",l());var a=function(e){var a;t[0].checked&&(a=n.value,r&&(a=gr(a)),i.$setViewValue(a,e&&e.type))};t.on("click",a),i.$render=function(){var e=n.value;r&&(e=gr(e)),t[0].checked=e===i.$viewValue},n.$observe("value",i.$render)}function ji(e,t,n,i,r){var a;if(b(i)){if(a=e(i),!a.constant)throw Us("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,i);return a(t)}return r}function Ri(e,t,n,i,r,a,s,o){var l=ji(o,e,"ngTrueValue",n.ngTrueValue,!0),u=ji(o,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){i.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),i.$render=function(){t[0].checked=i.$viewValue},i.$isEmpty=function(e){return e===!1},i.$formatters.push(function(e){return B(e,l)}),i.$parsers.push(function(e){return e?l:u})}function zi(e,t){function n(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var i=0;i<e.length;i++){for(var r=e[i],a=0;a<t.length;a++)if(r===t[a])continue e;n.push(r)}return n}function i(e){return e&&e.split(" ")}function r(e){var t=e;return mr(e)?t=e.map(r).join(" "):T(e)&&(t=Object.keys(e).filter(function(t){return e[t]}).join(" ")),t}e="ngClass"+e;var s;return["$parse",function(o){return{restrict:"AC",link:function(l,u,c){function d(e){e=m(i(e),1),c.$addClass(e)}function h(e){e=m(i(e),-1),c.$removeClass(e)}function p(e,t){var r=i(e),a=i(t),s=n(r,a),o=n(a,r),l=m(s,-1),u=m(o,1);c.$addClass(u),c.$removeClass(l)}function m(e,t){var n=[];return a(e,function(e){(t>0||y[e])&&(y[e]=(y[e]||0)+t,y[e]===+(t>0)&&n.push(e))}),n.join(" ")}function f(e){e===t?d(v):h(v),_=e}function g(e){w(e)||(e=r(e)),_===t&&p(v,e),v=e}var v,y=u.data("$classCounts"),_=!0;y||(y=_e(),u.data("$classCounts",y)),"ngClass"!==e&&(s||(s=o("$index",function(e){return 1&e})),l.$watch(s,f)),l.$watch(o(c[e],r),g)}}}]}function Fi(e,t,n,i,r,a,s,o,l){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=l(n.name||"",!1)(e),this.$$parentForm=es,this.$options=Ws,this.$$parsedNgModel=r(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$currentValidationRunId=0,Object.defineProperty(this,"$$scope",{value:e}),this.$$attr=n,this.$$element=i,this.$$animate=a,this.$$timeout=s,this.$$parse=r,this.$$q=o,this.$$exceptionHandler=t,_i(this),Vi(this)}function Vi(e){e.$$scope.$watch(function(t){var n=e.$$ngModelGet(t);if(n!==e.$modelValue&&(e.$modelValue===e.$modelValue||n===n)){e.$modelValue=e.$$rawModelValue=n,e.$$parserValid=void 0;for(var i=e.$formatters,r=i.length,a=n;r--;)a=i[r](a);e.$viewValue!==a&&(e.$$updateEmptyClasses(a),e.$viewValue=e.$$lastCommittedViewValue=a,e.$render(),e.$$runValidators(e.$modelValue,e.$viewValue,f))}return n})}function Bi(e){this.$$options=e}function Ui(e,t){a(t,function(t,n){b(e[n])||(e[n]=t)})}function Wi(e,t){e.prop("selected",t),e.attr("selected",t)}var Ji=/^\/(.+)\/([a-z]*)$/,qi="validity",Gi=Object.prototype.hasOwnProperty,Ki={objectMaxDepth:5},Zi=function(e){return w(e)?e.toLowerCase():e},Qi=function(e){return w(e)?e.toUpperCase():e},Xi=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},er=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)&-33)}):e};"i"!=="I".toLowerCase()&&(Zi=Xi,Qi=er);var tr,nr,ir,rr,ar=[].slice,sr=[].splice,or=[].push,lr=Object.prototype.toString,ur=Object.getPrototypeOf,cr=t("ng"),dr=e.angular||(e.angular={}),hr=0;tr=e.document.documentMode;var pr=Number.isNaN||function(e){return e!==e};f.$inject=[],g.$inject=[];var mr=Array.isArray,fr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,gr=function(e){return w(e)?e.trim():e},vr=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},yr=function(){function t(){try{return new Function(""),!1}catch(e){return!0}}if(!b(yr.rules)){var n=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(n){var i=n.getAttribute("ng-csp")||n.getAttribute("data-ng-csp");yr.rules={noUnsafeEval:!i||i.indexOf("no-unsafe-eval")!==-1,noInlineStyle:!i||i.indexOf("no-inline-style")!==-1}}else yr.rules={noUnsafeEval:t(),noInlineStyle:!1}}return yr.rules},_r=function(){if(b(_r.name_))return _r.name_;var t,n,i,r,a=Tr.length;for(n=0;n<a;++n)if(i=Tr[n],t=e.document.querySelector("["+i.replace(":","\\:")+"jq]")){r=t.getAttribute(i+"jq");break}return _r.name_=r},br=/:/g,Tr=["ng-","data-ng-","ng:","x-ng-"],Mr=oe(e.document),wr=/[A-Z]/g,$r=!1,Dr=1,kr=2,Lr=3,xr=8,Sr=9,Cr=11,Ar={full:"1.6.4",major:1,minor:6,dot:4,codeName:"phenomenal-footnote"};Oe.expando="ng339";var Yr=Oe.cache={},Er=1;Oe._data=function(e){return this.cache[e[this.expando]]||{}};var Ir=/-([a-z])/g,Hr=/^-ms-/,Or={mouseleave:"mouseout",mouseenter:"mouseover"},Nr=t("jqLite"),Pr=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,jr=/<|&#?\w+;/,Rr=/<([\w:-]+)/,zr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Fr={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,"",""]};Fr.optgroup=Fr.option,Fr.tbody=Fr.tfoot=Fr.colgroup=Fr.caption=Fr.thead,Fr.th=Fr.td;var Vr=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},Br=Oe.prototype={ready:Qe,toString:function(){var e=[];return a(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return nr(e>=0?this[e]:this[this.length+e])},length:0,push:or,sort:[].sort,splice:[].splice},Ur={};a("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ur[Zi(e)]=e});var Wr={};a("input,select,option,textarea,button,form,details".split(","),function(e){Wr[e]=!0});var Jr={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};a({data:Fe,removeData:Re,hasData:Ye,cleanData:function(e){for(var t=0,n=e.length;t<n;t++)Re(e[t])}},function(e,t){Oe[t]=e}),a({data:Fe,inheritedData:qe,scope:function(e){return nr.data(e,"$scope")||qe(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return nr.data(e,"$isolateScope")||nr.data(e,"$isolateScopeNoTemplate")},controller:Je,injector:function(e){return qe(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Ve,css:function(e,t,n){return t=Le(t),b(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var i,r=e.nodeType;if(r!==Lr&&r!==kr&&r!==xr&&e.getAttribute){var a=Zi(t),s=Ur[a];return b(n)?void(null===n||n===!1&&s?e.removeAttribute(t):e.setAttribute(t,s?a:n)):(i=e.getAttribute(t),s&&null!==i&&(i=a),null===i?void 0:i)}},prop:function(e,t,n){return b(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(_(t)){var n=e.nodeType;return n===Dr||n===Lr?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(_(t)){if(e.multiple&&"select"===j(e)){var n=[];return a(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){return _(t)?e.innerHTML:(Pe(e,!0),void(e.innerHTML=t))},empty:Ge},function(e,t){Oe.prototype[t]=function(t,n){var i,r,a=this.length;if(e!==Ge&&_(2===e.length&&e!==Ve&&e!==Je?t:n)){if(T(t)){for(i=0;i<a;i++)if(e===Fe)e(this[i],t);else for(r in t)e(this[i],r,t[r]);return this}for(var s=e.$dv,o=_(s)?Math.min(a,1):a,l=0;l<o;l++){var u=e(this[l],t,n);s=s?s+u:u}return s}for(i=0;i<a;i++)e(this[i],t,n);return this}}),a({removeData:Re,on:function(e,t,n,i){if(b(i))throw Nr("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Ae(e)){var r=ze(e,!0),a=r.events,s=r.handle;s||(s=r.handle=tt(e,a));for(var o=t.indexOf(" ")>=0?t.split(" "):[t],l=o.length,u=function(t,i,r){var o=a[t];o||(o=a[t]=[],o.specialHandlerWrapper=i,"$destroy"===t||r||e.addEventListener(t,s)),o.push(n)};l--;)t=o[l],Or[t]?(u(Or[t],it),u(t,void 0,!0)):u(t)}},off:je,one:function(e,t,n){e=nr(e),e.on(t,function i(){e.off(t,n),e.off(t,i)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Pe(e),a(new Oe(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return a(e.childNodes,function(e){e.nodeType===Dr&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Dr||n===Cr){t=new Oe(t);for(var i=0,r=t.length;i<r;i++){var a=t[i];e.appendChild(a)}}},prepend:function(e,t){if(e.nodeType===Dr){var n=e.firstChild;a(new Oe(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){He(e,nr(t).eq(0).clone()[0])},remove:Ke,detach:function(e){Ke(e,!0)},after:function(e,t){var n=e,i=e.parentNode;if(i){t=new Oe(t);for(var r=0,a=t.length;r<a;r++){var s=t[r];i.insertBefore(s,n.nextSibling),n=s}}},addClass:Ue,removeClass:Be,toggleClass:function(e,t,n){t&&a(t.split(" "),function(t){var i=n;_(i)&&(i=!Ve(e,t)),(i?Ue:Be)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==Cr?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Ne,triggerHandler:function(e,t,n){var i,r,s,o=t.type||t,l=ze(e),u=l&&l.events,c=u&&u[o];c&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:f,type:o,target:e},t.type&&(i=d(i,t)),r=Me(c),s=n?[i].concat(n):[i],a(r,function(t){i.isImmediatePropagationStopped()||t.apply(e,s)}))}},function(e,t){Oe.prototype[t]=function(t,n,i){for(var r,a=0,s=this.length;a<s;a++)_(r)?(r=e(this[a],t,n,i),b(r)&&(r=nr(r))):We(r,e(this[a],t,n,i));return b(r)?r:this}}),Oe.prototype.bind=Oe.prototype.on,Oe.prototype.unbind=Oe.prototype.off;var qr=Object.create(null);st.prototype={_idx:function(e){return e===this._lastKey?this._lastIndex:(this._lastKey=e,this._lastIndex=this._keys.indexOf(e),this._lastIndex)},_transformKey:function(e){return pr(e)?qr:e},get:function(e){e=this._transformKey(e);var t=this._idx(e);if(t!==-1)return this._values[t]},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);n===-1&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},delete:function(e){e=this._transformKey(e);var t=this._idx(e);return t!==-1&&(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Gr=st,Kr=[function(){this.$get=[function(){return Gr}]}],Zr=/^([^(]+?)=>/,Qr=/^[^(]*\(\s*([^)]*)\)/m,Xr=/,/,ea=/^\s*(_?)(\S+?)\1\s*$/,ta=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,na=t("$injector");dt.$$annotate=ct;var ia=t("$animate"),ra=1,aa="ng-animate",sa=function(){this.$get=f},oa=function(){var e=new Gr,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function r(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):mr(t)?t:[],a(t,function(t){t&&(i=!0,e[t]=n)})),i}function s(){a(t,function(t){var n=e.get(t);if(n){var i=ft(t.attr("class")),r="",s="";a(n,function(e,t){var n=!!i[t];e!==n&&(e?r+=(r.length?" ":"")+t:s+=(s.length?" ":"")+t)}),a(t,function(e){r&&Ue(e,r),s&&Be(e,s)}),e.delete(t)}}),t.length=0}function o(n,a,o){var l=e.get(n)||{},u=r(l,a,!0),c=r(l,o,!1);(u||c)&&(e.set(n,l),t.push(n),1===t.length&&i.$$postDigest(s))}return{enabled:f,on:f,off:f,pin:f,push:function(e,t,i,r){r&&r(),i=i||{},i.from&&e.css(i.from),i.to&&e.css(i.to),(i.addClass||i.removeClass)&&o(e,i.addClass,i.removeClass);var a=new n;return a.complete(),a}}}]},la=["$provide",function(e){var t=this,n=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,i){if(n&&"."!==n.charAt(0))throw ia("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var r=n+"-animation";t.$$registeredAnimations[n.substr(1)]=r,e.factory(r,i)},this.classNameFilter=function(e){if(1===arguments.length&&(n=e instanceof RegExp?e:null)){var t=new RegExp("[(\\s|\\/)]"+aa+"[(\\s|\\/)]");if(t.test(n.toString()))throw n=null,ia("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',aa)}return n},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var i=mt(n);!i||i.parentNode||i.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,i,r,a){return i=i&&nr(i),r=r&&nr(r),i=i||r.parent(),t(n,i,r),e.push(n,"enter",gt(a))},move:function(n,i,r,a){return i=i&&nr(i),r=r&&nr(r),i=i||r.parent(),t(n,i,r),e.push(n,"move",gt(a))},leave:function(t,n){return e.push(t,"leave",gt(n),function(){t.remove()})},addClass:function(t,n,i){return i=gt(i),i.addClass=pt(i.addclass,n),e.push(t,"addClass",i)},removeClass:function(t,n,i){return i=gt(i),i.removeClass=pt(i.removeClass,n),e.push(t,"removeClass",i)},setClass:function(t,n,i,r){return r=gt(r),r.addClass=pt(r.addClass,n),r.removeClass=pt(r.removeClass,i),e.push(t,"setClass",r)},animate:function(t,n,i,r,a){return a=gt(a),a.from=a.from?d(a.from,n):n,a.to=a.to?d(a.to,i):i,r=r||"ng-inline-animate",a.tempClasses=pt(a.tempClasses,r),e.push(t,"animate",a)}}}]}],ua=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}var n=[];return function(){var e=!1;return t(function(){e=!0}),function(n){e?n():t(n)}}}]},ca=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,i,r){function s(e){this.setHost(e);var t=n(),a=function(e){r(e,0,!1)};this._doneCallbacks=[],this._tick=function(e){i()?a(e):t(e)},this._state=0}var o=0,l=1,u=2;return s.chain=function(e,t){function n(){return i===e.length?void t(!0):void e[i](function(e){return e===!1?void t(!1):(i++,void n())})}var i=0;n()},s.all=function(e,t){function n(n){r=r&&n,++i===e.length&&t(r)}var i=0,r=!0;a(e,function(e){e.done(n)})},s.prototype={setHost:function(e){this.host=e||{}},done:function(e){this._state===u?e():this._doneCallbacks.push(e)},progress:f,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){t===!1?n():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;t._state===o&&(t._state=l,t._tick(function(){t._resolve(e)}))},_resolve:function(e){this._state!==u&&(a(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=u)}},s}]},da=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,i){function r(){return e(function(){a(),o||l.complete(),o=!0}),l}function a(){s.addClass&&(t.addClass(s.addClass),s.addClass=null),s.removeClass&&(t.removeClass(s.removeClass),s.removeClass=null),s.to&&(t.css(s.to),s.to=null)}var s=i||{};s.$$prepared||(s=F(s)),s.cleanupStyles&&(s.from=s.to=null),s.from&&(t.css(s.from),s.from=null);var o,l=new n;return{start:r,end:r}}}]},ha=t("$compile"),pa=new Tt;Mt.$inject=["$provide","$$sanitizeUriProvider"],wt.prototype.isFirstChange=function(){return this.previousValue===pa};var ma=/^((?:x|data)[:\-_])/i,fa=/[:\-_]+(.)/g,ga=t("$controller"),va=/^(\S+)(\s+as\s+([\w$]+))?$/,ya=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof nr&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},_a="application/json",ba={"Content-Type":_a+";charset=utf-8"},Ta=/^\[|^\{(?!\{)/,Ma={"[":/]$/,"{":/}$/},wa=/^\)]\}',?\n/,$a=t("$http"),Da=dr.$interpolateMinErr=t("$interpolate");Da.throwNoconcat=function(e){throw Da("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)},Da.interr=function(e,t){return Da("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var ka=function(){this.$get=function(){function e(e){var t=function(e){t.data=e,t.called=!0};return t.id=e,t}var t=dr.callbacks,n={};return{createCallback:function(i){var r="_"+(t.$$counter++).toString(36),a="angular.callbacks."+r,s=e(r);return n[a]=t[r]=s,a},wasCalled:function(e){return n[e].called},getResponse:function(e){return n[e].data},removeCallback:function(e){var i=n[e];delete t[i.id],delete n[e]}}}},La=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,xa={http:80,https:443,ftp:21},Sa=t("$location"),Ca=/^\s*[\\\/]{2,}/,Aa={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:sn("$$absUrl"),url:function(e){if(_(e))return this.$$url;var t=La.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:sn("$$protocol"),host:sn("$$host"),port:sn("$$port"),path:on("$$path",function(e){return e=null!==e?e.toString():"","/"===e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(w(e)||$(e))e=e.toString(),this.$$search=ne(e);else{if(!T(e))throw Sa("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=F(e,{}),a(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:_(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:on("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};a([an,rn,nn],function(e){e.prototype=Object.create(Aa),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==nn||!this.$$html5)throw Sa("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=_(t)?null:t,this.$$urlUpdatedByLocation=!0,this}});var Ya=t("$parse"),Ea={}.constructor.prototype.valueOf,Ia=_e();a("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){Ia[e]=!0});var Ha={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Oa=function(e){this.options=e};Oa.prototype={constructor:Oa,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.isIdentifierStart(this.peekMultichar()))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(),i=n+this.peek(2),r=Ia[t],a=Ia[n],s=Ia[i];if(r||a||s){var o=s?i:a?n:t;this.tokens.push({index:this.index,text:o,operator:!0}),this.index+=o.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return t.indexOf(e)!==-1},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},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),i=t.charCodeAt(0);return n>=55296&&n<=56319&&i>=56320&&i<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var i=b(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw Ya("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,i,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=Zi(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var i=this.peek();if("e"===n&&this.isExpOperator(i))e+=n;else if(this.isExpOperator(n)&&i&&this.isNumber(i)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||i&&this.isNumber(i)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",i=e,r=!1;this.index<this.text.length;){var a=this.text.charAt(this.index);if(i+=a,r){if("u"===a){var s=this.text.substring(this.index+1,this.index+5);s.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+s+"]"),this.index+=4,n+=String.fromCharCode(parseInt(s,16))}else{var o=Ha[a];n+=o||a}r=!1}else if("\\"===a)r=!0;else{if(a===e)return this.index++,void this.tokens.push({index:t,text:i,constant:!0,value:n});n+=a}this.index++}this.throwError("Unterminated quote",t)}};var Na=function(e,t){this.lexer=e,this.options=t};Na.Program="Program",Na.ExpressionStatement="ExpressionStatement",Na.AssignmentExpression="AssignmentExpression",Na.ConditionalExpression="ConditionalExpression",Na.LogicalExpression="LogicalExpression",Na.BinaryExpression="BinaryExpression",Na.UnaryExpression="UnaryExpression",Na.CallExpression="CallExpression",Na.MemberExpression="MemberExpression",Na.Identifier="Identifier",Na.Literal="Literal",Na.ArrayExpression="ArrayExpression",Na.Property="Property",Na.ObjectExpression="ObjectExpression",Na.ThisExpression="ThisExpression",Na.LocalsExpression="LocalsExpression",Na.NGValueParameter="NGValueParameter",Na.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:Na.Program,body:e}},expressionStatement:function(){return{type:Na.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();if(this.expect("=")){if(!gn(e))throw Ya("lval","Trying to assign a value to a non l-value");e={type:Na.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:Na.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:Na.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:Na.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:Na.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:Na.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:Na.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:Na.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:Na.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=F(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:Na.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:Na.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:Na.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:Na.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:Na.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.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:Na.Identifier,name:e.text}},constant:function(){return{type:Na.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:Na.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:Na.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:Na.ObjectExpression,properties:t}},throwError:function(e,t){throw Ya("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 Ya("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 Ya("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,i){return this.peekAhead(0,e,t,n,i)},peekAhead:function(e,t,n,i,r){if(this.tokens.length>e){var a=this.tokens[e],s=a.text;if(s===t||s===n||s===i||s===r||!t&&!n&&!i&&!r)return a}return!1},expect:function(e,t,n,i){var r=this.peek(e,t,n,i);return!!r&&(this.tokens.shift(),r)},selfReferential:{this:{type:Na.ThisExpression},$locals:{type:Na.LocalsExpression}}},bn.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},mn(e,t.$filter);var n,i="";if(this.stage="assign",n=vn(e)){this.state.computing="assign";var r=this.nextId();this.recurse(n,r),this.return_(r),i="fn.assign="+this.generateFunction("assign","s,v,l")}var s=fn(e.body);t.stage="inputs",a(s,function(e,n){var i="fn"+n;t.state[i]={vars:[],body:[],own:{}},t.state.computing=i;var r=t.nextId();t.recurse(e,r),t.return_(r),t.state.inputs.push(i),e.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(e);var o='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+i+this.watchFns()+"return fn;",l=new Function("$filter","getStringValue","ifDefined","plus",o)(this.$filter,cn,dn,hn);return this.state=this.stage=void 0,l},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return a(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 a(this.state.filters,function(n,i){e.push(n+"=$filter("+t.escape(i)+")")}),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,n,i,r,s){var o,l,u,c,d,h=this;if(i=i||f,!s&&b(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,r,!0));switch(e.type){case Na.Program:a(e.body,function(t,n){h.recurse(t.expression,void 0,void 0,function(e){l=e}),n!==e.body.length-1?h.current().body.push(l,";"):h.return_(l)});break;case Na.Literal:c=this.escape(e.value),this.assign(t,c),i(t||c);break;case Na.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){l=e}),c=e.operator+"("+this.ifDefined(l,0)+")",this.assign(t,c),i(c);break;case Na.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){o=e}),this.recurse(e.right,void 0,void 0,function(e){l=e}),c="+"===e.operator?this.plus(o,l):"-"===e.operator?this.ifDefined(o,0)+e.operator+this.ifDefined(l,0):"("+o+")"+e.operator+"("+l+")",this.assign(t,c),i(c);break;case Na.LogicalExpression:t=t||this.nextId(),h.recurse(e.left,t),h.if_("&&"===e.operator?t:h.not(t),h.lazyRecurse(e.right,t)),i(t);break;case Na.ConditionalExpression:t=t||this.nextId(),h.recurse(e.test,t),h.if_(t,h.lazyRecurse(e.alternate,t),h.lazyRecurse(e.consequent,t)),i(t);break;case Na.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===h.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),h.if_("inputs"===h.stage||h.not(h.getHasOwnProperty("l",e.name)),function(){h.if_("inputs"===h.stage||"s",function(){r&&1!==r&&h.if_(h.isNull(h.nonComputedMember("s",e.name)),h.lazyAssign(h.nonComputedMember("s",e.name),"{}")),h.assign(t,h.nonComputedMember("s",e.name))})},t&&h.lazyAssign(t,h.nonComputedMember("l",e.name))),i(t);break;case Na.MemberExpression:o=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),h.recurse(e.object,o,void 0,function(){h.if_(h.notNull(o),function(){e.computed?(l=h.nextId(),h.recurse(e.property,l),h.getStringValue(l),r&&1!==r&&h.if_(h.not(h.computedMember(o,l)),h.lazyAssign(h.computedMember(o,l),"{}")),c=h.computedMember(o,l),h.assign(t,c),n&&(n.computed=!0,n.name=l)):(r&&1!==r&&h.if_(h.isNull(h.nonComputedMember(o,e.property.name)),h.lazyAssign(h.nonComputedMember(o,e.property.name),"{}")),c=h.nonComputedMember(o,e.property.name),h.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){h.assign(t,"undefined")}),i(t)},!!r);break;case Na.CallExpression:t=t||this.nextId(),e.filter?(l=h.filter(e.callee.name),u=[],a(e.arguments,function(e){var t=h.nextId();h.recurse(e,t),u.push(t)}),c=l+"("+u.join(",")+")",h.assign(t,c),i(t)):(l=h.nextId(),o={},u=[],h.recurse(e.callee,l,o,function(){h.if_(h.notNull(l),function(){a(e.arguments,function(t){h.recurse(t,e.constant?void 0:h.nextId(),void 0,function(e){u.push(e)})}),c=o.name?h.member(o.context,o.name,o.computed)+"("+u.join(",")+")":l+"("+u.join(",")+")",h.assign(t,c)},function(){h.assign(t,"undefined")}),i(t)}));break;case Na.AssignmentExpression:l=this.nextId(),o={},this.recurse(e.left,void 0,o,function(){h.if_(h.notNull(o.context),function(){h.recurse(e.right,l),c=h.member(o.context,o.name,o.computed)+e.operator+l,h.assign(t,c),i(t||c)})},1);break;case Na.ArrayExpression:u=[],a(e.elements,function(t){h.recurse(t,e.constant?void 0:h.nextId(),void 0,function(e){u.push(e)})}),c="["+u.join(",")+"]",this.assign(t,c),i(t||c);break;case Na.ObjectExpression:u=[],d=!1,a(e.properties,function(e){e.computed&&(d=!0)}),d?(t=t||this.nextId(),this.assign(t,"{}"),a(e.properties,function(e){e.computed?(o=h.nextId(),h.recurse(e.key,o)):o=e.key.type===Na.Identifier?e.key.name:""+e.key.value,l=h.nextId(),h.recurse(e.value,l),h.assign(h.member(t,o,e.computed),l)})):(a(e.properties,function(t){h.recurse(t.value,e.constant?void 0:h.nextId(),void 0,function(e){u.push(h.escape(t.key.type===Na.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+u.join(",")+"}",this.assign(t,c)),i(t||c);break;case Na.ThisExpression:this.assign(t,"s"),i(t||"s");break;case Na.LocalsExpression:this.assign(t,"l"),i(t||"l");break;case Na.NGValueParameter:this.assign(t,"v"),i(t||"v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,i=this.current().own;return i.hasOwnProperty(n)||(i[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),i[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(e===!0)t();else{var i=this.current().body;i.push("if(",e,"){"),t(),i.push("}"),n&&(i.push("else{"),n(),i.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/,i=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(i,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,i,r,a){var s=this;return function(){s.recurse(e,t,n,i,r,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(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if($(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw Ya("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]}},Tn.prototype={compile:function(e){var t=this;mn(e,t.$filter);var n,i;(n=vn(e))&&(i=this.recurse(n));var r,s=fn(e.body);s&&(r=[],a(s,function(e,n){var i=t.recurse(e);e.input=i,r.push(i),e.watchId=n}));var o=[];a(e.body,function(e){o.push(t.recurse(e.expression))});var l=0===e.body.length?f:1===e.body.length?o[0]:function(e,t){var n;return a(o,function(i){n=i(e,t)}),n};return i&&(l.assign=function(e,t,n){return i(e,n,t)}),r&&(l.inputs=r),l},recurse:function(e,t,n){var i,r,s,o=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case Na.Literal:return this.value(e.value,t);case Na.UnaryExpression:return r=this.recurse(e.argument),this["unary"+e.operator](r,t);case Na.BinaryExpression:return i=this.recurse(e.left),r=this.recurse(e.right),this["binary"+e.operator](i,r,t);case Na.LogicalExpression:return i=this.recurse(e.left),r=this.recurse(e.right),this["binary"+e.operator](i,r,t);case Na.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case Na.Identifier:return o.identifier(e.name,t,n);case Na.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(r=e.property.name),e.computed&&(r=this.recurse(e.property)),e.computed?this.computedMember(i,r,t,n):this.nonComputedMember(i,r,t,n);case Na.CallExpression:return s=[],a(e.arguments,function(e){s.push(o.recurse(e))}),e.filter&&(r=this.$filter(e.callee.name)),e.filter||(r=this.recurse(e.callee,!0)),e.filter?function(e,n,i,a){for(var o=[],l=0;l<s.length;++l)o.push(s[l](e,n,i,a));var u=r.apply(void 0,o,a);return t?{context:void 0,name:void 0,value:u}:u}:function(e,n,i,a){var o,l=r(e,n,i,a);if(null!=l.value){for(var u=[],c=0;c<s.length;++c)u.push(s[c](e,n,i,a));o=l.value.apply(l.context,u)}return t?{value:o}:o};case Na.AssignmentExpression:return i=this.recurse(e.left,!0,1),r=this.recurse(e.right),function(e,n,a,s){var o=i(e,n,a,s),l=r(e,n,a,s);return o.context[o.name]=l,t?{value:l}:l};case Na.ArrayExpression:return s=[],a(e.elements,function(e){s.push(o.recurse(e))}),function(e,n,i,r){for(var a=[],o=0;o<s.length;++o)a.push(s[o](e,n,i,r));return t?{value:a}:a};case Na.ObjectExpression:return s=[],a(e.properties,function(e){e.computed?s.push({key:o.recurse(e.key),computed:!0,value:o.recurse(e.value)}):s.push({key:e.key.type===Na.Identifier?e.key.name:""+e.key.value,computed:!1,value:o.recurse(e.value)})}),function(e,n,i,r){for(var a={},o=0;o<s.length;++o)s[o].computed?a[s[o].key(e,n,i,r)]=s[o].value(e,n,i,r):a[s[o].key]=s[o].value(e,n,i,r);return t?{value:a}:a};case Na.ThisExpression:return function(e){return t?{value:e}:e};case Na.LocalsExpression:return function(e,n){return t?{value:n}:n};case Na.NGValueParameter:return function(e,n,i){return t?{value:i}:i}}},"unary+":function(e,t){return function(n,i,r,a){var s=e(n,i,r,a);return s=b(s)?+s:0,t?{value:s}:s}},"unary-":function(e,t){return function(n,i,r,a){var s=e(n,i,r,a);return s=b(s)?-s:-0,t?{value:s}:s}},"unary!":function(e,t){return function(n,i,r,a){var s=!e(n,i,r,a);return t?{value:s}:s}},"binary+":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s),l=t(i,r,a,s),u=hn(o,l);return n?{value:u}:u}},"binary-":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s),l=t(i,r,a,s),u=(b(o)?o:0)-(b(l)?l:0);return n?{value:u}:u}},"binary*":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)*t(i,r,a,s);return n?{value:o}:o}},"binary/":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)/t(i,r,a,s);return n?{value:o}:o}},"binary%":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)%t(i,r,a,s);return n?{value:o}:o}},"binary===":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)===t(i,r,a,s);return n?{value:o}:o}},"binary!==":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)!==t(i,r,a,s);return n?{value:o}:o}},"binary==":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)==t(i,r,a,s);return n?{value:o}:o}},"binary!=":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)!=t(i,r,a,s);return n?{value:o}:o}},"binary<":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)<t(i,r,a,s);return n?{value:o}:o}},"binary>":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)>t(i,r,a,s);return n?{value:o}:o}},"binary<=":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)<=t(i,r,a,s);return n?{value:o}:o}},"binary>=":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)>=t(i,r,a,s);return n?{value:o}:o}},"binary&&":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)&&t(i,r,a,s);return n?{value:o}:o}},"binary||":function(e,t,n){return function(i,r,a,s){var o=e(i,r,a,s)||t(i,r,a,s);return n?{value:o}:o}},"ternary?:":function(e,t,n,i){return function(r,a,s,o){var l=e(r,a,s,o)?t(r,a,s,o):n(r,a,s,o);return i?{value:l}:l}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(i,r,a,s){var o=r&&e in r?r:i;n&&1!==n&&o&&null==o[e]&&(o[e]={});var l=o?o[e]:void 0;return t?{context:o,name:e,value:l}:l}},computedMember:function(e,t,n,i){return function(r,a,s,o){var l,u,c=e(r,a,s,o);return null!=c&&(l=t(r,a,s,o),l=cn(l),i&&1!==i&&c&&!c[l]&&(c[l]={}),u=c[l]),n?{context:c,name:l,value:u}:u}},nonComputedMember:function(e,t,n,i){return function(r,a,s,o){var l=e(r,a,s,o);i&&1!==i&&l&&null==l[t]&&(l[t]={});var u=null!=l?l[t]:void 0;return n?{context:l,name:t,value:u}:u}},inputs:function(e,t){return function(n,i,r,a){return a?a[t]:e(n,i,r)}}},Mn.prototype={constructor:Mn,parse:function(e){var t=this.ast.ast(e),n=this.astCompiler.compile(t);return n.literal=yn(t),n.constant=_n(t),n}};var Pa=t("$sce"),ja={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Ra=/_([a-z])/g,za=t("$compile"),Fa=e.document.createElement("a"),Va=Rn(e.location.href);Vn.$inject=["$document"],Un.$inject=["$provide"];var Ba=22,Ua=".",Wa="0";Kn.$inject=["$locale"],Zn.$inject=["$locale"];var Ja={yyyy:ni("FullYear",4,0,!1,!0),yy:ni("FullYear",2,0,!0,!0),y:ni("FullYear",1,0,!1,!0),MMMM:ii("Month"),MMM:ii("Month",!0),MM:ni("Month",2,1),M:ni("Month",1,1),LLLL:ii("Month",!1,!0),dd:ni("Date",2),d:ni("Date",1),HH:ni("Hours",2),H:ni("Hours",1),hh:ni("Hours",2,-12),h:ni("Hours",1,-12),mm:ni("Minutes",2),m:ni("Minutes",1),ss:ni("Seconds",2),s:ni("Seconds",1),sss:ni("Milliseconds",3),EEEE:ii("Day"),EEE:ii("Day",!0),a:li,Z:ri,ww:oi(2),w:oi(1),G:ui,GG:ui,GGG:ui,GGGG:ci},qa=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,Ga=/^-?\d+$/;di.$inject=["$locale"];var Ka=v(Zi),Za=v(Qi);fi.$inject=["$parse"];var Qa=v({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]"===lr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Xa={};a(Ur,function(e,t){function n(e,n,r){e.$watch(r[i],function(e){r.$set(t,!!e)})}if("multiple"!==e){var i=$t("ng-"+t),r=n;"checked"===e&&(r=function(e,t,r){r.ngModel!==r[i]&&n(e,t,r)}),Xa[i]=function(){return{restrict:"A",priority:100,link:r}}}}),a(Jr,function(e,t){Xa[t]=function(){return{priority:100,link:function(e,n,i){if("ngPattern"===t&&"/"===i.ngPattern.charAt(0)){var r=i.ngPattern.match(Ji);if(r)return void i.$set("ngPattern",new RegExp(r[1],r[2]))}e.$watch(i[t],function(e){i.$set(t,e)})}}}}),a(["src","srcset","href"],function(e){var t=$t("ng-"+e);Xa[t]=function(){return{priority:99,link:function(n,i,r){var a=e,s=e;"href"===e&&"[object SVGAnimatedString]"===lr.call(i.prop("href"))&&(s="xlinkHref",r.$attr[s]="xlink:href",a=null),r.$observe(t,function(t){return t?(r.$set(s,t),void(tr&&a&&i.prop(a,r[s]))):void("href"===e&&r.$set(s,null))})}}}});var es={$addControl:f,$$renameControl:vi,$removeControl:f,$setValidity:f,$setDirty:f,$setPristine:f,$setSubmitted:f},ts="ng-pending",ns="ng-submitted";yi.$inject=["$element","$attrs","$scope","$animate","$interpolate"],yi.prototype={$rollbackViewValue:function(){a(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){a(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){ge(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],a(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),a(this.$error,function(t,n){this.$setValidity(n,null,e)},this),a(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),z(this.$$controls,e),e.$$parentForm=es},$setDirty:function(){this.$$animate.removeClass(this.$$element,js),this.$$animate.addClass(this.$$element,Rs),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,js,Rs+" "+ns),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,a(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){a(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,ns),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},bi({clazz:yi,set:function(e,t,n){var i=e[t];if(i){var r=i.indexOf(n);r===-1&&i.push(n)}else e[t]=[n]},unset:function(e,t,n){var i=e[t];i&&(z(i,n),0===i.length&&delete e[t])}});var is=function(e){return["$timeout","$parse",function(t,n){function i(e){return""===e?n('this[""]').assign:n(e).assign||f}var r={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:yi,compile:function(n,r){n.addClass(js).addClass(Ns);var a=r.name?"name":!(!e||!r.ngForm)&&"ngForm";return{pre:function(e,n,r,s){var o=s[0];if(!("action"in r)){var l=function(t){e.$apply(function(){o.$commitViewValue(),o.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",l),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",l)},0,!1)})}var u=s[1]||o.$$parentForm;u.$addControl(o);var c=a?i(o.$name):f;a&&(c(e,o),r.$observe(a,function(t){o.$name!==t&&(c(e,void 0),o.$$parentForm.$$renameControl(o,t),(c=i(o.$name))(e,o))})),n.on("$destroy",function(){o.$$parentForm.$removeControl(o),c(e,void 0),d(o,es)})}}}};return r}]},rs=is(),as=is(!0),ss=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,os=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,ls=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,us=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,cs=/^(\d{4,})-(\d{2})-(\d{2})$/,ds=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,hs=/^(\d{4,})-W(\d\d)$/,ps=/^(\d{4,})-(\d\d)$/,ms=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,fs="keydown wheel mousedown",gs=_e();a("date,datetime-local,month,time,week".split(","),function(e){gs[e]=!0});var vs={text:wi,date:Li("date",cs,ki(cs,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Li("datetimelocal",ds,ki(ds,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Li("time",ms,ki(ms,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Li("week",hs,Di,"yyyy-Www"),month:Li("month",ps,ki(ps,["yyyy","MM"]),"yyyy-MM"),number:Ii,url:Oi,email:Ni,radio:Pi,range:Hi,checkbox:Ri,hidden:f,button:f,submit:f,reset:f,file:f},ys=["$browser","$sniffer","$filter","$parse",function(e,t,n,i){return{restrict:"E",require:["?ngModel"],link:{pre:function(r,a,s,o){o[0]&&(vs[Zi(s.type)]||vs.text)(r,a,s,o[0],t,e,n,i)}}}}],_s=/^(true|false|\d+)$/,bs=function(){function e(e,t,n){var i=b(n)?n:9===tr?"":null;e.prop("value",i),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return _s.test(n.ngValue)?function(t,n,i){var r=t.$eval(i.ngValue);e(n,i,r)}:function(t,n,i){t.$watch(i.ngValue,function(t){e(n,i,t)})}}}},Ts=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,i){e.$$addBindingInfo(n,i.ngBind),n=n[0],t.$watch(i.ngBind,function(e){n.textContent=be(e)})}}}}],Ms=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,i,r){var a=e(i.attr(r.$attr.ngBindTemplate));t.$$addBindingInfo(i,a.expressions),i=i[0],r.$observe("ngBindTemplate",function(e){i.textContent=_(e)?"":e})}}}}],ws=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(i,r){var a=t(r.ngBindHtml),s=t(r.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(i),function(t,i,r){n.$$addBindingInfo(i,r.ngBindHtml),t.$watch(s,function(){var n=a(t);i.html(e.getTrustedHtml(n)||"")})}}}}],$s=v({restrict:"A",require:"ngModel",link:function(e,t,n,i){i.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Ds=zi("",!0),ks=zi("Odd",0),Ls=zi("Even",1),xs=gi({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),Ss=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Cs={},As={blur:!0,focus:!0};a("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=$t("ng-"+e);Cs[t]=["$parse","$rootScope",function(n,i){return{restrict:"A",compile:function(r,a){var s=n(a[t]);return function(t,n){n.on(e,function(n){var r=function(){s(t,{$event:n})};As[e]&&i.$$phase?t.$evalAsync(r):t.$apply(r)})}}}}]});var Ys=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,i,r,a,s){var o,l,u;n.$watch(r.ngIf,function(n){n?l||s(function(n,a){l=a,n[n.length++]=t.$$createComment("end ngIf",r.ngIf),o={clone:n},e.enter(n,i.parent(),i)}):(u&&(u.remove(),u=null),l&&(l.$destroy(),l=null),o&&(u=ye(o.clone),e.leave(u).done(function(e){e!==!1&&(u=null)}),o=null))})}}}],Es=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:dr.noop,compile:function(i,r){var a=r.ngInclude||r.src,s=r.onload||"",o=r.autoscroll;return function(i,r,l,u,c){var d,h,p,m=0,f=function(){h&&(h.remove(),h=null),d&&(d.$destroy(),d=null),p&&(n.leave(p).done(function(e){e!==!1&&(h=null)}),h=p,p=null)};i.$watch(a,function(a){var l=function(e){e===!1||!b(o)||o&&!i.$eval(o)||t()},h=++m;a?(e(a,!0).then(function(e){if(!i.$$destroyed&&h===m){var t=i.$new();u.template=e;var o=c(t,function(e){f(),n.enter(e,null,r).done(l)});d=t,p=o,d.$emit("$includeContentLoaded",a),i.$eval(s)}},function(){i.$$destroyed||h===m&&(f(),i.$emit("$includeContentError",a))}),i.$emit("$includeContentRequested",a)):(f(),u.template=null)})}}}}],Is=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,i,r,a){return lr.call(i[0]).match(/SVG/)?(i.empty(),void t(Ee(a.template,e.document).childNodes)(n,function(e){i.append(e)},{futureParentElement:i})):(i.html(a.template),void t(i.contents())(n))}}}],Hs=gi({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Os=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var r=n.ngList||", ",s="false"!==n.ngTrim,o=s?gr(r):r,l=function(e){if(!_(e)){var t=[];return e&&a(e.split(o),function(e){e&&t.push(s?gr(e):e)}),t}};i.$parsers.push(l),i.$formatters.push(function(e){if(mr(e))return e.join(r)}),i.$isEmpty=function(e){return!e||!e.length}}}},Ns="ng-valid",Ps="ng-invalid",js="ng-pristine",Rs="ng-dirty",zs="ng-untouched",Fs="ng-touched",Vs="ng-empty",Bs="ng-not-empty",Us=t("ngModel");Fi.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Fi.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return k(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){k(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw Us("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,ee(this.$$element))},$render:f,$isEmpty:function(e){return _(e)||""===e||null===e||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,Bs),this.$$animate.addClass(this.$$element,Vs)):(this.$$animate.removeClass(this.$$element,Vs),this.$$animate.addClass(this.$$element,Bs))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Rs),this.$$animate.addClass(this.$$element,js)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,js),this.$$animate.addClass(this.$$element,Rs),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,zs,Fs)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,Fs,zs)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!pr(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,i=this.$modelValue,r=this.$options.getOption("allowInvalid"),a=this;this.$$runValidators(t,e,function(e){r||n===e||(a.$modelValue=e?t:void 0,a.$modelValue!==i&&a.$$writeModelToScope())})}},$$runValidators:function(e,t,n){function i(){var e=c.$$parserName||"parse";return _(c.$$parserValid)?(o(e,null),!0):(c.$$parserValid||(a(c.$validators,function(e,t){o(t,null)}),a(c.$asyncValidators,function(e,t){o(t,null)})),o(e,c.$$parserValid),c.$$parserValid)}function r(){var n=!0;return a(c.$validators,function(i,r){var a=Boolean(i(e,t));n=n&&a,o(r,a)}),!!n||(a(c.$asyncValidators,function(e,t){o(t,null)}),!1)}function s(){var n=[],i=!0;a(c.$asyncValidators,function(r,a){var s=r(e,t);if(!I(s))throw Us("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);o(a,void 0),n.push(s.then(function(){o(a,!0)},function(){i=!1,o(a,!1)}))}),n.length?c.$$q.all(n).then(function(){l(i)},f):l(!0)}function o(e,t){u===c.$$currentValidationRunId&&c.$setValidity(e,t)}function l(e){u===c.$$currentValidationRunId&&n(e)}this.$$currentValidationRunId++;var u=this.$$currentValidationRunId,c=this;return i()&&r()?void s():void l(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function e(){i.$modelValue!==a&&i.$$writeModelToScope()}var t=this.$$lastCommittedViewValue,n=t,i=this;if(this.$$parserValid=!_(n)||void 0,this.$$parserValid)for(var r=0;r<this.$parsers.length;r++)if(n=this.$parsers[r](n),_(n)){this.$$parserValid=!1;break}pr(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var a=this.$modelValue,s=this.$options.getOption("allowInvalid");this.$$rawModelValue=n,s&&(this.$modelValue=n,e()),this.$$runValidators(n,this.$$lastCommittedViewValue,function(t){s||(i.$modelValue=t?n:void 0,e())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),a(this.$viewChangeListeners,function(e){try{e()}catch(e){this.$$exceptionHandler(e)}},this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");$(t[e])?t=t[e]:$(t.default)&&(t=t.default),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e)}},bi({clazz:Fi,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Ws,Js=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Fi,priority:1,compile:function(t){return t.addClass(js).addClass(zs).addClass(Ns),{pre:function(e,t,n,i){var r=i[0],a=i[1]||r.$$parentForm,s=i[2];s&&(r.$options=s.$options),r.$$initGetterSetters(),a.$addControl(r),n.$observe("name",function(e){r.$name!==e&&r.$$parentForm.$$renameControl(r,e)}),e.$on("$destroy",function(){r.$$parentForm.$removeControl(r)})},post:function(t,n,i,r){function a(){s.$setTouched()}var s=r[0];s.$options.getOption("updateOn")&&n.on(s.$options.getOption("updateOn"),function(e){s.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){s.$touched||(e.$$phase?t.$evalAsync(a):t.$apply(a))})}}}}}],qs=/(\s+|^)default(\s+|$)/;Bi.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=d({},e),a(e,function(n,i){"$inherit"===n?"*"===i?t=!0:(e[i]=this.$$options[i],"updateOn"===i&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===i&&(e.updateOnDefault=!1,e[i]=gr(n.replace(qs,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],Ui(e,this.$$options)),Ui(e,Ws.$$options),new Bi(e)}},Ws=new Bi({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Gs=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Ws,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},Ks=gi({terminal:!0,priority:1e3}),Zs=t("ngOptions"),Qs=/^\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]+?))?$/,Xs=["$compile","$document","$parse",function(t,n,i){function s(e,t,n){function a(e,t,n,i,r){this.selectValue=e,this.viewValue=t,this.label=n,this.group=i,this.disabled=r}function s(e){var t;if(!u&&r(e))t=e;else{t=[];for(var n in e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n)}return t}var o=e.match(Qs);if(!o)throw Zs("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,ee(t));var l=o[5]||o[7],u=o[6],c=/ as /.test(o[0])&&o[1],d=o[9],h=i(o[2]?o[1]:l),p=c&&i(c),m=p||h,f=d&&i(d),g=d?function(e,t){return f(n,t)}:function(e){return at(e)},v=function(e,t){return g(e,w(e,t))},y=i(o[2]||o[1]),_=i(o[3]||""),b=i(o[4]||""),T=i(o[8]),M={},w=u?function(e,t){return M[u]=t,M[l]=e,M}:function(e){return M[l]=e,M};return{trackBy:d,getTrackByValue:v,getWatchables:i(T,function(e){var t=[];e=e||[];for(var i=s(e),r=i.length,a=0;a<r;a++){var l=e===i?a:i[a],u=e[l],c=w(u,l),d=g(u,c);if(t.push(d),o[2]||o[1]){var h=y(n,c);t.push(h)}if(o[4]){var p=b(n,c);t.push(p)}}return t}),getOptions:function(){for(var e=[],t={},i=T(n)||[],r=s(i),o=r.length,l=0;l<o;l++){var u=i===r?l:r[l],c=i[u],h=w(c,u),p=m(n,h),f=g(p,h),M=y(n,h),$=_(n,h),D=b(n,h),k=new a(f,p,M,$,D);e.push(k),t[f]=k}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[v(e)]},getViewValueFromOption:function(e){return d?F(e.viewValue):e.viewValue}}}}}function o(e,i,r,o){function c(e,t){var n=l.cloneNode(!1);t.appendChild(n),h(e,n)}function d(e){var t=w.getOptionFromViewValue(e),n=t&&t.element;return n&&!n.selected&&(n.selected=!0),t}function h(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}function p(){var e=w&&m.readValue();if(w)for(var t=w.items.length-1;t>=0;t--){ var n=w.items[t];Ke(b(n.group)?n.element.parentNode:n.element)}w=$.getOptions();var r={};if(T&&i.prepend(m.emptyOption),w.items.forEach(function(e){var t;b(e.group)?(t=r[e.group],t||(t=u.cloneNode(!1),D.appendChild(t),t.label=null===e.group?"null":e.group,r[e.group]=t),c(e,t)):c(e,D)}),i[0].appendChild(D),f.$render(),!f.$isEmpty(e)){var a=m.readValue(),s=$.trackBy||g;(s?B(e,a):e===a)||(f.$setViewValue(a),f.$render())}}for(var m=o[0],f=o[1],g=r.multiple,v=0,y=i.children(),_=y.length;v<_;v++)if(""===y[v].value){m.hasEmptyOption=!0,m.emptyOption=y.eq(v);break}var T=!!m.emptyOption,M=nr(l.cloneNode(!1));M.val("?");var w,$=s(r.ngOptions,i,e),D=n[0].createDocumentFragment();m.generateUnknownOptionValue=function(e){return"?"},g?(m.writeValue=function(e){var t=e&&e.map(d)||[];w.items.forEach(function(e){e.element.selected&&!R(t,e)&&(e.element.selected=!1)})},m.readValue=function(){var e=i.val()||[],t=[];return a(e,function(e){var n=w.selectValueMap[e];n&&!n.disabled&&t.push(w.getViewValueFromOption(n))}),t},$.trackBy&&e.$watchCollection(function(){if(mr(f.$viewValue))return f.$viewValue.map(function(e){return $.getTrackByValue(e)})},function(){f.$render()})):(m.writeValue=function(e){var t=w.selectValueMap[i.val()],n=w.getOptionFromViewValue(e);t&&t.element.removeAttribute("selected"),n?(i[0].value!==n.selectValue&&(m.removeUnknownOption(),m.unselectEmptyOption(),i[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):T?m.selectEmptyOption():m.unknownOption.parent().length?m.updateUnknownOption(e):m.renderUnknownOption(e)},m.readValue=function(){var e=w.selectValueMap[i.val()];return e&&!e.disabled?(m.unselectEmptyOption(),m.removeUnknownOption(),w.getViewValueFromOption(e)):null},$.trackBy&&e.$watch(function(){return $.getTrackByValue(f.$viewValue)},function(){f.$render()})),T&&(m.emptyOption.remove(),t(m.emptyOption)(e),m.emptyOption[0].nodeType===xr?(m.hasEmptyOption=!1,m.registerOption=function(e,t){""===t.val()&&(m.hasEmptyOption=!0,m.emptyOption=t,m.emptyOption.removeClass("ng-scope"),f.$render(),t.on("$destroy",function(){m.hasEmptyOption=!1,m.emptyOption=void 0}))}):m.emptyOption.removeClass("ng-scope")),i.empty(),p(),e.$watchCollection($.getWatchables,p)}var l=e.document.createElement("option"),u=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,i){i[0].registerOption=f},post:o}}}],eo=["$locale","$interpolate","$log",function(e,t,n){var i=/{}/g,r=/^when(Minus)?(.+)$/;return{link:function(s,o,l){function u(e){o.text(e||"")}var c,d=l.count,h=l.$attr.when&&o.attr(l.$attr.when),p=l.offset||0,m=s.$eval(h)||{},g={},v=t.startSymbol(),y=t.endSymbol(),b=v+d+"-"+p+y,T=dr.noop;a(l,function(e,t){var n=r.exec(t);if(n){var i=(n[1]?"-":"")+Zi(n[2]);m[i]=o.attr(l.$attr[t])}}),a(m,function(e,n){g[n]=t(e.replace(i,b))}),s.$watch(d,function(t){var i=parseFloat(t),r=pr(i);if(r||i in m||(i=e.pluralCat(i-p)),!(i===c||r&&pr(c))){T();var a=g[i];_(a)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+i+"' in "+h),T=f,u()):T=s.$watch(a,u),c=i}})}}}],to=["$parse","$animate","$compile",function(e,n,i){var s="$$NG_REMOVED",o=t("ngRepeat"),l=function(e,t,n,i,r,a,s){e[n]=i,r&&(e[r]=a),e.$index=t,e.$first=0===t,e.$last=t===s-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},u=function(e){return e.clone[0]},c=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(t,d){var h=d.ngRepeat,p=i.$$createComment("end ngRepeat",h),m=h.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!m)throw o("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",h);var f=m[1],g=m[2],v=m[3],y=m[4];if(m=f.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/),!m)throw o("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",f);var _=m[3]||m[1],b=m[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw o("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);var T,M,w,$,D={$id:at};return y?T=e(y):(w=function(e,t){return at(t)},$=function(e){return e}),function(e,t,i,d,m){T&&(M=function(t,n,i){return b&&(D[b]=t),D[_]=n,D.$index=i,T(e,D)});var f=_e();e.$watchCollection(g,function(i){var d,g,y,T,D,k,L,x,S,C,A,Y,E=t[0],I=_e();if(v&&(e[v]=i),r(i))S=i,x=M||w;else{x=M||$,S=[];for(var H in i)Gi.call(i,H)&&"$"!==H.charAt(0)&&S.push(H)}for(T=S.length,A=new Array(T),d=0;d<T;d++)if(D=i===S?d:S[d],k=i[D],L=x(D,k,d),f[L])C=f[L],delete f[L],I[L]=C,A[d]=C;else{if(I[L])throw a(A,function(e){e&&e.scope&&(f[e.id]=e)}),o("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",h,L,k);A[d]={id:L,scope:void 0,clone:void 0},I[L]=!0}for(var O in f){if(C=f[O],Y=ye(C.clone),n.leave(Y),Y[0].parentNode)for(d=0,g=Y.length;d<g;d++)Y[d][s]=!0;C.scope.$destroy()}for(d=0;d<T;d++)if(D=i===S?d:S[d],k=i[D],C=A[d],C.scope){y=E;do y=y.nextSibling;while(y&&y[s]);u(C)!==y&&n.move(ye(C.clone),null,E),E=c(C),l(C.scope,d,_,k,b,D,T)}else m(function(e,t){C.scope=t;var i=p.cloneNode(!1);e[e.length++]=i,n.enter(e,null,E),E=i,C.clone=e,I[C.id]=C,l(C.scope,d,_,k,b,D,T)});f=I})}}}}],no="ng-hide",io="ng-hide-animate",ro=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,i){t.$watch(i.ngShow,function(t){e[t?"removeClass":"addClass"](n,no,{tempClasses:io})})}}}],ao=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,i){t.$watch(i.ngHide,function(t){e[t?"addClass":"removeClass"](n,no,{tempClasses:io})})}}}],so=gi(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&a(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),oo=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,r,s){var o=r.ngSwitch||r.on,l=[],u=[],c=[],d=[],h=function(e,t){return function(n){n!==!1&&e.splice(t,1)}};n.$watch(o,function(n){for(var i,r;c.length;)e.cancel(c.pop());for(i=0,r=d.length;i<r;++i){var o=ye(u[i].clone);d[i].$destroy();var p=c[i]=e.leave(o);p.done(h(c,i))}u.length=0,d.length=0,(l=s.cases["!"+n]||s.cases["?"])&&a(l,function(n){n.transclude(function(i,r){d.push(r);var a=n.element;i[i.length++]=t.$$createComment("end ngSwitchWhen");var s={clone:i};u.push(s),e.enter(i,a.parent(),a)})})})}}}],lo=gi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,i,r){var s=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(e,t,n){return n[t-1]!==e});a(s,function(e){i.cases["!"+e]=i.cases["!"+e]||[],i.cases["!"+e].push({transclude:r,element:t})})}}),uo=gi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,i,r){i.cases["?"]=i.cases["?"]||[],i.cases["?"].push({transclude:r,element:t})}}),co=t("ngTransclude"),ho=["$compile",function(e){return{restrict:"EAC",terminal:!0,compile:function(t){var n=e(t.contents());return t.empty(),function(e,t,i,r,a){function s(e,n){e.length&&l(e)?t.append(e):(o(),n.$destroy())}function o(){n(e,function(e){t.append(e)})}function l(e){for(var t=0,n=e.length;t<n;t++){var i=e[t];if(i.nodeType!==Lr||i.nodeValue.trim())return!0}}if(!a)throw co("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",ee(t));i.ngTransclude===i.$attr.ngTransclude&&(i.ngTransclude="");var u=i.ngTransclude||i.ngTranscludeSlot;a(s,null,u),u&&!a.isSlotFilled(u)&&o()}}}}],po=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"===n.type){var i=n.id,r=t[0].text;e.put(i,r)}}}}],mo={$setViewValue:f,$render:f},fo=["$element","$scope",function(t,n){function i(){o||(o=!0,n.$$postDigest(function(){o=!1,a.ngModelCtrl.$render()}))}function r(e){l||(l=!0,n.$$postDigest(function(){n.$$destroyed||(l=!1,a.ngModelCtrl.$setViewValue(a.readValue()),e&&a.ngModelCtrl.$render())}))}var a=this,s=new Gr;a.selectValueMap={},a.ngModelCtrl=mo,a.multiple=!1,a.unknownOption=nr(e.document.createElement("option")),a.hasEmptyOption=!1,a.emptyOption=void 0,a.renderUnknownOption=function(e){var n=a.generateUnknownOptionValue(e);a.unknownOption.val(n),t.prepend(a.unknownOption),Wi(a.unknownOption,!0),t.val(n)},a.updateUnknownOption=function(e){var n=a.generateUnknownOptionValue(e);a.unknownOption.val(n),Wi(a.unknownOption,!0),t.val(n)},a.generateUnknownOptionValue=function(e){return"? "+at(e)+" ?"},a.removeUnknownOption=function(){a.unknownOption.parent()&&a.unknownOption.remove()},a.selectEmptyOption=function(){a.emptyOption&&(t.val(""),Wi(a.emptyOption,!0))},a.unselectEmptyOption=function(){a.hasEmptyOption&&a.emptyOption.removeAttr("selected")},n.$on("$destroy",function(){a.renderUnknownOption=f}),a.readValue=function(){var e=t.val(),n=e in a.selectValueMap?a.selectValueMap[e]:e;return a.hasOption(n)?n:null},a.writeValue=function(e){var n=t[0].options[t[0].selectedIndex];if(n&&Wi(nr(n),!1),a.hasOption(e)){a.removeUnknownOption();var i=at(e);t.val(i in a.selectValueMap?i:e);var r=t[0].options[t[0].selectedIndex];Wi(nr(r),!0)}else null==e&&a.emptyOption?(a.removeUnknownOption(),a.selectEmptyOption()):a.unknownOption.parent().length?a.updateUnknownOption(e):a.renderUnknownOption(e)},a.addOption=function(e,t){if(t[0].nodeType!==xr){ge(e,'"option value"'),""===e&&(a.hasEmptyOption=!0,a.emptyOption=t);var n=s.get(e)||0;s.set(e,n+1),i()}},a.removeOption=function(e){var t=s.get(e);t&&(1===t?(s.delete(e),""===e&&(a.hasEmptyOption=!1,a.emptyOption=void 0)):s.set(e,t-1))},a.hasOption=function(e){return!!s.get(e)};var o=!1,l=!1;a.registerOption=function(e,t,n,s,o){if(n.$attr.ngValue){var l,u=NaN;n.$observe("value",function(e){var n,i=t.prop("selected");b(u)&&(a.removeOption(l),delete a.selectValueMap[u],n=!0),u=at(e),l=e,a.selectValueMap[u]=e,a.addOption(e,t),t.attr("value",u),n&&i&&r()})}else s?n.$observe("value",function(e){a.readValue();var n,i=t.prop("selected");b(l)&&(a.removeOption(l),n=!0),l=e,a.addOption(e,t),n&&i&&r()}):o?e.$watch(o,function(e,i){n.$set("value",e);var s=t.prop("selected");i!==e&&a.removeOption(i),a.addOption(e,t),i&&s&&r()}):a.addOption(n.value,t);n.$observe("disabled",function(e){("true"===e||e&&t.prop("selected"))&&(a.multiple?r(!0):(a.ngModelCtrl.$setViewValue(null),a.ngModelCtrl.$render()))}),t.on("$destroy",function(){var e=a.readValue(),t=n.value;a.removeOption(t),i(),(a.multiple&&e&&e.indexOf(t)!==-1||e===t)&&r(!0)})}}],go=function(){function e(e,t,n,i){var r=i[0],s=i[1];if(!s)return void(r.registerOption=f);if(r.ngModelCtrl=s,t.on("change",function(){r.removeUnknownOption(),e.$apply(function(){s.$setViewValue(r.readValue())})}),n.multiple){r.multiple=!0,r.readValue=function(){var e=[];return a(t.find("option"),function(t){if(t.selected&&!t.disabled){var n=t.value;e.push(n in r.selectValueMap?r.selectValueMap[n]:n)}}),e},r.writeValue=function(e){a(t.find("option"),function(t){var n=!!e&&(R(e,t.value)||R(e,r.selectValueMap[t.value])),i=t.selected;n!==i&&Wi(nr(t),n)})};var o,l=NaN;e.$watch(function(){l!==s.$viewValue||B(o,s.$viewValue)||(o=Me(s.$viewValue),s.$render()),l=s.$viewValue}),s.$isEmpty=function(e){return!e||0===e.length}}}function t(e,t,n,i){var r=i[1];if(r){var a=i[0];r.$render=function(){a.writeValue(r.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:fo,priority:1,link:{pre:e,post:t}}},vo=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var i,r;return b(n.ngValue)||(b(n.value)?i=e(n.value,!0):(r=e(t.text(),!0),r||n.$set("value",t.text()))),function(e,t,n){var a="$selectController",s=t.parent(),o=s.data(a)||s.parent().data(a);o&&o.registerOption(e,t,n,i,r)}}}}],yo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,i){i&&(n.required=!0,i.$validators.required=function(e,t){return!n.required||!i.$isEmpty(t)},n.$observe("required",function(){i.$validate()}))}}},_o=function(){return{restrict:"A",require:"?ngModel",link:function(e,n,i,r){if(r){var a,s=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(w(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",s,e,ee(n));a=e||void 0,r.$validate()}),r.$validators.pattern=function(e,t){return r.$isEmpty(t)||_(a)||a.test(t)}}}}},bo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,i){if(i){var r=-1;n.$observe("maxlength",function(e){var t=p(e);r=pr(t)?-1:t,i.$validate()}),i.$validators.maxlength=function(e,t){return r<0||i.$isEmpty(t)||t.length<=r}}}}},To=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,i){if(i){var r=0;n.$observe("minlength",function(e){r=p(e)||0,i.$validate()}),i.$validators.minlength=function(e,t){return i.$isEmpty(t)||t.length>=r}}}}};return e.angular.bootstrap?void(e.console&&console.log("WARNING: Tried to load angular more than once.")):(pe(),De(dr),dr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return t==-1?0:e.length-t-1}function n(e,n){var i=n;void 0===i&&(i=Math.min(t(e),3));var r=Math.pow(10,i),a=(e*r|0)%r;return{v:i,f:a}}var i={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var r=0|e,a=n(e,t);return 1==r&&0==a.v?i.ONE:i.OTHER}})}]),void nr(function(){le(e.document,ue)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.tabindex","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.datepicker","ui.bootstrap.position","ui.bootstrap.datepickerPopup","ui.bootstrap.debounce","ui.bootstrap.multiMap","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["uib/template/accordion/accordion-group.html","uib/template/accordion/accordion.html","uib/template/alert/alert.html","uib/template/carousel/carousel.html","uib/template/carousel/slide.html","uib/template/datepicker/datepicker.html","uib/template/datepicker/day.html","uib/template/datepicker/month.html","uib/template/datepicker/year.html","uib/template/datepickerPopup/popup.html","uib/template/modal/window.html","uib/template/pager/pager.html","uib/template/pagination/pagination.html","uib/template/tooltip/tooltip-html-popup.html","uib/template/tooltip/tooltip-popup.html","uib/template/tooltip/tooltip-template-popup.html","uib/template/popover/popover-html.html","uib/template/popover/popover-template.html","uib/template/popover/popover.html","uib/template/progressbar/bar.html","uib/template/progressbar/progress.html","uib/template/progressbar/progressbar.html","uib/template/rating/rating.html","uib/template/tabs/tab.html","uib/template/tabs/tabset.html","uib/template/timepicker/timepicker.html","uib/template/typeahead/typeahead-match.html","uib/template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$q","$parse","$injector",function(e,t,n,i){var r=i.has("$animateCss")?i.get("$animateCss"):null;return{link:function(i,a,s){function o(){v=!!("horizontal"in s),v?(y={width:""},_={width:"0"}):(y={height:""},_={height:"0"}),i.$eval(s.uibCollapse)||a.addClass("in").addClass("collapse").attr("aria-expanded",!0).attr("aria-hidden",!1).css(y)}function l(e){return v?{width:e.scrollWidth+"px"}:{height:e.scrollHeight+"px"}}function u(){a.hasClass("collapse")&&a.hasClass("in")||t.resolve(p(i)).then(function(){a.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),r?r(a,{addClass:"in",easing:"ease",css:{overflow:"hidden"},to:l(a[0])}).start().finally(c):e.addClass(a,"in",{css:{overflow:"hidden"},to:l(a[0])}).then(c)},angular.noop)}function c(){a.removeClass("collapsing").addClass("collapse").css(y),m(i)}function d(){return a.hasClass("collapse")||a.hasClass("in")?void t.resolve(f(i)).then(function(){a.css(l(a[0])).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),r?r(a,{removeClass:"in",to:_}).start().finally(h):e.removeClass(a,"in",{to:_}).then(h)},angular.noop):h()}function h(){a.css(_),a.removeClass("collapsing").addClass("collapse"),g(i)}var p=n(s.expanding),m=n(s.expanded),f=n(s.collapsing),g=n(s.collapsed),v=!1,y={},_={};o(),i.$watch(s.uibCollapse,function(e){e?d():u()})}}}]),angular.module("ui.bootstrap.tabindex",[]).directive("uibTabindexToggle",function(){return{restrict:"A",link:function(e,t,n){n.$observe("disabled",function(e){n.$set("tabindex",e?-1:null)})}}}),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse","ui.bootstrap.tabindex"]).constant("uibAccordionConfig",{closeOthers:!0}).controller("UibAccordionController",["$scope","$attrs","uibAccordionConfig",function(e,t,n){this.groups=[],this.closeOthers=function(i){var r=angular.isDefined(t.closeOthers)?e.$eval(t.closeOthers):n.closeOthers;r&&angular.forEach(this.groups,function(e){e!==i&&(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);t!==-1&&this.groups.splice(t,1)}}]).directive("uibAccordion",function(){return{controller:"UibAccordionController",controllerAs:"accordion",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion.html"}}}).directive("uibAccordionGroup",function(){return{require:"^uibAccordion",transclude:!0,restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion-group.html"},scope:{heading:"@",panelClass:"@?",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(e){this.heading=e}},link:function(e,t,n,i){t.addClass("panel"),i.addGroup(e),e.openClass=n.openClass||"panel-open",e.panelClass=n.panelClass||"panel-default",e.$watch("isOpen",function(n){t.toggleClass(e.openClass,!!n),n&&i.closeOthers(e)}),e.toggleOpen=function(t){e.isDisabled||t&&32!==t.which||(e.isOpen=!e.isOpen)};var r="accordiongroup-"+e.$id+"-"+Math.floor(1e4*Math.random());e.headingId=r+"-tab",e.panelId=r+"-panel"}}}).directive("uibAccordionHeading",function(){return{transclude:!0,template:"",replace:!0,require:"^uibAccordionGroup",link:function(e,t,n,i,r){i.setHeading(r(e,angular.noop))}}}).directive("uibAccordionTransclude",function(){function e(){return"uib-accordion-header,data-uib-accordion-header,x-uib-accordion-header,uib\\:accordion-header,[uib-accordion-header],[data-uib-accordion-header],[x-uib-accordion-header]"}return{require:"^uibAccordionGroup",link:function(t,n,i,r){t.$watch(function(){return r[i.uibAccordionTransclude]},function(t){if(t){var i=angular.element(n[0].querySelector(e()));i.html(""),i.append(t)}})}}}),angular.module("ui.bootstrap.alert",[]).controller("UibAlertController",["$scope","$element","$attrs","$interpolate","$timeout",function(e,t,n,i,r){e.closeable=!!n.close,t.addClass("alert"),n.$set("role","alert"),e.closeable&&t.addClass("alert-dismissible");var a=angular.isDefined(n.dismissOnTimeout)?i(n.dismissOnTimeout)(e.$parent):null;a&&r(function(){e.close()},parseInt(a,10))}]).directive("uibAlert",function(){return{controller:"UibAlertController",controllerAs:"alert",restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/alert/alert.html"},transclude:!0,scope:{close:"&"}}}),angular.module("ui.bootstrap.buttons",[]).constant("uibButtonConfig",{activeClass:"active",toggleEvent:"click"}).controller("UibButtonsController",["uibButtonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("uibBtnRadio",["$parse",function(e){return{require:["uibBtnRadio","ngModel"],controller:"UibButtonsController",controllerAs:"buttons",link:function(t,n,i,r){var a=r[0],s=r[1],o=e(i.uibUncheckable);n.find("input").css({display:"none"}),s.$render=function(){n.toggleClass(a.activeClass,angular.equals(s.$modelValue,t.$eval(i.uibBtnRadio)))},n.on(a.toggleEvent,function(){if(!i.disabled){var e=n.hasClass(a.activeClass);e&&!angular.isDefined(i.uncheckable)||t.$apply(function(){s.$setViewValue(e?null:t.$eval(i.uibBtnRadio)),s.$render()})}}),i.uibUncheckable&&t.$watch(o,function(e){i.$set("uncheckable",e?"":void 0)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(e,t,n,i){function r(){return s(n.btnCheckboxTrue,!0)}function a(){return s(n.btnCheckboxFalse,!1)}function s(t,n){return angular.isDefined(t)?e.$eval(t):n}var o=i[0],l=i[1];t.find("input").css({display:"none"}),l.$render=function(){t.toggleClass(o.activeClass,angular.equals(l.$modelValue,r()))},t.on(o.toggleEvent,function(){n.disabled||e.$apply(function(){l.$setViewValue(t.hasClass(o.activeClass)?a():r()),l.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(e,t,n,i,r){function a(e){for(var t=0;t<f.length;t++)f[t].slide.active=t===e}function s(n,i,s){if(!y){if(angular.extend(n,{direction:s}),angular.extend(f[v].slide||{},{direction:s}),r.enabled(t)&&!e.$currentTransition&&f[i].element&&m.slides.length>1){f[i].element.data(g,n.direction);var o=m.getCurrentIndex();angular.isNumber(o)&&f[o].element&&f[o].element.data(g,n.direction),e.$currentTransition=!0,r.on("addClass",f[i].element,function(t,n){"close"===n&&(e.$currentTransition=null,r.off("addClass",t))})}e.active=n.index,v=n.index,a(i),c()}}function o(e){for(var t=0;t<f.length;t++)if(f[t].slide===e)return t}function l(){h&&(n.cancel(h),h=null)}function u(t){t.length||(e.$currentTransition=null)}function c(){l();var t=+e.interval;!isNaN(t)&&t>0&&(h=n(d,t))}function d(){var t=+e.interval;p&&!isNaN(t)&&t>0&&f.length?e.next():e.pause()}var h,p,m=this,f=m.slides=e.slides=[],g="uib-slideDirection",v=e.active,y=!1;t.addClass("carousel"),m.addSlide=function(t,n){f.push({slide:t,element:n}),f.sort(function(e,t){return+e.slide.index-+t.slide.index}),(t.index===e.active||1===f.length&&!angular.isNumber(e.active))&&(e.$currentTransition&&(e.$currentTransition=null),v=t.index,e.active=t.index,a(v),m.select(f[o(t)]),1===f.length&&e.play())},m.getCurrentIndex=function(){for(var e=0;e<f.length;e++)if(f[e].slide.index===v)return e},m.next=e.next=function(){var t=(m.getCurrentIndex()+1)%f.length;return 0===t&&e.noWrap()?void e.pause():m.select(f[t],"next")},m.prev=e.prev=function(){var t=m.getCurrentIndex()-1<0?f.length-1:m.getCurrentIndex()-1;return e.noWrap()&&t===f.length-1?void e.pause():m.select(f[t],"prev")},m.removeSlide=function(t){var n=o(t);f.splice(n,1),f.length>0&&v===n?n>=f.length?(v=f.length-1,e.active=v,a(v),m.select(f[f.length-1])):(v=n,e.active=v,a(v),m.select(f[n])):v>n&&(v--,e.active=v),0===f.length&&(v=null,e.active=null)},m.select=e.select=function(t,n){var i=o(t.slide);void 0===n&&(n=i>m.getCurrentIndex()?"next":"prev"),t.slide.index===v||e.$currentTransition||s(t.slide,i,n)},e.indexOfSlide=function(e){return+e.slide.index},e.isActive=function(t){return e.active===t.slide.index},e.isPrevDisabled=function(){return 0===e.active&&e.noWrap()},e.isNextDisabled=function(){return e.active===f.length-1&&e.noWrap()},e.pause=function(){e.noPause||(p=!1,l())},e.play=function(){p||(p=!0,c())},t.on("mouseenter",e.pause),t.on("mouseleave",e.play),e.$on("$destroy",function(){y=!0,l()}),e.$watch("noTransition",function(e){r.enabled(t,!e)}),e.$watch("interval",c),e.$watchCollection("slides",u),e.$watch("active",function(e){if(angular.isNumber(e)&&v!==e){for(var t=0;t<f.length;t++)if(f[t].slide.index===e){e=t;break}var n=f[e];n&&(a(e),m.select(f[e]),v=e)}})}]).directive("uibCarousel",function(){return{transclude:!0,controller:"UibCarouselController",controllerAs:"carousel",restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/carousel/carousel.html"},scope:{active:"=",interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}).directive("uibSlide",["$animate",function(e){return{require:"^uibCarousel",restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/carousel/slide.html"},scope:{actual:"=?",index:"=?"},link:function(t,n,i,r){n.addClass("item"),r.addSlide(t,n),t.$on("$destroy",function(){r.removeSlide(t)}),t.$watch("active",function(t){e[t?"addClass":"removeClass"](n,"active")})}}}]).animation(".item",["$animateCss",function(e){function t(e,t,n){e.removeClass(t),n&&n()}var n="uib-slideDirection";return{beforeAddClass:function(i,r,a){if("active"===r){var s=!1,o=i.data(n),l="next"===o?"left":"right",u=t.bind(this,i,l+" "+o,a);return i.addClass(o),e(i,{addClass:l}).start().done(u),function(){s=!0}}a()},beforeRemoveClass:function(i,r,a){if("active"===r){var s=!1,o=i.data(n),l="next"===o?"left":"right",u=t.bind(this,i,l,a);return e(i,{addClass:l}).start().done(u),function(){s=!0}}a()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("uibDateParser",["$log","$locale","dateFilter","orderByFilter","filterFilter",function(e,t,n,i,r){function a(e){return r(y,{key:e},!0)[0]}function s(e){var t=[],n=e.split(""),r=e.indexOf("'");if(r>-1){var a=!1;e=e.split("");for(var s=r;s<e.length;s++)a?("'"===e[s]&&(s+1<e.length&&"'"===e[s+1]?(e[s+1]="$",n[s+1]=""):(n[s]="",a=!1)),e[s]="$"):"'"===e[s]&&(e[s]="$",n[s]="",a=!0);e=e.join("")}return angular.forEach(y,function(i){var r=e.indexOf(i.key);if(r>-1){e=e.split(""),n[r]="("+i.regex+")",e[r]="$";for(var a=r+1,s=r+i.key.length;a<s;a++)n[a]="",e[a]="$";e=e.join(""),t.push({index:r,key:i.key,apply:i.apply,matcher:i.regex})}}),{regex:new RegExp("^"+n.join("")+"$"),map:i(t,"index")}}function o(e){for(var t,n,i=[],r=0;r<e.length;)if(angular.isNumber(n)){if("'"===e.charAt(r))(r+1>=e.length||"'"!==e.charAt(r+1))&&(i.push(l(e,n,r)),n=null);else if(r===e.length)for(;n<e.length;)t=u(e,n),i.push(t),n=t.endIdx;r++}else"'"!==e.charAt(r)?(t=u(e,r),i.push(t.parser),r=t.endIdx):(n=r,r++);return i}function l(e,t,n){return function(){return e.substr(t+1,n-t-1)}}function u(e,t){for(var n=e.substr(t),i=0;i<y.length;i++)if(new RegExp("^"+y[i].key).test(n)){var r=y[i];return{endIdx:t+r.key.length,parser:r.formatter}}return{endIdx:t+1,parser:function(){return n.charAt(0)}}}function c(e,t,n){return!(n<1)&&(1===t&&n>28?29===n&&(e%4===0&&e%100!==0||e%400===0):3!==t&&5!==t&&8!==t&&10!==t||n<31)}function d(e){return parseInt(e,10)}function h(e,t){return e&&t?g(e,t):e}function p(e,t){return e&&t?g(e,t,!0):e}function m(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function f(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function g(e,t,n){n=n?-1:1;var i=e.getTimezoneOffset(),r=m(t,i);return f(e,n*(r-i))}var v,y,_=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;this.init=function(){v=t.id,this.parsers={},this.formatters={},y=[{key:"yyyy",regex:"\\d{4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yyyy")}},{key:"yy",regex:"\\d{2}",apply:function(e){e=+e,this.year=e<69?e+2e3:e+1900},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yy")}},{key:"y",regex:"\\d{1,4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"y")}},{key:"M!",regex:"0?[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){var t=e.getMonth();return/^[0-9]$/.test(t)?n(e,"MM"):n(e,"M")}},{key:"MMMM",regex:t.DATETIME_FORMATS.MONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.MONTH.indexOf(e)},formatter:function(e){return n(e,"MMMM")}},{key:"MMM",regex:t.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.SHORTMONTH.indexOf(e)},formatter:function(e){return n(e,"MMM")}},{key:"MM",regex:"0[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"MM")}},{key:"M",regex:"[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"M")}},{key:"d!",regex:"[0-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){var t=e.getDate();return/^[1-9]$/.test(t)?n(e,"dd"):n(e,"d")}},{key:"dd",regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"dd")}},{key:"d",regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"d")}},{key:"EEEE",regex:t.DATETIME_FORMATS.DAY.join("|"),formatter:function(e){return n(e,"EEEE")}},{key:"EEE",regex:t.DATETIME_FORMATS.SHORTDAY.join("|"),formatter:function(e){return n(e,"EEE")}},{key:"HH",regex:"(?:0|1)[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"HH")}},{key:"hh",regex:"0[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"hh")}},{key:"H",regex:"1?[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"H")}},{key:"h",regex:"[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"h")}},{key:"mm",regex:"[0-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"mm")}},{key:"m",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"m")}},{key:"sss",regex:"[0-9][0-9][0-9]",apply:function(e){this.milliseconds=+e},formatter:function(e){return n(e,"sss")}},{key:"ss",regex:"[0-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"ss")}},{key:"s",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"s")}},{key:"a",regex:t.DATETIME_FORMATS.AMPMS.join("|"),apply:function(e){12===this.hours&&(this.hours=0),"PM"===e&&(this.hours+=12)},formatter:function(e){return n(e,"a")}},{key:"Z",regex:"[+-]\\d{4}",apply:function(e){var t=e.match(/([+-])(\d{2})(\d{2})/),n=t[1],i=t[2],r=t[3];this.hours+=d(n+i),this.minutes+=d(n+r)},formatter:function(e){return n(e,"Z")}},{key:"ww",regex:"[0-4][0-9]|5[0-3]",formatter:function(e){return n(e,"ww")}},{key:"w",regex:"[0-9]|[1-4][0-9]|5[0-3]",formatter:function(e){ return n(e,"w")}},{key:"GGGG",regex:t.DATETIME_FORMATS.ERANAMES.join("|").replace(/\s/g,"\\s"),formatter:function(e){return n(e,"GGGG")}},{key:"GGG",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GGG")}},{key:"GG",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GG")}},{key:"G",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"G")}}],angular.version.major>=1&&angular.version.minor>4&&y.push({key:"LLLL",regex:t.DATETIME_FORMATS.STANDALONEMONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.STANDALONEMONTH.indexOf(e)},formatter:function(e){return n(e,"LLLL")}})},this.init(),this.getParser=function(e){var t=a(e);return t&&t.apply||null},this.overrideParser=function(e,t){var n=a(e);n&&angular.isFunction(t)&&(this.parsers={},n.apply=t)}.bind(this),this.filter=function(e,n){if(!angular.isDate(e)||isNaN(e)||!n)return"";n=t.DATETIME_FORMATS[n]||n,t.id!==v&&this.init(),this.formatters[n]||(this.formatters[n]=o(n));var i=this.formatters[n];return i.reduce(function(t,n){return t+n(e)},"")},this.parse=function(n,i,r){if(!angular.isString(n)||!i)return n;i=t.DATETIME_FORMATS[i]||i,i=i.replace(_,"\\$&"),t.id!==v&&this.init(),this.parsers[i]||(this.parsers[i]=s(i,"apply"));var a=this.parsers[i],o=a.regex,l=a.map,u=n.match(o),d=!1;if(u&&u.length){var h,p;angular.isDate(r)&&!isNaN(r.getTime())?h={year:r.getFullYear(),month:r.getMonth(),date:r.getDate(),hours:r.getHours(),minutes:r.getMinutes(),seconds:r.getSeconds(),milliseconds:r.getMilliseconds()}:(r&&e.warn("dateparser:","baseDate is not a valid date"),h={year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var m=1,f=u.length;m<f;m++){var g=l[m-1];"Z"===g.matcher&&(d=!0),g.apply&&g.apply.call(h,u[m])}var y=d?Date.prototype.setUTCFullYear:Date.prototype.setFullYear,b=d?Date.prototype.setUTCHours:Date.prototype.setHours;return c(h.year,h.month,h.date)&&(!angular.isDate(r)||isNaN(r.getTime())||d?(p=new Date(0),y.call(p,h.year,h.month,h.date),b.call(p,h.hours||0,h.minutes||0,h.seconds||0,h.milliseconds||0)):(p=new Date(r),y.call(p,h.year,h.month,h.date),b.call(p,h.hours,h.minutes,h.seconds,h.milliseconds))),p}},this.toTimezone=h,this.fromTimezone=p,this.timezoneToOffset=m,this.addDateMinutes=f,this.convertTimezoneToLocal=g}]),angular.module("ui.bootstrap.isClass",[]).directive("uibIsClass",["$animate",function(e){var t=/^\s*([\s\S]+?)\s+on\s+([\s\S]+?)\s*$/,n=/^\s*([\s\S]+?)\s+for\s+([\s\S]+?)\s*$/;return{restrict:"A",compile:function(i,r){function a(e,t,n){l.push(e),u.push({scope:e,element:t}),m.forEach(function(t,n){s(t,e)}),e.$on("$destroy",o)}function s(t,i){var r=t.match(n),a=i.$eval(r[1]),s=r[2],o=c[t];if(!o){var l=function(t){var n=null;u.some(function(e){var i=e.scope.$eval(h);if(i===t)return n=e,!0}),o.lastActivated!==n&&(o.lastActivated&&e.removeClass(o.lastActivated.element,a),n&&e.addClass(n.element,a),o.lastActivated=n)};c[t]=o={lastActivated:null,scope:i,watchFn:l,compareWithExp:s,watcher:i.$watch(s,l)}}o.watchFn(i.$eval(s))}function o(e){var t=e.targetScope,n=l.indexOf(t);if(l.splice(n,1),u.splice(n,1),l.length){var i=l[0];angular.forEach(c,function(e){e.scope===t&&(e.watcher=i.$watch(e.compareWithExp,e.watchFn),e.scope=i)})}else c={}}var l=[],u=[],c={},d=r.uibIsClass.match(t),h=d[2],p=d[1],m=p.split(",");return a}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.isClass"]).value("$datepickerSuppressError",!1).value("$datepickerLiteralWarning",!0).constant("uibDatepickerConfig",{datepickerMode:"day",formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",maxDate:null,maxMode:"year",minDate:null,minMode:"day",monthColumns:3,ngModelOptions:{},shortcutPropagation:!1,showWeeks:!0,yearColumns:5,yearRows:4}).controller("UibDatepickerController",["$scope","$element","$attrs","$parse","$interpolate","$locale","$log","dateFilter","uibDatepickerConfig","$datepickerLiteralWarning","$datepickerSuppressError","uibDateParser",function(e,t,n,i,r,a,s,o,l,u,c,d){function h(t){e.datepickerMode=t,e.datepickerOptions.datepickerMode=t}function p(t){var n;if(angular.version.minor<6)n=t.$options||e.datepickerOptions.ngModelOptions||l.ngModelOptions||{},n.getOption=function(e){return n[e]};else{var i=t.$options.getOption("timezone")||(e.datepickerOptions.ngModelOptions?e.datepickerOptions.ngModelOptions.timezone:null)||(l.ngModelOptions?l.ngModelOptions.timezone:null);n=t.$options.createChild(l.ngModelOptions).createChild(e.datepickerOptions.ngModelOptions).createChild(t.$options).createChild({timezone:i})}return n}var m=this,f={$setViewValue:angular.noop},g={},v=[];t.addClass("uib-datepicker"),n.$set("role","application"),e.datepickerOptions||(e.datepickerOptions={}),this.modes=["day","month","year"],["customClass","dateDisabled","datepickerMode","formatDay","formatDayHeader","formatDayTitle","formatMonth","formatMonthTitle","formatYear","maxDate","maxMode","minDate","minMode","monthColumns","showWeeks","shortcutPropagation","startingDay","yearColumns","yearRows"].forEach(function(t){switch(t){case"customClass":case"dateDisabled":e[t]=e.datepickerOptions[t]||angular.noop;break;case"datepickerMode":e.datepickerMode=angular.isDefined(e.datepickerOptions.datepickerMode)?e.datepickerOptions.datepickerMode:l.datepickerMode;break;case"formatDay":case"formatDayHeader":case"formatDayTitle":case"formatMonth":case"formatMonthTitle":case"formatYear":m[t]=angular.isDefined(e.datepickerOptions[t])?r(e.datepickerOptions[t])(e.$parent):l[t];break;case"monthColumns":case"showWeeks":case"shortcutPropagation":case"yearColumns":case"yearRows":m[t]=angular.isDefined(e.datepickerOptions[t])?e.datepickerOptions[t]:l[t];break;case"startingDay":angular.isDefined(e.datepickerOptions.startingDay)?m.startingDay=e.datepickerOptions.startingDay:angular.isNumber(l.startingDay)?m.startingDay=l.startingDay:m.startingDay=(a.DATETIME_FORMATS.FIRSTDAYOFWEEK+8)%7;break;case"maxDate":case"minDate":e.$watch("datepickerOptions."+t,function(e){e?angular.isDate(e)?m[t]=d.fromTimezone(new Date(e),g.getOption("timezone")):(u&&s.warn("Literal date support has been deprecated, please switch to date object usage"),m[t]=new Date(o(e,"medium"))):m[t]=l[t]?d.fromTimezone(new Date(l[t]),g.getOption("timezone")):null,m.refreshView()});break;case"maxMode":case"minMode":e.datepickerOptions[t]?e.$watch(function(){return e.datepickerOptions[t]},function(n){m[t]=e[t]=angular.isDefined(n)?n:e.datepickerOptions[t],("minMode"===t&&m.modes.indexOf(e.datepickerOptions.datepickerMode)<m.modes.indexOf(m[t])||"maxMode"===t&&m.modes.indexOf(e.datepickerOptions.datepickerMode)>m.modes.indexOf(m[t]))&&(e.datepickerMode=m[t],e.datepickerOptions.datepickerMode=m[t])}):m[t]=e[t]=l[t]||null}}),e.uniqueId="datepicker-"+e.$id+"-"+Math.floor(1e4*Math.random()),e.disabled=angular.isDefined(n.disabled)||!1,angular.isDefined(n.ngDisabled)&&v.push(e.$parent.$watch(n.ngDisabled,function(t){e.disabled=t,m.refreshView()})),e.isActive=function(t){return 0===m.compare(t.date,m.activeDate)&&(e.activeDateId=t.uid,!0)},this.init=function(t){f=t,g=p(f),e.datepickerOptions.initDate?(m.activeDate=d.fromTimezone(e.datepickerOptions.initDate,g.getOption("timezone"))||new Date,e.$watch("datepickerOptions.initDate",function(e){e&&(f.$isEmpty(f.$modelValue)||f.$invalid)&&(m.activeDate=d.fromTimezone(e,g.getOption("timezone")),m.refreshView())})):m.activeDate=new Date;var n=f.$modelValue?new Date(f.$modelValue):new Date;this.activeDate=isNaN(n)?d.fromTimezone(new Date,g.getOption("timezone")):d.fromTimezone(n,g.getOption("timezone")),f.$render=function(){m.render()}},this.render=function(){if(f.$viewValue){var e=new Date(f.$viewValue),t=!isNaN(e);t?this.activeDate=d.fromTimezone(e,g.getOption("timezone")):c||s.error('Datepicker directive: "ng-model" value must be a Date object')}this.refreshView()},this.refreshView=function(){if(this.element){e.selectedDt=null,this._refreshView(),e.activeDt&&(e.activeDateId=e.activeDt.uid);var t=f.$viewValue?new Date(f.$viewValue):null;t=d.fromTimezone(t,g.getOption("timezone")),f.$setValidity("dateDisabled",!t||this.element&&!this.isDisabled(t))}},this.createDateObject=function(t,n){var i=f.$viewValue?new Date(f.$viewValue):null;i=d.fromTimezone(i,g.getOption("timezone"));var r=new Date;r=d.fromTimezone(r,g.getOption("timezone"));var a=this.compare(t,r),s={date:t,label:d.filter(t,n),selected:i&&0===this.compare(t,i),disabled:this.isDisabled(t),past:a<0,current:0===a,future:a>0,customClass:this.customClass(t)||null};return i&&0===this.compare(t,i)&&(e.selectedDt=s),m.activeDate&&0===this.compare(s.date,m.activeDate)&&(e.activeDt=s),s},this.isDisabled=function(t){return e.disabled||this.minDate&&this.compare(t,this.minDate)<0||this.maxDate&&this.compare(t,this.maxDate)>0||e.dateDisabled&&e.dateDisabled({date:t,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},e.select=function(t){if(e.datepickerMode===m.minMode){var n=f.$viewValue?d.fromTimezone(new Date(f.$viewValue),g.getOption("timezone")):new Date(0,0,0,0,0,0,0);n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n=d.toTimezone(n,g.getOption("timezone")),f.$setViewValue(n),f.$render()}else m.activeDate=t,h(m.modes[m.modes.indexOf(e.datepickerMode)-1]),e.$emit("uib:datepicker.mode");e.$broadcast("uib:datepicker.focus")},e.move=function(e){var t=m.activeDate.getFullYear()+e*(m.step.years||0),n=m.activeDate.getMonth()+e*(m.step.months||0);m.activeDate.setFullYear(t,n,1),m.refreshView()},e.toggleMode=function(t){t=t||1,e.datepickerMode===m.maxMode&&1===t||e.datepickerMode===m.minMode&&t===-1||(h(m.modes[m.modes.indexOf(e.datepickerMode)+t]),e.$emit("uib:datepicker.mode"))},e.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var y=function(){m.element[0].focus()};e.$on("uib:datepicker.focus",y),e.keydown=function(t){var n=e.keys[t.which];if(n&&!t.shiftKey&&!t.altKey&&!e.disabled)if(t.preventDefault(),m.shortcutPropagation||t.stopPropagation(),"enter"===n||"space"===n){if(m.isDisabled(m.activeDate))return;e.select(m.activeDate)}else!t.ctrlKey||"up"!==n&&"down"!==n?(m.handleKeyDown(n,t),m.refreshView()):e.toggleMode("up"===n?1:-1)},t.on("keydown",function(t){e.$apply(function(){e.keydown(t)})}),e.$on("$destroy",function(){for(;v.length;)v.shift()()})}]).controller("UibDaypickerController",["$scope","$element","dateFilter",function(e,t,n){function i(e,t){return 1!==t||e%4!==0||e%100===0&&e%400!==0?a[t]:29}function r(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}var a=[31,28,31,30,31,30,31,31,30,31,30,31];this.step={months:1},this.element=t,this.init=function(t){angular.extend(t,this),e.showWeeks=t.showWeeks,t.refreshView()},this.getDates=function(e,t){for(var n,i=new Array(t),r=new Date(e),a=0;a<t;)n=new Date(r),i[a++]=n,r.setDate(r.getDate()+1);return i},this._refreshView=function(){var t=this.activeDate.getFullYear(),i=this.activeDate.getMonth(),a=new Date(this.activeDate);a.setFullYear(t,i,1);var s=this.startingDay-a.getDay(),o=s>0?7-s:-s,l=new Date(a);o>0&&l.setDate(-o+1);for(var u=this.getDates(l,42),c=0;c<42;c++)u[c]=angular.extend(this.createDateObject(u[c],this.formatDay),{secondary:u[c].getMonth()!==i,uid:e.uniqueId+"-"+c});e.labels=new Array(7);for(var d=0;d<7;d++)e.labels[d]={abbr:n(u[d].date,this.formatDayHeader),full:n(u[d].date,"EEEE")};if(e.title=n(this.activeDate,this.formatDayTitle),e.rows=this.split(u,7),e.showWeeks){e.weekNumbers=[];for(var h=(11-this.startingDay)%7,p=e.rows.length,m=0;m<p;m++)e.weekNumbers.push(r(e.rows[m][h].date))}},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),i=new Date(t.getFullYear(),t.getMonth(),t.getDate());return n.setFullYear(e.getFullYear()),i.setFullYear(t.getFullYear()),n-i},this.handleKeyDown=function(e,t){var n=this.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=this.activeDate.getMonth()+("pageup"===e?-1:1);this.activeDate.setMonth(r,1),n=Math.min(i(this.activeDate.getFullYear(),this.activeDate.getMonth()),n)}else"home"===e?n=1:"end"===e&&(n=i(this.activeDate.getFullYear(),this.activeDate.getMonth()));this.activeDate.setDate(n)}}]).controller("UibMonthpickerController",["$scope","$element","dateFilter",function(e,t,n){this.step={years:1},this.element=t,this.init=function(e){angular.extend(e,this),e.refreshView()},this._refreshView=function(){for(var t,i=new Array(12),r=this.activeDate.getFullYear(),a=0;a<12;a++)t=new Date(this.activeDate),t.setFullYear(r,a,1),i[a]=angular.extend(this.createDateObject(t,this.formatMonth),{uid:e.uniqueId+"-"+a});e.title=n(this.activeDate,this.formatMonthTitle),e.rows=this.split(i,this.monthColumns),e.yearHeaderColspan=this.monthColumns>3?this.monthColumns-2:1},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth()),i=new Date(t.getFullYear(),t.getMonth());return n.setFullYear(e.getFullYear()),i.setFullYear(t.getFullYear()),n-i},this.handleKeyDown=function(e,t){var n=this.activeDate.getMonth();if("left"===e)n-=1;else if("up"===e)n-=this.monthColumns;else if("right"===e)n+=1;else if("down"===e)n+=this.monthColumns;else if("pageup"===e||"pagedown"===e){var i=this.activeDate.getFullYear()+("pageup"===e?-1:1);this.activeDate.setFullYear(i)}else"home"===e?n=0:"end"===e&&(n=11);this.activeDate.setMonth(n)}}]).controller("UibYearpickerController",["$scope","$element","dateFilter",function(e,t,n){function i(e){return parseInt((e-1)/a,10)*a+1}var r,a;this.element=t,this.yearpickerInit=function(){r=this.yearColumns,a=this.yearRows*r,this.step={years:a}},this._refreshView=function(){for(var t,n=new Array(a),s=0,o=i(this.activeDate.getFullYear());s<a;s++)t=new Date(this.activeDate),t.setFullYear(o+s,0,1),n[s]=angular.extend(this.createDateObject(t,this.formatYear),{uid:e.uniqueId+"-"+s});e.title=[n[0].label,n[a-1].label].join(" - "),e.rows=this.split(n,r),e.columns=r},this.compare=function(e,t){return e.getFullYear()-t.getFullYear()},this.handleKeyDown=function(e,t){var n=this.activeDate.getFullYear();"left"===e?n-=1:"up"===e?n-=r:"right"===e?n+=1:"down"===e?n+=r:"pageup"===e||"pagedown"===e?n+=("pageup"===e?-1:1)*a:"home"===e?n=i(this.activeDate.getFullYear()):"end"===e&&(n=i(this.activeDate.getFullYear())+a-1),this.activeDate.setFullYear(n)}}]).directive("uibDatepicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/datepicker.html"},scope:{datepickerOptions:"=?"},require:["uibDatepicker","^ngModel"],restrict:"A",controller:"UibDatepickerController",controllerAs:"datepicker",link:function(e,t,n,i){var r=i[0],a=i[1];r.init(a)}}}).directive("uibDaypicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/day.html"},require:["^uibDatepicker","uibDaypicker"],restrict:"A",controller:"UibDaypickerController",link:function(e,t,n,i){var r=i[0],a=i[1];a.init(r)}}}).directive("uibMonthpicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/month.html"},require:["^uibDatepicker","uibMonthpicker"],restrict:"A",controller:"UibMonthpickerController",link:function(e,t,n,i){var r=i[0],a=i[1];a.init(r)}}}).directive("uibYearpicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/year.html"},require:["^uibDatepicker","uibYearpicker"],restrict:"A",controller:"UibYearpickerController",link:function(e,t,n,i){var r=i[0];angular.extend(r,i[1]),r.yearpickerInit(),r.refreshView()}}}),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(e,t){var n,i,r={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},a={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/},s=/(HTML|BODY)/;return{getRawNode:function(e){return e.nodeName?e:e[0]||e},parseStyle:function(e){return e=parseFloat(e),isFinite(e)?e:0},offsetParent:function(n){function i(e){return"static"===(t.getComputedStyle(e).position||"static")}n=this.getRawNode(n);for(var r=n.offsetParent||e[0].documentElement;r&&r!==e[0].documentElement&&i(r);)r=r.offsetParent;return r||e[0].documentElement},scrollbarWidth:function(r){if(r){if(angular.isUndefined(i)){var a=e.find("body");a.addClass("uib-position-body-scrollbar-measure"),i=t.innerWidth-a[0].clientWidth,i=isFinite(i)?i:0,a.removeClass("uib-position-body-scrollbar-measure")}return i}if(angular.isUndefined(n)){var s=angular.element('<div class="uib-position-scrollbar-measure"></div>');e.find("body").append(s),n=s[0].offsetWidth-s[0].clientWidth,n=isFinite(n)?n:0,s.remove()}return n},scrollbarPadding:function(e){e=this.getRawNode(e);var n=t.getComputedStyle(e),i=this.parseStyle(n.paddingRight),r=this.parseStyle(n.paddingBottom),a=this.scrollParent(e,!1,!0),o=this.scrollbarWidth(s.test(a.tagName));return{scrollbarWidth:o,widthOverflow:a.scrollWidth>a.clientWidth,right:i+o,originalRight:i,heightOverflow:a.scrollHeight>a.clientHeight,bottom:r+o,originalBottom:r}},isScrollable:function(e,n){e=this.getRawNode(e);var i=n?r.hidden:r.normal,a=t.getComputedStyle(e);return i.test(a.overflow+a.overflowY+a.overflowX)},scrollParent:function(n,i,a){n=this.getRawNode(n);var s=i?r.hidden:r.normal,o=e[0].documentElement,l=t.getComputedStyle(n);if(a&&s.test(l.overflow+l.overflowY+l.overflowX))return n;var u="absolute"===l.position,c=n.parentElement||o;if(c===o||"fixed"===l.position)return o;for(;c.parentElement&&c!==o;){var d=t.getComputedStyle(c);if(u&&"static"!==d.position&&(u=!1),!u&&s.test(d.overflow+d.overflowY+d.overflowX))break;c=c.parentElement}return c},position:function(n,i){n=this.getRawNode(n);var r=this.offset(n);if(i){var a=t.getComputedStyle(n);r.top-=this.parseStyle(a.marginTop),r.left-=this.parseStyle(a.marginLeft)}var s=this.offsetParent(n),o={top:0,left:0};return s!==e[0].documentElement&&(o=this.offset(s),o.top+=s.clientTop-s.scrollTop,o.left+=s.clientLeft-s.scrollLeft),{width:Math.round(angular.isNumber(r.width)?r.width:n.offsetWidth),height:Math.round(angular.isNumber(r.height)?r.height:n.offsetHeight),top:Math.round(r.top-o.top),left:Math.round(r.left-o.left)}},offset:function(n){n=this.getRawNode(n);var i=n.getBoundingClientRect();return{width:Math.round(angular.isNumber(i.width)?i.width:n.offsetWidth),height:Math.round(angular.isNumber(i.height)?i.height:n.offsetHeight),top:Math.round(i.top+(t.pageYOffset||e[0].documentElement.scrollTop)),left:Math.round(i.left+(t.pageXOffset||e[0].documentElement.scrollLeft))}},viewportOffset:function(n,i,r){n=this.getRawNode(n),r=r!==!1;var a=n.getBoundingClientRect(),s={top:0,left:0,bottom:0,right:0},o=i?e[0].documentElement:this.scrollParent(n),l=o.getBoundingClientRect();if(s.top=l.top+o.clientTop,s.left=l.left+o.clientLeft,o===e[0].documentElement&&(s.top+=t.pageYOffset,s.left+=t.pageXOffset),s.bottom=s.top+o.clientHeight,s.right=s.left+o.clientWidth,r){var u=t.getComputedStyle(o);s.top+=this.parseStyle(u.paddingTop),s.bottom-=this.parseStyle(u.paddingBottom),s.left+=this.parseStyle(u.paddingLeft),s.right-=this.parseStyle(u.paddingRight)}return{top:Math.round(a.top-s.top),bottom:Math.round(s.bottom-a.bottom),left:Math.round(a.left-s.left),right:Math.round(s.right-a.right)}},parsePlacement:function(e){var t=a.auto.test(e);return t&&(e=e.replace(a.auto,"")),e=e.split("-"),e[0]=e[0]||"top",a.primary.test(e[0])||(e[0]="top"),e[1]=e[1]||"center",a.secondary.test(e[1])||(e[1]="center"),t?e[2]=!0:e[2]=!1,e},positionElements:function(e,n,i,r){e=this.getRawNode(e),n=this.getRawNode(n);var s=angular.isDefined(n.offsetWidth)?n.offsetWidth:n.prop("offsetWidth"),o=angular.isDefined(n.offsetHeight)?n.offsetHeight:n.prop("offsetHeight");i=this.parsePlacement(i);var l=r?this.offset(e):this.position(e),u={top:0,left:0,placement:""};if(i[2]){var c=this.viewportOffset(e,r),d=t.getComputedStyle(n),h={width:s+Math.round(Math.abs(this.parseStyle(d.marginLeft)+this.parseStyle(d.marginRight))),height:o+Math.round(Math.abs(this.parseStyle(d.marginTop)+this.parseStyle(d.marginBottom)))};if(i[0]="top"===i[0]&&h.height>c.top&&h.height<=c.bottom?"bottom":"bottom"===i[0]&&h.height>c.bottom&&h.height<=c.top?"top":"left"===i[0]&&h.width>c.left&&h.width<=c.right?"right":"right"===i[0]&&h.width>c.right&&h.width<=c.left?"left":i[0],i[1]="top"===i[1]&&h.height-l.height>c.bottom&&h.height-l.height<=c.top?"bottom":"bottom"===i[1]&&h.height-l.height>c.top&&h.height-l.height<=c.bottom?"top":"left"===i[1]&&h.width-l.width>c.right&&h.width-l.width<=c.left?"right":"right"===i[1]&&h.width-l.width>c.left&&h.width-l.width<=c.right?"left":i[1],"center"===i[1])if(a.vertical.test(i[0])){var p=l.width/2-s/2;c.left+p<0&&h.width-l.width<=c.right?i[1]="left":c.right+p<0&&h.width-l.width<=c.left&&(i[1]="right")}else{var m=l.height/2-h.height/2;c.top+m<0&&h.height-l.height<=c.bottom?i[1]="top":c.bottom+m<0&&h.height-l.height<=c.top&&(i[1]="bottom")}}switch(i[0]){case"top":u.top=l.top-o;break;case"bottom":u.top=l.top+l.height;break;case"left":u.left=l.left-s;break;case"right":u.left=l.left+l.width}switch(i[1]){case"top":u.top=l.top;break;case"bottom":u.top=l.top+l.height-o;break;case"left":u.left=l.left;break;case"right":u.left=l.left+l.width-s;break;case"center":a.vertical.test(i[0])?u.left=l.left+l.width/2-s/2:u.top=l.top+l.height/2-o/2}return u.top=Math.round(u.top),u.left=Math.round(u.left),u.placement="center"===i[1]?i[0]:i[0]+"-"+i[1],u},adjustTop:function(e,t,n,i){if(e.indexOf("top")!==-1&&n!==i)return{top:t.top-i+"px"}},positionArrow:function(e,n){e=this.getRawNode(e);var i=e.querySelector(".tooltip-inner, .popover-inner");if(i){var r=angular.element(i).hasClass("tooltip-inner"),s=r?e.querySelector(".tooltip-arrow"):e.querySelector(".arrow");if(s){var o={top:"",bottom:"",left:"",right:""};if(n=this.parsePlacement(n),"center"===n[1])return void angular.element(s).css(o);var l="border-"+n[0]+"-width",u=t.getComputedStyle(s)[l],c="border-";c+=a.vertical.test(n[0])?n[0]+"-"+n[1]:n[1]+"-"+n[0],c+="-radius";var d=t.getComputedStyle(r?i:e)[c];switch(n[0]){case"top":o.bottom=r?"0":"-"+u;break;case"bottom":o.top=r?"0":"-"+u;break;case"left":o.right=r?"0":"-"+u;break;case"right":o.left=r?"0":"-"+u}o[n[1]]=d,angular.element(s).css(o)}}}}}]),angular.module("ui.bootstrap.datepickerPopup",["ui.bootstrap.datepicker","ui.bootstrap.position"]).value("$datepickerPopupLiteralWarning",!0).constant("uibDatepickerPopupConfig",{altInputFormats:[],appendToBody:!1,clearText:"Clear",closeOnDateSelection:!0,closeText:"Done",currentText:"Today",datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"uib/template/datepickerPopup/popup.html",datepickerTemplateUrl:"uib/template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},onOpenFocus:!0,showButtonBar:!0,placement:"auto bottom-left"}).controller("UibDatepickerPopupController",["$scope","$element","$attrs","$compile","$log","$parse","$window","$document","$rootScope","$uibPosition","dateFilter","uibDateParser","uibDatepickerPopupConfig","$timeout","uibDatepickerConfig","$datepickerPopupLiteralWarning",function(e,t,n,i,r,a,s,o,l,u,c,d,h,p,m,f){function g(t){var n=d.parse(t,w,e.date);if(isNaN(n))for(var i=0;i<H.length;i++)if(n=d.parse(t,H[i],e.date),!isNaN(n))return n;return n}function v(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=g(e);if(!isNaN(t))return d.toTimezone(t,E.getOption("timezone"))}return E.getOption("allowInvalid")?e:void 0}function y(e,t){var i=e||t;return!n.ngRequired&&!i||(angular.isNumber(i)&&(i=new Date(i)),!i||(!(!angular.isDate(i)||isNaN(i))||!!angular.isString(i)&&!isNaN(g(i))))}function _(n){if(e.isOpen||!e.disabled){var i=I[0],r=t[0].contains(n.target),a=void 0!==i.contains&&i.contains(n.target);!e.isOpen||r||a||e.$apply(function(){e.isOpen=!1})}}function b(n){27===n.which&&e.isOpen?(n.preventDefault(),n.stopPropagation(),e.$apply(function(){e.isOpen=!1}),t[0].focus()):40!==n.which||e.isOpen||(n.preventDefault(),n.stopPropagation(),e.$apply(function(){e.isOpen=!0}))}function T(){if(e.isOpen){var i=angular.element(I[0].querySelector(".uib-datepicker-popup")),r=n.popupPlacement?n.popupPlacement:h.placement,a=u.positionElements(t,i,r,D);i.css({top:a.top+"px",left:a.left+"px"}),i.hasClass("uib-position-measure")&&i.removeClass("uib-position-measure")}}function M(e){var t;return angular.version.minor<6?(t=angular.isObject(e.$options)?e.$options:{timezone:null},t.getOption=function(e){return t[e]}):t=e.$options,t}var w,$,D,k,L,x,S,C,A,Y,E,I,H,O=!1,N=[];this.init=function(r){if(Y=r,E=M(Y),$=angular.isDefined(n.closeOnDateSelection)?e.$parent.$eval(n.closeOnDateSelection):h.closeOnDateSelection,D=angular.isDefined(n.datepickerAppendToBody)?e.$parent.$eval(n.datepickerAppendToBody):h.appendToBody,k=angular.isDefined(n.onOpenFocus)?e.$parent.$eval(n.onOpenFocus):h.onOpenFocus,L=angular.isDefined(n.datepickerPopupTemplateUrl)?n.datepickerPopupTemplateUrl:h.datepickerPopupTemplateUrl,x=angular.isDefined(n.datepickerTemplateUrl)?n.datepickerTemplateUrl:h.datepickerTemplateUrl,H=angular.isDefined(n.altInputFormats)?e.$parent.$eval(n.altInputFormats):h.altInputFormats,e.showButtonBar=angular.isDefined(n.showButtonBar)?e.$parent.$eval(n.showButtonBar):h.showButtonBar,h.html5Types[n.type]?(w=h.html5Types[n.type],O=!0):(w=n.uibDatepickerPopup||h.datepickerPopup,n.$observe("uibDatepickerPopup",function(e,t){var n=e||h.datepickerPopup;if(n!==w&&(w=n,Y.$modelValue=null,!w))throw new Error("uibDatepickerPopup must have a date format specified.")})),!w)throw new Error("uibDatepickerPopup must have a date format specified.");if(O&&n.uibDatepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");S=angular.element("<div uib-datepicker-popup-wrap><div uib-datepicker></div></div>"),S.attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":L}),C=angular.element(S.children()[0]),C.attr("template-url",x),e.datepickerOptions||(e.datepickerOptions={}),O&&"month"===n.type&&(e.datepickerOptions.datepickerMode="month",e.datepickerOptions.minMode="month"),C.attr("datepicker-options","datepickerOptions"),O?Y.$formatters.push(function(t){return e.date=d.fromTimezone(t,E.getOption("timezone")),t}):(Y.$$parserName="date",Y.$validators.date=y,Y.$parsers.unshift(v),Y.$formatters.push(function(t){return Y.$isEmpty(t)?(e.date=t,t):(angular.isNumber(t)&&(t=new Date(t)),e.date=d.fromTimezone(t,E.getOption("timezone")),d.filter(e.date,w))})),Y.$viewChangeListeners.push(function(){e.date=g(Y.$viewValue)}),t.on("keydown",b),I=i(S)(e),S.remove(),D?o.find("body").append(I):t.after(I),e.$on("$destroy",function(){for(e.isOpen===!0&&(l.$$phase||e.$apply(function(){e.isOpen=!1})),I.remove(),t.off("keydown",b),o.off("click",_),A&&A.off("scroll",T),angular.element(s).off("resize",T);N.length;)N.shift()()})},e.getText=function(t){return e[t+"Text"]||h[t+"Text"]},e.isDisabled=function(t){"today"===t&&(t=d.fromTimezone(new Date,E.getOption("timezone")));var n={};return angular.forEach(["minDate","maxDate"],function(t){e.datepickerOptions[t]?angular.isDate(e.datepickerOptions[t])?n[t]=new Date(e.datepickerOptions[t]):(f&&r.warn("Literal date support has been deprecated, please switch to date object usage"),n[t]=new Date(c(e.datepickerOptions[t],"medium"))):n[t]=null}),e.datepickerOptions&&n.minDate&&e.compare(t,n.minDate)<0||n.maxDate&&e.compare(t,n.maxDate)>0},e.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},e.dateSelection=function(n){e.date=n;var i=e.date?d.filter(e.date,w):null;t.val(i),Y.$setViewValue(i),$&&(e.isOpen=!1,t[0].focus())},e.keydown=function(n){27===n.which&&(n.stopPropagation(),e.isOpen=!1,t[0].focus())},e.select=function(t,n){if(n.stopPropagation(),"today"===t){var i=new Date;angular.isDate(e.date)?(t=new Date(e.date),t.setFullYear(i.getFullYear(),i.getMonth(),i.getDate())):(t=d.fromTimezone(i,E.getOption("timezone")),t.setHours(0,0,0,0))}e.dateSelection(t)},e.close=function(n){n.stopPropagation(),e.isOpen=!1,t[0].focus()},e.disabled=angular.isDefined(n.disabled)||!1,n.ngDisabled&&N.push(e.$parent.$watch(a(n.ngDisabled),function(t){e.disabled=t})),e.$watch("isOpen",function(i){i?e.disabled?e.isOpen=!1:p(function(){T(),k&&e.$broadcast("uib:datepicker.focus"),o.on("click",_);var i=n.popupPlacement?n.popupPlacement:h.placement;D||u.parsePlacement(i)[2]?(A=A||angular.element(u.scrollParent(t)),A&&A.on("scroll",T)):A=null,angular.element(s).on("resize",T)},0,!1):(o.off("click",_),A&&A.off("scroll",T),angular.element(s).off("resize",T))}),e.$on("uib:datepicker.mode",function(){p(T,0,!1)})}]).directive("uibDatepickerPopup",function(){return{require:["ngModel","uibDatepickerPopup"],controller:"UibDatepickerPopupController",scope:{datepickerOptions:"=?",isOpen:"=?",currentText:"@",clearText:"@",closeText:"@"},link:function(e,t,n,i){var r=i[0],a=i[1];a.init(r)}}}).directive("uibDatepickerPopupWrap",function(){return{restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepickerPopup/popup.html"}}}),angular.module("ui.bootstrap.debounce",[]).factory("$$debounce",["$timeout",function(e){return function(t,n){var i;return function(){var r=this,a=Array.prototype.slice.call(arguments);i&&e.cancel(i),i=e(function(){t.apply(r,a)},n)}}}]),angular.module("ui.bootstrap.multiMap",[]).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 i=e[t];if(i){var r=i.indexOf(n);r!==-1&&i.splice(r,1),i.length||delete e[t]}}}}}}),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.multiMap","ui.bootstrap.position"]).constant("uibDropdownConfig",{appendToOpenClass:"uib-dropdown-open",openClass:"open"}).service("uibDropdownService",["$document","$rootScope","$$multiMap",function(e,t,n){var i=null,r=n.createNew();this.isOnlyOpen=function(e,t){var n=r.get(t);if(n){var i=n.reduce(function(t,n){return n.scope===e?n:t},{});if(i)return 1===n.length}return!1},this.open=function(t,n,s){if(i||e.on("click",a),i&&i!==t&&(i.isOpen=!1),i=t,s){var o=r.get(s);if(o){var l=o.map(function(e){return e.scope});l.indexOf(t)===-1&&r.put(s,{scope:t})}else r.put(s,{scope:t})}},this.close=function(t,n,s){if(i===t&&(e.off("click",a),e.off("keydown",this.keybindFilter),i=null),s){var o=r.get(s);if(o){var l=o.reduce(function(e,n){return n.scope===t?n:e},{});l&&r.remove(s,l)}}};var a=function(e){if(i&&i.isOpen&&!(e&&"disabled"===i.getAutoClose()||e&&3===e.which)){var n=i.getToggleElement();if(!(e&&n&&n[0].contains(e.target))){var r=i.getDropdownElement();e&&"outsideClick"===i.getAutoClose()&&r&&r[0].contains(e.target)||(i.focusToggleElement(),i.isOpen=!1,t.$$phase||i.$apply())}}};this.keybindFilter=function(e){if(i){var t=i.getDropdownElement(),n=i.getToggleElement(),r=t&&t[0].contains(e.target),s=n&&n[0].contains(e.target);27===e.which?(e.stopPropagation(),i.focusToggleElement(),a()):i.isKeynavEnabled()&&[38,40].indexOf(e.which)!==-1&&i.isOpen&&(r||s)&&(e.preventDefault(),e.stopPropagation(),i.focusDropdownEntry(e.which))}}}]).controller("UibDropdownController",["$scope","$element","$attrs","$parse","uibDropdownConfig","uibDropdownService","$animate","$uibPosition","$document","$compile","$templateRequest",function(e,t,n,i,r,a,s,o,l,u,c){function d(){t.append(m.dropdownMenu)}var h,p,m=this,f=e.$new(),g=r.appendToOpenClass,v=r.openClass,y=angular.noop,_=n.onToggle?i(n.onToggle):angular.noop,b=!1,T=l.find("body");t.addClass("dropdown"), this.init=function(){n.isOpen&&(p=i(n.isOpen),y=p.assign,e.$watch(p,function(e){f.isOpen=!!e})),b=angular.isDefined(n.keyboardNav)},this.toggle=function(e){return f.isOpen=arguments.length?!!e:!f.isOpen,angular.isFunction(y)&&y(f,f.isOpen),f.isOpen},this.isOpen=function(){return f.isOpen},f.getToggleElement=function(){return m.toggleElement},f.getAutoClose=function(){return n.autoClose||"always"},f.getElement=function(){return t},f.isKeynavEnabled=function(){return b},f.focusDropdownEntry=function(e){var n=m.dropdownMenu?angular.element(m.dropdownMenu).find("a"):t.find("ul").eq(0).find("a");switch(e){case 40:angular.isNumber(m.selectedOption)?m.selectedOption=m.selectedOption===n.length-1?m.selectedOption:m.selectedOption+1:m.selectedOption=0;break;case 38:angular.isNumber(m.selectedOption)?m.selectedOption=0===m.selectedOption?0:m.selectedOption-1:m.selectedOption=n.length-1}n[m.selectedOption].focus()},f.getDropdownElement=function(){return m.dropdownMenu},f.focusToggleElement=function(){m.toggleElement&&m.toggleElement[0].focus()},f.$watch("isOpen",function(r,p){var b=null,M=!1;if(angular.isDefined(n.dropdownAppendTo)){var w=i(n.dropdownAppendTo)(f);w&&(b=angular.element(w))}if(angular.isDefined(n.dropdownAppendToBody)){var $=i(n.dropdownAppendToBody)(f);$!==!1&&(M=!0)}if(M&&!b&&(b=T),b&&m.dropdownMenu&&(r?(b.append(m.dropdownMenu),t.on("$destroy",d)):(t.off("$destroy",d),d())),b&&m.dropdownMenu){var D,k,L,x=o.positionElements(t,m.dropdownMenu,"bottom-left",!0),S=0;if(D={top:x.top+"px",display:r?"block":"none"},k=m.dropdownMenu.hasClass("dropdown-menu-right"),k?(D.left="auto",L=o.scrollbarPadding(b),L.heightOverflow&&L.scrollbarWidth&&(S=L.scrollbarWidth),D.right=window.innerWidth-S-(x.left+t.prop("offsetWidth"))+"px"):(D.left=x.left+"px",D.right="auto"),!M){var C=o.offset(b);D.top=x.top-C.top+"px",k?D.right=window.innerWidth-(x.left-C.left+t.prop("offsetWidth"))+"px":D.left=x.left-C.left+"px"}m.dropdownMenu.css(D)}var A=b?b:t,Y=b?g:v,E=A.hasClass(Y),I=a.isOnlyOpen(e,b);if(E===!r){var H;H=b?I?"removeClass":"addClass":r?"addClass":"removeClass",s[H](A,Y).then(function(){angular.isDefined(r)&&r!==p&&_(e,{open:!!r})})}if(r)m.dropdownMenuTemplateUrl?c(m.dropdownMenuTemplateUrl).then(function(e){h=f.$new(),u(e.trim())(h,function(e){var t=e;m.dropdownMenu.replaceWith(t),m.dropdownMenu=t,l.on("keydown",a.keybindFilter)})}):l.on("keydown",a.keybindFilter),f.focusToggleElement(),a.open(f,t,b);else{if(a.close(f,t,b),m.dropdownMenuTemplateUrl){h&&h.$destroy();var O=angular.element('<ul class="dropdown-menu"></ul>');m.dropdownMenu.replaceWith(O),m.dropdownMenu=O}m.selectedOption=null}angular.isFunction(y)&&y(e,r)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(e,t,n,i){i.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(e,t,n,i){if(i&&!angular.isDefined(n.dropdownNested)){t.addClass("dropdown-menu");var r=n.templateUrl;r&&(i.dropdownMenuTemplateUrl=r),i.dropdownMenu||(i.dropdownMenu=t)}}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(e,t,n,i){if(i){t.addClass("dropdown-toggle"),i.toggleElement=t;var r=function(r){r.preventDefault(),t.hasClass("disabled")||n.disabled||e.$apply(function(){i.toggle()})};t.on("click",r),t.attr({"aria-haspopup":!0,"aria-expanded":!1}),e.$watch(i.isOpen,function(e){t.attr("aria-expanded",!!e)}),e.$on("$destroy",function(){t.off("click",r)})}}}}),angular.module("ui.bootstrap.stackedMap",[]).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,i=0;i<e.length;i++)if(t===e[i].key){n=i;break}return e.splice(n,1)[0]},removeTop:function(){return e.pop()},length:function(){return e.length}}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.multiMap","ui.bootstrap.stackedMap","ui.bootstrap.position"]).provider("$uibResolve",function(){var e=this;this.resolver=null,this.setResolver=function(e){this.resolver=e},this.$get=["$injector","$q",function(t,n){var i=e.resolver?t.get(e.resolver):null;return{resolve:function(e,r,a,s){if(i)return i.resolve(e,r,a,s);var o=[];return angular.forEach(e,function(e){angular.isFunction(e)||angular.isArray(e)?o.push(n.resolve(t.invoke(e))):angular.isString(e)?o.push(n.resolve(t.get(e))):o.push(n.resolve(e))}),n.all(o).then(function(t){var n={},i=0;return angular.forEach(e,function(e,r){n[r]=t[i++]}),n})}}}]}).directive("uibModalBackdrop",["$animate","$injector","$uibModalStack",function(e,t,n){function i(t,i,r){r.modalInClass&&(e.addClass(i,r.modalInClass),t.$on(n.NOW_CLOSING_EVENT,function(n,a){var s=a();t.modalOptions.animation?e.removeClass(i,r.modalInClass).then(s):s()}))}return{restrict:"A",compile:function(e,t){return e.addClass(t.backdropClass),i}}}]).directive("uibModalWindow",["$uibModalStack","$q","$animateCss","$document",function(e,t,n,i){return{scope:{index:"@"},restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/modal/window.html"},link:function(r,a,s){a.addClass(s.windowTopClass||""),r.size=s.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"))},a.on("click",r.close),r.$isRendered=!0;var o=t.defer();r.$$postDigest(function(){o.resolve()}),o.promise.then(function(){var o=null;s.modalInClass&&(o=n(a,{addClass:s.modalInClass}).start(),r.$on(e.NOW_CLOSING_EVENT,function(e,t){var i=t();n(a,{removeClass:s.modalInClass}).start().then(i)})),t.when(o).then(function(){var t=e.getTop();if(t&&e.modalRendered(t.key),!i[0].activeElement||!a[0].contains(i[0].activeElement)){var n=a[0].querySelector("[autofocus]");n?n.focus():a[0].focus()}})})}}}]).directive("uibModalAnimationClass",function(){return{compile:function(e,t){t.modalAnimation&&e.addClass(t.uibModalAnimationClass)}}}).directive("uibModalTransclude",["$animate",function(e){return{link:function(t,n,i,r,a){a(t.$parent,function(t){n.empty(),e.enter(t,n)})}}}]).factory("$uibModalStack",["$animate","$animateCss","$document","$compile","$rootScope","$q","$$multiMap","$$stackedMap","$uibPosition",function(e,t,n,i,r,a,s,o,l){function u(e){var t="-";return e.replace(C,function(e,n){return(n?t:"")+e.toLowerCase()})}function c(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function d(){for(var e=-1,t=w.keys(),n=0;n<t.length;n++)w.get(t[n]).value.backdrop&&(e=n);return e>-1&&e<k&&(e=k),e}function h(e,t){var n=w.get(e).value,i=n.appendTo;w.remove(e),L=w.top(),L&&(k=parseInt(L.value.modalDomEl.attr("index"),10)),f(n.modalDomEl,n.modalScope,function(){var t=n.openedClass||M;$.remove(t,e);var r=$.hasKey(t);i.toggleClass(t,r),!r&&T&&T.heightOverflow&&T.scrollbarWidth&&(T.originalRight?i.css({paddingRight:T.originalRight+"px"}):i.css({paddingRight:""}),T=null),p(!0)},n.closedDeferred),m(),t&&t.focus?t.focus():i.focus&&i.focus()}function p(e){var t;w.length()>0&&(t=w.top().value,t.modalDomEl.toggleClass(t.windowTopClass||"",e))}function m(){if(_&&d()===-1){var e=b;f(_,b,function(){e=null}),_=void 0,b=void 0}}function f(t,n,i,r){function s(){s.done||(s.done=!0,e.leave(t).then(function(){i&&i(),t.remove(),r&&r.resolve()}),n.$destroy())}var o,l=null,u=function(){return o||(o=a.defer(),l=o.promise),function(){o.resolve()}};return n.$broadcast(D.NOW_CLOSING_EVENT,u),a.when(l).then(s)}function g(e){if(e.isDefaultPrevented())return e;var t=w.top();if(t)switch(e.which){case 27:t.value.keyboard&&(e.preventDefault(),r.$apply(function(){D.dismiss(t.key,"escape key press")}));break;case 9:var n=D.loadFocusElementList(t),i=!1;e.shiftKey?(D.isFocusInFirstItem(e,n)||D.isModalFocused(e,t))&&(i=D.focusLastFocusableElement(n)):D.isFocusInLastItem(e,n)&&(i=D.focusFirstFocusableElement(n)),i&&(e.preventDefault(),e.stopPropagation())}}function v(e,t,n){return!e.value.modalScope.$broadcast("modal.closing",t,n).defaultPrevented}function y(){Array.prototype.forEach.call(document.querySelectorAll("["+x+"]"),function(e){var t=parseInt(e.getAttribute(x),10),n=t-1;e.setAttribute(x,n),n||(e.removeAttribute(x),e.removeAttribute("aria-hidden"))})}var _,b,T,M="modal-open",w=o.createNew(),$=s.createNew(),D={NOW_CLOSING_EVENT:"modal.stack.now-closing"},k=0,L=null,x="data-bootstrap-modal-aria-hidden-count",S="a[href], area[href], input:not([disabled]):not([tabindex='-1']), button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), textarea:not([disabled]):not([tabindex='-1']), iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]",C=/[A-Z]/g;return r.$watch(d,function(e){b&&(b.index=e)}),n.on("keydown",g),r.$on("$destroy",function(){n.off("keydown",g)}),D.open=function(t,a){function s(e){function t(e){var t=e.parent()?e.parent().children():[];return Array.prototype.filter.call(t,function(t){return t!==e[0]})}if(e&&"BODY"!==e[0].tagName)return t(e).forEach(function(e){var t="true"===e.getAttribute("aria-hidden"),n=parseInt(e.getAttribute(x),10);n||(n=t?1:0),e.setAttribute(x,n+1),e.setAttribute("aria-hidden","true")}),s(e.parent())}var o=n[0].activeElement,c=a.openedClass||M;p(!1),L=w.top(),w.add(t,{deferred:a.deferred,renderDeferred:a.renderDeferred,closedDeferred:a.closedDeferred,modalScope:a.scope,backdrop:a.backdrop,keyboard:a.keyboard,openedClass:a.openedClass,windowTopClass:a.windowTopClass,animation:a.animation,appendTo:a.appendTo}),$.put(c,t);var h=a.appendTo,m=d();m>=0&&!_&&(b=r.$new(!0),b.modalOptions=a,b.index=m,_=angular.element('<div uib-modal-backdrop="modal-backdrop"></div>'),_.attr({class:"modal-backdrop","ng-style":"{'z-index': 1040 + (index && 1 || 0) + index*10}","uib-modal-animation-class":"fade","modal-in-class":"in"}),a.backdropClass&&_.addClass(a.backdropClass),a.animation&&_.attr("modal-animation","true"),i(_)(b),e.enter(_,h),l.isScrollable(h)&&(T=l.scrollbarPadding(h),T.heightOverflow&&T.scrollbarWidth&&h.css({paddingRight:T.right+"px"})));var f;a.component?(f=document.createElement(u(a.component.name)),f=angular.element(f),f.attr({resolve:"$resolve","modal-instance":"$uibModalInstance",close:"$close($value)",dismiss:"$dismiss($value)"})):f=a.content,k=L?parseInt(L.value.modalDomEl.attr("index"),10)+1:0;var g=angular.element('<div uib-modal-window="modal-window"></div>');g.attr({class:"modal","template-url":a.windowTemplateUrl,"window-top-class":a.windowTopClass,role:"dialog","aria-labelledby":a.ariaLabelledBy,"aria-describedby":a.ariaDescribedBy,size:a.size,index:k,animate:"animate","ng-style":"{'z-index': 1050 + $$topModalIndex*10, display: 'block'}",tabindex:-1,"uib-modal-animation-class":"fade","modal-in-class":"in"}).append(f),a.windowClass&&g.addClass(a.windowClass),a.animation&&g.attr("modal-animation","true"),h.addClass(c),a.scope&&(a.scope.$$topModalIndex=k),e.enter(i(g)(a.scope),h),w.top().value.modalDomEl=g,w.top().value.modalOpener=o,s(g)},D.close=function(e,t){var n=w.get(e);return y(),n&&v(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),h(e,n.value.modalOpener),!0):!n},D.dismiss=function(e,t){var n=w.get(e);return y(),n&&v(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),h(e,n.value.modalOpener),!0):!n},D.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},D.getTop=function(){return w.top()},D.modalRendered=function(e){var t=w.get(e);t&&t.value.renderDeferred.resolve()},D.focusFirstFocusableElement=function(e){return e.length>0&&(e[0].focus(),!0)},D.focusLastFocusableElement=function(e){return e.length>0&&(e[e.length-1].focus(),!0)},D.isModalFocused=function(e,t){if(e&&t){var n=t.value.modalDomEl;if(n&&n.length)return(e.target||e.srcElement)===n[0]}return!1},D.isFocusInFirstItem=function(e,t){return t.length>0&&(e.target||e.srcElement)===t[0]},D.isFocusInLastItem=function(e,t){return t.length>0&&(e.target||e.srcElement)===t[t.length-1]},D.loadFocusElementList=function(e){if(e){var t=e.value.modalDomEl;if(t&&t.length){var n=t[0].querySelectorAll(S);return n?Array.prototype.filter.call(n,function(e){return c(e)}):n}}},D}]).provider("$uibModal",function(){var e={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(t,n,i,r,a,s,o){function l(e){return e.template?n.when(e.template):r(angular.isFunction(e.templateUrl)?e.templateUrl():e.templateUrl)}var u={},c=null;return u.getPromiseChain=function(){return c},u.open=function(r){function u(){return g}var d=n.defer(),h=n.defer(),p=n.defer(),m=n.defer(),f={result:d.promise,opened:h.promise,closed:p.promise,rendered:m.promise,close:function(e){return o.close(f,e)},dismiss:function(e){return o.dismiss(f,e)}};if(r=angular.extend({},e.options,r),r.resolve=r.resolve||{},r.appendTo=r.appendTo||i.find("body").eq(0),!r.appendTo.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");if(!r.component&&!r.template&&!r.templateUrl)throw new Error("One of component or template or templateUrl options is required.");var g;g=r.component?n.when(s.resolve(r.resolve,{},null,null)):n.all([l(r),s.resolve(r.resolve,{},null,null)]);var v;return v=c=n.all([c]).then(u,u).then(function(e){function n(t,n,i,r){t.$scope=s,t.$scope.$resolve={},i?t.$scope.$uibModalInstance=f:t.$uibModalInstance=f;var a=n?e[1]:e;angular.forEach(a,function(e,n){r&&(t[n]=e),t.$scope.$resolve[n]=e})}var i=r.scope||t,s=i.$new();s.$close=f.close,s.$dismiss=f.dismiss,s.$on("$destroy",function(){s.$$uibDestructionScheduled||s.$dismiss("$uibUnscheduledDestruction")});var l,u,c={scope:s,deferred:d,renderDeferred:m,closedDeferred:p,animation:r.animation,backdrop:r.backdrop,keyboard:r.keyboard,backdropClass:r.backdropClass,windowTopClass:r.windowTopClass,windowClass:r.windowClass,windowTemplateUrl:r.windowTemplateUrl,ariaLabelledBy:r.ariaLabelledBy,ariaDescribedBy:r.ariaDescribedBy,size:r.size,openedClass:r.openedClass,appendTo:r.appendTo},g={},v={};r.component?(n(g,!1,!0,!1),g.name=r.component,c.component=g):r.controller&&(n(v,!0,!1,!0),u=a(r.controller,v,!0,r.controllerAs),r.controllerAs&&r.bindToController&&(l=u.instance,l.$close=s.$close,l.$dismiss=s.$dismiss,angular.extend(l,{$resolve:v.$scope.$resolve},i)),l=u(),angular.isFunction(l.$onInit)&&l.$onInit()),r.component||(c.content=e[0]),o.open(f,c),h.resolve(!0)},function(e){h.reject(e),d.reject(e)}).finally(function(){c===v&&(c=null)}),f},u}]};return e}),angular.module("ui.bootstrap.paging",[]).factory("uibPaging",["$parse",function(e){return{create:function(t,n,i){t.setNumPages=i.numPages?e(i.numPages).assign:angular.noop,t.ngModelCtrl={$setViewValue:angular.noop},t._watchers=[],t.init=function(e,r){t.ngModelCtrl=e,t.config=r,e.$render=function(){t.render()},i.itemsPerPage?t._watchers.push(n.$parent.$watch(i.itemsPerPage,function(e){t.itemsPerPage=parseInt(e,10),n.totalPages=t.calculateTotalPages(),t.updatePage()})):t.itemsPerPage=r.itemsPerPage,n.$watch("totalItems",function(e,i){(angular.isDefined(e)||e!==i)&&(n.totalPages=t.calculateTotalPages(),t.updatePage())})},t.calculateTotalPages=function(){var e=t.itemsPerPage<1?1:Math.ceil(n.totalItems/t.itemsPerPage);return Math.max(e||0,1)},t.render=function(){n.page=parseInt(t.ngModelCtrl.$viewValue,10)||1},n.selectPage=function(e,i){i&&i.preventDefault();var r=!n.ngDisabled||!i;r&&n.page!==e&&e>0&&e<=n.totalPages&&(i&&i.target&&i.target.blur(),t.ngModelCtrl.$setViewValue(e),t.ngModelCtrl.$render())},n.getText=function(e){return n[e+"Text"]||t.config[e+"Text"]},n.noPrevious=function(){return 1===n.page},n.noNext=function(){return n.page===n.totalPages},t.updatePage=function(){t.setNumPages(n.$parent,n.totalPages),n.page>n.totalPages?n.selectPage(n.totalPages):t.ngModelCtrl.$render()},n.$on("$destroy",function(){for(;t._watchers.length;)t._watchers.shift()()})}}}]),angular.module("ui.bootstrap.pager",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPagerController",["$scope","$attrs","uibPaging","uibPagerConfig",function(e,t,n,i){e.align=angular.isDefined(t.align)?e.$parent.$eval(t.align):i.align,n.create(this,e,t)}]).constant("uibPagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("uibPager",["uibPagerConfig",function(e){return{scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["uibPager","?ngModel"],restrict:"A",controller:"UibPagerController",controllerAs:"pager",templateUrl:function(e,t){return t.templateUrl||"uib/template/pager/pager.html"},link:function(t,n,i,r){n.addClass("pager");var a=r[0],s=r[1];s&&a.init(s,e)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(e,t,n,i,r){function a(e,t,n){return{number:e,text:t,active:n}}function s(e,t){var n=[],i=1,r=t,s=angular.isDefined(l)&&l<t;s&&(u?(i=Math.max(e-Math.floor(l/2),1),r=i+l-1,r>t&&(r=t,i=r-l+1)):(i=(Math.ceil(e/l)-1)*l+1,r=Math.min(i+l-1,t)));for(var o=i;o<=r;o++){var p=a(o,h(o),o===e);n.push(p)}if(s&&l>0&&(!u||c||d)){if(i>1){if(!d||i>3){var m=a(i-1,"...",!1);n.unshift(m)}if(d){if(3===i){var f=a(2,"2",!1);n.unshift(f)}var g=a(1,"1",!1);n.unshift(g)}}if(r<t){if(!d||r<t-2){var v=a(r+1,"...",!1);n.push(v)}if(d){if(r===t-2){var y=a(t-1,t-1,!1);n.push(y)}var _=a(t,t,!1);n.push(_)}}}return n}var o=this,l=angular.isDefined(t.maxSize)?e.$parent.$eval(t.maxSize):r.maxSize,u=angular.isDefined(t.rotate)?e.$parent.$eval(t.rotate):r.rotate,c=angular.isDefined(t.forceEllipses)?e.$parent.$eval(t.forceEllipses):r.forceEllipses,d=angular.isDefined(t.boundaryLinkNumbers)?e.$parent.$eval(t.boundaryLinkNumbers):r.boundaryLinkNumbers,h=angular.isDefined(t.pageLabel)?function(n){return e.$parent.$eval(t.pageLabel,{$page:n})}:angular.identity;e.boundaryLinks=angular.isDefined(t.boundaryLinks)?e.$parent.$eval(t.boundaryLinks):r.boundaryLinks,e.directionLinks=angular.isDefined(t.directionLinks)?e.$parent.$eval(t.directionLinks):r.directionLinks,t.$set("role","menu"),i.create(this,e,t),t.maxSize&&o._watchers.push(e.$parent.$watch(n(t.maxSize),function(e){l=parseInt(e,10),o.render()}));var p=this.render;this.render=function(){p(),e.page>0&&e.page<=e.totalPages&&(e.pages=s(e.page,e.totalPages))}}]).constant("uibPaginationConfig",{itemsPerPage:10,boundaryLinks:!1,boundaryLinkNumbers:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0,forceEllipses:!1}).directive("uibPagination",["$parse","uibPaginationConfig",function(e,t){return{scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["uibPagination","?ngModel"],restrict:"A",controller:"UibPaginationController",controllerAs:"pagination",templateUrl:function(e,t){return t.templateUrl||"uib/template/pagination/pagination.html"},link:function(e,n,i,r){n.addClass("pagination");var a=r[0],s=r[1];s&&a.init(s,t)}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.stackedMap"]).provider("$uibTooltip",function(){function e(e){var t=/[A-Z]/g,n="-";return e.replace(t,function(e,t){return(t?n:"")+e.toLowerCase()})}var t={placement:"top",placementClassPrefix:"",animation:!0,popupDelay:0,popupCloseDelay:0,useContentExp:!1},n={mouseenter:"mouseleave",click:"click",outsideClick:"outsideClick",focus:"blur",none:""},i={};this.options=function(e){angular.extend(i,e)},this.setTriggers=function(e){angular.extend(n,e)},this.$get=["$window","$compile","$timeout","$document","$uibPosition","$interpolate","$rootScope","$parse","$$stackedMap",function(r,a,s,o,l,u,c,d,h){function p(e){if(27===e.which){var t=m.top();t&&(t.value.close(),t=null)}}var m=h.createNew();return o.on("keyup",p),c.$on("$destroy",function(){o.off("keyup",p)}),function(r,c,h,p){function f(e){var t=(e||p.trigger||h).split(" "),i=t.map(function(e){return n[e]||e});return{show:t,hide:i}}p=angular.extend({},t,i,p);var g=e(r),v=u.startSymbol(),y=u.endSymbol(),_="<div "+g+'-popup uib-title="'+v+"title"+y+'" '+(p.useContentExp?'content-exp="contentExp()" ':'content="'+v+"content"+y+'" ')+'origin-scope="origScope" class="uib-position-measure '+c+'" tooltip-animation-class="fade"uib-tooltip-classes ng-class="{ in: isOpen }" ></div>';return{compile:function(e,t){var n=a(_);return function(e,t,i,a){function u(){z.isOpen?g():h()}function h(){R&&!e.$eval(i[c+"Enable"])||(b(),w(),z.popupDelay?E||(E=s(v,z.popupDelay,!1)):v())}function g(){y(),z.popupCloseDelay?I||(I=s(_,z.popupCloseDelay,!1)):_()}function v(){return y(),b(),z.content?(T(),void z.$evalAsync(function(){z.isOpen=!0,$(!0),W()})):angular.noop}function y(){E&&(s.cancel(E),E=null),H&&(s.cancel(H),H=null)}function _(){z&&z.$evalAsync(function(){z&&(z.isOpen=!1,$(!1),z.animation?Y||(Y=s(M,150,!1)):M())})}function b(){I&&(s.cancel(I),I=null),Y&&(s.cancel(Y),Y=null)}function T(){C||(A=z.$new(),C=n(A,function(e){P?o.find("body").append(e):t.after(e)}),m.add(z,{close:_}),D())}function M(){y(),b(),k(),C&&(C.remove(),C=null,O&&s.cancel(O)),m.remove(z),A&&(A.$destroy(),A=null)}function w(){z.title=i[c+"Title"],B?z.content=B(e):z.content=i[r],z.popupClass=i[c+"Class"],z.placement=angular.isDefined(i[c+"Placement"])?i[c+"Placement"]:p.placement;var t=l.parsePlacement(z.placement);N=t[1]?t[0]+"-"+t[1]:t[0];var n=parseInt(i[c+"PopupDelay"],10),a=parseInt(i[c+"PopupCloseDelay"],10);z.popupDelay=isNaN(n)?p.popupDelay:n,z.popupCloseDelay=isNaN(a)?p.popupCloseDelay:a}function $(t){V&&angular.isFunction(V.assign)&&V.assign(e,t)}function D(){U.length=0,B?(U.push(e.$watch(B,function(e){z.content=e,!e&&z.isOpen&&_()})),U.push(A.$watch(function(){F||(F=!0,A.$$postDigest(function(){F=!1,z&&z.isOpen&&W()}))}))):U.push(i.$observe(r,function(e){z.content=e,!e&&z.isOpen?_():W()})),U.push(i.$observe(c+"Title",function(e){z.title=e,z.isOpen&&W()})),U.push(i.$observe(c+"Placement",function(e){z.placement=e?e:p.placement,z.isOpen&&W()}))}function k(){U.length&&(angular.forEach(U,function(e){e()}),U.length=0)}function L(e){z&&z.isOpen&&C&&(t[0].contains(e.target)||C[0].contains(e.target)||g())}function x(e){27===e.which&&g()}function S(){var n=[],r=[],a=e.$eval(i[c+"Trigger"]);J(),angular.isObject(a)?(Object.keys(a).forEach(function(e){n.push(e),r.push(a[e])}),j={show:n,hide:r}):j=f(a),"none"!==j.show&&j.show.forEach(function(e,n){"outsideClick"===e?(t.on("click",u),o.on("click",L)):e===j.hide[n]?t.on(e,u):e&&(t.on(e,h),t.on(j.hide[n],g)),t.on("keypress",x)})}var C,A,Y,E,I,H,O,N,P=!!angular.isDefined(p.appendToBody)&&p.appendToBody,j=f(void 0),R=angular.isDefined(i[c+"Enable"]),z=e.$new(!0),F=!1,V=!!angular.isDefined(i[c+"IsOpen"])&&d(i[c+"IsOpen"]),B=!!p.useContentExp&&d(i[r]),U=[],W=function(){C&&C.html()&&(H||(H=s(function(){var e=l.positionElements(t,C,z.placement,P),n=angular.isDefined(C.offsetHeight)?C.offsetHeight:C.prop("offsetHeight"),i=P?l.offset(t):l.position(t);C.css({top:e.top+"px",left:e.left+"px"});var r=e.placement.split("-");C.hasClass(r[0])||(C.removeClass(N.split("-")[0]),C.addClass(r[0])),C.hasClass(p.placementClassPrefix+e.placement)||(C.removeClass(p.placementClassPrefix+N),C.addClass(p.placementClassPrefix+e.placement)),O=s(function(){var e=angular.isDefined(C.offsetHeight)?C.offsetHeight:C.prop("offsetHeight"),t=l.adjustTop(r,i,n,e);t&&C.css(t),O=null},0,!1),C.hasClass("uib-position-measure")?(l.positionArrow(C,e.placement),C.removeClass("uib-position-measure")):N!==e.placement&&l.positionArrow(C,e.placement),N=e.placement,H=null},0,!1)))};z.origScope=e,z.isOpen=!1,z.contentExp=function(){return z.content},i.$observe("disabled",function(e){e&&y(),e&&z.isOpen&&_()}),V&&e.$watch(V,function(e){z&&!e===z.isOpen&&u()});var J=function(){j.show.forEach(function(e){"outsideClick"===e?t.off("click",u):(t.off(e,h),t.off(e,u)),t.off("keypress",x)}),j.hide.forEach(function(e){"outsideClick"===e?o.off("click",L):t.off(e,g)})};S();var q=e.$eval(i[c+"Animation"]);z.animation=angular.isDefined(q)?!!q:p.animation;var G,K=c+"AppendToBody";G=K in i&&void 0===i[K]||e.$eval(i[K]),P=angular.isDefined(G)?G:P,e.$on("$destroy",function(){J(),M(),z=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(e,t,n,i){return{link:function(r,a,s){var o,l,u,c=r.$eval(s.tooltipTemplateTranscludeScope),d=0,h=function(){l&&(l.remove(),l=null),o&&(o.$destroy(),o=null),u&&(e.leave(u).then(function(){l=null}),l=u,u=null)};r.$watch(t.parseAsResourceUrl(s.uibTooltipTemplateTransclude),function(t){var s=++d;t?(i(t,!0).then(function(i){if(s===d){var r=c.$new(),l=i,p=n(l)(r,function(t){h(),e.enter(t,a)});o=r,u=p,o.$emit("$includeContentLoaded",t)}},function(){s===d&&(h(),r.$emit("$includeContentError",t))}),r.$emit("$includeContentRequested",t)):h()}),r.$on("$destroy",h)}}}]).directive("uibTooltipClasses",["$uibPosition",function(e){return{restrict:"A",link:function(t,n,i){if(t.placement){var r=e.parsePlacement(t.placement);n.addClass(r[0])}t.popupClass&&n.addClass(t.popupClass),t.animation&&n.addClass(i.tooltipAnimationClass)}}}]).directive("uibTooltipPopup",function(){return{restrict:"A",scope:{content:"@"},templateUrl:"uib/template/tooltip/tooltip-popup.html"}}).directive("uibTooltip",["$uibTooltip",function(e){return e("uibTooltip","tooltip","mouseenter")}]).directive("uibTooltipTemplatePopup",function(){return{restrict:"A",scope:{contentExp:"&",originScope:"&"},templateUrl:"uib/template/tooltip/tooltip-template-popup.html"}}).directive("uibTooltipTemplate",["$uibTooltip",function(e){return e("uibTooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("uibTooltipHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&"},templateUrl:"uib/template/tooltip/tooltip-html-popup.html"}}).directive("uibTooltipHtml",["$uibTooltip",function(e){return e("uibTooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("uibPopoverTemplatePopup",function(){return{restrict:"A",scope:{uibTitle:"@",contentExp:"&",originScope:"&"},templateUrl:"uib/template/popover/popover-template.html"}}).directive("uibPopoverTemplate",["$uibTooltip",function(e){return e("uibPopoverTemplate","popover","click",{useContentExp:!0})}]).directive("uibPopoverHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&",uibTitle:"@"},templateUrl:"uib/template/popover/popover-html.html"}}).directive("uibPopoverHtml",["$uibTooltip",function(e){return e("uibPopoverHtml","popover","click",{useContentExp:!0})}]).directive("uibPopoverPopup",function(){return{restrict:"A",scope:{uibTitle:"@",content:"@"},templateUrl:"uib/template/popover/popover.html"}}).directive("uibPopover",["$uibTooltip",function(e){return e("uibPopover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("uibProgressConfig",{animate:!0,max:100}).controller("UibProgressController",["$scope","$attrs","uibProgressConfig",function(e,t,n){function i(){return angular.isDefined(e.maxParam)?e.maxParam:n.max}var r=this,a=angular.isDefined(t.animate)?e.$parent.$eval(t.animate):n.animate;this.bars=[],e.max=i(),this.addBar=function(e,t,n){a||t.css({transition:"none"}),this.bars.push(e),e.max=i(),e.title=n&&angular.isDefined(n.title)?n.title:"progressbar",e.$watch("value",function(t){e.recalculatePercentage()}),e.recalculatePercentage=function(){var t=r.bars.reduce(function(e,t){return t.percent=+(100*t.value/t.max).toFixed(2),e+t.percent},0);t>100&&(e.percent-=t-100)},e.$on("$destroy",function(){t=null,r.removeBar(e)})},this.removeBar=function(e){this.bars.splice(this.bars.indexOf(e),1),this.bars.forEach(function(e){e.recalculatePercentage()})},e.$watch("maxParam",function(e){r.bars.forEach(function(e){e.max=i(),e.recalculatePercentage()})})}]).directive("uibProgress",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",require:"uibProgress",scope:{maxParam:"=?max"},templateUrl:"uib/template/progressbar/progress.html"}}).directive("uibBar",function(){return{replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"uib/template/progressbar/bar.html",link:function(e,t,n,i){i.addBar(e,t,n)}}}).directive("uibProgressbar",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",scope:{value:"=",maxParam:"=?max",type:"@"},templateUrl:"uib/template/progressbar/progressbar.html",link:function(e,t,n,i){i.addBar(e,angular.element(t.children()[0]),{title:n.title})}}}),angular.module("ui.bootstrap.rating",[]).constant("uibRatingConfig",{max:5,stateOn:null,stateOff:null,enableReset:!0,titles:["one","two","three","four","five"]}).controller("UibRatingController",["$scope","$attrs","uibRatingConfig",function(e,t,n){var i={$setViewValue:angular.noop},r=this;this.init=function(r){i=r,i.$render=this.render,i.$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,this.enableReset=angular.isDefined(t.enableReset)?e.$parent.$eval(t.enableReset):n.enableReset;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 s=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(s)},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){if(!e.readonly&&t>=0&&t<=e.range.length){var n=r.enableReset&&i.$viewValue===t?0:t;i.$setViewValue(n),i.$render()}},e.enter=function(t){e.readonly||(e.value=t),e.onHover({value:t})},e.reset=function(){e.value=i.$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=i.$viewValue,e.title=r.getTitle(e.value-1)}}]).directive("uibRating",function(){return{require:["uibRating","ngModel"],restrict:"A",scope:{readonly:"=?readOnly",onHover:"&",onLeave:"&"},controller:"UibRatingController",templateUrl:"uib/template/rating/rating.html",link:function(e,t,n,i){var r=i[0],a=i[1];r.init(a)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(e){function t(e){for(var t=0;t<i.tabs.length;t++)if(i.tabs[t].index===e)return t}var n,i=this;i.tabs=[],i.select=function(e,a){if(!r){var s=t(n),o=i.tabs[s];if(o){if(o.tab.onDeselect({$event:a,$selectedIndex:e}),a&&a.isDefaultPrevented())return;o.tab.active=!1}var l=i.tabs[e];l?(l.tab.onSelect({$event:a}),l.tab.active=!0,i.active=l.index,n=l.index):!l&&angular.isDefined(n)&&(i.active=null,n=null)}},i.addTab=function(e){if(i.tabs.push({tab:e,index:e.index}),i.tabs.sort(function(e,t){return e.index>t.index?1:e.index<t.index?-1:0}),e.index===i.active||!angular.isDefined(i.active)&&1===i.tabs.length){var n=t(e.index);i.select(n)}},i.removeTab=function(e){for(var t,n=0;n<i.tabs.length;n++)if(i.tabs[n].tab===e){t=n;break}if(i.tabs[t].index===i.active){var r=t===i.tabs.length-1?t-1:t+1%i.tabs.length;i.select(r)}i.tabs.splice(t,1)},e.$watch("tabset.active",function(e){angular.isDefined(e)&&e!==n&&i.select(t(e))});var r;e.$on("$destroy",function(){r=!0})}]).directive("uibTabset",function(){return{transclude:!0,replace:!0,scope:{},bindToController:{active:"=?",type:"@"},controller:"UibTabsetController",controllerAs:"tabset",templateUrl:function(e,t){return t.templateUrl||"uib/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("uibTab",["$parse",function(e){return{require:"^uibTabset",replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/tabs/tab.html"},transclude:!0,scope:{heading:"@",index:"=?",classes:"@?",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},controllerAs:"tab",link:function(t,n,i,r,a){t.disabled=!1,i.disable&&t.$parent.$watch(e(i.disable),function(e){t.disabled=!!e}),angular.isUndefined(i.index)&&(r.tabs&&r.tabs.length?t.index=Math.max.apply(null,r.tabs.map(function(e){return e.index}))+1:t.index=0),angular.isUndefined(i.classes)&&(t.classes=""),t.select=function(e){if(!t.disabled){for(var n,i=0;i<r.tabs.length;i++)if(r.tabs[i].tab===t){n=i;break}r.select(n,e)}},r.addTab(t),t.$on("$destroy",function(){r.removeTab(t)}),t.$transcludeFn=a}}}]).directive("uibTabHeadingTransclude",function(){return{restrict:"A",require:"^uibTab",link:function(e,t){e.$watch("headingElement",function(e){e&&(t.html(""),t.append(e))})}}}).directive("uibTabContentTransclude",function(){function e(e){return e.tagName&&(e.hasAttribute("uib-tab-heading")||e.hasAttribute("data-uib-tab-heading")||e.hasAttribute("x-uib-tab-heading")||"uib-tab-heading"===e.tagName.toLowerCase()||"data-uib-tab-heading"===e.tagName.toLowerCase()||"x-uib-tab-heading"===e.tagName.toLowerCase()||"uib:tab-heading"===e.tagName.toLowerCase())}return{restrict:"A",require:"^uibTabset",link:function(t,n,i){var r=t.$eval(i.uibTabContentTransclude).tab;r.$transcludeFn(r.$parent,function(t){angular.forEach(t,function(t){e(t)?r.headingElement=t:n.append(t)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("uibTimepickerConfig",{hourStep:1,minuteStep:1,secondStep:1,showMeridian:!0,showSeconds:!1,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0,templateUrl:"uib/template/timepicker/timepicker.html"}).controller("UibTimepickerController",["$scope","$element","$attrs","$parse","$log","$locale","uibTimepickerConfig",function(e,t,n,i,r,a,s){function o(){var t=+e.hours,n=e.showMeridian?t>0&&t<13:t>=0&&t<24;if(n&&""!==e.hours)return e.showMeridian&&(12===t&&(t=0),e.meridian===$[1]&&(t+=12)),t}function l(){var t=+e.minutes,n=t>=0&&t<60;if(n&&""!==e.minutes)return t}function u(){var t=+e.seconds;return t>=0&&t<60?t:void 0}function c(e,t){return null===e?"":angular.isDefined(e)&&e.toString().length<2&&!t?"0"+e:e.toString()}function d(e){h(),w.$setViewValue(new Date(T)),p(e)}function h(){y&&y.$setValidity("hours",!0),_&&_.$setValidity("minutes",!0),b&&b.$setValidity("seconds",!0),w.$setValidity("time",!0),e.invalidHours=!1,e.invalidMinutes=!1,e.invalidSeconds=!1}function p(t){if(w.$modelValue){var n=T.getHours(),i=T.getMinutes(),r=T.getSeconds();e.showMeridian&&(n=0===n||12===n?12:n%12),e.hours="h"===t?n:c(n,!D),"m"!==t&&(e.minutes=c(i)),e.meridian=T.getHours()<12?$[0]:$[1],"s"!==t&&(e.seconds=c(r)),e.meridian=T.getHours()<12?$[0]:$[1]}else e.hours=null,e.minutes=null,e.seconds=null,e.meridian=$[0]}function m(e){T=g(T,e),d()}function f(e,t){return g(e,60*t)}function g(e,t){var n=new Date(e.getTime()+1e3*t),i=new Date(e);return i.setHours(n.getHours(),n.getMinutes(),n.getSeconds()),i}function v(){return(null===e.hours||""===e.hours)&&(null===e.minutes||""===e.minutes)&&(!e.showSeconds||e.showSeconds&&(null===e.seconds||""===e.seconds))}var y,_,b,T=new Date,M=[],w={$setViewValue:angular.noop},$=angular.isDefined(n.meridians)?e.$parent.$eval(n.meridians):s.meridians||a.DATETIME_FORMATS.AMPMS,D=!angular.isDefined(n.padHours)||e.$parent.$eval(n.padHours);e.tabindex=angular.isDefined(n.tabindex)?n.tabindex:0,t.removeAttr("tabindex"),this.init=function(t,i){w=t,w.$render=this.render,w.$formatters.unshift(function(e){return e?new Date(e):null});var r=i.eq(0),a=i.eq(1),o=i.eq(2);y=r.controller("ngModel"),_=a.controller("ngModel"),b=o.controller("ngModel");var l=angular.isDefined(n.mousewheel)?e.$parent.$eval(n.mousewheel):s.mousewheel;l&&this.setupMousewheelEvents(r,a,o);var u=angular.isDefined(n.arrowkeys)?e.$parent.$eval(n.arrowkeys):s.arrowkeys;u&&this.setupArrowkeyEvents(r,a,o),e.readonlyInput=angular.isDefined(n.readonlyInput)?e.$parent.$eval(n.readonlyInput):s.readonlyInput,this.setupInputEvents(r,a,o)};var k=s.hourStep;n.hourStep&&M.push(e.$parent.$watch(i(n.hourStep),function(e){k=+e}));var L=s.minuteStep;n.minuteStep&&M.push(e.$parent.$watch(i(n.minuteStep),function(e){L=+e}));var x;M.push(e.$parent.$watch(i(n.min),function(e){var t=new Date(e);x=isNaN(t)?void 0:t}));var S;M.push(e.$parent.$watch(i(n.max),function(e){var t=new Date(e);S=isNaN(t)?void 0:t}));var C=!1;n.ngDisabled&&M.push(e.$parent.$watch(i(n.ngDisabled),function(e){C=e})),e.noIncrementHours=function(){var e=f(T,60*k);return C||e>S||e<T&&e<x},e.noDecrementHours=function(){var e=f(T,60*-k);return C||e<x||e>T&&e>S},e.noIncrementMinutes=function(){var e=f(T,L);return C||e>S||e<T&&e<x},e.noDecrementMinutes=function(){var e=f(T,-L);return C||e<x||e>T&&e>S},e.noIncrementSeconds=function(){var e=g(T,A);return C||e>S||e<T&&e<x},e.noDecrementSeconds=function(){var e=g(T,-A);return C||e<x||e>T&&e>S},e.noToggleMeridian=function(){return T.getHours()<12?C||f(T,720)>S:C||f(T,-720)<x};var A=s.secondStep;n.secondStep&&M.push(e.$parent.$watch(i(n.secondStep),function(e){A=+e})),e.showSeconds=s.showSeconds,n.showSeconds&&M.push(e.$parent.$watch(i(n.showSeconds),function(t){e.showSeconds=!!t})),e.showMeridian=s.showMeridian,n.showMeridian&&M.push(e.$parent.$watch(i(n.showMeridian),function(t){if(e.showMeridian=!!t,w.$error.time){var n=o(),i=l();angular.isDefined(n)&&angular.isDefined(i)&&(T.setHours(n),d())}else p()})),this.setupMousewheelEvents=function(t,n,i){var r=function(e){e.originalEvent&&(e=e.originalEvent);var t=e.wheelDelta?e.wheelDelta:-e.deltaY;return e.detail||t>0};t.on("mousewheel wheel",function(t){C||e.$apply(r(t)?e.incrementHours():e.decrementHours()),t.preventDefault()}),n.on("mousewheel wheel",function(t){C||e.$apply(r(t)?e.incrementMinutes():e.decrementMinutes()),t.preventDefault()}),i.on("mousewheel wheel",function(t){C||e.$apply(r(t)?e.incrementSeconds():e.decrementSeconds()),t.preventDefault()})},this.setupArrowkeyEvents=function(t,n,i){t.on("keydown",function(t){C||(38===t.which?(t.preventDefault(),e.incrementHours(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementHours(),e.$apply()))}),n.on("keydown",function(t){C||(38===t.which?(t.preventDefault(),e.incrementMinutes(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementMinutes(),e.$apply()))}),i.on("keydown",function(t){C||(38===t.which?(t.preventDefault(),e.incrementSeconds(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementSeconds(),e.$apply()))})},this.setupInputEvents=function(t,n,i){if(e.readonlyInput)return e.updateHours=angular.noop,e.updateMinutes=angular.noop,void(e.updateSeconds=angular.noop);var r=function(t,n,i){w.$setViewValue(null),w.$setValidity("time",!1),angular.isDefined(t)&&(e.invalidHours=t,y&&y.$setValidity("hours",!1)),angular.isDefined(n)&&(e.invalidMinutes=n,_&&_.$setValidity("minutes",!1)),angular.isDefined(i)&&(e.invalidSeconds=i,b&&b.$setValidity("seconds",!1))};e.updateHours=function(){var e=o(),t=l();w.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(T.setHours(e),T.setMinutes(t),T<x||T>S?r(!0):d("h")):r(!0)},t.on("blur",function(t){w.$setTouched(),v()?h():null===e.hours||""===e.hours?r(!0):!e.invalidHours&&e.hours<10&&e.$apply(function(){e.hours=c(e.hours,!D)})}),e.updateMinutes=function(){var e=l(),t=o();w.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(T.setHours(t),T.setMinutes(e),T<x||T>S?r(void 0,!0):d("m")):r(void 0,!0)},n.on("blur",function(t){w.$setTouched(),v()?h():null===e.minutes?r(void 0,!0):!e.invalidMinutes&&e.minutes<10&&e.$apply(function(){e.minutes=c(e.minutes)})}),e.updateSeconds=function(){var e=u();w.$setDirty(),angular.isDefined(e)?(T.setSeconds(e),d("s")):r(void 0,void 0,!0)},i.on("blur",function(t){v()?h():!e.invalidSeconds&&e.seconds<10&&e.$apply(function(){e.seconds=c(e.seconds)})})},this.render=function(){var t=w.$viewValue;isNaN(t)?(w.$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&&(T=t),T<x||T>S?(w.$setValidity("time",!1),e.invalidHours=!0,e.invalidMinutes=!0):h(),p())},e.showSpinners=angular.isDefined(n.showSpinners)?e.$parent.$eval(n.showSpinners):s.showSpinners,e.incrementHours=function(){e.noIncrementHours()||m(60*k*60)},e.decrementHours=function(){e.noDecrementHours()||m(60*-k*60)},e.incrementMinutes=function(){e.noIncrementMinutes()||m(60*L)},e.decrementMinutes=function(){e.noDecrementMinutes()||m(60*-L)},e.incrementSeconds=function(){e.noIncrementSeconds()||m(A)},e.decrementSeconds=function(){e.noDecrementSeconds()||m(-A)},e.toggleMeridian=function(){var t=l(),n=o();e.noToggleMeridian()||(angular.isDefined(t)&&angular.isDefined(n)?m(720*(T.getHours()<12?60:-60)):e.meridian=e.meridian===$[0]?$[1]:$[0])},e.blur=function(){w.$setTouched()},e.$on("$destroy",function(){for(;M.length;)M.shift()()})}]).directive("uibTimepicker",["uibTimepickerConfig",function(e){return{require:["uibTimepicker","?^ngModel"],restrict:"A",controller:"UibTimepickerController",controllerAs:"timepicker",scope:{},templateUrl:function(t,n){return n.templateUrl||e.templateUrl},link:function(e,t,n,i){var r=i[0],a=i[1];a&&r.init(a,t.find("input"))}}}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.debounce","ui.bootstrap.position"]).factory("uibTypeaheadParser",["$parse",function(e){var t=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(n){var i=n.match(t);if(!i)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+n+'".');return{itemName:i[3],source:e(i[4]),viewMapper:e(i[2]||i[1]),modelMapper:e(i[1])}}}}]).controller("UibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$$debounce","$uibPosition","uibTypeaheadParser",function(e,t,n,i,r,a,s,o,l,u,c,d,h){function p(){z.moveInProgress||(z.moveInProgress=!0,z.$digest()),Q()}function m(){z.position=A?d.offset(t):d.position(t),z.position.top+=t.prop("offsetHeight")}function f(e){var t;return angular.version.minor<6?(t=e.$options||{},t.getOption=function(e){return t[e]}):t=e.$options,t}var g,v,y=[9,13,27,38,40],_=200,b=e.$eval(n.typeaheadMinLength);b||0===b||(b=1),e.$watch(n.typeaheadMinLength,function(e){b=e||0===e?e:1});var T=e.$eval(n.typeaheadWaitMs)||0,M=e.$eval(n.typeaheadEditable)!==!1;e.$watch(n.typeaheadEditable,function(e){M=e!==!1});var w,$,D=r(n.typeaheadLoading).assign||angular.noop,k=n.typeaheadShouldSelect?r(n.typeaheadShouldSelect):function(e,t){var n=t.$event;return 13===n.which||9===n.which},L=r(n.typeaheadOnSelect),x=!!angular.isDefined(n.typeaheadSelectOnBlur)&&e.$eval(n.typeaheadSelectOnBlur),S=r(n.typeaheadNoResults).assign||angular.noop,C=n.typeaheadInputFormatter?r(n.typeaheadInputFormatter):void 0,A=!!n.typeaheadAppendToBody&&e.$eval(n.typeaheadAppendToBody),Y=n.typeaheadAppendTo?e.$eval(n.typeaheadAppendTo):null,E=e.$eval(n.typeaheadFocusFirst)!==!1,I=!!n.typeaheadSelectOnExact&&e.$eval(n.typeaheadSelectOnExact),H=r(n.typeaheadIsOpen).assign||angular.noop,O=e.$eval(n.typeaheadShowHint)||!1,N=r(n.ngModel),P=r(n.ngModel+"($$$p)"),j=function(t,n){return angular.isFunction(N(e))&&v.getOption("getterSetter")?P(t,{$$$p:n}):N.assign(t,n)},R=h.parse(n.uibTypeahead),z=e.$new(),F=e.$on("$destroy",function(){z.$destroy()});z.$on("$destroy",F);var V="typeahead-"+z.$id+"-"+Math.floor(1e4*Math.random());t.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":V});var B,U;O&&(B=angular.element("<div></div>"),B.css("position","relative"),t.after(B),U=t.clone(),U.attr("placeholder",""),U.attr("tabindex","-1"),U.val(""),U.css({position:"absolute",top:"0px",left:"0px","border-color":"transparent","box-shadow":"none",opacity:1,background:"none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255)",color:"#999"}),t.css({position:"relative","vertical-align":"top","background-color":"transparent"}),U.attr("id")&&U.removeAttr("id"),B.append(U),U.after(t));var W=angular.element("<div uib-typeahead-popup></div>");W.attr({id:V,matches:"matches",active:"activeIdx",select:"select(activeIdx, evt)","move-in-progress":"moveInProgress",query:"query",position:"position","assign-is-open":"assignIsOpen(isOpen)",debounce:"debounceUpdate"}),angular.isDefined(n.typeaheadTemplateUrl)&&W.attr("template-url",n.typeaheadTemplateUrl),angular.isDefined(n.typeaheadPopupTemplateUrl)&&W.attr("popup-template-url",n.typeaheadPopupTemplateUrl);var J=function(){O&&U.val("")},q=function(){z.matches=[],z.activeIdx=-1,t.attr("aria-expanded",!1),J()},G=function(e){return V+"-option-"+e};z.$watch("activeIdx",function(e){e<0?t.removeAttr("aria-activedescendant"):t.attr("aria-activedescendant",G(e))});var K=function(e,t){return!!(z.matches.length>t&&e)&&e.toUpperCase()===z.matches[t].label.toUpperCase()},Z=function(n,i){var r={$viewValue:n};D(e,!0),S(e,!1),a.when(R.source(e,r)).then(function(a){var s=n===g.$viewValue;if(s&&w)if(a&&a.length>0){z.activeIdx=E?0:-1,S(e,!1),z.matches.length=0;for(var o=0;o<a.length;o++)r[R.itemName]=a[o],z.matches.push({id:G(o),label:R.viewMapper(z,r),model:a[o]});if(z.query=n,m(),t.attr("aria-expanded",!0),I&&1===z.matches.length&&K(n,0)&&(angular.isNumber(z.debounceUpdate)||angular.isObject(z.debounceUpdate)?c(function(){z.select(0,i)},angular.isNumber(z.debounceUpdate)?z.debounceUpdate:z.debounceUpdate.default):z.select(0,i)),O){var l=z.matches[0].label;angular.isString(n)&&n.length>0&&l.slice(0,n.length).toUpperCase()===n.toUpperCase()?U.val(n+l.slice(n.length)):U.val("")}}else q(),S(e,!0);s&&D(e,!1)},function(){q(),D(e,!1),S(e,!0)})};A&&(angular.element(l).on("resize",p),o.find("body").on("scroll",p));var Q=c(function(){z.matches.length&&m(),z.moveInProgress=!1},_);z.moveInProgress=!1,z.query=void 0;var X,ee=function(e){X=s(function(){Z(e)},T)},te=function(){X&&s.cancel(X)};q(),z.assignIsOpen=function(t){H(e,t)},z.select=function(i,r){var a,o,l={};$=!0,l[R.itemName]=o=z.matches[i].model,a=R.modelMapper(e,l),j(e,a),g.$setValidity("editable",!0),g.$setValidity("parse",!0),L(e,{$item:o,$model:a,$label:R.viewMapper(e,l),$event:r}),q(),z.$eval(n.typeaheadFocusOnSelect)!==!1&&s(function(){t[0].focus()},0,!1)},t.on("keydown",function(t){if(0!==z.matches.length&&y.indexOf(t.which)!==-1){var n=k(e,{$event:t});if(z.activeIdx===-1&&n||9===t.which&&t.shiftKey)return q(),void z.$digest();t.preventDefault();var i;switch(t.which){case 27:t.stopPropagation(),q(),e.$digest();break;case 38:z.activeIdx=(z.activeIdx>0?z.activeIdx:z.matches.length)-1,z.$digest(),i=W[0].querySelectorAll(".uib-typeahead-match")[z.activeIdx],i.parentNode.scrollTop=i.offsetTop;break;case 40:z.activeIdx=(z.activeIdx+1)%z.matches.length,z.$digest(),i=W[0].querySelectorAll(".uib-typeahead-match")[z.activeIdx],i.parentNode.scrollTop=i.offsetTop;break;default:n&&z.$apply(function(){angular.isNumber(z.debounceUpdate)||angular.isObject(z.debounceUpdate)?c(function(){z.select(z.activeIdx,t)},angular.isNumber(z.debounceUpdate)?z.debounceUpdate:z.debounceUpdate.default):z.select(z.activeIdx,t)})}}}),t.on("focus",function(e){w=!0,0!==b||g.$viewValue||s(function(){Z(g.$viewValue,e)},0)}),t.on("blur",function(e){x&&z.matches.length&&z.activeIdx!==-1&&!$&&($=!0,z.$apply(function(){angular.isObject(z.debounceUpdate)&&angular.isNumber(z.debounceUpdate.blur)?c(function(){z.select(z.activeIdx,e)},z.debounceUpdate.blur):z.select(z.activeIdx,e)})),!M&&g.$error.editable&&(g.$setViewValue(),z.$apply(function(){g.$setValidity("editable",!0),g.$setValidity("parse",!0)}),t.val("")),w=!1,$=!1});var ne=function(n){t[0]!==n.target&&3!==n.which&&0!==z.matches.length&&(q(),u.$$phase||e.$digest())};o.on("click",ne),e.$on("$destroy",function(){o.off("click",ne),(A||Y)&&ie.remove(),A&&(angular.element(l).off("resize",p),o.find("body").off("scroll",p)),W.remove(),O&&B.remove()});var ie=i(W)(z);A?o.find("body").append(ie):Y?angular.element(Y).eq(0).append(ie):t.after(ie),this.init=function(t){g=t,v=f(g),z.debounceUpdate=r(v.getOption("debounce"))(e),g.$parsers.unshift(function(t){return w=!0,0===b||t&&t.length>=b?T>0?(te(),ee(t)):Z(t):(D(e,!1),te(),q()),M?t:t?void g.$setValidity("editable",!1):(g.$setValidity("editable",!0),null)}),g.$formatters.push(function(t){var n,i,r={};return M||g.$setValidity("editable",!0),C?(r.$model=t,C(e,r)):(r[R.itemName]=t,n=R.viewMapper(e,r),r[R.itemName]=void 0,i=R.viewMapper(e,r),n!==i?n:t)})}}]).directive("uibTypeahead",function(){return{controller:"UibTypeaheadController",require:["ngModel","uibTypeahead"],link:function(e,t,n,i){i[1].init(i[0])}}}).directive("uibTypeaheadPopup",["$$debounce",function(e){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&",assignIsOpen:"&",debounce:"&"},replace:!0,templateUrl:function(e,t){return t.popupTemplateUrl||"uib/template/typeahead/typeahead-popup.html"},link:function(t,n,i){t.templateUrl=i.templateUrl,t.isOpen=function(){var e=t.matches.length>0;return t.assignIsOpen({isOpen:e}),e},t.isActive=function(e){return t.active===e},t.selectActive=function(e){t.active=e},t.selectMatch=function(n,i){var r=t.debounce();angular.isNumber(r)||angular.isObject(r)?e(function(){t.select({activeIdx:n,evt:i})},angular.isNumber(r)?r:r.default):t.select({activeIdx:n,evt:i})}}}}]).directive("uibTypeaheadMatch",["$templateRequest","$compile","$parse",function(e,t,n){return{scope:{index:"=",match:"=",query:"="},link:function(i,r,a){var s=n(a.templateUrl)(i.$parent)||"uib/template/typeahead/typeahead-match.html";e(s).then(function(e){var n=angular.element(e.trim());r.replaceWith(n),t(n)(i)})}}}]).filter("uibTypeaheadHighlight",["$sce","$injector","$log",function(e,t,n){function i(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function r(e){return/<.*>/g.test(e)}var a;return a=t.has("$sanitize"),function(t,s){return!a&&r(t)&&n.warn("Unsafe use of typeahead please use ngSanitize"),t=s?(""+t).replace(new RegExp(i(s),"gi"),"<strong>$&</strong>"):t,a||(t=e.trustAsHtml(t)),t}}]),angular.module("uib/template/accordion/accordion-group.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion-group.html",'<div role="tab" id="{{::headingId}}" aria-selected="{{isOpen}}" class="panel-heading" ng-keypress="toggleOpen($event)">\n <h4 class="panel-title">\n <a role="button" data-toggle="collapse" href aria-expanded="{{isOpen}}" aria-controls="{{::panelId}}" tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" uib-accordion-transclude="heading" ng-disabled="isDisabled" uib-tabindex-toggle><span uib-accordion-header ng-class="{\'text-muted\': isDisabled}">{{heading}}</span></a>\n </h4>\n</div>\n<div id="{{::panelId}}" aria-labelledby="{{::headingId}}" aria-hidden="{{!isOpen}}" role="tabpanel" class="panel-collapse collapse" uib-collapse="!isOpen">\n <div class="panel-body" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/accordion/accordion.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion.html",'<div role="tablist" class="panel-group" ng-transclude></div>')}]),angular.module("uib/template/alert/alert.html",[]).run(["$templateCache",function(e){e.put("uib/template/alert/alert.html",'<button ng-show="closeable" type="button" class="close" ng-click="close({$event: $event})">\n <span aria-hidden="true">×</span>\n <span class="sr-only">Close</span>\n</button>\n<div ng-transclude></div>\n')}]),angular.module("uib/template/carousel/carousel.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/carousel.html",'<div class="carousel-inner" ng-transclude></div>\n<a role="button" href class="left carousel-control" ng-click="prev()" ng-class="{ disabled: isPrevDisabled() }" ng-show="slides.length > 1">\n <span aria-hidden="true" class="glyphicon glyphicon-chevron-left"></span>\n <span class="sr-only">previous</span>\n</a>\n<a role="button" href class="right carousel-control" ng-click="next()" ng-class="{ disabled: isNextDisabled() }" ng-show="slides.length > 1">\n <span aria-hidden="true" class="glyphicon glyphicon-chevron-right"></span>\n <span class="sr-only">next</span>\n</a>\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)">\n <span class="sr-only">slide {{ $index + 1 }} of {{ slides.length }}<span ng-if="isActive(slide)">, currently active</span></span>\n </li>\n</ol>\n')}]),angular.module("uib/template/carousel/slide.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/slide.html",'<div class="text-center" ng-transclude></div>\n')}]),angular.module("uib/template/datepicker/datepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/datepicker.html",'<div ng-switch="datepickerMode">\n <div uib-daypicker ng-switch-when="day" tabindex="0" class="uib-daypicker"></div>\n <div uib-monthpicker ng-switch-when="month" tabindex="0" class="uib-monthpicker"></div>\n <div uib-yearpicker ng-switch-when="year" tabindex="0" class="uib-yearpicker"></div>\n</div>\n')}]),angular.module("uib/template/datepicker/day.html",[]).run(["$templateCache",function(e){e.put("uib/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 uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></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 uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></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 class="uib-weeks" ng-repeat="row in rows track by $index" role="row">\n <td ng-if="showWeeks" class="text-center h6"><em>{{ weekNumbers[$index] }}</em></td>\n <td ng-repeat="dt in row" class="uib-day text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default btn-sm"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n 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("uib/template/datepicker/month.html",[]).run(["$templateCache",function(e){e.put("uib/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 uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n <th colspan="{{::yearHeaderColspan}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></i></button></th>\n </tr>\n </thead>\n <tbody>\n <tr class="uib-months" ng-repeat="row in rows track by $index" role="row">\n <td ng-repeat="dt in row" class="uib-month text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/year.html",[]).run(["$templateCache",function(e){e.put("uib/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 uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n <th colspan="{{::columns - 2}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></button></th>\n </tr>\n </thead>\n <tbody>\n <tr class="uib-years" ng-repeat="row in rows track by $index" role="row">\n <td ng-repeat="dt in row" class="uib-year text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/datepickerPopup/popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepickerPopup/popup.html",'<ul role="presentation" class="uib-datepicker-popup dropdown-menu uib-position-measure" dropdown-nested ng-if="isOpen" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n <li ng-transclude></li>\n <li ng-if="showButtonBar" class="uib-button-bar">\n <span class="btn-group pull-left">\n <button type="button" class="btn btn-sm btn-info uib-datepicker-current" ng-click="select(\'today\', $event)" ng-disabled="isDisabled(\'today\')">{{ getText(\'current\') }}</button>\n <button type="button" class="btn btn-sm btn-danger uib-clear" ng-click="select(null, $event)">{{ getText(\'clear\') }}</button>\n </span>\n <button type="button" class="btn btn-sm btn-success pull-right uib-close" ng-click="close($event)">{{ getText(\'close\') }}</button>\n </li>\n</ul>\n')}]),angular.module("uib/template/modal/window.html",[]).run(["$templateCache",function(e){e.put("uib/template/modal/window.html","<div class=\"modal-dialog {{size ? 'modal-' + size : ''}}\"><div class=\"modal-content\" uib-modal-transclude></div></div>\n")}]),angular.module("uib/template/pager/pager.html",[]).run(["$templateCache",function(e){e.put("uib/template/pager/pager.html",'<li ng-class="{disabled: noPrevious()||ngDisabled, previous: align}"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li ng-class="{disabled: noNext()||ngDisabled, next: align}"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n')}]),angular.module("uib/template/pagination/pagination.html",[]).run(["$templateCache",function(e){e.put("uib/template/pagination/pagination.html",'<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-first"><a href ng-click="selectPage(1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'first\')}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-prev"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li role="menuitem" 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)" ng-disabled="ngDisabled&&!page.active" uib-tabindex-toggle>{{page.text}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-next"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-last"><a href ng-click="selectPage(totalPages, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'last\')}}</a></li>\n')}]),angular.module("uib/template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-html-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind="content"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-template-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner"\n uib-tooltip-template-transclude="contentExp()"\n tooltip-template-transclude-scope="originScope()"></div>\n')}]),angular.module("uib/template/popover/popover-html.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-html.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover-template.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-template.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content"\n uib-tooltip-template-transclude="contentExp()"\n tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content" ng-bind="content"></div>\n</div>\n')}]), angular.module("uib/template/progressbar/bar.html",[]).run(["$templateCache",function(e){e.put("uib/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}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n')}]),angular.module("uib/template/progressbar/progress.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progress.html",'<div class="progress" ng-transclude aria-labelledby="{{::title}}"></div>')}]),angular.module("uib/template/progressbar/progressbar.html",[]).run(["$templateCache",function(e){e.put("uib/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}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/rating/rating.html",[]).run(["$templateCache",function(e){e.put("uib/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}}" aria-valuetext="{{title}}">\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("uib/template/tabs/tab.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tab.html",'<li ng-class="[{active: active, disabled: disabled}, classes]" class="uib-tab nav-item">\n <a href ng-click="select($event)" class="nav-link" uib-tab-heading-transclude>{{heading}}</a>\n</li>\n')}]),angular.module("uib/template/tabs/tabset.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tabset.html",'<div>\n <ul class="nav nav-{{tabset.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 tabset.tabs"\n ng-class="{active: tabset.active === tab.index}"\n uib-tab-content-transclude="tab">\n </div>\n </div>\n</div>\n')}]),angular.module("uib/template/timepicker/timepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/timepicker/timepicker.html",'<table class="uib-timepicker">\n <tbody>\n <tr class="text-center" ng-show="::showSpinners">\n <td class="uib-increment hours"><a ng-click="incrementHours()" ng-class="{disabled: noIncrementHours()}" class="btn btn-link" ng-disabled="noIncrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td> </td>\n <td class="uib-increment minutes"><a ng-click="incrementMinutes()" ng-class="{disabled: noIncrementMinutes()}" class="btn btn-link" ng-disabled="noIncrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td ng-show="showSeconds"> </td>\n <td ng-show="showSeconds" class="uib-increment seconds"><a ng-click="incrementSeconds()" ng-class="{disabled: noIncrementSeconds()}" class="btn btn-link" ng-disabled="noIncrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td ng-show="showMeridian"></td>\n </tr>\n <tr>\n <td class="form-group uib-time hours" ng-class="{\'has-error\': invalidHours}">\n <input type="text" placeholder="HH" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementHours()" ng-blur="blur()">\n </td>\n <td class="uib-separator">:</td>\n <td class="form-group uib-time minutes" ng-class="{\'has-error\': invalidMinutes}">\n <input type="text" placeholder="MM" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementMinutes()" ng-blur="blur()">\n </td>\n <td ng-show="showSeconds" class="uib-separator">:</td>\n <td class="form-group uib-time seconds" ng-class="{\'has-error\': invalidSeconds}" ng-show="showSeconds">\n <input type="text" placeholder="SS" ng-model="seconds" ng-change="updateSeconds()" class="form-control text-center" ng-readonly="readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementSeconds()" ng-blur="blur()">\n </td>\n <td ng-show="showMeridian" class="uib-time am-pm"><button type="button" ng-class="{disabled: noToggleMeridian()}" class="btn btn-default text-center" ng-click="toggleMeridian()" ng-disabled="noToggleMeridian()" tabindex="{{::tabindex}}">{{meridian}}</button></td>\n </tr>\n <tr class="text-center" ng-show="::showSpinners">\n <td class="uib-decrement hours"><a ng-click="decrementHours()" ng-class="{disabled: noDecrementHours()}" class="btn btn-link" ng-disabled="noDecrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td> </td>\n <td class="uib-decrement minutes"><a ng-click="decrementMinutes()" ng-class="{disabled: noDecrementMinutes()}" class="btn btn-link" ng-disabled="noDecrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td ng-show="showSeconds"> </td>\n <td ng-show="showSeconds" class="uib-decrement seconds"><a ng-click="decrementSeconds()" ng-class="{disabled: noDecrementSeconds()}" class="btn btn-link" ng-disabled="noDecrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td ng-show="showMeridian"></td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-match.html",'<a href\n tabindex="-1"\n ng-bind-html="match.label | uibTypeaheadHighlight:query"\n ng-attr-title="{{match.label}}"></a>\n')}]),angular.module("uib/template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" role="listbox" aria-hidden="{{!isOpen()}}">\n <li class="uib-typeahead-match" ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index, $event)" role="option" id="{{::match.id}}">\n <div uib-typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n </li>\n</ul>\n')}]),angular.module("ui.bootstrap.carousel").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibCarouselCss&&angular.element(document).find("head").prepend('<style type="text/css">.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>'),angular.$$uibCarouselCss=!0}),angular.module("ui.bootstrap.datepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker .uib-title{width:100%;}.uib-day button,.uib-month button,.uib-year button{min-width:100%;}.uib-left,.uib-right{width:100%}</style>'),angular.$$uibDatepickerCss=!0}),angular.module("ui.bootstrap.position").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibPositionCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-position-measure{display:block !important;visibility:hidden !important;position:absolute !important;top:-9999px !important;left:-9999px !important;}.uib-position-scrollbar-measure{position:absolute !important;top:-9999px !important;width:50px !important;height:50px !important;overflow:scroll !important;}.uib-position-body-scrollbar-measure{overflow:scroll !important;}</style>'),angular.$$uibPositionCss=!0}),angular.module("ui.bootstrap.datepickerPopup").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerpopupCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker-popup.dropdown-menu{display:block;float:none;margin:0;}.uib-button-bar{padding:10px 9px 2px;}</style>'),angular.$$uibDatepickerpopupCss=!0}),angular.module("ui.bootstrap.tooltip").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTooltipCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-tooltip-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-bottom > .tooltip-arrow,[uib-popover-popup].popover.top-left > .arrow,[uib-popover-popup].popover.top-right > .arrow,[uib-popover-popup].popover.bottom-left > .arrow,[uib-popover-popup].popover.bottom-right > .arrow,[uib-popover-popup].popover.left-top > .arrow,[uib-popover-popup].popover.left-bottom > .arrow,[uib-popover-popup].popover.right-top > .arrow,[uib-popover-popup].popover.right-bottom > .arrow,[uib-popover-html-popup].popover.top-left > .arrow,[uib-popover-html-popup].popover.top-right > .arrow,[uib-popover-html-popup].popover.bottom-left > .arrow,[uib-popover-html-popup].popover.bottom-right > .arrow,[uib-popover-html-popup].popover.left-top > .arrow,[uib-popover-html-popup].popover.left-bottom > .arrow,[uib-popover-html-popup].popover.right-top > .arrow,[uib-popover-html-popup].popover.right-bottom > .arrow,[uib-popover-template-popup].popover.top-left > .arrow,[uib-popover-template-popup].popover.top-right > .arrow,[uib-popover-template-popup].popover.bottom-left > .arrow,[uib-popover-template-popup].popover.bottom-right > .arrow,[uib-popover-template-popup].popover.left-top > .arrow,[uib-popover-template-popup].popover.left-bottom > .arrow,[uib-popover-template-popup].popover.right-top > .arrow,[uib-popover-template-popup].popover.right-bottom > .arrow{top:auto;bottom:auto;left:auto;right:auto;margin:0;}[uib-popover-popup].popover,[uib-popover-html-popup].popover,[uib-popover-template-popup].popover{display:block !important;}</style>'),angular.$$uibTooltipCss=!0}),angular.module("ui.bootstrap.timepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTimepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-time input{width:50px;}</style>'),angular.$$uibTimepickerCss=!0}),angular.module("ui.bootstrap.typeahead").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTypeaheadCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-typeahead-popup].dropdown-menu{display:block;}</style>'),angular.$$uibTypeaheadCss=!0}),function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):"object"==typeof exports?module.exports=e(require("jquery"),require("moment")):e(jQuery,moment)}(function(e,t){function n(e){return ie(e,Ke)}function i(e,t){t.left&&e.css({"border-left-width":1,"margin-left":t.left-1}),t.right&&e.css({"border-right-width":1,"margin-right":t.right-1})}function r(e){e.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})}function a(){e("body").addClass("fc-not-allowed")}function s(){e("body").removeClass("fc-not-allowed")}function o(t,n,i){var r=Math.floor(n/t.length),a=Math.floor(n-r*(t.length-1)),s=[],o=[],u=[],c=0;l(t),t.each(function(n,i){var l=n===t.length-1?a:r,d=e(i).outerHeight(!0);d<l?(s.push(i),o.push(d),u.push(e(i).height())):c+=d}),i&&(n-=c,r=Math.floor(n/s.length),a=Math.floor(n-r*(s.length-1))),e(s).each(function(t,n){var i=t===s.length-1?a:r,l=o[t],c=u[t],d=i-(l-c);l<i&&e(n).height(d)})}function l(e){e.height("")}function u(t){var n=0;return t.find("> *").each(function(t,i){var r=e(i).outerWidth();r>n&&(n=r)}),n++,t.width(n),n}function c(e,t){var n,i=e.add(t);return i.css({position:"relative",left:-1}),n=e.outerHeight()-t.outerHeight(),i.css({position:"",left:""}),n}function d(t){var n=t.css("position"),i=t.parents().filter(function(){var t=e(this);return/(auto|scroll)/.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==n&&i.length?i:e(t[0].ownerDocument||document)}function h(e,t){var n=e.offset(),i=n.left-(t?t.left:0),r=n.top-(t?t.top:0);return{left:i,right:i+e.outerWidth(),top:r,bottom:r+e.outerHeight()}}function p(e,t){var n=e.offset(),i=f(e),r=n.left+_(e,"border-left-width")+i.left-(t?t.left:0),a=n.top+_(e,"border-top-width")+i.top-(t?t.top:0);return{left:r,right:r+e[0].clientWidth,top:a,bottom:a+e[0].clientHeight}}function m(e,t){var n=e.offset(),i=n.left+_(e,"border-left-width")+_(e,"padding-left")-(t?t.left:0),r=n.top+_(e,"border-top-width")+_(e,"padding-top")-(t?t.top:0);return{left:i,right:i+e.width(),top:r,bottom:r+e.height()}}function f(e){var t,n=e[0].offsetWidth-e[0].clientWidth,i=e[0].offsetHeight-e[0].clientHeight;return n=g(n),i=g(i),t={left:0,right:0,top:0,bottom:i},v()&&"rtl"==e.css("direction")?t.left=n:t.right=n,t}function g(e){return e=Math.max(0,e),e=Math.round(e)}function v(){return null===Ze&&(Ze=y()),Ze}function y(){var t=e("<div><div/></div>").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),n=t.children(),i=n.offset().left>t.offset().left;return t.remove(),i}function _(e,t){return parseFloat(e.css(t))||0}function b(e){return 1==e.which&&!e.ctrlKey}function T(e){var t=e.originalEvent.touches;return t&&t.length?t[0].pageX:e.pageX}function M(e){var t=e.originalEvent.touches;return t&&t.length?t[0].pageY:e.pageY}function w(e){return/^touch/.test(e.type)}function $(e){e.addClass("fc-unselectable").on("selectstart",k)}function D(e){e.removeClass("fc-unselectable").off("selectstart",k)}function k(e){e.preventDefault()}function L(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function x(e,t){return{left:Math.min(Math.max(e.left,t.left),t.right),top:Math.min(Math.max(e.top,t.top),t.bottom)}}function S(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function C(e,t){return{left:e.left-t.left,top:e.top-t.top}}function A(t){var n,i,r=[],a=[];for("string"==typeof t?a=t.split(/\s*,\s*/):"function"==typeof t?a=[t]:e.isArray(t)&&(a=t),n=0;n<a.length;n++)i=a[n],"string"==typeof i?r.push("-"==i.charAt(0)?{field:i.substring(1),order:-1}:{field:i,order:1}):"function"==typeof i&&r.push({func:i});return r}function Y(e,t,n){var i,r;for(i=0;i<n.length;i++)if(r=E(e,t,n[i]))return r;return 0}function E(e,t,n){return n.func?n.func(e,t):I(e[n.field],t[n.field])*(n.order||1)}function I(t,n){return t||n?null==n?-1:null==t?1:"string"===e.type(t)||"string"===e.type(n)?String(t).localeCompare(String(n)):t-n:0}function H(e,t){var n,i,r,a,s=e.start,o=e.end,l=t.start,u=t.end;if(o>l&&s<u)return s>=l?(n=s.clone(),r=!0):(n=l.clone(),r=!1),o<=u?(i=o.clone(),a=!0):(i=u.clone(),a=!1),{start:n,end:i,isStart:r,isEnd:a}}function O(e,n){return t.duration({days:e.clone().stripTime().diff(n.clone().stripTime(),"days"),ms:e.time()-n.time()})}function N(e,n){return t.duration({days:e.clone().stripTime().diff(n.clone().stripTime(),"days")})}function P(e,n,i){return t.duration(Math.round(e.diff(n,i,!0)),i)}function j(e,t){var n,i,r;for(n=0;n<Xe.length&&(i=Xe[n],r=z(i,e,t),!(r>=1&&ge(r)));n++);return i}function R(e,t){var n=j(e);return"week"===n&&"object"==typeof t&&t.days&&(n="day"),n}function z(e,n,i){return null!=i?i.diff(n,e,!0):t.isDuration(n)?n.as(e):n.end.diff(n.start,e,!0)}function F(e,t,n){var i;return ee(n)?(t-e)/n:(i=n.asMonths(),Math.abs(i)>=1&&ge(i)?t.diff(e,"months",!0)/i:t.diff(e,"days",!0)/n.asDays())}function V(e,t){var n,i;return ee(e)||ee(t)?e/t:(n=e.asMonths(),i=t.asMonths(),Math.abs(n)>=1&&ge(n)&&Math.abs(i)>=1&&ge(i)?n/i:e.asDays()/t.asDays())}function B(e,n){var i;return ee(e)?t.duration(e*n):(i=e.asMonths(),Math.abs(i)>=1&&ge(i)?t.duration({months:i*n}):t.duration({days:e.asDays()*n}))}function U(e){return{start:e.start.clone(),end:e.end.clone()}}function W(e,t){return e=U(e),t.start&&(e.start=J(e.start,t)),t.end&&(e.end=Q(e.end,t.end)),e}function J(e,t){return e=e.clone(),t.start&&(e=X(e,t.start)),t.end&&e>=t.end&&(e=t.end.clone().subtract(1)),e}function q(e,t){return(!t.start||e>=t.start)&&(!t.end||e<t.end)}function G(e,t){return(!t.start||e.end>=t.start)&&(!t.end||e.start<t.end)}function K(e,t){return(!t.start||e.start>=t.start)&&(!t.end||e.end<=t.end)}function Z(e,t){return(e.start&&t.start&&e.start.isSame(t.start)||!e.start&&!t.start)&&(e.end&&t.end&&e.end.isSame(t.end)||!e.end&&!t.end)}function Q(e,t){return(e.isBefore(t)?e:t).clone()}function X(e,t){return(e.isAfter(t)?e:t).clone()}function ee(e){return Boolean(e.hours()||e.minutes()||e.seconds()||e.milliseconds())}function te(e){return"[object Date]"===Object.prototype.toString.call(e)||e instanceof Date}function ne(e){return/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(e)}function ie(e,t){var n,i,r,a,s,o,l={};if(t)for(n=0;n<t.length;n++){for(i=t[n],r=[],a=e.length-1;a>=0;a--)if(s=e[a][i],"object"==typeof s)r.unshift(s);else if(void 0!==s){l[i]=s;break}r.length&&(l[i]=ie(r))}for(n=e.length-1;n>=0;n--){o=e[n];for(i in o)i in l||(l[i]=o[i])}return l}function re(e){var t=function(){};return t.prototype=e,new t}function ae(e,t){for(var n in e)se(e,n)&&(t[n]=e[n])}function se(e,t){return et.call(e,t)}function oe(t){return/undefined|null|boolean|number|string/.test(e.type(t))}function le(t,n,i){if(e.isFunction(t)&&(t=[t]),t){var r,a;for(r=0;r<t.length;r++)a=t[r].apply(n,i)||a;return a}}function ue(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]}function ce(e){return(e+"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"<br />")}function de(e){return e.replace(/&.*?;/g,"")}function he(t){var n=[];return e.each(t,function(e,t){null!=t&&n.push(e+":"+t)}),n.join(";")}function pe(t){var n=[];return e.each(t,function(e,t){null!=t&&n.push(e+'="'+ce(t)+'"')}),n.join(" ")}function me(e){return e.charAt(0).toUpperCase()+e.slice(1)}function fe(e,t){return e-t}function ge(e){return e%1===0}function ve(e,t){var n=e[t];return function(){return n.apply(e,arguments)}}function ye(e,t,n){var i,r,a,s,o,l=function(){var u=+new Date-s;u<t?i=setTimeout(l,t-u):(i=null,n||(o=e.apply(a,r),a=r=null))};return function(){a=this,r=arguments,s=+new Date;var u=n&&!i;return i||(i=setTimeout(l,t)),u&&(o=e.apply(a,r),a=r=null),o}}function _e(n,i,r){var a,s,o,l,u=n[0],c=1==n.length&&"string"==typeof u;return t.isMoment(u)||te(u)||void 0===u?l=t.apply(null,n):(a=!1,s=!1,c?tt.test(u)?(u+="-01",n=[u],a=!0,s=!0):(o=nt.exec(u))&&(a=!o[5],s=!0):e.isArray(u)&&(s=!0),l=i||a?t.utc.apply(t,n):t.apply(null,n),a?(l._ambigTime=!0,l._ambigZone=!0):r&&(s?l._ambigZone=!0:c&&l.utcOffset(u))),l._fullCalendar=!0,l}function be(e){return"en"!==e.locale()?e.clone().locale("en"):e}function Te(){}function Me(e,t){var n;return se(t,"constructor")&&(n=t.constructor),"function"!=typeof n&&(n=t.constructor=function(){e.apply(this,arguments)}),n.prototype=re(e.prototype),ae(t,n.prototype),ae(e,n),n}function we(e,t){ae(t,e.prototype)}function $e(e,t){e.then=function(n){return"function"==typeof n&&n(t),e}}function De(e){e.then=function(t,n){return"function"==typeof n&&n(),e}}function ke(e,t){return!e&&!t||!(!e||!t)&&(e.component===t.component&&Le(e,t)&&Le(t,e))}function Le(e,t){for(var n in e)if(!/^(component|left|right|top|bottom)$/.test(n)&&e[n]!==t[n])return!1;return!0}function xe(e){return{start:e.start.clone(),end:e.end?e.end.clone():null,allDay:e.allDay}}function Se(e){var t=Ae(e);return"background"===t||"inverse-background"===t}function Ce(e){return"inverse-background"===Ae(e)}function Ae(e){return ue((e.source||{}).rendering,e.rendering)}function Ye(e){var t,n,i={};for(t=0;t<e.length;t++)n=e[t],(i[n._id]||(i[n._id]=[])).push(n);return i}function Ee(e,t){return e.start-t.start}function Ie(n){var i,r,a,s,o=qe.dataAttrPrefix;return o&&(o+="-"),i=n.data(o+"event")||null,i&&(i="object"==typeof i?e.extend({},i):{},r=i.start,null==r&&(r=i.time),a=i.duration,s=i.stick,delete i.start,delete i.time,delete i.duration,delete i.stick),null==r&&(r=n.data(o+"start")),null==r&&(r=n.data(o+"time")),null==a&&(a=n.data(o+"duration")),null==s&&(s=n.data(o+"stick")),r=null!=r?t.duration(r):null,a=null!=a?t.duration(a):null,s=Boolean(s),{eventProps:i,startTime:r,duration:a,stick:s}}function He(e,t){var n,i;for(n=0;n<t.length;n++)if(i=t[n],i.leftCol<=e.rightCol&&i.rightCol>=e.leftCol)return!0;return!1}function Oe(e,t){return e.leftCol-t.leftCol}function Ne(e){var t,n,i,r=[];for(t=0;t<e.length;t++){for(n=e[t],i=0;i<r.length&&Re(n,r[i]).length;i++);n.level=i,(r[i]||(r[i]=[])).push(n)}return r}function Pe(e){var t,n,i,r,a;for(t=0;t<e.length;t++)for(n=e[t],i=0;i<n.length;i++)for(r=n[i],r.forwardSegs=[],a=t+1;a<e.length;a++)Re(r,e[a],r.forwardSegs)}function je(e){var t,n,i=e.forwardSegs,r=0;if(void 0===e.forwardPressure){for(t=0;t<i.length;t++)n=i[t],je(n),r=Math.max(r,1+n.forwardPressure);e.forwardPressure=r}}function Re(e,t,n){n=n||[];for(var i=0;i<t.length;i++)ze(e,t[i])&&n.push(t[i]);return n}function ze(e,t){return e.bottom>t.top&&e.top<t.bottom}function Fe(e){this.items=e||[]}function Ve(t,n){function i(e){n=e}function r(){var i=n.layout;f=t.opt("theme")?"ui":"fc",i?(m?m.empty():m=this.el=e("<div class='fc-toolbar "+n.extraClasses+"'/>"),m.append(s("left")).append(s("right")).append(s("center")).append('<div class="fc-clear"/>')):a()}function a(){m&&(m.remove(),m=p.el=null)}function s(i){var r=e('<div class="fc-'+i+'"/>'),a=n.layout[i],s=t.opt("customButtons")||{},o=t.opt("buttonText")||{};return a&&e.each(a.split(" "),function(n){var i,a=e(),l=!0;e.each(this.split(","),function(n,i){var r,u,c,d,h,p,m,v,y,_;"title"==i?(a=a.add(e("<h2> </h2>")),l=!1):((r=s[i])?(c=function(e){r.click&&r.click.call(_[0],e)},d="",h=r.text):(u=t.getViewSpec(i))?(c=function(){t.changeView(i)},g.push(i),d=u.buttonTextOverride,h=u.buttonTextDefault):t[i]&&(c=function(){t[i]()},d=(t.overrides.buttonText||{})[i],h=o[i]),c&&(p=r?r.themeIcon:t.opt("themeButtonIcons")[i],m=r?r.icon:t.opt("buttonIcons")[i],v=d?ce(d):p&&t.opt("theme")?"<span class='ui-icon ui-icon-"+p+"'></span>":m&&!t.opt("theme")?"<span class='fc-icon fc-icon-"+m+"'></span>":ce(h),y=["fc-"+i+"-button",f+"-button",f+"-state-default"],_=e('<button type="button" class="'+y.join(" ")+'">'+v+"</button>").click(function(e){_.hasClass(f+"-state-disabled")||(c(e),(_.hasClass(f+"-state-active")||_.hasClass(f+"-state-disabled"))&&_.removeClass(f+"-state-hover"))}).mousedown(function(){_.not("."+f+"-state-active").not("."+f+"-state-disabled").addClass(f+"-state-down")}).mouseup(function(){_.removeClass(f+"-state-down")}).hover(function(){_.not("."+f+"-state-active").not("."+f+"-state-disabled").addClass(f+"-state-hover")},function(){_.removeClass(f+"-state-hover").removeClass(f+"-state-down")}),a=a.add(_)))}),l&&a.first().addClass(f+"-corner-left").end().last().addClass(f+"-corner-right").end(),a.length>1?(i=e("<div/>"),l&&i.addClass("fc-button-group"),i.append(a),r.append(i)):r.append(a)}),r}function o(e){m&&m.find("h2").text(e)}function l(e){m&&m.find(".fc-"+e+"-button").addClass(f+"-state-active")}function u(e){m&&m.find(".fc-"+e+"-button").removeClass(f+"-state-active")}function c(e){m&&m.find(".fc-"+e+"-button").prop("disabled",!0).addClass(f+"-state-disabled")}function d(e){m&&m.find(".fc-"+e+"-button").prop("disabled",!1).removeClass(f+"-state-disabled")}function h(){return g}var p=this;p.setToolbarOptions=i,p.render=r,p.removeElement=a,p.updateTitle=o,p.activateButton=l,p.deactivateButton=u,p.disableButton=c,p.enableButton=d,p.getViewsWithButtons=h,p.el=null;var m,f,g=[]}function Be(t){e.each(At,function(e,n){null==t[e]&&(t[e]=n(t))})}function Ue(e){return t.localeData(e)||t.localeData("en")}function We(){function n(e,t){return!U.opt("lazyFetching")||a(e,t)?s(e,t):ct.resolve(q)}function i(){q=r(Q),U.trigger("eventsReset",q)}function r(e){var t,n,i=[];for(t=0;t<e.length;t++)n=e[t],n.start.clone().stripZone()<J&&U.getEventEnd(n).stripZone()>W&&i.push(n);return i}function a(e,t){return!W||e<W||t>J}function s(e,t){return W=e,J=t,o()}function o(){return u(K,"reset")}function l(e){return u(T(e))}function u(e,t){var n,i;for("reset"===t?Q=[]:"add"!==t&&(Q=D(Q,e)),n=0;n<e.length;n++)i=e[n],"pending"!==i._status&&Z++,i._fetchId=(i._fetchId||0)+1,i._status="pending";for(n=0;n<e.length;n++)i=e[n],c(i,i._fetchId);return Z?ct.construct(function(e){U.one("eventsReceived",e)}):ct.resolve(q)}function c(t,n){p(t,function(i){var r,a,s,o=e.isArray(t.events);if(n===t._fetchId&&"rejected"!==t._status){if(t._status="resolved",i)for(r=0;r<i.length;r++)a=i[r],s=o?a:H(a,t),s&&Q.push.apply(Q,F(s));h()}})}function d(e){var t="pending"===e._status;e._status="rejected",t&&h()}function h(){Z--,Z||(i(Q),U.trigger("eventsReceived",q))}function p(t,n){var i,r,a=qe.sourceFetchers;for(i=0;i<a.length;i++){if(r=a[i].call(U,t,W.clone(),J.clone(),U.opt("timezone"),n),r===!0)return;if("object"==typeof r)return void p(r,n)}var s=t.events;if(s)e.isFunction(s)?(U.pushLoading(),s.call(U,W.clone(),J.clone(),U.opt("timezone"),function(e){n(e),U.popLoading()})):e.isArray(s)?n(s):n();else{var o=t.url;if(o){var l,u=t.success,c=t.error,d=t.complete;l=e.isFunction(t.data)?t.data():t.data;var h=e.extend({},l||{}),m=ue(t.startParam,U.opt("startParam")),f=ue(t.endParam,U.opt("endParam")),g=ue(t.timezoneParam,U.opt("timezoneParam"));m&&(h[m]=W.format()),f&&(h[f]=J.format()),U.opt("timezone")&&"local"!=U.opt("timezone")&&(h[g]=U.opt("timezone")),U.pushLoading(),e.ajax(e.extend({},Yt,t,{data:h,success:function(t){t=t||[];var i=le(u,this,arguments);e.isArray(i)&&(t=i),n(t)},error:function(){le(c,this,arguments),n()},complete:function(){le(d,this,arguments),U.popLoading()}}))}else n()}}function m(e){var t=f(e);t&&(K.push(t),u([t],"add"))}function f(t){var n,i,r=qe.sourceNormalizers;if(e.isFunction(t)||e.isArray(t)?n={events:t}:"string"==typeof t?n={url:t}:"object"==typeof t&&(n=e.extend({},t)),n){for(n.className?"string"==typeof n.className&&(n.className=n.className.split(/\s+/)):n.className=[],e.isArray(n.events)&&(n.origArray=n.events,n.events=e.map(n.events,function(e){return H(e,n)})),i=0;i<r.length;i++)r[i].call(U,n);return n}}function g(e){y(M(e))}function v(e){null==e?y(K,!0):y(T(e))}function y(t,n){var r;for(r=0;r<t.length;r++)d(t[r]);n?(K=[],Q=[]):(K=e.grep(K,function(e){for(r=0;r<t.length;r++)if(e===t[r])return!1;return!0}),Q=D(Q,t)),i()}function _(){return K.slice(1)}function b(t){return e.grep(K,function(e){return e.id&&e.id===t})[0]}function T(t){t?e.isArray(t)||(t=[t]):t=[];var n,i=[];for(n=0;n<t.length;n++)i.push.apply(i,M(t[n]));return i}function M(t){var n,i;for(n=0;n<K.length;n++)if(i=K[n],i===t)return[i];return i=b(t),i?[i]:e.grep(K,function(e){return w(t,e)})}function w(e,t){return e&&t&&$(e)==$(t)}function $(e){return("object"==typeof e?e.origArray||e.googleCalendarId||e.url||e.events:null)||e}function D(t,n){return e.grep(t,function(e){for(var t=0;t<n.length;t++)if(e.source===n[t])return!1;return!0})}function k(e){L([e])}function L(e){var t,n;for(t=0;t<e.length;t++)n=e[t],n.start=U.moment(n.start),n.end?n.end=U.moment(n.end):n.end=null,V(n,x(n));i()}function x(t){var n={};return e.each(t,function(e,t){S(e)&&void 0!==t&&oe(t)&&(n[e]=t)}),n}function S(e){return!/^_|^(id|allDay|start|end)$/.test(e)}function C(e,t){return A([e],t)}function A(e,t){var n,r,a,s,o,l=[];for(a=0;a<e.length;a++)if(r=H(e[a])){for(n=F(r),s=0;s<n.length;s++)o=n[s],o.source||(t&&(G.events.push(o),o.source=G),Q.push(o));l=l.concat(n)}return l.length&&i(),l}function Y(t){var n,r;for(null==t?t=function(){return!0}:e.isFunction(t)||(n=t+"",t=function(e){return e._id==n}),Q=e.grep(Q,t,!0),r=0;r<K.length;r++)e.isArray(K[r].events)&&(K[r].events=e.grep(K[r].events,t,!0));i()}function E(t){return e.isFunction(t)?e.grep(Q,t):null!=t?(t+="",e.grep(Q,function(e){return e._id==t})):Q}function I(e){e.start=U.moment(e.start),e.end&&(e.end=U.moment(e.end)),Je(e)}function H(n,i){var r,a,s,o=U.opt("eventDataTransform"),l={};if(o&&(n=o(n)),i&&i.eventDataTransform&&(n=i.eventDataTransform(n)),e.extend(l,n),i&&(l.source=i),l._id=n._id||(void 0===n.id?"_fc"+Et++:n.id+""),n.className?"string"==typeof n.className?l.className=n.className.split(/\s+/):l.className=n.className:l.className=[],r=n.start||n.date,a=n.end,ne(r)&&(r=t.duration(r)),ne(a)&&(a=t.duration(a)),n.dow||t.isDuration(r)||t.isDuration(a))l.start=r?t.duration(r):null,l.end=a?t.duration(a):null,l._recurring=!0;else{if(r&&(r=U.moment(r),!r.isValid()))return!1;a&&(a=U.moment(a),a.isValid()||(a=null)),s=n.allDay,void 0===s&&(s=ue(i?i.allDayDefault:void 0,U.opt("allDayDefault"))),j(r,a,s,l)}return U.normalizeEvent(l),l}function j(e,t,n,i){i.start=e,i.end=t,i.allDay=n,R(i),Je(i)}function R(e){z(e),e.end&&!e.end.isAfter(e.start)&&(e.end=null),e.end||(U.opt("forceEventDuration")?e.end=U.getDefaultEventEnd(e.allDay,e.start):e.end=null)}function z(e){null==e.allDay&&(e.allDay=!(e.start.hasTime()||e.end&&e.end.hasTime())),e.allDay?(e.start.stripTime(),e.end&&e.end.stripTime()):(e.start.hasTime()||(e.start=U.applyTimezone(e.start.time(0))),e.end&&!e.end.hasTime()&&(e.end=U.applyTimezone(e.end.time(0))))}function F(t,n,i){var r,a,s,o,l,u,c,d,h,p=[];if(n=n||W,i=i||J,t)if(t._recurring){if(a=t.dow)for(r={},s=0;s<a.length;s++)r[a[s]]=!0;for(o=n.clone().stripTime();o.isBefore(i);)r&&!r[o.day()]||(l=t.start,u=t.end,c=o.clone(),d=null,l&&(c=c.time(l)),u&&(d=o.clone().time(u)),h=e.extend({},t),j(c,d,!l&&!u,h),p.push(h)),o.add(1,"days")}else p.push(t);return p}function V(t,n,i){function r(e,t){return i?P(e,t,i):n.allDay?N(e,t):O(e,t)}var a,s,o,l,u,c,d={};return n=n||{},n.start||(n.start=t.start.clone()),void 0===n.end&&(n.end=t.end?t.end.clone():null),null==n.allDay&&(n.allDay=t.allDay),R(n),a={start:t._start.clone(),end:t._end?t._end.clone():U.getDefaultEventEnd(t._allDay,t._start),allDay:n.allDay},R(a),s=null!==t._end&&null===n.end,o=r(n.start,a.start),n.end?(l=r(n.end,a.end),u=l.subtract(o)):u=null,e.each(n,function(e,t){S(e)&&void 0!==t&&(d[e]=t)}),c=B(E(t._id),s,n.allDay,o,u,d),{dateDelta:o,durationDelta:u,undo:c }}function B(t,n,i,r,a,s){var o=U.getIsAmbigTimezone(),l=[];return r&&!r.valueOf()&&(r=null),a&&!a.valueOf()&&(a=null),e.each(t,function(t,u){var c,d;c={start:u.start.clone(),end:u.end?u.end.clone():null,allDay:u.allDay},e.each(s,function(e){c[e]=u[e]}),d={start:u._start,end:u._end,allDay:i},R(d),n?d.end=null:a&&!d.end&&(d.end=U.getDefaultEventEnd(d.allDay,d.start)),r&&(d.start.add(r),d.end&&d.end.add(r)),a&&d.end.add(a),o&&!d.allDay&&(r||a)&&(d.start.stripZone(),d.end&&d.end.stripZone()),e.extend(u,s,d),Je(u),l.push(function(){e.extend(u,c),Je(u)})}),function(){for(var e=0;e<l.length;e++)l[e]()}}var U=this;U.requestEvents=n,U.reportEventChange=i,U.isFetchNeeded=a,U.fetchEvents=s,U.fetchEventSources=u,U.refetchEvents=o,U.refetchEventSources=l,U.getEventSources=_,U.getEventSourceById=b,U.addEventSource=m,U.removeEventSource=g,U.removeEventSources=v,U.updateEvent=k,U.updateEvents=L,U.renderEvent=C,U.renderEvents=A,U.removeEvents=Y,U.clientEvents=E,U.mutateEvent=V,U.normalizeEventDates=R,U.normalizeEventTimes=z;var W,J,q,G={events:[]},K=[G],Z=0,Q=[];e.each((U.opt("events")?[U.opt("events")]:[]).concat(U.opt("eventSources")||[]),function(e,t){var n=f(t);n&&K.push(n)}),U.getEventCache=function(){return Q},U.rezoneArrayEventSources=function(){var t,n,i;for(t=0;t<K.length;t++)if(n=K[t].events,e.isArray(n))for(i=0;i<n.length;i++)I(n[i])},U.buildEventFromInput=H,U.expandEvent=F}function Je(e){e._allDay=e.allDay,e._start=e.start.clone(),e._end=e.end?e.end.clone():null}var qe=e.fullCalendar={version:"3.4.0",internalApiVersion:9},Ge=qe.views={};e.fn.fullCalendar=function(t){var n=Array.prototype.slice.call(arguments,1),i=this;return this.each(function(r,a){var s,o=e(a),l=o.data("fullCalendar");"string"==typeof t?l&&e.isFunction(l[t])&&(s=l[t].apply(l,n),r||(i=s),"destroy"===t&&o.removeData("fullCalendar")):l||(l=new Lt(o,t),o.data("fullCalendar",l),l.render())}),i};var Ke=["header","footer","buttonText","buttonIcons","themeButtonIcons"];qe.intersectRanges=H,qe.applyAll=le,qe.debounce=ye,qe.isInt=ge,qe.htmlEscape=ce,qe.cssToStr=he,qe.proxy=ve,qe.capitaliseFirstLetter=me,qe.getOuterRect=h,qe.getClientRect=p,qe.getContentRect=m,qe.getScrollbarWidths=f;var Ze=null;qe.preventDefault=k,qe.intersectRects=L,qe.parseFieldSpecs=A,qe.compareByFieldSpecs=Y,qe.compareByFieldSpec=E,qe.flexibleCompare=I,qe.computeGreatestUnit=j,qe.divideRangeByDuration=F,qe.divideDurationByDuration=V,qe.multiplyDuration=B,qe.durationHasTime=ee;var Qe=["sun","mon","tue","wed","thu","fri","sat"],Xe=["year","month","week","day","hour","minute","second","millisecond"];qe.log=function(){var e=window.console;if(e&&e.log)return e.log.apply(e,arguments)},qe.warn=function(){var e=window.console;return e&&e.warn?e.warn.apply(e,arguments):qe.log.apply(qe,arguments)};var et={}.hasOwnProperty;qe.createObject=re;var tt=/^\s*\d{4}-\d\d$/,nt=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,it=t.fn,rt=e.extend({},it),at=t.momentProperties;at.push("_fullCalendar"),at.push("_ambigTime"),at.push("_ambigZone"),qe.moment=function(){return _e(arguments)},qe.moment.utc=function(){var e=_e(arguments,!0);return e.hasTime()&&e.utc(),e},qe.moment.parseZone=function(){return _e(arguments,!0,!0)},it.week=it.weeks=function(e){var t=this._locale._fullCalendar_weekCalc;return null==e&&"function"==typeof t?t(this):"ISO"===t?rt.isoWeek.apply(this,arguments):rt.week.apply(this,arguments)},it.time=function(e){if(!this._fullCalendar)return rt.time.apply(this,arguments);if(null==e)return t.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1,t.isDuration(e)||t.isMoment(e)||(e=t.duration(e));var n=0;return t.isDuration(e)&&(n=24*Math.floor(e.asDays())),this.hours(n+e.hours()).minutes(e.minutes()).seconds(e.seconds()).milliseconds(e.milliseconds())},it.stripTime=function(){return this._ambigTime||(this.utc(!0),this.set({hours:0,minutes:0,seconds:0,ms:0}),this._ambigTime=!0,this._ambigZone=!0),this},it.hasTime=function(){return!this._ambigTime},it.stripZone=function(){var e;return this._ambigZone||(e=this._ambigTime,this.utc(!0),this._ambigTime=e||!1,this._ambigZone=!0),this},it.hasZone=function(){return!this._ambigZone},it.local=function(e){return rt.local.call(this,this._ambigZone||e),this._ambigTime=!1,this._ambigZone=!1,this},it.utc=function(e){return rt.utc.call(this,e),this._ambigTime=!1,this._ambigZone=!1,this},it.utcOffset=function(e){return null!=e&&(this._ambigTime=!1,this._ambigZone=!1),rt.utcOffset.apply(this,arguments)},it.format=function(){return this._fullCalendar&&arguments[0]?st(this,arguments[0]):this._ambigTime?lt(be(this),"YYYY-MM-DD"):this._ambigZone?lt(be(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?lt(be(this)):rt.format.apply(this,arguments)},it.toISOString=function(){return this._ambigTime?lt(be(this),"YYYY-MM-DD"):this._ambigZone?lt(be(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?rt.toISOString.apply(be(this),arguments):rt.toISOString.apply(this,arguments)},function(){function e(e,t){return c(r(t).fakeFormatString,e)}function t(e,t){return rt.format.call(e,t)}function n(e,t,n,a,s){var o;return e=qe.moment.parseZone(e),t=qe.moment.parseZone(t),o=e.localeData(),n=o.longDateFormat(n)||n,i(r(n),e,t,a||" - ",s)}function i(e,t,n,i,r){var a,s,o,l=e.sameUnits,u=t.clone().stripZone(),c=n.clone().stripZone(),p=d(e.fakeFormatString,t),m=d(e.fakeFormatString,n),f="",g="",v="",y="",_="";for(a=0;a<l.length&&(!l[a]||u.isSame(c,l[a]));a++)f+=p[a];for(s=l.length-1;s>a&&(!l[s]||u.isSame(c,l[s]))&&(s-1!==a||"."!==p[s]);s--)g=p[s]+g;for(o=a;o<=s;o++)v+=p[o],y+=m[o];return(v||y)&&(_=r?y+i+v:v+i+y),h(f+_+g)}function r(e){return b[e]||(b[e]=a(e))}function a(e){var t=s(e);return{fakeFormatString:l(t),sameUnits:u(t)}}function s(e){for(var t,n=[],i=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;t=i.exec(e);)t[1]?n.push.apply(n,o(t[1])):t[2]?n.push({maybe:s(t[2])}):t[3]?n.push({token:t[3]}):t[5]&&n.push.apply(n,o(t[5]));return n}function o(e){return". "===e?["."," "]:[e]}function l(e){var t,n,i=[];for(t=0;t<e.length;t++)n=e[t],"string"==typeof n?i.push("["+n+"]"):n.token?n.token in y?i.push(f+"["+n.token+"]"):i.push(n.token):n.maybe&&i.push(g+l(n.maybe)+g);return i.join(m)}function u(e){var t,n,i,r=[];for(t=0;t<e.length;t++)n=e[t],n.token?(i=_[n.token.charAt(0)],r.push(i?i.unit:"second")):n.maybe?r.push.apply(r,u(n.maybe)):r.push(null);return r}function c(e,t){return h(d(e,t).join(""))}function d(e,n){var i,r,a=[],s=t(n,e),o=s.split(m);for(i=0;i<o.length;i++)r=o[i],r.charAt(0)===f?a.push(y[r.substring(1)](n)):a.push(r);return a}function h(e){return e.replace(v,function(e,t){return t.match(/[1-9]/)?t:""})}function p(e){var t,n,i,r,a=s(e);for(t=0;t<a.length;t++)n=a[t],n.token&&(i=_[n.token.charAt(0)],i&&(!r||i.value>r.value)&&(r=i));return r?r.unit:null}qe.formatDate=e,qe.formatRange=n,qe.oldMomentFormat=t,qe.queryMostGranularFormatUnit=p;var m="\v",f="",g="",v=new RegExp(g+"([^"+g+"]*)"+g,"g"),y={t:function(e){return t(e,"a").charAt(0)},T:function(e){return t(e,"A").charAt(0)}},_={Y:{value:1,unit:"year"},M:{value:2,unit:"month"},W:{value:3,unit:"week"},w:{value:3,unit:"week"},D:{value:4,unit:"day"},d:{value:4,unit:"day"}},b={}}();var st=qe.formatDate,ot=qe.formatRange,lt=qe.oldMomentFormat;qe.Class=Te,Te.extend=function(){var e,t,n=arguments.length;for(e=0;e<n;e++)t=arguments[e],e<n-1&&we(this,t);return Me(this,t||{})},Te.mixin=function(e){we(this,e)};var ut=Te.extend(pt,mt,{_props:null,_watchers:null,_globalWatchArgs:null,constructor:function(){this._watchers={},this._props={},this.applyGlobalWatchers()},applyGlobalWatchers:function(){var e,t=this._globalWatchArgs||[];for(e=0;e<t.length;e++)this.watch.apply(this,t[e])},has:function(e){return e in this._props},get:function(e){return void 0===e?this._props:this._props[e]},set:function(e,t){var n;"string"==typeof e?(n={},n[e]=void 0===t?null:t):n=e,this.setProps(n)},reset:function(e){var t,n=this._props,i={};for(t in n)i[t]=void 0;for(t in e)i[t]=e[t];this.setProps(i)},unset:function(e){var t,n,i={};for(t="string"==typeof e?[e]:e,n=0;n<t.length;n++)i[t[n]]=void 0;this.setProps(i)},setProps:function(e){var t,n,i={},r=0;for(t in e)n=e[t],"object"!=typeof n&&n===this._props[t]||(i[t]=n,r++);if(r){this.trigger("before:batchChange",i);for(t in i)n=i[t],this.trigger("before:change",t,n),this.trigger("before:change:"+t,n);for(t in i)n=i[t],void 0===n?delete this._props[t]:this._props[t]=n,this.trigger("change:"+t,n),this.trigger("change",t,n);this.trigger("batchChange",i)}},watch:function(e,t,n,i){var r=this;this.unwatch(e),this._watchers[e]=this._watchDeps(t,function(t){var i=n.call(r,t);i&&i.then?(r.unset(e),i.then(function(t){r.set(e,t)})):r.set(e,i)},function(){r.unset(e),i&&i.call(r)})},unwatch:function(e){var t=this._watchers[e];t&&(delete this._watchers[e],t.teardown())},_watchDeps:function(e,t,n){function i(e,t,i){o++,1===o&&u===l&&(h=!0,n(),h=!1)}function r(e,n,i){void 0===n?(i||void 0===c[e]||u--,delete c[e]):(i||void 0!==c[e]||u++,c[e]=n),o--,o||u===l&&(h||t(c))}function a(e,t){s.on(e,t),d.push([e,t])}var s=this,o=0,l=e.length,u=0,c={},d=[],h=!1;return e.forEach(function(e){var t=!1;"?"===e.charAt(0)&&(e=e.substring(1),t=!0),a("before:change:"+e,function(n){i(e,n,t)}),a("change:"+e,function(n){r(e,n,t)})}),e.forEach(function(e){var t=!1;"?"===e.charAt(0)&&(e=e.substring(1),t=!0),s.has(e)?(c[e]=s.get(e),u++):t&&u++}),u===l&&t(c),{teardown:function(){for(var e=0;e<d.length;e++)s.off(d[e][0],d[e][1]);d=null,u===l&&n()},flash:function(){u===l&&(n(),t(c))}}},flash:function(e){var t=this._watchers[e];t&&t.flash()}});ut.watch=function(){var e=this.prototype;e._globalWatchArgs||(e._globalWatchArgs=[]),e._globalWatchArgs.push(arguments)},qe.Model=ut;var ct={construct:function(t){var n=e.Deferred(),i=n.promise();return"function"==typeof t&&t(function(e){n.resolve(e),$e(i,e)},function(){n.reject(),De(i)}),i},resolve:function(t){var n=e.Deferred().resolve(t),i=n.promise();return $e(i,t),i},reject:function(){var t=e.Deferred().reject(),n=t.promise();return De(n),n}};qe.Promise=ct;var dt=Te.extend(pt,{q:null,isPaused:!1,isRunning:!1,constructor:function(){this.q=[]},queue:function(){this.q.push.apply(this.q,arguments),this.tryStart()},pause:function(){this.isPaused=!0},resume:function(){this.isPaused=!1,this.tryStart()},tryStart:function(){!this.isRunning&&this.canRunNext()&&(this.isRunning=!0,this.trigger("start"),this.runNext())},canRunNext:function(){return!this.isPaused&&this.q.length},runNext:function(){this.runTask(this.q.shift())},runTask:function(e){this.runTaskFunc(e)},runTaskFunc:function(e){function t(){n.canRunNext()?n.runNext():(n.isRunning=!1,n.trigger("stop"))}var n=this,i=e();i&&i.then?i.then(t):t()}});qe.TaskQueue=dt;var ht=dt.extend({waitsByNamespace:null,waitNamespace:null,waitId:null,constructor:function(e){dt.call(this),this.waitsByNamespace=e||{}},queue:function(e,t,n){var i,r={func:e,namespace:t,type:n};t&&(i=this.waitsByNamespace[t]),this.waitNamespace&&(t===this.waitNamespace&&null!=i?this.delayWait(i):(this.clearWait(),this.tryStart())),this.compoundTask(r)&&(this.waitNamespace||null==i?this.tryStart():this.startWait(t,i))},startWait:function(e,t){this.waitNamespace=e,this.spawnWait(t)},delayWait:function(e){clearTimeout(this.waitId),this.spawnWait(e)},spawnWait:function(e){var t=this;this.waitId=setTimeout(function(){t.waitNamespace=null,t.tryStart()},e)},clearWait:function(){this.waitNamespace&&(clearTimeout(this.waitId),this.waitId=null,this.waitNamespace=null)},canRunNext:function(){if(!dt.prototype.canRunNext.apply(this,arguments))return!1;if(this.waitNamespace){for(var e=this.q,t=0;t<e.length;t++)if(e[t].namespace!==this.waitNamespace)return!0;return!1}return!0},runTask:function(e){this.runTaskFunc(e.func)},compoundTask:function(e){var t,n,i=this.q,r=!0;if(e.namespace&&("destroy"===e.type||"init"===e.type)){for(t=i.length-1;t>=0;t--)n=i[t],n.namespace!==e.namespace||"add"!==n.type&&"remove"!==n.type||i.splice(t,1);"destroy"===e.type?i.length&&(n=i[i.length-1],n.namespace===e.namespace&&("init"===n.type?(r=!1,i.pop()):"destroy"===n.type&&(r=!1))):"init"===e.type&&i.length&&(n=i[i.length-1],n.namespace===e.namespace&&"init"===n.type&&i.pop())}return r&&i.push(e),r}});qe.RenderQueue=ht;var pt=qe.EmitterMixin={on:function(t,n){return e(this).on(t,this._prepareIntercept(n)),this},one:function(t,n){return e(this).one(t,this._prepareIntercept(n)),this},_prepareIntercept:function(t){var n=function(e,n){return t.apply(n.context||this,n.args||[])};return t.guid||(t.guid=e.guid++),n.guid=t.guid,n},off:function(t,n){return e(this).off(t,n),this},trigger:function(t){var n=Array.prototype.slice.call(arguments,1);return e(this).triggerHandler(t,{args:n}),this},triggerWith:function(t,n,i){return e(this).triggerHandler(t,{context:n,args:i}),this}},mt=qe.ListenerMixin=function(){var t=0,n={listenerId:null,listenTo:function(t,n,i){if("object"==typeof n)for(var r in n)n.hasOwnProperty(r)&&this.listenTo(t,r,n[r]);else"string"==typeof n&&t.on(n+"."+this.getListenerNamespace(),e.proxy(i,this))},stopListeningTo:function(e,t){e.off((t||"")+"."+this.getListenerNamespace())},getListenerNamespace:function(){return null==this.listenerId&&(this.listenerId=t++),"_listener"+this.listenerId}};return n}(),ft=Te.extend(mt,{isHidden:!0,options:null,el:null,margin:10,constructor:function(e){this.options=e||{}},show:function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},hide:function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},render:function(){var t=this,n=this.options;this.el=e('<div class="fc-popover"/>').addClass(n.className||"").css({top:0,left:0}).append(n.content).appendTo(n.parentEl),this.el.on("click",".fc-close",function(){t.hide()}),n.autoHide&&this.listenTo(e(document),"mousedown",this.documentMousedown)},documentMousedown:function(t){this.el&&!e(t.target).closest(this.el).length&&this.hide()},removeElement:function(){this.hide(),this.el&&(this.el.remove(),this.el=null),this.stopListeningTo(e(document),"mousedown")},position:function(){var t,n,i,r,a,s=this.options,o=this.el.offsetParent().offset(),l=this.el.outerWidth(),u=this.el.outerHeight(),c=e(window),h=d(this.el);r=s.top||0,a=void 0!==s.left?s.left:void 0!==s.right?s.right-l:0,h.is(window)||h.is(document)?(h=c,t=0,n=0):(i=h.offset(),t=i.top,n=i.left),t+=c.scrollTop(),n+=c.scrollLeft(),s.viewportConstrain!==!1&&(r=Math.min(r,t+h.outerHeight()-u-this.margin),r=Math.max(r,t+this.margin),a=Math.min(a,n+h.outerWidth()-l-this.margin),a=Math.max(a,n+this.margin)),this.el.css({top:r-o.top,left:a-o.left})},trigger:function(e){this.options[e]&&this.options[e].apply(this,Array.prototype.slice.call(arguments,1))}}),gt=qe.CoordCache=Te.extend({els:null,forcedOffsetParentEl:null,origin:null,boundingRect:null,isHorizontal:!1,isVertical:!1,lefts:null,rights:null,tops:null,bottoms:null,constructor:function(t){this.els=e(t.els),this.isHorizontal=t.isHorizontal,this.isVertical=t.isVertical,this.forcedOffsetParentEl=t.offsetParent?e(t.offsetParent):null},build:function(){var e=this.forcedOffsetParentEl;!e&&this.els.length>0&&(e=this.els.eq(0).offsetParent()),this.origin=e?e.offset():null,this.boundingRect=this.queryBoundingRect(),this.isHorizontal&&this.buildElHorizontals(),this.isVertical&&this.buildElVerticals()},clear:function(){this.origin=null,this.boundingRect=null,this.lefts=null,this.rights=null,this.tops=null,this.bottoms=null},ensureBuilt:function(){this.origin||this.build()},buildElHorizontals:function(){var t=[],n=[];this.els.each(function(i,r){var a=e(r),s=a.offset().left,o=a.outerWidth();t.push(s),n.push(s+o)}),this.lefts=t,this.rights=n},buildElVerticals:function(){var t=[],n=[];this.els.each(function(i,r){var a=e(r),s=a.offset().top,o=a.outerHeight();t.push(s),n.push(s+o)}),this.tops=t,this.bottoms=n},getHorizontalIndex:function(e){this.ensureBuilt();var t,n=this.lefts,i=this.rights,r=n.length;for(t=0;t<r;t++)if(e>=n[t]&&e<i[t])return t},getVerticalIndex:function(e){this.ensureBuilt();var t,n=this.tops,i=this.bottoms,r=n.length;for(t=0;t<r;t++)if(e>=n[t]&&e<i[t])return t},getLeftOffset:function(e){return this.ensureBuilt(),this.lefts[e]},getLeftPosition:function(e){return this.ensureBuilt(),this.lefts[e]-this.origin.left},getRightOffset:function(e){return this.ensureBuilt(),this.rights[e]},getRightPosition:function(e){return this.ensureBuilt(),this.rights[e]-this.origin.left},getWidth:function(e){return this.ensureBuilt(),this.rights[e]-this.lefts[e]},getTopOffset:function(e){return this.ensureBuilt(),this.tops[e]},getTopPosition:function(e){return this.ensureBuilt(),this.tops[e]-this.origin.top},getBottomOffset:function(e){return this.ensureBuilt(),this.bottoms[e]},getBottomPosition:function(e){return this.ensureBuilt(),this.bottoms[e]-this.origin.top},getHeight:function(e){return this.ensureBuilt(),this.bottoms[e]-this.tops[e]},queryBoundingRect:function(){var e;return this.els.length>0&&(e=d(this.els.eq(0)),!e.is(document))?p(e):null},isPointInBounds:function(e,t){return this.isLeftInBounds(e)&&this.isTopInBounds(t)},isLeftInBounds:function(e){return!this.boundingRect||e>=this.boundingRect.left&&e<this.boundingRect.right},isTopInBounds:function(e){return!this.boundingRect||e>=this.boundingRect.top&&e<this.boundingRect.bottom}}),vt=qe.DragListener=Te.extend(mt,{options:null,subjectEl:null,originX:null,originY:null,scrollEl:null,isInteracting:!1,isDistanceSurpassed:!1,isDelayEnded:!1,isDragging:!1,isTouch:!1,isGeneric:!1,delay:null,delayTimeoutId:null,minDistance:null,shouldCancelTouchScroll:!0,scrollAlwaysKills:!1,constructor:function(e){this.options=e||{}},startInteraction:function(t,n){if("mousedown"===t.type){if(_t.get().shouldIgnoreMouse())return;if(!b(t))return;t.preventDefault()}this.isInteracting||(n=n||{},this.delay=ue(n.delay,this.options.delay,0),this.minDistance=ue(n.distance,this.options.distance,0),this.subjectEl=this.options.subjectEl,$(e("body")),this.isInteracting=!0,this.isTouch=w(t),this.isGeneric="dragstart"===t.type,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.originX=T(t),this.originY=M(t),this.scrollEl=d(e(t.target)),this.bindHandlers(),this.initAutoScroll(),this.handleInteractionStart(t),this.startDelay(t),this.minDistance||this.handleDistanceSurpassed(t))},handleInteractionStart:function(e){this.trigger("interactionStart",e)},endInteraction:function(t,n){this.isInteracting&&(this.endDrag(t),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null),this.destroyAutoScroll(),this.unbindHandlers(),this.isInteracting=!1,this.handleInteractionEnd(t,n),D(e("body")))},handleInteractionEnd:function(e,t){this.trigger("interactionEnd",e,t||!1)},bindHandlers:function(){var t=_t.get();this.isGeneric?this.listenTo(e(document),{drag:this.handleMove,dragstop:this.endInteraction}):this.isTouch?this.listenTo(t,{touchmove:this.handleTouchMove,touchend:this.endInteraction,scroll:this.handleTouchScroll}):this.listenTo(t,{mousemove:this.handleMouseMove,mouseup:this.endInteraction}),this.listenTo(t,{selectstart:k,contextmenu:k})},unbindHandlers:function(){this.stopListeningTo(_t.get()),this.stopListeningTo(e(document))},startDrag:function(e,t){this.startInteraction(e,t),this.isDragging||(this.isDragging=!0,this.handleDragStart(e))},handleDragStart:function(e){this.trigger("dragStart",e)},handleMove:function(e){var t,n=T(e)-this.originX,i=M(e)-this.originY,r=this.minDistance;this.isDistanceSurpassed||(t=n*n+i*i,t>=r*r&&this.handleDistanceSurpassed(e)),this.isDragging&&this.handleDrag(n,i,e)},handleDrag:function(e,t,n){this.trigger("drag",e,t,n),this.updateAutoScroll(n)},endDrag:function(e){this.isDragging&&(this.isDragging=!1,this.handleDragEnd(e))},handleDragEnd:function(e){this.trigger("dragEnd",e)},startDelay:function(e){var t=this;this.delay?this.delayTimeoutId=setTimeout(function(){t.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)},handleDelayEnd:function(e){this.isDelayEnded=!0,this.isDistanceSurpassed&&this.startDrag(e)},handleDistanceSurpassed:function(e){this.isDistanceSurpassed=!0,this.isDelayEnded&&this.startDrag(e)},handleTouchMove:function(e){this.isDragging&&this.shouldCancelTouchScroll&&e.preventDefault(),this.handleMove(e)},handleMouseMove:function(e){this.handleMove(e)},handleTouchScroll:function(e){this.isDragging&&!this.scrollAlwaysKills||this.endInteraction(e,!0)},trigger:function(e){this.options[e]&&this.options[e].apply(this,Array.prototype.slice.call(arguments,1)),this["_"+e]&&this["_"+e].apply(this,Array.prototype.slice.call(arguments,1))}});vt.mixin({isAutoScroll:!1,scrollBounds:null,scrollTopVel:null,scrollLeftVel:null,scrollIntervalId:null,scrollSensitivity:30,scrollSpeed:200,scrollIntervalMs:50,initAutoScroll:function(){var e=this.scrollEl;this.isAutoScroll=this.options.scroll&&e&&!e.is(window)&&!e.is(document),this.isAutoScroll&&this.listenTo(e,"scroll",ye(this.handleDebouncedScroll,100))},destroyAutoScroll:function(){this.endAutoScroll(),this.isAutoScroll&&this.stopListeningTo(this.scrollEl,"scroll")},computeScrollBounds:function(){this.isAutoScroll&&(this.scrollBounds=h(this.scrollEl))},updateAutoScroll:function(e){var t,n,i,r,a=this.scrollSensitivity,s=this.scrollBounds,o=0,l=0;s&&(t=(a-(M(e)-s.top))/a,n=(a-(s.bottom-M(e)))/a,i=(a-(T(e)-s.left))/a,r=(a-(s.right-T(e)))/a,t>=0&&t<=1?o=t*this.scrollSpeed*-1:n>=0&&n<=1&&(o=n*this.scrollSpeed),i>=0&&i<=1?l=i*this.scrollSpeed*-1:r>=0&&r<=1&&(l=r*this.scrollSpeed)),this.setScrollVel(o,l)},setScrollVel:function(e,t){this.scrollTopVel=e,this.scrollLeftVel=t,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(ve(this,"scrollIntervalFunc"),this.scrollIntervalMs))},constrainScrollVel:function(){var e=this.scrollEl;this.scrollTopVel<0?e.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&e.scrollTop()+e[0].clientHeight>=e[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?e.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&e.scrollLeft()+e[0].clientWidth>=e[0].scrollWidth&&(this.scrollLeftVel=0)},scrollIntervalFunc:function(){var e=this.scrollEl,t=this.scrollIntervalMs/1e3;this.scrollTopVel&&e.scrollTop(e.scrollTop()+this.scrollTopVel*t),this.scrollLeftVel&&e.scrollLeft(e.scrollLeft()+this.scrollLeftVel*t),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.endAutoScroll()},endAutoScroll:function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.handleScrollEnd())},handleDebouncedScroll:function(){this.scrollIntervalId||this.handleScrollEnd()},handleScrollEnd:function(){}});var yt=vt.extend({component:null,origHit:null,hit:null,coordAdjust:null,constructor:function(e,t){vt.call(this,t),this.component=e},handleInteractionStart:function(e){var t,n,i,r=this.subjectEl;this.component.hitsNeeded(),this.computeScrollBounds(),e?(n={left:T(e),top:M(e)},i=n,r&&(t=h(r),i=x(i,t)),this.origHit=this.queryHit(i.left,i.top),r&&this.options.subjectCenter&&(this.origHit&&(t=L(this.origHit,t)||t),i=S(t)),this.coordAdjust=C(i,n)):(this.origHit=null,this.coordAdjust=null),vt.prototype.handleInteractionStart.apply(this,arguments)},handleDragStart:function(e){var t;vt.prototype.handleDragStart.apply(this,arguments),t=this.queryHit(T(e),M(e)),t&&this.handleHitOver(t)},handleDrag:function(e,t,n){var i;vt.prototype.handleDrag.apply(this,arguments),i=this.queryHit(T(n),M(n)),ke(i,this.hit)||(this.hit&&this.handleHitOut(),i&&this.handleHitOver(i))},handleDragEnd:function(){this.handleHitDone(),vt.prototype.handleDragEnd.apply(this,arguments)},handleHitOver:function(e){var t=ke(e,this.origHit);this.hit=e,this.trigger("hitOver",this.hit,t,this.origHit)},handleHitOut:function(){this.hit&&(this.trigger("hitOut",this.hit),this.handleHitDone(),this.hit=null)},handleHitDone:function(){this.hit&&this.trigger("hitDone",this.hit)},handleInteractionEnd:function(){vt.prototype.handleInteractionEnd.apply(this,arguments),this.origHit=null,this.hit=null,this.component.hitsNotNeeded()},handleScrollEnd:function(){vt.prototype.handleScrollEnd.apply(this,arguments),this.isDragging&&(this.component.releaseHits(),this.component.prepareHits())},queryHit:function(e,t){return this.coordAdjust&&(e+=this.coordAdjust.left,t+=this.coordAdjust.top),this.component.queryHit(e,t)}});qe.touchMouseIgnoreWait=500;var _t=Te.extend(mt,pt,{isTouching:!1,mouseIgnoreDepth:0,handleScrollProxy:null,bind:function(){var t=this;this.listenTo(e(document),{touchstart:this.handleTouchStart,touchcancel:this.handleTouchCancel,touchend:this.handleTouchEnd,mousedown:this.handleMouseDown,mousemove:this.handleMouseMove,mouseup:this.handleMouseUp,click:this.handleClick,selectstart:this.handleSelectStart,contextmenu:this.handleContextMenu}),window.addEventListener("touchmove",this.handleTouchMoveProxy=function(n){t.handleTouchMove(e.Event(n))},{passive:!1}),window.addEventListener("scroll",this.handleScrollProxy=function(n){t.handleScroll(e.Event(n))},!0)},unbind:function(){this.stopListeningTo(e(document)),window.removeEventListener("touchmove",this.handleTouchMoveProxy),window.removeEventListener("scroll",this.handleScrollProxy,!0)},handleTouchStart:function(e){this.stopTouch(e,!0),this.isTouching=!0,this.trigger("touchstart",e)},handleTouchMove:function(e){this.isTouching&&this.trigger("touchmove",e)},handleTouchCancel:function(e){this.isTouching&&(this.trigger("touchcancel",e),this.stopTouch(e))},handleTouchEnd:function(e){this.stopTouch(e)},handleMouseDown:function(e){this.shouldIgnoreMouse()||this.trigger("mousedown",e)},handleMouseMove:function(e){this.shouldIgnoreMouse()||this.trigger("mousemove",e)},handleMouseUp:function(e){this.shouldIgnoreMouse()||this.trigger("mouseup",e)},handleClick:function(e){this.shouldIgnoreMouse()||this.trigger("click",e)},handleSelectStart:function(e){this.trigger("selectstart",e)},handleContextMenu:function(e){this.trigger("contextmenu",e)},handleScroll:function(e){this.trigger("scroll",e)},stopTouch:function(e,t){this.isTouching&&(this.isTouching=!1,this.trigger("touchend",e),t||this.startTouchMouseIgnore())},startTouchMouseIgnore:function(){var e=this,t=qe.touchMouseIgnoreWait;t&&(this.mouseIgnoreDepth++,setTimeout(function(){e.mouseIgnoreDepth--},t))},shouldIgnoreMouse:function(){return this.isTouching||Boolean(this.mouseIgnoreDepth)}});!function(){var e=null,t=0;_t.get=function(){return e||(e=new _t,e.bind()),e},_t.needed=function(){_t.get(),t++},_t.unneeded=function(){t--,t||(e.unbind(),e=null)}}();var bt=Te.extend(mt,{options:null,sourceEl:null,el:null,parentEl:null,top0:null,left0:null,y0:null,x0:null,topDelta:null,leftDelta:null,isFollowing:!1,isHidden:!1,isAnimating:!1,constructor:function(t,n){this.options=n=n||{},this.sourceEl=t,this.parentEl=n.parentEl?e(n.parentEl):t.parent()},start:function(t){this.isFollowing||(this.isFollowing=!0,this.y0=M(t),this.x0=T(t),this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),w(t)?this.listenTo(e(document),"touchmove",this.handleMove):this.listenTo(e(document),"mousemove",this.handleMove))},stop:function(t,n){function i(){r.isAnimating=!1,r.removeElement(),r.top0=r.left0=null,n&&n()}var r=this,a=this.options.revertDuration;this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,this.stopListeningTo(e(document)),t&&a&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:a,complete:i})):i())},getEl:function(){var e=this.el;return e||(e=this.el=this.sourceEl.clone().addClass(this.options.additionalClass||"").css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex}),e.addClass("fc-unselectable"),e.appendTo(this.parentEl)),e},removeElement:function(){this.el&&(this.el.remove(),this.el=null)},updatePosition:function(){var e,t;this.getEl(),null===this.top0&&(e=this.sourceEl.offset(),t=this.el.offsetParent().offset(),this.top0=e.top-t.top,this.left0=e.left-t.left),this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},handleMove:function(e){this.topDelta=M(e)-this.y0,this.leftDelta=T(e)-this.x0,this.isHidden||this.updatePosition()},hide:function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},show:function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())}}),Tt=qe.Grid=Te.extend(mt,{hasDayInteractions:!0,view:null,isRTL:null,start:null,end:null,el:null,elsByFill:null,eventTimeFormat:null,displayEventTime:null,displayEventEnd:null,minResizeDuration:null,largeUnit:null,dayClickListener:null,daySelectListener:null,segDragListener:null,segResizeListener:null,externalDragListener:null,constructor:function(e){this.view=e,this.isRTL=e.opt("isRTL"),this.elsByFill={},this.dayClickListener=this.buildDayClickListener(),this.daySelectListener=this.buildDaySelectListener()},computeEventTimeFormat:function(){return this.view.opt("smallTimeFormat")},computeDisplayEventTime:function(){return!0},computeDisplayEventEnd:function(){return!0},setRange:function(e){this.start=e.start.clone(),this.end=e.end.clone(),this.rangeUpdated(),this.processRangeOptions()},rangeUpdated:function(){},processRangeOptions:function(){var e,t,n=this.view;this.eventTimeFormat=n.opt("eventTimeFormat")||n.opt("timeFormat")||this.computeEventTimeFormat(),e=n.opt("displayEventTime"),null==e&&(e=this.computeDisplayEventTime()),t=n.opt("displayEventEnd"),null==t&&(t=this.computeDisplayEventEnd()),this.displayEventTime=e,this.displayEventEnd=t},spanToSegs:function(e){},diffDates:function(e,t){return this.largeUnit?P(e,t,this.largeUnit):O(e,t)},hitsNeededDepth:0,hitsNeeded:function(){this.hitsNeededDepth++||this.prepareHits()},hitsNotNeeded:function(){this.hitsNeededDepth&&!--this.hitsNeededDepth&&this.releaseHits()},prepareHits:function(){},releaseHits:function(){},queryHit:function(e,t){},getSafeHitSpan:function(e){var t=this.getHitSpan(e);return K(t,this.view.activeRange)?t:null},getHitSpan:function(e){},getHitEl:function(e){},setElement:function(e){this.el=e,this.hasDayInteractions&&($(e),this.bindDayHandler("touchstart",this.dayTouchStart),this.bindDayHandler("mousedown",this.dayMousedown)),this.bindSegHandlers(),this.bindGlobalHandlers()},bindDayHandler:function(t,n){var i=this;this.el.on(t,function(t){if(!e(t.target).is(i.segSelector+","+i.segSelector+" *,.fc-more,a[data-goto]"))return n.call(i,t)})},removeElement:function(){this.unbindGlobalHandlers(),this.clearDragListeners(),this.el.remove()},renderSkeleton:function(){},renderDates:function(){},unrenderDates:function(){},bindGlobalHandlers:function(){this.listenTo(e(document),{dragstart:this.externalDragStart,sortstart:this.externalDragStart})},unbindGlobalHandlers:function(){this.stopListeningTo(e(document))},dayMousedown:function(e){var t=this.view;_t.get().shouldIgnoreMouse()||(this.dayClickListener.startInteraction(e),t.opt("selectable")&&this.daySelectListener.startInteraction(e,{distance:t.opt("selectMinDistance")}))},dayTouchStart:function(e){var t,n=this.view;n.isSelected||n.selectedEvent||(t=n.opt("selectLongPressDelay"),null==t&&(t=n.opt("longPressDelay")),this.dayClickListener.startInteraction(e),n.opt("selectable")&&this.daySelectListener.startInteraction(e,{delay:t}))},buildDayClickListener:function(){var e,t=this,n=this.view,i=new yt(this,{scroll:n.opt("dragScroll"),interactionStart:function(){e=i.origHit},hitOver:function(t,n,i){n||(e=null)},hitOut:function(){e=null},interactionEnd:function(i,r){var a;!r&&e&&(a=t.getSafeHitSpan(e),a&&n.triggerDayClick(a,t.getHitEl(e),i))}});return i.shouldCancelTouchScroll=!1,i.scrollAlwaysKills=!0,i},buildDaySelectListener:function(){var e,t=this,n=this.view,i=new yt(this,{scroll:n.opt("dragScroll"),interactionStart:function(){e=null},dragStart:function(){n.unselect()},hitOver:function(n,i,r){var s,o;r&&(s=t.getSafeHitSpan(r),o=t.getSafeHitSpan(n),e=s&&o?t.computeSelection(s,o):null,e?t.renderSelection(e):e===!1&&a())},hitOut:function(){ e=null,t.unrenderSelection()},hitDone:function(){s()},interactionEnd:function(t,i){!i&&e&&n.reportSelection(e,t)}});return i},clearDragListeners:function(){this.dayClickListener.endInteraction(),this.daySelectListener.endInteraction(),this.segDragListener&&this.segDragListener.endInteraction(),this.segResizeListener&&this.segResizeListener.endInteraction(),this.externalDragListener&&this.externalDragListener.endInteraction()},renderEventLocationHelper:function(e,t){var n=this.fabricateHelperEvent(e,t);return this.renderHelper(n,t)},fabricateHelperEvent:function(e,t){var n=t?re(t.event):{};return n.start=e.start.clone(),n.end=e.end?e.end.clone():null,n.allDay=null,this.view.calendar.normalizeEventDates(n),n.className=(n.className||[]).concat("fc-helper"),t||(n.editable=!1),n},renderHelper:function(e,t){},unrenderHelper:function(){},renderSelection:function(e){this.renderHighlight(e)},unrenderSelection:function(){this.unrenderHighlight()},computeSelection:function(e,t){var n=this.computeSelectionSpan(e,t);return!(n&&!this.view.calendar.isSelectionSpanAllowed(n))&&n},computeSelectionSpan:function(e,t){var n=[e.start,e.end,t.start,t.end];return n.sort(fe),{start:n[0].clone(),end:n[3].clone()}},renderHighlight:function(e){this.renderFill("highlight",this.spanToSegs(e))},unrenderHighlight:function(){this.unrenderFill("highlight")},highlightSegClasses:function(){return["fc-highlight"]},renderBusinessHours:function(){},unrenderBusinessHours:function(){},getNowIndicatorUnit:function(){},renderNowIndicator:function(e){},unrenderNowIndicator:function(){},renderFill:function(e,t){},unrenderFill:function(e){var t=this.elsByFill[e];t&&(t.remove(),delete this.elsByFill[e])},renderFillSegEls:function(t,n){var i,r=this,a=this[t+"SegEl"],s="",o=[];if(n.length){for(i=0;i<n.length;i++)s+=this.fillSegHtml(t,n[i]);e(s).each(function(t,i){var s=n[t],l=e(i);a&&(l=a.call(r,s,l)),l&&(l=e(l),l.is(r.fillSegTag)&&(s.el=l,o.push(s)))})}return o},fillSegTag:"div",fillSegHtml:function(e,t){var n=this[e+"SegClasses"],i=this[e+"SegCss"],r=n?n.call(this,t):[],a=he(i?i.call(this,t):{});return"<"+this.fillSegTag+(r.length?' class="'+r.join(" ")+'"':"")+(a?' style="'+a+'"':"")+" />"},getDayClasses:function(e,t){var n,i=this.view,r=[];return q(e,i.activeRange)?(r.push("fc-"+Qe[e.day()]),1==i.currentRangeAs("months")&&e.month()!=i.currentRange.start.month()&&r.push("fc-other-month"),n=i.calendar.getNow(),e.isSame(n,"day")?(r.push("fc-today"),t!==!0&&r.push(i.highlightStateClass)):e<n?r.push("fc-past"):r.push("fc-future")):r.push("fc-disabled-day"),r}});Tt.mixin({segSelector:".fc-event-container > *",mousedOverSeg:null,isDraggingSeg:!1,isResizingSeg:!1,isDraggingExternal:!1,segs:null,renderEvents:function(e){var t,n=[],i=[];for(t=0;t<e.length;t++)(Se(e[t])?n:i).push(e[t]);this.segs=[].concat(this.renderBgEvents(n),this.renderFgEvents(i))},renderBgEvents:function(e){var t=this.eventsToSegs(e);return this.renderBgSegs(t)||t},renderFgEvents:function(e){var t=this.eventsToSegs(e);return this.renderFgSegs(t)||t},unrenderEvents:function(){this.handleSegMouseout(),this.clearDragListeners(),this.unrenderFgSegs(),this.unrenderBgSegs(),this.segs=null},getEventSegs:function(){return this.segs||[]},renderFgSegs:function(e){},unrenderFgSegs:function(){},renderFgSegEls:function(t,n){var i,r=this.view,a="",s=[];if(t.length){for(i=0;i<t.length;i++)a+=this.fgSegHtml(t[i],n);e(a).each(function(n,i){var a=t[n],o=r.resolveEventEl(a.event,e(i));o&&(o.data("fc-seg",a),a.el=o,s.push(a))})}return s},fgSegHtml:function(e,t){},renderBgSegs:function(e){return this.renderFill("bgEvent",e)},unrenderBgSegs:function(){this.unrenderFill("bgEvent")},bgEventSegEl:function(e,t){return this.view.resolveEventEl(e.event,t)},bgEventSegClasses:function(e){var t=e.event,n=t.source||{};return["fc-bgevent"].concat(t.className,n.className||[])},bgEventSegCss:function(e){return{"background-color":this.getSegSkinCss(e)["background-color"]}},businessHoursSegClasses:function(e){return["fc-nonbusiness","fc-bgevent"]},buildBusinessHourSegs:function(e,t){return this.eventsToSegs(this.buildBusinessHourEvents(e,t))},buildBusinessHourEvents:function(t,n){var i,r=this.view.calendar;return null==n&&(n=r.opt("businessHours")),i=r.computeBusinessHourEvents(t,n),!i.length&&n&&(i=[e.extend({},It,{start:this.view.activeRange.end,end:this.view.activeRange.end,dow:null})]),i},bindSegHandlers:function(){this.bindSegHandlersToEl(this.el)},bindSegHandlersToEl:function(e){this.bindSegHandlerToEl(e,"touchstart",this.handleSegTouchStart),this.bindSegHandlerToEl(e,"mouseenter",this.handleSegMouseover),this.bindSegHandlerToEl(e,"mouseleave",this.handleSegMouseout),this.bindSegHandlerToEl(e,"mousedown",this.handleSegMousedown),this.bindSegHandlerToEl(e,"click",this.handleSegClick)},bindSegHandlerToEl:function(t,n,i){var r=this;t.on(n,this.segSelector,function(t){var n=e(this).data("fc-seg");if(n&&!r.isDraggingSeg&&!r.isResizingSeg)return i.call(r,n,t)})},handleSegClick:function(e,t){var n=this.view.publiclyTrigger("eventClick",e.el[0],e.event,t);n===!1&&t.preventDefault()},handleSegMouseover:function(e,t){_t.get().shouldIgnoreMouse()||this.mousedOverSeg||(this.mousedOverSeg=e,this.view.isEventResizable(e.event)&&e.el.addClass("fc-allow-mouse-resize"),this.view.publiclyTrigger("eventMouseover",e.el[0],e.event,t))},handleSegMouseout:function(e,t){t=t||{},this.mousedOverSeg&&(e=e||this.mousedOverSeg,this.mousedOverSeg=null,this.view.isEventResizable(e.event)&&e.el.removeClass("fc-allow-mouse-resize"),this.view.publiclyTrigger("eventMouseout",e.el[0],e.event,t))},handleSegMousedown:function(e,t){var n=this.startSegResize(e,t,{distance:5});!n&&this.view.isEventDraggable(e.event)&&this.buildSegDragListener(e).startInteraction(t,{distance:5})},handleSegTouchStart:function(e,t){var n,i,r=this.view,a=e.event,s=r.isEventSelected(a),o=r.isEventDraggable(a),l=r.isEventResizable(a),u=!1;s&&l&&(u=this.startSegResize(e,t)),u||!o&&!l||(i=r.opt("eventLongPressDelay"),null==i&&(i=r.opt("longPressDelay")),n=o?this.buildSegDragListener(e):this.buildSegSelectListener(e),n.startInteraction(t,{delay:s?0:i}))},startSegResize:function(t,n,i){return!!e(n.target).is(".fc-resizer")&&(this.buildSegResizeListener(t,e(n.target).is(".fc-start-resizer")).startInteraction(n,i),!0)},buildSegDragListener:function(e){var t,n,i,r=this,o=this.view,l=e.el,u=e.event;if(this.segDragListener)return this.segDragListener;var c=this.segDragListener=new yt(o,{scroll:o.opt("dragScroll"),subjectEl:l,subjectCenter:!0,interactionStart:function(i){e.component=r,t=!1,n=new bt(e.el,{additionalClass:"fc-dragging",parentEl:o.el,opacity:c.isTouch?null:o.opt("dragOpacity"),revertDuration:o.opt("dragRevertDuration"),zIndex:2}),n.hide(),n.start(i)},dragStart:function(n){c.isTouch&&!o.isEventSelected(u)&&o.selectEvent(u),t=!0,r.handleSegMouseout(e,n),r.segDragStart(e,n),o.hideEvent(u)},hitOver:function(t,s,l){var d,h,p,m=!0;e.hit&&(l=e.hit),d=l.component.getSafeHitSpan(l),h=t.component.getSafeHitSpan(t),d&&h?(i=r.computeEventDrop(d,h,u),m=i&&r.isEventLocationAllowed(i,u)):m=!1,m||(i=null,a()),i&&(p=o.renderDrag(i,e))?(p.addClass("fc-dragging"),c.isTouch||r.applyDragOpacity(p),n.hide()):n.show(),s&&(i=null)},hitOut:function(){o.unrenderDrag(),n.show(),i=null},hitDone:function(){s()},interactionEnd:function(a){delete e.component,n.stop(!i,function(){t&&(o.unrenderDrag(),r.segDragStop(e,a)),i?o.reportSegDrop(e,i,r.largeUnit,l,a):o.showEvent(u)}),r.segDragListener=null}});return c},buildSegSelectListener:function(e){var t=this,n=this.view,i=e.event;if(this.segDragListener)return this.segDragListener;var r=this.segDragListener=new vt({dragStart:function(e){r.isTouch&&!n.isEventSelected(i)&&n.selectEvent(i)},interactionEnd:function(e){t.segDragListener=null}});return r},segDragStart:function(e,t){this.isDraggingSeg=!0,this.view.publiclyTrigger("eventDragStart",e.el[0],e.event,t,{})},segDragStop:function(e,t){this.isDraggingSeg=!1,this.view.publiclyTrigger("eventDragStop",e.el[0],e.event,t,{})},computeEventDrop:function(e,t,n){var i,r,a=this.view.calendar,s=e.start,o=t.start;return s.hasTime()===o.hasTime()?(i=this.diffDates(o,s),n.allDay&&ee(i)?(r={start:n.start.clone(),end:a.getEventEnd(n),allDay:!1},a.normalizeEventTimes(r)):r=xe(n),r.start.add(i),r.end&&r.end.add(i)):r={start:o.clone(),end:null,allDay:!o.hasTime()},r},applyDragOpacity:function(e){var t=this.view.opt("dragOpacity");null!=t&&e.css("opacity",t)},externalDragStart:function(t,n){var i,r,a=this.view;a.opt("droppable")&&(i=e((n?n.item:null)||t.target),r=a.opt("dropAccept"),(e.isFunction(r)?r.call(i[0],i):i.is(r))&&(this.isDraggingExternal||this.listenToExternalDrag(i,t,n)))},listenToExternalDrag:function(e,t,n){var i,r=this,o=this.view,l=Ie(e),u=r.externalDragListener=new yt(this,{interactionStart:function(){r.isDraggingExternal=!0},hitOver:function(e){var t=!0,n=e.component.getSafeHitSpan(e);n?(i=r.computeExternalDrop(n,l),t=i&&r.isExternalLocationAllowed(i,l.eventProps)):t=!1,t||(i=null,a()),i&&r.renderDrag(i)},hitOut:function(){i=null},hitDone:function(){s(),r.unrenderDrag()},interactionEnd:function(t){i&&o.reportExternalDrop(l,i,e,t,n),r.isDraggingExternal=!1,r.externalDragListener=null}});u.startDrag(t)},computeExternalDrop:function(e,t){var n=this.view.calendar,i={start:n.applyTimezone(e.start),end:null};return t.startTime&&!i.start.hasTime()&&i.start.time(t.startTime),t.duration&&(i.end=i.start.clone().add(t.duration)),i},renderDrag:function(e,t){},unrenderDrag:function(){},buildSegResizeListener:function(e,t){var n,i,r=this,o=this.view,l=o.calendar,u=e.el,c=e.event,d=l.getEventEnd(c),h=this.segResizeListener=new yt(this,{scroll:o.opt("dragScroll"),subjectEl:u,interactionStart:function(){n=!1},dragStart:function(t){n=!0,r.handleSegMouseout(e,t),r.segResizeStart(e,t)},hitOver:function(n,s,l){var u=!0,h=r.getSafeHitSpan(l),p=r.getSafeHitSpan(n);h&&p?(i=t?r.computeEventStartResize(h,p,c):r.computeEventEndResize(h,p,c),u=i&&r.isEventLocationAllowed(i,c)):u=!1,u?i.start.isSame(c.start.clone().stripZone())&&i.end.isSame(d.clone().stripZone())&&(i=null):(i=null,a()),i&&(o.hideEvent(c),r.renderEventResize(i,e))},hitOut:function(){i=null,o.showEvent(c)},hitDone:function(){r.unrenderEventResize(),s()},interactionEnd:function(t){n&&r.segResizeStop(e,t),i?o.reportSegResize(e,i,r.largeUnit,u,t):o.showEvent(c),r.segResizeListener=null}});return h},segResizeStart:function(e,t){this.isResizingSeg=!0,this.view.publiclyTrigger("eventResizeStart",e.el[0],e.event,t,{})},segResizeStop:function(e,t){this.isResizingSeg=!1,this.view.publiclyTrigger("eventResizeStop",e.el[0],e.event,t,{})},computeEventStartResize:function(e,t,n){return this.computeEventResize("start",e,t,n)},computeEventEndResize:function(e,t,n){return this.computeEventResize("end",e,t,n)},computeEventResize:function(e,t,n,i){var r,a,s=this.view.calendar,o=this.diffDates(n[e],t[e]);return r={start:i.start.clone(),end:s.getEventEnd(i),allDay:i.allDay},r.allDay&&ee(o)&&(r.allDay=!1,s.normalizeEventTimes(r)),r[e].add(o),r.start.isBefore(r.end)||(a=this.minResizeDuration||(i.allDay?s.defaultAllDayEventDuration:s.defaultTimedEventDuration),"start"==e?r.start=r.end.clone().subtract(a):r.end=r.start.clone().add(a)),r},renderEventResize:function(e,t){},unrenderEventResize:function(){},getEventTimeText:function(e,t,n){return null==t&&(t=this.eventTimeFormat),null==n&&(n=this.displayEventEnd),this.displayEventTime&&e.start.hasTime()?n&&e.end?this.view.formatRange(e,t):e.start.format(t):""},getSegClasses:function(e,t,n){var i=this.view,r=["fc-event",e.isStart?"fc-start":"fc-not-start",e.isEnd?"fc-end":"fc-not-end"].concat(this.getSegCustomClasses(e));return t&&r.push("fc-draggable"),n&&r.push("fc-resizable"),i.isEventSelected(e.event)&&r.push("fc-selected"),r},getSegCustomClasses:function(e){var t=e.event;return[].concat(t.className,t.source?t.source.className:[])},getSegSkinCss:function(e){return{"background-color":this.getSegBackgroundColor(e),"border-color":this.getSegBorderColor(e),color:this.getSegTextColor(e)}},getSegBackgroundColor:function(e){return e.event.backgroundColor||e.event.color||this.getSegDefaultBackgroundColor(e)},getSegDefaultBackgroundColor:function(e){var t=e.event.source||{};return t.backgroundColor||t.color||this.view.opt("eventBackgroundColor")||this.view.opt("eventColor")},getSegBorderColor:function(e){return e.event.borderColor||e.event.color||this.getSegDefaultBorderColor(e)},getSegDefaultBorderColor:function(e){var t=e.event.source||{};return t.borderColor||t.color||this.view.opt("eventBorderColor")||this.view.opt("eventColor")},getSegTextColor:function(e){return e.event.textColor||this.getSegDefaultTextColor(e)},getSegDefaultTextColor:function(e){var t=e.event.source||{};return t.textColor||this.view.opt("eventTextColor")},isEventLocationAllowed:function(e,t){if(this.isEventLocationInRange(e)){var n,i=this.view.calendar,r=this.eventToSpans(e);if(r.length){for(n=0;n<r.length;n++)if(!i.isEventSpanAllowed(r[n],t))return!1;return!0}}return!1},isExternalLocationAllowed:function(e,t){if(this.isEventLocationInRange(e)){var n,i=this.view.calendar,r=this.eventToSpans(e);if(r.length){for(n=0;n<r.length;n++)if(!i.isExternalSpanAllowed(r[n],e,t))return!1;return!0}}return!1},isEventLocationInRange:function(e){return K(this.eventToRawRange(e),this.view.validRange)},eventToSegs:function(e){return this.eventsToSegs([e])},eventToSpans:function(e){var t=this.eventToRange(e);return t?this.eventRangeToSpans(t,e):[]},eventsToSegs:function(t,n){var i=this,r=Ye(t),a=[];return e.each(r,function(e,t){var r,s,o=[],l=[];for(s=0;s<t.length;s++)r=i.eventToRange(t[s]),r&&(l.push(r),o.push(t[s]));if(Ce(t[0]))for(l=i.invertRanges(l),s=0;s<l.length;s++)a.push.apply(a,i.eventRangeToSegs(l[s],t[0],n));else for(s=0;s<l.length;s++)a.push.apply(a,i.eventRangeToSegs(l[s],o[s],n))}),a},eventToRange:function(e){return this.refineRawEventRange(this.eventToRawRange(e))},refineRawEventRange:function(e){var t=this.view,n=t.calendar,i=H(e,t.activeRange);if(i)return n.localizeMoment(i.start),n.localizeMoment(i.end),i},eventToRawRange:function(e){var t=this.view.calendar,n=e.start.clone().stripZone(),i=(e.end?e.end.clone():t.getDefaultEventEnd(null!=e.allDay?e.allDay:!e.start.hasTime(),e.start)).stripZone();return{start:n,end:i}},eventRangeToSegs:function(e,t,n){var i,r=this.eventRangeToSpans(e,t),a=[];for(i=0;i<r.length;i++)a.push.apply(a,this.eventSpanToSegs(r[i],t,n));return a},eventRangeToSpans:function(t,n){return[e.extend({},t)]},eventSpanToSegs:function(e,t,n){var i,r,a=n?n(e):this.spanToSegs(e);for(i=0;i<a.length;i++)r=a[i],e.isStart||(r.isStart=!1),e.isEnd||(r.isEnd=!1),r.event=t,r.eventStartMS=+e.start,r.eventDurationMS=e.end-e.start;return a},invertRanges:function(e){var t,n,i=this.view,r=i.activeRange.start.clone(),a=i.activeRange.end.clone(),s=[],o=r;for(e.sort(Ee),t=0;t<e.length;t++)n=e[t],n.start>o&&s.push({start:o,end:n.start}),n.end>o&&(o=n.end);return o<a&&s.push({start:o,end:a}),s},sortEventSegs:function(e){e.sort(ve(this,"compareEventSegs"))},compareEventSegs:function(e,t){return e.eventStartMS-t.eventStartMS||t.eventDurationMS-e.eventDurationMS||t.event.allDay-e.event.allDay||Y(e.event,t.event,this.view.eventOrderSpecs)}}),qe.pluckEventDateProps=xe,qe.isBgEvent=Se,qe.dataAttrPrefix="";var Mt=qe.DayTableMixin={breakOnWeeks:!1,dayDates:null,dayIndices:null,daysPerRow:null,rowCnt:null,colCnt:null,colHeadFormat:null,updateDayTable:function(){for(var e,t,n,i=this.view,r=this.start.clone(),a=-1,s=[],o=[];r.isBefore(this.end);)i.isHiddenDay(r)?s.push(a+.5):(a++,s.push(a),o.push(r.clone())),r.add(1,"days");if(this.breakOnWeeks){for(t=o[0].day(),e=1;e<o.length&&o[e].day()!=t;e++);n=Math.ceil(o.length/e)}else n=1,e=o.length;this.dayDates=o,this.dayIndices=s,this.daysPerRow=e,this.rowCnt=n,this.updateDayTableCols()},updateDayTableCols:function(){this.colCnt=this.computeColCnt(),this.colHeadFormat=this.view.opt("columnFormat")||this.computeColHeadFormat()},computeColCnt:function(){return this.daysPerRow},getCellDate:function(e,t){return this.dayDates[this.getCellDayIndex(e,t)].clone()},getCellRange:function(e,t){var n=this.getCellDate(e,t),i=n.clone().add(1,"days");return{start:n,end:i}},getCellDayIndex:function(e,t){return e*this.daysPerRow+this.getColDayIndex(t)},getColDayIndex:function(e){return this.isRTL?this.colCnt-1-e:e},getDateDayIndex:function(e){var t=this.dayIndices,n=e.diff(this.start,"days");return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},computeColHeadFormat:function(){return this.rowCnt>1||this.colCnt>10?"ddd":this.colCnt>1?this.view.opt("dayOfMonthFormat"):"dddd"},sliceRangeByRow:function(e){var t,n,i,r,a,s=this.daysPerRow,o=this.view.computeDayRange(e),l=this.getDateDayIndex(o.start),u=this.getDateDayIndex(o.end.clone().subtract(1,"days")),c=[];for(t=0;t<this.rowCnt;t++)n=t*s,i=n+s-1,r=Math.max(l,n),a=Math.min(u,i),r=Math.ceil(r),a=Math.floor(a),r<=a&&c.push({row:t,firstRowDayIndex:r-n,lastRowDayIndex:a-n,isStart:r===l,isEnd:a===u});return c},sliceRangeByDay:function(e){var t,n,i,r,a,s,o=this.daysPerRow,l=this.view.computeDayRange(e),u=this.getDateDayIndex(l.start),c=this.getDateDayIndex(l.end.clone().subtract(1,"days")),d=[];for(t=0;t<this.rowCnt;t++)for(n=t*o,i=n+o-1,r=n;r<=i;r++)a=Math.max(u,r),s=Math.min(c,r),a=Math.ceil(a),s=Math.floor(s),a<=s&&d.push({row:t,firstRowDayIndex:a-n,lastRowDayIndex:s-n,isStart:a===u,isEnd:s===c});return d},renderHeadHtml:function(){var e=this.view;return'<div class="fc-row '+e.widgetHeaderClass+'"><table><thead>'+this.renderHeadTrHtml()+"</thead></table></div>"},renderHeadIntroHtml:function(){return this.renderIntroHtml()},renderHeadTrHtml:function(){return"<tr>"+(this.isRTL?"":this.renderHeadIntroHtml())+this.renderHeadDateCellsHtml()+(this.isRTL?this.renderHeadIntroHtml():"")+"</tr>"},renderHeadDateCellsHtml:function(){var e,t,n=[];for(e=0;e<this.colCnt;e++)t=this.getCellDate(0,e),n.push(this.renderHeadDateCellHtml(t));return n.join("")},renderHeadDateCellHtml:function(e,t,n){var i=this.view,r=q(e,i.activeRange),a=["fc-day-header",i.widgetHeaderClass],s=ce(e.format(this.colHeadFormat));return 1===this.rowCnt?a=a.concat(this.getDayClasses(e,!0)):a.push("fc-"+Qe[e.day()]),'<th class="'+a.join(" ")+'"'+(1===(r&&this.rowCnt)?' data-date="'+e.format("YYYY-MM-DD")+'"':"")+(t>1?' colspan="'+t+'"':"")+(n?" "+n:"")+">"+(r?i.buildGotoAnchorHtml({date:e,forceOff:this.rowCnt>1||1===this.colCnt},s):s)+"</th>"},renderBgTrHtml:function(e){return"<tr>"+(this.isRTL?"":this.renderBgIntroHtml(e))+this.renderBgCellsHtml(e)+(this.isRTL?this.renderBgIntroHtml(e):"")+"</tr>"},renderBgIntroHtml:function(e){return this.renderIntroHtml()},renderBgCellsHtml:function(e){var t,n,i=[];for(t=0;t<this.colCnt;t++)n=this.getCellDate(e,t),i.push(this.renderBgCellHtml(n));return i.join("")},renderBgCellHtml:function(e,t){var n=this.view,i=q(e,n.activeRange),r=this.getDayClasses(e);return r.unshift("fc-day",n.widgetContentClass),'<td class="'+r.join(" ")+'"'+(i?' data-date="'+e.format("YYYY-MM-DD")+'"':"")+(t?" "+t:"")+"></td>"},renderIntroHtml:function(){},bookendCells:function(e){var t=this.renderIntroHtml();t&&(this.isRTL?e.append(t):e.prepend(t))}},wt=qe.DayGrid=Tt.extend(Mt,{numbersVisible:!1,bottomCoordPadding:0,rowEls:null,cellEls:null,helperEls:null,rowCoordCache:null,colCoordCache:null,renderDates:function(e){var t,n,i=this.view,r=this.rowCnt,a=this.colCnt,s="";for(t=0;t<r;t++)s+=this.renderDayRowHtml(t,e);for(this.el.html(s),this.rowEls=this.el.find(".fc-row"),this.cellEls=this.el.find(".fc-day, .fc-disabled-day"),this.rowCoordCache=new gt({els:this.rowEls,isVertical:!0}),this.colCoordCache=new gt({els:this.cellEls.slice(0,this.colCnt),isHorizontal:!0}),t=0;t<r;t++)for(n=0;n<a;n++)i.publiclyTrigger("dayRender",null,this.getCellDate(t,n),this.getCellEl(t,n))},unrenderDates:function(){this.removeSegPopover()},renderBusinessHours:function(){var e=this.buildBusinessHourSegs(!0);this.renderFill("businessHours",e,"bgevent")},unrenderBusinessHours:function(){this.unrenderFill("businessHours")},renderDayRowHtml:function(e,t){var n=this.view,i=["fc-row","fc-week",n.widgetContentClass];return t&&i.push("fc-rigid"),'<div class="'+i.join(" ")+'"><div class="fc-bg"><table>'+this.renderBgTrHtml(e)+'</table></div><div class="fc-content-skeleton"><table>'+(this.numbersVisible?"<thead>"+this.renderNumberTrHtml(e)+"</thead>":"")+"</table></div></div>"},renderNumberTrHtml:function(e){return"<tr>"+(this.isRTL?"":this.renderNumberIntroHtml(e))+this.renderNumberCellsHtml(e)+(this.isRTL?this.renderNumberIntroHtml(e):"")+"</tr>"},renderNumberIntroHtml:function(e){return this.renderIntroHtml()},renderNumberCellsHtml:function(e){var t,n,i=[];for(t=0;t<this.colCnt;t++)n=this.getCellDate(e,t),i.push(this.renderNumberCellHtml(n));return i.join("")},renderNumberCellHtml:function(e){var t,n,i=this.view,r="",a=q(e,i.activeRange),s=i.dayNumbersVisible&&a;return s||i.cellWeekNumbersVisible?(t=this.getDayClasses(e),t.unshift("fc-day-top"),i.cellWeekNumbersVisible&&(n="ISO"===e._locale._fullCalendar_weekCalc?1:e._locale.firstDayOfWeek()),r+='<td class="'+t.join(" ")+'"'+(a?' data-date="'+e.format()+'"':"")+">",i.cellWeekNumbersVisible&&e.day()==n&&(r+=i.buildGotoAnchorHtml({date:e,type:"week"},{class:"fc-week-number"},e.format("w"))),s&&(r+=i.buildGotoAnchorHtml(e,{class:"fc-day-number"},e.date())),r+="</td>"):"<td/>"},computeEventTimeFormat:function(){return this.view.opt("extraSmallTimeFormat")},computeDisplayEventEnd:function(){return 1==this.colCnt},rangeUpdated:function(){this.updateDayTable()},spanToSegs:function(e){var t,n,i=this.sliceRangeByRow(e);for(t=0;t<i.length;t++)n=i[t],this.isRTL?(n.leftCol=this.daysPerRow-1-n.lastRowDayIndex,n.rightCol=this.daysPerRow-1-n.firstRowDayIndex):(n.leftCol=n.firstRowDayIndex,n.rightCol=n.lastRowDayIndex);return i},prepareHits:function(){this.colCoordCache.build(),this.rowCoordCache.build(),this.rowCoordCache.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},releaseHits:function(){this.colCoordCache.clear(),this.rowCoordCache.clear()},queryHit:function(e,t){if(this.colCoordCache.isLeftInBounds(e)&&this.rowCoordCache.isTopInBounds(t)){var n=this.colCoordCache.getHorizontalIndex(e),i=this.rowCoordCache.getVerticalIndex(t);if(null!=i&&null!=n)return this.getCellHit(i,n)}},getHitSpan:function(e){return this.getCellRange(e.row,e.col)},getHitEl:function(e){return this.getCellEl(e.row,e.col)},getCellHit:function(e,t){return{row:e,col:t,component:this,left:this.colCoordCache.getLeftOffset(t),right:this.colCoordCache.getRightOffset(t),top:this.rowCoordCache.getTopOffset(e),bottom:this.rowCoordCache.getBottomOffset(e)}},getCellEl:function(e,t){return this.cellEls.eq(e*this.colCnt+t)},renderDrag:function(e,t){var n,i=this.eventToSpans(e);for(n=0;n<i.length;n++)this.renderHighlight(i[n]);if(t&&t.component!==this)return this.renderEventLocationHelper(e,t)},unrenderDrag:function(){this.unrenderHighlight(),this.unrenderHelper()},renderEventResize:function(e,t){var n,i=this.eventToSpans(e);for(n=0;n<i.length;n++)this.renderHighlight(i[n]);return this.renderEventLocationHelper(e,t)},unrenderEventResize:function(){this.unrenderHighlight(),this.unrenderHelper()},renderHelper:function(t,n){var i,r=[],a=this.eventToSegs(t);return a=this.renderFgSegEls(a),i=this.renderSegRows(a),this.rowEls.each(function(t,a){var s,o=e(a),l=e('<div class="fc-helper-skeleton"><table/></div>');s=n&&n.row===t?n.el.position().top:o.find(".fc-content-skeleton tbody").position().top,l.css("top",s).find("table").append(i[t].tbodyEl),o.append(l),r.push(l[0])}),this.helperEls=e(r)},unrenderHelper:function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},fillSegTag:"td",renderFill:function(t,n,i){var r,a,s,o=[];for(n=this.renderFillSegEls(t,n),r=0;r<n.length;r++)a=n[r],s=this.renderFillRow(t,a,i),this.rowEls.eq(a.row).append(s),o.push(s[0]);return this.elsByFill[t]=e(o),n},renderFillRow:function(t,n,i){var r,a,s=this.colCnt,o=n.leftCol,l=n.rightCol+1;return i=i||t.toLowerCase(),r=e('<div class="fc-'+i+'-skeleton"><table><tr/></table></div>'),a=r.find("tr"),o>0&&a.append('<td colspan="'+o+'"/>'),a.append(n.el.attr("colspan",l-o)),l<s&&a.append('<td colspan="'+(s-l)+'"/>'),this.bookendCells(a),r}});wt.mixin({rowStructs:null,unrenderEvents:function(){this.removeSegPopover(),Tt.prototype.unrenderEvents.apply(this,arguments)},getEventSegs:function(){return Tt.prototype.getEventSegs.call(this).concat(this.popoverSegs||[])},renderBgSegs:function(t){var n=e.grep(t,function(e){return e.event.allDay});return Tt.prototype.renderBgSegs.call(this,n)},renderFgSegs:function(t){var n;return t=this.renderFgSegEls(t),n=this.rowStructs=this.renderSegRows(t),this.rowEls.each(function(t,i){e(i).find(".fc-content-skeleton > table").append(n[t].tbodyEl)}),t},unrenderFgSegs:function(){for(var e,t=this.rowStructs||[];e=t.pop();)e.tbodyEl.remove();this.rowStructs=null},renderSegRows:function(e){var t,n,i=[];for(t=this.groupSegRows(e),n=0;n<t.length;n++)i.push(this.renderSegRow(n,t[n]));return i},fgSegHtml:function(e,t){var n,i,r=this.view,a=e.event,s=r.isEventDraggable(a),o=!t&&a.allDay&&e.isStart&&r.isEventResizableFromStart(a),l=!t&&a.allDay&&e.isEnd&&r.isEventResizableFromEnd(a),u=this.getSegClasses(e,s,o||l),c=he(this.getSegSkinCss(e)),d="";return u.unshift("fc-day-grid-event","fc-h-event"),e.isStart&&(n=this.getEventTimeText(a),n&&(d='<span class="fc-time">'+ce(n)+"</span>")),i='<span class="fc-title">'+(ce(a.title||"")||" ")+"</span>",'<a class="'+u.join(" ")+'"'+(a.url?' href="'+ce(a.url)+'"':"")+(c?' style="'+c+'"':"")+'><div class="fc-content">'+(this.isRTL?i+" "+d:d+" "+i)+"</div>"+(o?'<div class="fc-resizer fc-start-resizer" />':"")+(l?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},renderSegRow:function(t,n){function i(t){for(;s<t;)c=(v[r-1]||[])[s],c?c.attr("rowspan",parseInt(c.attr("rowspan")||1,10)+1):(c=e("<td/>"),o.append(c)),g[r][s]=c,v[r][s]=c,s++}var r,a,s,o,l,u,c,d=this.colCnt,h=this.buildSegLevels(n),p=Math.max(1,h.length),m=e("<tbody/>"),f=[],g=[],v=[];for(r=0;r<p;r++){if(a=h[r],s=0,o=e("<tr/>"),f.push([]),g.push([]),v.push([]),a)for(l=0;l<a.length;l++){for(u=a[l],i(u.leftCol),c=e('<td class="fc-event-container"/>').append(u.el),u.leftCol!=u.rightCol?c.attr("colspan",u.rightCol-u.leftCol+1):v[r][s]=c;s<=u.rightCol;)g[r][s]=c,f[r][s]=u,s++;o.append(c)}i(d),this.bookendCells(o),m.append(o)}return{row:t,tbodyEl:m,cellMatrix:g,segMatrix:f,segLevels:h,segs:n}},buildSegLevels:function(e){var t,n,i,r=[];for(this.sortEventSegs(e),t=0;t<e.length;t++){for(n=e[t],i=0;i<r.length&&He(n,r[i]);i++);n.level=i,(r[i]||(r[i]=[])).push(n)}for(i=0;i<r.length;i++)r[i].sort(Oe);return r},groupSegRows:function(e){var t,n=[];for(t=0;t<this.rowCnt;t++)n.push([]);for(t=0;t<e.length;t++)n[e[t].row].push(e[t]);return n}}),wt.mixin({segPopover:null,popoverSegs:null,removeSegPopover:function(){this.segPopover&&this.segPopover.hide()},limitRows:function(e){var t,n,i=this.rowStructs||[];for(t=0;t<i.length;t++)this.unlimitRow(t),n=!!e&&("number"==typeof e?e:this.computeRowLevelLimit(t)),n!==!1&&this.limitRow(t,n)},computeRowLevelLimit:function(t){function n(t,n){a=Math.max(a,e(n).outerHeight())}var i,r,a,s=this.rowEls.eq(t),o=s.height(),l=this.rowStructs[t].tbodyEl.children();for(i=0;i<l.length;i++)if(r=l.eq(i).removeClass("fc-limited"),a=0,r.find("> td > :first-child").each(n),r.position().top+a>o)return i;return!1},limitRow:function(t,n){function i(i){for(;M<i;)u=_.getCellSegs(t,M,n),u.length&&(h=a[n-1][M],y=_.renderMoreLink(t,M,u),v=e("<div/>").append(y),h.append(v),T.push(v[0])),M++}var r,a,s,o,l,u,c,d,h,p,m,f,g,v,y,_=this,b=this.rowStructs[t],T=[],M=0;if(n&&n<b.segLevels.length){for(r=b.segLevels[n-1],a=b.cellMatrix,s=b.tbodyEl.children().slice(n).addClass("fc-limited").get(),o=0;o<r.length;o++){for(l=r[o],i(l.leftCol),d=[],c=0;M<=l.rightCol;)u=this.getCellSegs(t,M,n),d.push(u),c+=u.length,M++;if(c){for(h=a[n-1][l.leftCol],p=h.attr("rowspan")||1,m=[],f=0;f<d.length;f++)g=e('<td class="fc-more-cell"/>').attr("rowspan",p),u=d[f],y=this.renderMoreLink(t,l.leftCol+f,[l].concat(u)),v=e("<div/>").append(y),g.append(v),m.push(g[0]),T.push(g[0]);h.addClass("fc-limited").after(e(m)),s.push(h[0])}}i(this.colCnt),b.moreEls=e(T),b.limitedEls=e(s)}},unlimitRow:function(e){var t=this.rowStructs[e];t.moreEls&&(t.moreEls.remove(),t.moreEls=null),t.limitedEls&&(t.limitedEls.removeClass("fc-limited"),t.limitedEls=null)},renderMoreLink:function(t,n,i){var r=this,a=this.view;return e('<a class="fc-more"/>').text(this.getMoreLinkText(i.length)).on("click",function(s){var o=a.opt("eventLimitClick"),l=r.getCellDate(t,n),u=e(this),c=r.getCellEl(t,n),d=r.getCellSegs(t,n),h=r.resliceDaySegs(d,l),p=r.resliceDaySegs(i,l);"function"==typeof o&&(o=a.publiclyTrigger("eventLimitClick",null,{date:l,dayEl:c,moreEl:u,segs:h,hiddenSegs:p},s)),"popover"===o?r.showSegPopover(t,n,u,h):"string"==typeof o&&a.calendar.zoomTo(l,o)})},showSegPopover:function(e,t,n,i){var r,a,s=this,o=this.view,l=n.parent();r=1==this.rowCnt?o.el:this.rowEls.eq(e),a={className:"fc-more-popover",content:this.renderSegPopoverContent(e,t,i),parentEl:this.view.el,top:r.offset().top,autoHide:!0,viewportConstrain:o.opt("popoverViewportConstrain"),hide:function(){if(s.popoverSegs)for(var e,t=0;t<s.popoverSegs.length;++t)e=s.popoverSegs[t],o.publiclyTrigger("eventDestroy",e.event,e.event,e.el);s.segPopover.removeElement(),s.segPopover=null,s.popoverSegs=null}},this.isRTL?a.right=l.offset().left+l.outerWidth()+1:a.left=l.offset().left-1,this.segPopover=new ft(a),this.segPopover.show(),this.bindSegHandlersToEl(this.segPopover.el)},renderSegPopoverContent:function(t,n,i){var r,a=this.view,s=a.opt("theme"),o=this.getCellDate(t,n).format(a.opt("dayPopoverFormat")),l=e('<div class="fc-header '+a.widgetHeaderClass+'"><span class="fc-close '+(s?"ui-icon ui-icon-closethick":"fc-icon fc-icon-x")+'"></span><span class="fc-title">'+ce(o)+'</span><div class="fc-clear"/></div><div class="fc-body '+a.widgetContentClass+'"><div class="fc-event-container"></div></div>'),u=l.find(".fc-event-container");for(i=this.renderFgSegEls(i,!0),this.popoverSegs=i,r=0;r<i.length;r++)this.hitsNeeded(),i[r].hit=this.getCellHit(t,n),this.hitsNotNeeded(),u.append(i[r].el);return l},resliceDaySegs:function(t,n){var i=e.map(t,function(e){return e.event}),r=n.clone(),a=r.clone().add(1,"days"),s={start:r,end:a};return t=this.eventsToSegs(i,function(e){var t=H(e,s);return t?[t]:[]}),this.sortEventSegs(t),t},getMoreLinkText:function(e){var t=this.view.opt("eventLimitText");return"function"==typeof t?t(e):"+"+e+" "+t},getCellSegs:function(e,t,n){for(var i,r=this.rowStructs[e].segMatrix,a=n||0,s=[];a<r.length;)i=r[a][t],i&&s.push(i),a++;return s}});var $t=qe.TimeGrid=Tt.extend(Mt,{slotDuration:null,snapDuration:null,snapsPerSlot:null,labelFormat:null,labelInterval:null,colEls:null,slatContainerEl:null,slatEls:null,nowIndicatorEls:null,colCoordCache:null,slatCoordCache:null,constructor:function(){Tt.apply(this,arguments),this.processOptions()},renderDates:function(){this.el.html(this.renderHtml()),this.colEls=this.el.find(".fc-day, .fc-disabled-day"),this.slatContainerEl=this.el.find(".fc-slats"),this.slatEls=this.slatContainerEl.find("tr"),this.colCoordCache=new gt({els:this.colEls,isHorizontal:!0}),this.slatCoordCache=new gt({els:this.slatEls,isVertical:!0}),this.renderContentSkeleton()},renderHtml:function(){return'<div class="fc-bg"><table>'+this.renderBgTrHtml(0)+'</table></div><div class="fc-slats"><table>'+this.renderSlatRowHtml()+"</table></div>"},renderSlatRowHtml:function(){for(var e,n,i,r=this.view,a=this.isRTL,s="",o=t.duration(+this.view.minTime);o<this.view.maxTime;)e=this.start.clone().time(o),n=ge(V(o,this.labelInterval)),i='<td class="fc-axis fc-time '+r.widgetContentClass+'" '+r.axisStyleAttr()+">"+(n?"<span>"+ce(e.format(this.labelFormat))+"</span>":"")+"</td>",s+='<tr data-time="'+e.format("HH:mm:ss")+'"'+(n?"":' class="fc-minor"')+">"+(a?"":i)+'<td class="'+r.widgetContentClass+'"/>'+(a?i:"")+"</tr>",o.add(this.slotDuration);return s},processOptions:function(){var n,i=this.view,r=i.opt("slotDuration"),a=i.opt("snapDuration");r=t.duration(r),a=a?t.duration(a):r,this.slotDuration=r, this.snapDuration=a,this.snapsPerSlot=r/a,this.minResizeDuration=a,n=i.opt("slotLabelFormat"),e.isArray(n)&&(n=n[n.length-1]),this.labelFormat=n||i.opt("smallTimeFormat"),n=i.opt("slotLabelInterval"),this.labelInterval=n?t.duration(n):this.computeLabelInterval(r)},computeLabelInterval:function(e){var n,i,r;for(n=Ft.length-1;n>=0;n--)if(i=t.duration(Ft[n]),r=V(i,e),ge(r)&&r>1)return i;return t.duration(e)},computeEventTimeFormat:function(){return this.view.opt("noMeridiemTimeFormat")},computeDisplayEventEnd:function(){return!0},prepareHits:function(){this.colCoordCache.build(),this.slatCoordCache.build()},releaseHits:function(){this.colCoordCache.clear()},queryHit:function(e,t){var n=this.snapsPerSlot,i=this.colCoordCache,r=this.slatCoordCache;if(i.isLeftInBounds(e)&&r.isTopInBounds(t)){var a=i.getHorizontalIndex(e),s=r.getVerticalIndex(t);if(null!=a&&null!=s){var o=r.getTopOffset(s),l=r.getHeight(s),u=(t-o)/l,c=Math.floor(u*n),d=s*n+c,h=o+c/n*l,p=o+(c+1)/n*l;return{col:a,snap:d,component:this,left:i.getLeftOffset(a),right:i.getRightOffset(a),top:h,bottom:p}}}},getHitSpan:function(e){var t,n=this.getCellDate(0,e.col),i=this.computeSnapTime(e.snap);return n.time(i),t=n.clone().add(this.snapDuration),{start:n,end:t}},getHitEl:function(e){return this.colEls.eq(e.col)},rangeUpdated:function(){this.updateDayTable()},computeSnapTime:function(e){return t.duration(this.view.minTime+this.snapDuration*e)},spanToSegs:function(e){var t,n=this.sliceRangeByTimes(e);for(t=0;t<n.length;t++)this.isRTL?n[t].col=this.daysPerRow-1-n[t].dayIndex:n[t].col=n[t].dayIndex;return n},sliceRangeByTimes:function(e){var t,n,i,r,a=[];for(n=0;n<this.daysPerRow;n++)i=this.dayDates[n].clone().time(0),r={start:i.clone().add(this.view.minTime),end:i.clone().add(this.view.maxTime)},t=H(e,r),t&&(t.dayIndex=n,a.push(t));return a},updateSize:function(e){this.slatCoordCache.build(),e&&this.updateSegVerticals([].concat(this.fgSegs||[],this.bgSegs||[],this.businessSegs||[]))},getTotalSlatHeight:function(){return this.slatContainerEl.outerHeight()},computeDateTop:function(e,n){return this.computeTimeTop(t.duration(e-n.clone().stripTime()))},computeTimeTop:function(e){var t,n,i=this.slatEls.length,r=(e-this.view.minTime)/this.slotDuration;return r=Math.max(0,r),r=Math.min(i,r),t=Math.floor(r),t=Math.min(t,i-1),n=r-t,this.slatCoordCache.getTopPosition(t)+this.slatCoordCache.getHeight(t)*n},renderDrag:function(e,t){var n,i;if(t)return this.renderEventLocationHelper(e,t);for(n=this.eventToSpans(e),i=0;i<n.length;i++)this.renderHighlight(n[i])},unrenderDrag:function(){this.unrenderHelper(),this.unrenderHighlight()},renderEventResize:function(e,t){return this.renderEventLocationHelper(e,t)},unrenderEventResize:function(){this.unrenderHelper()},renderHelper:function(e,t){return this.renderHelperSegs(this.eventToSegs(e),t)},unrenderHelper:function(){this.unrenderHelperSegs()},renderBusinessHours:function(){this.renderBusinessSegs(this.buildBusinessHourSegs())},unrenderBusinessHours:function(){this.unrenderBusinessSegs()},getNowIndicatorUnit:function(){return"minute"},renderNowIndicator:function(t){var n,i=this.spanToSegs({start:t,end:t}),r=this.computeDateTop(t,t),a=[];for(n=0;n<i.length;n++)a.push(e('<div class="fc-now-indicator fc-now-indicator-line"></div>').css("top",r).appendTo(this.colContainerEls.eq(i[n].col))[0]);i.length>0&&a.push(e('<div class="fc-now-indicator fc-now-indicator-arrow"></div>').css("top",r).appendTo(this.el.find(".fc-content-skeleton"))[0]),this.nowIndicatorEls=e(a)},unrenderNowIndicator:function(){this.nowIndicatorEls&&(this.nowIndicatorEls.remove(),this.nowIndicatorEls=null)},renderSelection:function(e){this.view.opt("selectHelper")?this.renderEventLocationHelper(e):this.renderHighlight(e)},unrenderSelection:function(){this.unrenderHelper(),this.unrenderHighlight()},renderHighlight:function(e){this.renderHighlightSegs(this.spanToSegs(e))},unrenderHighlight:function(){this.unrenderHighlightSegs()}});$t.mixin({colContainerEls:null,fgContainerEls:null,bgContainerEls:null,helperContainerEls:null,highlightContainerEls:null,businessContainerEls:null,fgSegs:null,bgSegs:null,helperSegs:null,highlightSegs:null,businessSegs:null,renderContentSkeleton:function(){var t,n,i="";for(t=0;t<this.colCnt;t++)i+='<td><div class="fc-content-col"><div class="fc-event-container fc-helper-container"></div><div class="fc-event-container"></div><div class="fc-highlight-container"></div><div class="fc-bgevent-container"></div><div class="fc-business-container"></div></div></td>';n=e('<div class="fc-content-skeleton"><table><tr>'+i+"</tr></table></div>"),this.colContainerEls=n.find(".fc-content-col"),this.helperContainerEls=n.find(".fc-helper-container"),this.fgContainerEls=n.find(".fc-event-container:not(.fc-helper-container)"),this.bgContainerEls=n.find(".fc-bgevent-container"),this.highlightContainerEls=n.find(".fc-highlight-container"),this.businessContainerEls=n.find(".fc-business-container"),this.bookendCells(n.find("tr")),this.el.append(n)},renderFgSegs:function(e){return e=this.renderFgSegsIntoContainers(e,this.fgContainerEls),this.fgSegs=e,e},unrenderFgSegs:function(){this.unrenderNamedSegs("fgSegs")},renderHelperSegs:function(t,n){var i,r,a,s=[];for(t=this.renderFgSegsIntoContainers(t,this.helperContainerEls),i=0;i<t.length;i++)r=t[i],n&&n.col===r.col&&(a=n.el,r.el.css({left:a.css("left"),right:a.css("right"),"margin-left":a.css("margin-left"),"margin-right":a.css("margin-right")})),s.push(r.el[0]);return this.helperSegs=t,e(s)},unrenderHelperSegs:function(){this.unrenderNamedSegs("helperSegs")},renderBgSegs:function(e){return e=this.renderFillSegEls("bgEvent",e),this.updateSegVerticals(e),this.attachSegsByCol(this.groupSegsByCol(e),this.bgContainerEls),this.bgSegs=e,e},unrenderBgSegs:function(){this.unrenderNamedSegs("bgSegs")},renderHighlightSegs:function(e){e=this.renderFillSegEls("highlight",e),this.updateSegVerticals(e),this.attachSegsByCol(this.groupSegsByCol(e),this.highlightContainerEls),this.highlightSegs=e},unrenderHighlightSegs:function(){this.unrenderNamedSegs("highlightSegs")},renderBusinessSegs:function(e){e=this.renderFillSegEls("businessHours",e),this.updateSegVerticals(e),this.attachSegsByCol(this.groupSegsByCol(e),this.businessContainerEls),this.businessSegs=e},unrenderBusinessSegs:function(){this.unrenderNamedSegs("businessSegs")},groupSegsByCol:function(e){var t,n=[];for(t=0;t<this.colCnt;t++)n.push([]);for(t=0;t<e.length;t++)n[e[t].col].push(e[t]);return n},attachSegsByCol:function(e,t){var n,i,r;for(n=0;n<this.colCnt;n++)for(i=e[n],r=0;r<i.length;r++)t.eq(n).append(i[r].el)},unrenderNamedSegs:function(e){var t,n=this[e];if(n){for(t=0;t<n.length;t++)n[t].el.remove();this[e]=null}},renderFgSegsIntoContainers:function(e,t){var n,i;for(e=this.renderFgSegEls(e),n=this.groupSegsByCol(e),i=0;i<this.colCnt;i++)this.updateFgSegCoords(n[i]);return this.attachSegsByCol(n,t),e},fgSegHtml:function(e,t){var n,i,r,a=this.view,s=e.event,o=a.isEventDraggable(s),l=!t&&e.isStart&&a.isEventResizableFromStart(s),u=!t&&e.isEnd&&a.isEventResizableFromEnd(s),c=this.getSegClasses(e,o,l||u),d=he(this.getSegSkinCss(e));return c.unshift("fc-time-grid-event","fc-v-event"),a.isMultiDayEvent(s)?(e.isStart||e.isEnd)&&(n=this.getEventTimeText(e),i=this.getEventTimeText(e,"LT"),r=this.getEventTimeText(e,null,!1)):(n=this.getEventTimeText(s),i=this.getEventTimeText(s,"LT"),r=this.getEventTimeText(s,null,!1)),'<a class="'+c.join(" ")+'"'+(s.url?' href="'+ce(s.url)+'"':"")+(d?' style="'+d+'"':"")+'><div class="fc-content">'+(n?'<div class="fc-time" data-start="'+ce(r)+'" data-full="'+ce(i)+'"><span>'+ce(n)+"</span></div>":"")+(s.title?'<div class="fc-title">'+ce(s.title)+"</div>":"")+'</div><div class="fc-bg"/>'+(u?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},updateSegVerticals:function(e){this.computeSegVerticals(e),this.assignSegVerticals(e)},computeSegVerticals:function(e){var t,n,i;for(t=0;t<e.length;t++)n=e[t],i=this.dayDates[n.dayIndex],n.top=this.computeDateTop(n.start,i),n.bottom=this.computeDateTop(n.end,i)},assignSegVerticals:function(e){var t,n;for(t=0;t<e.length;t++)n=e[t],n.el.css(this.generateSegVerticalCss(n))},generateSegVerticalCss:function(e){return{top:e.top,bottom:-e.bottom}},updateFgSegCoords:function(e){this.computeSegVerticals(e),this.computeFgSegHorizontals(e),this.assignSegVerticals(e),this.assignFgSegHorizontals(e)},computeFgSegHorizontals:function(e){var t,n,i;if(this.sortEventSegs(e),t=Ne(e),Pe(t),n=t[0]){for(i=0;i<n.length;i++)je(n[i]);for(i=0;i<n.length;i++)this.computeFgSegForwardBack(n[i],0,0)}},computeFgSegForwardBack:function(e,t,n){var i,r=e.forwardSegs;if(void 0===e.forwardCoord)for(r.length?(this.sortForwardSegs(r),this.computeFgSegForwardBack(r[0],t+1,n),e.forwardCoord=r[0].backwardCoord):e.forwardCoord=1,e.backwardCoord=e.forwardCoord-(e.forwardCoord-n)/(t+1),i=0;i<r.length;i++)this.computeFgSegForwardBack(r[i],0,e.forwardCoord)},sortForwardSegs:function(e){e.sort(ve(this,"compareForwardSegs"))},compareForwardSegs:function(e,t){return t.forwardPressure-e.forwardPressure||(e.backwardCoord||0)-(t.backwardCoord||0)||this.compareEventSegs(e,t)},assignFgSegHorizontals:function(e){var t,n;for(t=0;t<e.length;t++)n=e[t],n.el.css(this.generateFgSegHorizontalCss(n)),n.bottom-n.top<30&&n.el.addClass("fc-short")},generateFgSegHorizontalCss:function(e){var t,n,i=this.view.opt("slotEventOverlap"),r=e.backwardCoord,a=e.forwardCoord,s=this.generateSegVerticalCss(e);return i&&(a=Math.min(1,r+2*(a-r))),this.isRTL?(t=1-a,n=r):(t=r,n=1-a),s.zIndex=e.level+1,s.left=100*t+"%",s.right=100*n+"%",i&&e.forwardPressure&&(s[this.isRTL?"marginLeft":"marginRight"]=20),s}});var Dt=qe.View=ut.extend({type:null,name:null,title:null,calendar:null,viewSpec:null,options:null,el:null,renderQueue:null,batchRenderDepth:0,isDatesRendered:!1,isEventsRendered:!1,isBaseRendered:!1,queuedScroll:null,isRTL:!1,isSelected:!1,selectedEvent:null,eventOrderSpecs:null,widgetHeaderClass:null,widgetContentClass:null,highlightStateClass:null,nextDayThreshold:null,isHiddenDayHash:null,isNowIndicatorRendered:null,initialNowDate:null,initialNowQueriedMs:null,nowIndicatorTimeoutID:null,nowIndicatorIntervalID:null,constructor:function(e,n){ut.prototype.constructor.call(this),this.calendar=e,this.viewSpec=n,this.type=n.type,this.options=n.options,this.name=this.type,this.nextDayThreshold=t.duration(this.opt("nextDayThreshold")),this.initThemingProps(),this.initHiddenDays(),this.isRTL=this.opt("isRTL"),this.eventOrderSpecs=A(this.opt("eventOrder")),this.renderQueue=this.buildRenderQueue(),this.initAutoBatchRender(),this.initialize()},buildRenderQueue:function(){var e=this,t=new ht({event:this.opt("eventRenderWait")});return t.on("start",function(){e.freezeHeight(),e.addScroll(e.queryScroll())}),t.on("stop",function(){e.thawHeight(),e.popScroll()}),t},initAutoBatchRender:function(){var e=this;this.on("before:change",function(){e.startBatchRender()}),this.on("change",function(){e.stopBatchRender()})},startBatchRender:function(){this.batchRenderDepth++||this.renderQueue.pause()},stopBatchRender:function(){--this.batchRenderDepth||this.renderQueue.resume()},initialize:function(){},opt:function(e){return this.options[e]},publiclyTrigger:function(e,t){var n=this.calendar;return n.publiclyTrigger.apply(n,[e,t||this].concat(Array.prototype.slice.call(arguments,2),[this]))},updateTitle:function(){this.title=this.computeTitle(),this.calendar.setToolbarsTitle(this.title)},computeTitle:function(){var e;return e=/^(year|month)$/.test(this.currentRangeUnit)?this.currentRange:this.activeRange,this.formatRange({start:this.calendar.applyTimezone(e.start),end:this.calendar.applyTimezone(e.end)},this.opt("titleFormat")||this.computeTitleFormat(),this.opt("titleRangeSeparator"))},computeTitleFormat:function(){return"year"==this.currentRangeUnit?"YYYY":"month"==this.currentRangeUnit?this.opt("monthYearFormat"):this.currentRangeAs("days")>1?"ll":"LL"},formatRange:function(e,t,n){var i=e.end;return i.hasTime()||(i=i.clone().subtract(1)),ot(e.start,i,t,n,this.opt("isRTL"))},getAllDayHtml:function(){return this.opt("allDayHtml")||ce(this.opt("allDayText"))},buildGotoAnchorHtml:function(t,n,i){var r,a,s,o;return e.isPlainObject(t)?(r=t.date,a=t.type,s=t.forceOff):r=t,r=qe.moment(r),o={date:r.format("YYYY-MM-DD"),type:a||"day"},"string"==typeof n&&(i=n,n=null),n=n?" "+pe(n):"",i=i||"",!s&&this.opt("navLinks")?"<a"+n+' data-goto="'+ce(JSON.stringify(o))+'">'+i+"</a>":"<span"+n+">"+i+"</span>"},setElement:function(e){this.el=e,this.bindGlobalHandlers(),this.bindBaseRenderHandlers(),this.renderSkeleton()},removeElement:function(){this.unsetDate(),this.unrenderSkeleton(),this.unbindGlobalHandlers(),this.unbindBaseRenderHandlers(),this.el.remove()},renderSkeleton:function(){},unrenderSkeleton:function(){},setDate:function(e){var t=this.get("dateProfile"),n=this.buildDateProfile(e,null,!0);return t&&Z(t.activeRange,n.activeRange)||this.set("dateProfile",n),n.date},unsetDate:function(){this.unset("dateProfile")},requestDateRender:function(e){var t=this;this.renderQueue.queue(function(){t.executeDateRender(e)},"date","init")},requestDateUnrender:function(){var e=this;this.renderQueue.queue(function(){e.executeDateUnrender()},"date","destroy")},fetchInitialEvents:function(e){return this.calendar.requestEvents(e.activeRange.start,e.activeRange.end)},bindEventChanges:function(){this.listenTo(this.calendar,"eventsReset",this.resetEvents)},unbindEventChanges:function(){this.stopListeningTo(this.calendar,"eventsReset")},setEvents:function(e){this.set("currentEvents",e),this.set("hasEvents",!0)},unsetEvents:function(){this.unset("currentEvents"),this.unset("hasEvents")},resetEvents:function(e){this.startBatchRender(),this.unsetEvents(),this.setEvents(e),this.stopBatchRender()},requestEventsRender:function(e){var t=this;this.renderQueue.queue(function(){t.executeEventsRender(e)},"event","init")},requestEventsUnrender:function(){var e=this;this.renderQueue.queue(function(){e.executeEventsUnrender()},"event","destroy")},executeDateRender:function(e,t){this.setDateProfileForRendering(e),this.updateTitle(),this.calendar.updateToolbarButtons(),this.render&&this.render(),this.renderDates(),this.updateSize(),this.renderBusinessHours(),this.startNowIndicator(),t||this.addScroll(this.computeInitialDateScroll()),this.isDatesRendered=!0,this.trigger("datesRendered")},executeDateUnrender:function(){this.unselect(),this.stopNowIndicator(),this.trigger("before:datesUnrendered"),this.unrenderBusinessHours(),this.unrenderDates(),this.destroy&&this.destroy(),this.isDatesRendered=!1},renderDates:function(){},unrenderDates:function(){},bindBaseRenderHandlers:function(){var e=this;this.on("datesRendered.baseHandler",function(){e.onBaseRender()}),this.on("before:datesUnrendered.baseHandler",function(){e.onBeforeBaseUnrender()})},unbindBaseRenderHandlers:function(){this.off(".baseHandler")},onBaseRender:function(){this.applyScreenState(),this.publiclyTrigger("viewRender",this,this,this.el)},onBeforeBaseUnrender:function(){this.applyScreenState(),this.publiclyTrigger("viewDestroy",this,this,this.el)},bindGlobalHandlers:function(){this.listenTo(_t.get(),{touchstart:this.processUnselect,mousedown:this.handleDocumentMousedown})},unbindGlobalHandlers:function(){this.stopListeningTo(_t.get())},initThemingProps:function(){var e=this.opt("theme")?"ui":"fc";this.widgetHeaderClass=e+"-widget-header",this.widgetContentClass=e+"-widget-content",this.highlightStateClass=e+"-state-highlight"},renderBusinessHours:function(){},unrenderBusinessHours:function(){},startNowIndicator:function(){var e,n,i,r=this;this.opt("nowIndicator")&&(e=this.getNowIndicatorUnit(),e&&(n=ve(this,"updateNowIndicator"),this.initialNowDate=this.calendar.getNow(),this.initialNowQueriedMs=+new Date,this.renderNowIndicator(this.initialNowDate),this.isNowIndicatorRendered=!0,i=this.initialNowDate.clone().startOf(e).add(1,e)-this.initialNowDate,this.nowIndicatorTimeoutID=setTimeout(function(){r.nowIndicatorTimeoutID=null,n(),i=+t.duration(1,e),i=Math.max(100,i),r.nowIndicatorIntervalID=setInterval(n,i)},i)))},updateNowIndicator:function(){this.isNowIndicatorRendered&&(this.unrenderNowIndicator(),this.renderNowIndicator(this.initialNowDate.clone().add(new Date-this.initialNowQueriedMs)))},stopNowIndicator:function(){this.isNowIndicatorRendered&&(this.nowIndicatorTimeoutID&&(clearTimeout(this.nowIndicatorTimeoutID),this.nowIndicatorTimeoutID=null),this.nowIndicatorIntervalID&&(clearTimeout(this.nowIndicatorIntervalID),this.nowIndicatorIntervalID=null),this.unrenderNowIndicator(),this.isNowIndicatorRendered=!1)},getNowIndicatorUnit:function(){},renderNowIndicator:function(e){},unrenderNowIndicator:function(){},updateSize:function(e){var t;e&&(t=this.queryScroll()),this.updateHeight(e),this.updateWidth(e),this.updateNowIndicator(),e&&this.applyScroll(t)},updateWidth:function(e){},updateHeight:function(e){var t=this.calendar;this.setHeight(t.getSuggestedViewHeight(),t.isHeightAuto())},setHeight:function(e,t){},addForcedScroll:function(t){this.addScroll(e.extend(t,{isForced:!0}))},addScroll:function(t){var n=this.queuedScroll||(this.queuedScroll={});n.isForced||e.extend(n,t)},popScroll:function(){this.applyQueuedScroll(),this.queuedScroll=null},applyQueuedScroll:function(){this.queuedScroll&&this.applyScroll(this.queuedScroll)},queryScroll:function(){var t={};return this.isDatesRendered&&e.extend(t,this.queryDateScroll()),t},applyScroll:function(e){this.isDatesRendered&&this.applyDateScroll(e)},computeInitialDateScroll:function(){return{}},queryDateScroll:function(){return{}},applyDateScroll:function(e){},freezeHeight:function(){this.calendar.freezeContentHeight()},thawHeight:function(){this.calendar.thawContentHeight()},executeEventsRender:function(e){this.renderEvents(e),this.isEventsRendered=!0,this.onEventsRender()},executeEventsUnrender:function(){this.onBeforeEventsUnrender(),this.destroyEvents&&this.destroyEvents(),this.unrenderEvents(),this.isEventsRendered=!1},onEventsRender:function(){this.applyScreenState(),this.renderedEventSegEach(function(e){this.publiclyTrigger("eventAfterRender",e.event,e.event,e.el)}),this.publiclyTrigger("eventAfterAllRender")},onBeforeEventsUnrender:function(){this.applyScreenState(),this.renderedEventSegEach(function(e){this.publiclyTrigger("eventDestroy",e.event,e.event,e.el)})},applyScreenState:function(){this.thawHeight(),this.freezeHeight(),this.applyQueuedScroll()},renderEvents:function(e){},unrenderEvents:function(){},resolveEventEl:function(t,n){var i=this.publiclyTrigger("eventRender",t,t,n);return i===!1?n=null:i&&i!==!0&&(n=e(i)),n},showEvent:function(e){this.renderedEventSegEach(function(e){e.el.css("visibility","")},e)},hideEvent:function(e){this.renderedEventSegEach(function(e){e.el.css("visibility","hidden")},e)},renderedEventSegEach:function(e,t){var n,i=this.getEventSegs();for(n=0;n<i.length;n++)t&&i[n].event._id!==t._id||i[n].el&&e.call(this,i[n])},getEventSegs:function(){return[]},isEventDraggable:function(e){return this.isEventStartEditable(e)},isEventStartEditable:function(e){return ue(e.startEditable,(e.source||{}).startEditable,this.opt("eventStartEditable"),this.isEventGenerallyEditable(e))},isEventGenerallyEditable:function(e){return ue(e.editable,(e.source||{}).editable,this.opt("editable"))},reportSegDrop:function(e,t,n,i,r){var a=this.calendar,s=a.mutateSeg(e,t,n),o=function(){s.undo(),a.reportEventChange()};this.triggerEventDrop(e.event,s.dateDelta,o,i,r),a.reportEventChange()},triggerEventDrop:function(e,t,n,i,r){this.publiclyTrigger("eventDrop",i[0],e,t,n,r,{})},reportExternalDrop:function(t,n,i,r,a){var s,o,l=t.eventProps;l&&(s=e.extend({},l,n),o=this.calendar.renderEvent(s,t.stick)[0]),this.triggerExternalDrop(o,n,i,r,a)},triggerExternalDrop:function(e,t,n,i,r){this.publiclyTrigger("drop",n[0],t.start,i,r),e&&this.publiclyTrigger("eventReceive",null,e)},renderDrag:function(e,t){},unrenderDrag:function(){},isEventResizableFromStart:function(e){return this.opt("eventResizableFromStart")&&this.isEventResizable(e)},isEventResizableFromEnd:function(e){return this.isEventResizable(e)},isEventResizable:function(e){var t=e.source||{};return ue(e.durationEditable,t.durationEditable,this.opt("eventDurationEditable"),e.editable,t.editable,this.opt("editable"))},reportSegResize:function(e,t,n,i,r){var a=this.calendar,s=a.mutateSeg(e,t,n),o=function(){s.undo(),a.reportEventChange()};this.triggerEventResize(e.event,s.durationDelta,o,i,r),a.reportEventChange()},triggerEventResize:function(e,t,n,i,r){this.publiclyTrigger("eventResize",i[0],e,t,n,r,{})},select:function(e,t){this.unselect(t),this.renderSelection(e),this.reportSelection(e,t)},renderSelection:function(e){},reportSelection:function(e,t){this.isSelected=!0,this.triggerSelect(e,t)},triggerSelect:function(e,t){this.publiclyTrigger("select",null,this.calendar.applyTimezone(e.start),this.calendar.applyTimezone(e.end),t)},unselect:function(e){this.isSelected&&(this.isSelected=!1,this.destroySelection&&this.destroySelection(),this.unrenderSelection(),this.publiclyTrigger("unselect",null,e))},unrenderSelection:function(){},selectEvent:function(e){this.selectedEvent&&this.selectedEvent===e||(this.unselectEvent(),this.renderedEventSegEach(function(e){e.el.addClass("fc-selected")},e),this.selectedEvent=e)},unselectEvent:function(){this.selectedEvent&&(this.renderedEventSegEach(function(e){e.el.removeClass("fc-selected")},this.selectedEvent),this.selectedEvent=null)},isEventSelected:function(e){return this.selectedEvent&&this.selectedEvent._id===e._id},handleDocumentMousedown:function(e){b(e)&&this.processUnselect(e)},processUnselect:function(e){this.processRangeUnselect(e),this.processEventUnselect(e)},processRangeUnselect:function(t){var n;this.isSelected&&this.opt("unselectAuto")&&(n=this.opt("unselectCancel"),n&&e(t.target).closest(n).length||this.unselect(t))},processEventUnselect:function(t){this.selectedEvent&&(e(t.target).closest(".fc-selected").length||this.unselectEvent())},triggerDayClick:function(e,t,n){this.publiclyTrigger("dayClick",t,this.calendar.applyTimezone(e.start),n)},computeDayRange:function(e){var t,n=e.start.clone().stripTime(),i=e.end,r=null;return i&&(r=i.clone().stripTime(),t=+i.time(),t&&t>=this.nextDayThreshold&&r.add(1,"days")),(!i||r<=n)&&(r=n.clone().add(1,"days")),{start:n,end:r}},isMultiDayEvent:function(e){var t=this.computeDayRange(e);return t.end.diff(t.start,"days")>1}});Dt.watch("displayingDates",["dateProfile"],function(e){this.requestDateRender(e.dateProfile)},function(){this.requestDateUnrender()}),Dt.watch("initialEvents",["dateProfile"],function(e){return this.fetchInitialEvents(e.dateProfile)}),Dt.watch("bindingEvents",["initialEvents"],function(e){this.setEvents(e.initialEvents),this.bindEventChanges()},function(){this.unbindEventChanges(),this.unsetEvents()}),Dt.watch("displayingEvents",["displayingDates","hasEvents"],function(){this.requestEventsRender(this.get("currentEvents"))},function(){this.requestEventsUnrender()}),Dt.mixin({currentRange:null,currentRangeUnit:null,renderRange:null,activeRange:null,validRange:null,dateIncrement:null,minTime:null,maxTime:null,usesMinMaxTime:!1,start:null,end:null,intervalStart:null,intervalEnd:null,setDateProfileForRendering:function(e){this.currentRange=e.currentRange,this.currentRangeUnit=e.currentRangeUnit,this.renderRange=e.renderRange,this.activeRange=e.activeRange,this.validRange=e.validRange,this.dateIncrement=e.dateIncrement,this.minTime=e.minTime,this.maxTime=e.maxTime,this.start=e.activeRange.start,this.end=e.activeRange.end,this.intervalStart=e.currentRange.start,this.intervalEnd=e.currentRange.end},buildPrevDateProfile:function(e){var t=e.clone().startOf(this.currentRangeUnit).subtract(this.dateIncrement);return this.buildDateProfile(t,-1)},buildNextDateProfile:function(e){var t=e.clone().startOf(this.currentRangeUnit).add(this.dateIncrement);return this.buildDateProfile(t,1)},buildDateProfile:function(e,n,i){var r,a,s,o,l=this.buildValidRange(),u=null,c=null;return i&&(e=J(e,l)),r=this.buildCurrentRangeInfo(e,n),a=this.buildRenderRange(r.range,r.unit),s=U(a),this.opt("showNonCurrentDates")||(s=W(s,r.range)),u=t.duration(this.opt("minTime")),c=t.duration(this.opt("maxTime")),this.adjustActiveRange(s,u,c),s=W(s,l),e=J(e,s),o=G(r.range,l),{validRange:l,currentRange:r.range,currentRangeUnit:r.unit,activeRange:s,renderRange:a,minTime:u,maxTime:c,isValid:o,date:e,dateIncrement:this.buildDateIncrement(r.duration)}},buildValidRange:function(){return this.getRangeOption("validRange",this.calendar.getNow())||{}},buildCurrentRangeInfo:function(e,t){var n,i=null,r=null,a=null;return this.viewSpec.duration?(i=this.viewSpec.duration,r=this.viewSpec.durationUnit,a=this.buildRangeFromDuration(e,t,i,r)):(n=this.opt("dayCount"))?(r="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?r=j(a.start,a.end):(i=this.getFallbackDuration(),r=j(i),a=this.buildRangeFromDuration(e,t,i,r)),this.normalizeCurrentRange(a,r),{duration:i,unit:r,range:a}},getFallbackDuration:function(){return t.duration({days:1})},normalizeCurrentRange:function(e,t){/^(year|month|week|day)$/.test(t)?(e.start.stripTime(),e.end.stripTime()):(e.start.hasTime()||e.start.time(0),e.end.hasTime()||e.end.time(0))},adjustActiveRange:function(e,t,n){var i=!1;this.usesMinMaxTime&&(t<0&&(e.start.time(0).add(t),i=!0),n>864e5&&(e.end.time(n-864e5),i=!0),i&&(e.start.hasTime()||e.start.time(0),e.end.hasTime()||e.end.time(0)))},buildRangeFromDuration:function(e,n,i,r){var a,s,o,l=this.opt("dateAlignment"),u=e.clone();return i.as("days")<=1&&this.isHiddenDay(u)&&(u=this.skipHiddenDays(u,n),u.startOf("day")),l||(s=this.opt("dateIncrement"),s?(o=t.duration(s),l=o<i?R(o,s):r):l=r),u.startOf(l),a=u.clone().add(i),{start:u,end:a}},buildRangeFromDayCount:function(e,t,n){var i,r=this.opt("dateAlignment"),a=0,s=e.clone();r&&s.startOf(r),s.startOf("day"),s=this.skipHiddenDays(s,t),i=s.clone();do i.add(1,"day"),this.isHiddenDay(i)||a++;while(a<n);return{start:s,end:i}},buildCustomVisibleRange:function(e){var t=this.getRangeOption("visibleRange",this.calendar.moment(e));return!t||t.start&&t.end?t:null},buildRenderRange:function(e,t){return this.trimHiddenDays(e)},buildDateIncrement:function(e){var n,i=this.opt("dateIncrement");return i?t.duration(i):(n=this.opt("dateAlignment"))?t.duration(1,n):e?e:t.duration({days:1})},trimHiddenDays:function(e){return{start:this.skipHiddenDays(e.start),end:this.skipHiddenDays(e.end,-1,!0)}},currentRangeAs:function(e){var t=this.currentRange;return t.end.diff(t.start,e,!0)},getRangeOption:function(e){var t=this.opt(e);if("function"==typeof t&&(t=t.apply(null,Array.prototype.slice.call(arguments,1))),t)return this.calendar.parseRange(t)},initHiddenDays:function(){var t,n=this.opt("hiddenDays")||[],i=[],r=0;for(this.opt("weekends")===!1&&n.push(0,6),t=0;t<7;t++)(i[t]=e.inArray(t,n)!==-1)||r++;if(!r)throw"invalid hiddenDays";this.isHiddenDayHash=i},isHiddenDay:function(e){return t.isMoment(e)&&(e=e.day()),this.isHiddenDayHash[e]},skipHiddenDays:function(e,t,n){var i=e.clone();for(t=t||1;this.isHiddenDayHash[(i.day()+(n?t:0)+7)%7];)i.add(t,"days");return i}});var kt=qe.Scroller=Te.extend({el:null,scrollEl:null,overflowX:null,overflowY:null,constructor:function(e){e=e||{},this.overflowX=e.overflowX||e.overflow||"auto",this.overflowY=e.overflowY||e.overflow||"auto"},render:function(){this.el=this.renderEl(),this.applyOverflow()},renderEl:function(){return this.scrollEl=e('<div class="fc-scroller"></div>')},clear:function(){this.setHeight("auto"),this.applyOverflow()},destroy:function(){this.el.remove()},applyOverflow:function(){this.scrollEl.css({"overflow-x":this.overflowX,"overflow-y":this.overflowY})},lockOverflow:function(e){var t=this.overflowX,n=this.overflowY;e=e||this.getScrollbarWidths(),"auto"===t&&(t=e.top||e.bottom||this.scrollEl[0].scrollWidth-1>this.scrollEl[0].clientWidth?"scroll":"hidden"),"auto"===n&&(n=e.left||e.right||this.scrollEl[0].scrollHeight-1>this.scrollEl[0].clientHeight?"scroll":"hidden"),this.scrollEl.css({"overflow-x":t,"overflow-y":n})},setHeight:function(e){this.scrollEl.height(e)},getScrollTop:function(){return this.scrollEl.scrollTop()},setScrollTop:function(e){this.scrollEl.scrollTop(e)},getClientWidth:function(){return this.scrollEl[0].clientWidth},getClientHeight:function(){return this.scrollEl[0].clientHeight},getScrollbarWidths:function(){return f(this.scrollEl)}});Fe.prototype.proxyCall=function(e){var t=Array.prototype.slice.call(arguments,1),n=[];return this.items.forEach(function(i){n.push(i[e].apply(i,t))}),n};var Lt=qe.Calendar=Te.extend(pt,{view:null,viewsByType:null,currentDate:null,loadingLevel:0,constructor:function(e,t){_t.needed(),this.el=e,this.viewsByType={},this.viewSpecCache={},this.initOptionsInternals(t),this.initMomentInternals(),this.initCurrentDate(),We.call(this),this.initialize()},initialize:function(){},getCalendar:function(){return this},getView:function(){return this.view},publiclyTrigger:function(e,t){var n=Array.prototype.slice.call(arguments,2),i=this.opt(e);if(t=t||this.el[0],this.triggerWith(e,t,n),i)return i.apply(t,n)},instantiateView:function(e){var t=this.getViewSpec(e);return new t.class(this,t)},isValidViewType:function(e){return Boolean(this.getViewSpec(e))},changeView:function(e,t){t&&(t.start&&t.end?this.recordOptionOverrides({visibleRange:t}):this.currentDate=this.moment(t).stripZone()),this.renderView(e)},zoomTo:function(e,t){var n;t=t||"day",n=this.getViewSpec(t)||this.getUnitViewSpec(t),this.currentDate=e.clone(),this.renderView(n?n.type:null)},initCurrentDate:function(){var e=this.opt("defaultDate");null!=e?this.currentDate=this.moment(e).stripZone():this.currentDate=this.getNow()},prev:function(){var e=this.view.buildPrevDateProfile(this.currentDate);e.isValid&&(this.currentDate=e.date,this.renderView())},next:function(){var e=this.view.buildNextDateProfile(this.currentDate);e.isValid&&(this.currentDate=e.date,this.renderView())},prevYear:function(){this.currentDate.add(-1,"years"),this.renderView()},nextYear:function(){this.currentDate.add(1,"years"),this.renderView()},today:function(){this.currentDate=this.getNow(),this.renderView()},gotoDate:function(e){this.currentDate=this.moment(e).stripZone(),this.renderView()},incrementDate:function(e){this.currentDate.add(t.duration(e)),this.renderView()},getDate:function(){return this.applyTimezone(this.currentDate)},pushLoading:function(){this.loadingLevel++||this.publiclyTrigger("loading",null,!0,this.view)},popLoading:function(){--this.loadingLevel||this.publiclyTrigger("loading",null,!1,this.view)},select:function(e,t){this.view.select(this.buildSelectSpan.apply(this,arguments))},unselect:function(){this.view&&this.view.unselect()},buildSelectSpan:function(e,t){var n,i=this.moment(e).stripZone();return n=t?this.moment(t).stripZone():i.hasTime()?i.clone().add(this.defaultTimedEventDuration):i.clone().add(this.defaultAllDayEventDuration),{start:i,end:n}},parseRange:function(e){var t=null,n=null;return e.start&&(t=this.moment(e.start).stripZone()),e.end&&(n=this.moment(e.end).stripZone()),t||n?t&&n&&n.isBefore(t)?null:{start:t,end:n}:null},rerenderEvents:function(){this.elementVisible()&&this.reportEventChange()}});Lt.mixin({dirDefaults:null,localeDefaults:null,overrides:null,dynamicOverrides:null,optionsModel:null,initOptionsInternals:function(t){this.overrides=e.extend({},t),this.dynamicOverrides={},this.optionsModel=new ut,this.populateOptionsHash()},option:function(e,t){var n;if("string"==typeof e){if(void 0===t)return this.optionsModel.get(e);n={},n[e]=t,this.setOptions(n)}else"object"==typeof e&&this.setOptions(e)},opt:function(e){return this.optionsModel.get(e)},setOptions:function(e){var t,n=0;this.recordOptionOverrides(e);for(t in e)n++;if(1===n){if("height"===t||"contentHeight"===t||"aspectRatio"===t)return void this.updateSize(!0);if("defaultDate"===t)return;if("businessHours"===t)return void(this.view&&(this.view.unrenderBusinessHours(),this.view.renderBusinessHours()));if("timezone"===t)return this.rezoneArrayEventSources(),void this.refetchEvents(); }this.renderHeader(),this.renderFooter(),this.viewsByType={},this.reinitView()},populateOptionsHash:function(){var e,t,i,r,a;e=ue(this.dynamicOverrides.locale,this.overrides.locale),t=xt[e],t||(e=Lt.defaults.locale,t=xt[e]||{}),i=ue(this.dynamicOverrides.isRTL,this.overrides.isRTL,t.isRTL,Lt.defaults.isRTL),r=i?Lt.rtlDefaults:{},this.dirDefaults=r,this.localeDefaults=t,a=n([Lt.defaults,r,t,this.overrides,this.dynamicOverrides]),Be(a),this.optionsModel.reset(a)},recordOptionOverrides:function(e){var t;for(t in e)this.dynamicOverrides[t]=e[t];this.viewSpecCache={},this.populateOptionsHash()}}),Lt.mixin({defaultAllDayEventDuration:null,defaultTimedEventDuration:null,localeData:null,initMomentInternals:function(){var e=this;this.defaultAllDayEventDuration=t.duration(this.opt("defaultAllDayEventDuration")),this.defaultTimedEventDuration=t.duration(this.opt("defaultTimedEventDuration")),this.optionsModel.watch("buildingMomentLocale",["?locale","?monthNames","?monthNamesShort","?dayNames","?dayNamesShort","?firstDay","?weekNumberCalculation"],function(t){var n,i=t.weekNumberCalculation,r=t.firstDay;"iso"===i&&(i="ISO");var a=re(Ue(t.locale));t.monthNames&&(a._months=t.monthNames),t.monthNamesShort&&(a._monthsShort=t.monthNamesShort),t.dayNames&&(a._weekdays=t.dayNames),t.dayNamesShort&&(a._weekdaysShort=t.dayNamesShort),null==r&&"ISO"===i&&(r=1),null!=r&&(n=re(a._week),n.dow=r,a._week=n),"ISO"!==i&&"local"!==i&&"function"!=typeof i||(a._fullCalendar_weekCalc=i),e.localeData=a,e.currentDate&&e.localizeMoment(e.currentDate)})},moment:function(){var e;return"local"===this.opt("timezone")?(e=qe.moment.apply(null,arguments),e.hasTime()&&e.local()):e="UTC"===this.opt("timezone")?qe.moment.utc.apply(null,arguments):qe.moment.parseZone.apply(null,arguments),this.localizeMoment(e),e},localizeMoment:function(e){e._locale=this.localeData},getIsAmbigTimezone:function(){return"local"!==this.opt("timezone")&&"UTC"!==this.opt("timezone")},applyTimezone:function(e){if(!e.hasTime())return e.clone();var t,n=this.moment(e.toArray()),i=e.time()-n.time();return i&&(t=n.clone().add(i),e.time()-t.time()===0&&(n=t)),n},getNow:function(){var e=this.opt("now");return"function"==typeof e&&(e=e()),this.moment(e).stripZone()},humanizeDuration:function(e){return e.locale(this.opt("locale")).humanize()},getEventEnd:function(e){return e.end?e.end.clone():this.getDefaultEventEnd(e.allDay,e.start)},getDefaultEventEnd:function(e,t){var n=t.clone();return e?n.stripTime().add(this.defaultAllDayEventDuration):n.add(this.defaultTimedEventDuration),this.getIsAmbigTimezone()&&n.stripZone(),n}}),Lt.mixin({viewSpecCache:null,getViewSpec:function(e){var t=this.viewSpecCache;return t[e]||(t[e]=this.buildViewSpec(e))},getUnitViewSpec:function(t){var n,i,r;if(e.inArray(t,Xe)!=-1)for(n=this.header.getViewsWithButtons(),e.each(qe.views,function(e){n.push(e)}),i=0;i<n.length;i++)if(r=this.getViewSpec(n[i]),r&&r.singleUnit==t)return r},buildViewSpec:function(e){for(var i,r,a,s,o,l=this.overrides.views||{},u=[],c=[],d=[],h=e;h;)i=Ge[h],r=l[h],h=null,"function"==typeof i&&(i={class:i}),i&&(u.unshift(i),c.unshift(i.defaults||{}),a=a||i.duration,h=h||i.type),r&&(d.unshift(r),a=a||r.duration,h=h||r.type);return i=ie(u),i.type=e,!!i.class&&(a=a||this.dynamicOverrides.duration||this.overrides.duration,a&&(s=t.duration(a),s.valueOf()&&(o=R(s,a),i.duration=s,i.durationUnit=o,1===s.as(o)&&(i.singleUnit=o,d.unshift(l[o]||{})))),i.defaults=n(c),i.overrides=n(d),this.buildViewSpecOptions(i),this.buildViewSpecButtonText(i,e),i)},buildViewSpecOptions:function(e){e.options=n([Lt.defaults,e.defaults,this.dirDefaults,this.localeDefaults,this.overrides,e.overrides,this.dynamicOverrides]),Be(e.options)},buildViewSpecButtonText:function(e,t){function n(n){var i=n.buttonText||{};return i[t]||(e.buttonTextKey?i[e.buttonTextKey]:null)||(e.singleUnit?i[e.singleUnit]:null)}e.buttonTextOverride=n(this.dynamicOverrides)||n(this.overrides)||e.overrides.buttonText,e.buttonTextDefault=n(this.localeDefaults)||n(this.dirDefaults)||e.defaults.buttonText||n(Lt.defaults)||(e.duration?this.humanizeDuration(e.duration):null)||t}}),Lt.mixin({el:null,contentEl:null,suggestedViewHeight:null,windowResizeProxy:null,ignoreWindowResize:0,render:function(){this.contentEl?this.elementVisible()&&(this.calcSize(),this.renderView()):this.initialRender()},initialRender:function(){var t=this,n=this.el;n.addClass("fc"),n.on("click.fc","a[data-goto]",function(n){var i=e(this),r=i.data("goto"),a=t.moment(r.date),s=r.type,o=t.view.opt("navLink"+me(s)+"Click");"function"==typeof o?o(a,n):("string"==typeof o&&(s=o),t.zoomTo(a,s))}),this.optionsModel.watch("applyingThemeClasses",["?theme"],function(e){n.toggleClass("ui-widget",e.theme),n.toggleClass("fc-unthemed",!e.theme)}),this.optionsModel.watch("applyingDirClasses",["?isRTL","?locale"],function(e){n.toggleClass("fc-ltr",!e.isRTL),n.toggleClass("fc-rtl",e.isRTL)}),this.contentEl=e("<div class='fc-view-container'/>").prependTo(n),this.initToolbars(),this.renderHeader(),this.renderFooter(),this.renderView(this.opt("defaultView")),this.opt("handleWindowResize")&&e(window).resize(this.windowResizeProxy=ye(this.windowResize.bind(this),this.opt("windowResizeDelay")))},destroy:function(){this.view&&this.view.removeElement(),this.toolbarsManager.proxyCall("removeElement"),this.contentEl.remove(),this.el.removeClass("fc fc-ltr fc-rtl fc-unthemed ui-widget"),this.el.off(".fc"),this.windowResizeProxy&&(e(window).unbind("resize",this.windowResizeProxy),this.windowResizeProxy=null),_t.unneeded()},elementVisible:function(){return this.el.is(":visible")},renderView:function(t,n){this.ignoreWindowResize++;var i=this.view&&t&&this.view.type!==t;i&&(this.freezeContentHeight(),this.clearView()),!this.view&&t&&(this.view=this.viewsByType[t]||(this.viewsByType[t]=this.instantiateView(t)),this.view.setElement(e("<div class='fc-view fc-"+t+"-view' />").appendTo(this.contentEl)),this.toolbarsManager.proxyCall("activateButton",t)),this.view&&(n&&this.view.addForcedScroll(n),this.elementVisible()&&(this.currentDate=this.view.setDate(this.currentDate))),i&&this.thawContentHeight(),this.ignoreWindowResize--},clearView:function(){this.toolbarsManager.proxyCall("deactivateButton",this.view.type),this.view.removeElement(),this.view=null},reinitView:function(){this.ignoreWindowResize++,this.freezeContentHeight();var e=this.view.type,t=this.view.queryScroll();this.clearView(),this.calcSize(),this.renderView(e,t),this.thawContentHeight(),this.ignoreWindowResize--},getSuggestedViewHeight:function(){return null===this.suggestedViewHeight&&this.calcSize(),this.suggestedViewHeight},isHeightAuto:function(){return"auto"===this.opt("contentHeight")||"auto"===this.opt("height")},updateSize:function(e){if(this.elementVisible())return e&&this._calcSize(),this.ignoreWindowResize++,this.view.updateSize(!0),this.ignoreWindowResize--,!0},calcSize:function(){this.elementVisible()&&this._calcSize()},_calcSize:function(){var e=this.opt("contentHeight"),t=this.opt("height");"number"==typeof e?this.suggestedViewHeight=e:"function"==typeof e?this.suggestedViewHeight=e():"number"==typeof t?this.suggestedViewHeight=t-this.queryToolbarsHeight():"function"==typeof t?this.suggestedViewHeight=t()-this.queryToolbarsHeight():"parent"===t?this.suggestedViewHeight=this.el.parent().height()-this.queryToolbarsHeight():this.suggestedViewHeight=Math.round(this.contentEl.width()/Math.max(this.opt("aspectRatio"),.5))},windowResize:function(e){!this.ignoreWindowResize&&e.target===window&&this.view.renderRange&&this.updateSize(!0)&&this.view.publiclyTrigger("windowResize",this.el[0])},freezeContentHeight:function(){this.contentEl.css({width:"100%",height:this.contentEl.height(),overflow:"hidden"})},thawContentHeight:function(){this.contentEl.css({width:"",height:"",overflow:""})}}),Lt.mixin({header:null,footer:null,toolbarsManager:null,initToolbars:function(){this.header=new Ve(this,this.computeHeaderOptions()),this.footer=new Ve(this,this.computeFooterOptions()),this.toolbarsManager=new Fe([this.header,this.footer])},computeHeaderOptions:function(){return{extraClasses:"fc-header-toolbar",layout:this.opt("header")}},computeFooterOptions:function(){return{extraClasses:"fc-footer-toolbar",layout:this.opt("footer")}},renderHeader:function(){var e=this.header;e.setToolbarOptions(this.computeHeaderOptions()),e.render(),e.el&&this.el.prepend(e.el)},renderFooter:function(){var e=this.footer;e.setToolbarOptions(this.computeFooterOptions()),e.render(),e.el&&this.el.append(e.el)},setToolbarsTitle:function(e){this.toolbarsManager.proxyCall("updateTitle",e)},updateToolbarButtons:function(){var e=this.getNow(),t=this.view,n=t.buildDateProfile(e),i=t.buildPrevDateProfile(this.currentDate),r=t.buildNextDateProfile(this.currentDate);this.toolbarsManager.proxyCall(n.isValid&&!q(e,t.currentRange)?"enableButton":"disableButton","today"),this.toolbarsManager.proxyCall(i.isValid?"enableButton":"disableButton","prev"),this.toolbarsManager.proxyCall(r.isValid?"enableButton":"disableButton","next")},queryToolbarsHeight:function(){return this.toolbarsManager.items.reduce(function(e,t){var n=t.el?t.el.outerHeight(!0):0;return e+n},0)}}),Lt.defaults={titleRangeSeparator:" – ",monthYearFormat:"MMMM YYYY",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",scrollTime:"06:00:00",minTime:"00:00:00",maxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,isRTL:!1,buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day"},buttonIcons:{prev:"left-single-arrow",next:"right-single-arrow",prevYear:"left-double-arrow",nextYear:"right-double-arrow"},allDayText:"all-day",theme:!1,themeButtonIcons:{prev:"circle-triangle-w",next:"circle-triangle-e",prevYear:"seek-prev",nextYear:"seek-next"},dragOpacity:.75,dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,dropAccept:"*",eventOrder:"title",eventLimit:!1,eventLimitText:"more",eventLimitClick:"popover",dayPopoverFormat:"LL",handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3},Lt.englishDefaults={dayPopoverFormat:"dddd, MMMM D"},Lt.rtlDefaults={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}};var xt=qe.locales={};qe.datepickerLocale=function(t,n,i){var r=xt[t]||(xt[t]={});r.isRTL=i.isRTL,r.weekNumberTitle=i.weekHeader,e.each(St,function(e,t){r[e]=t(i)}),e.datepicker&&(e.datepicker.regional[n]=e.datepicker.regional[t]=i,e.datepicker.regional.en=e.datepicker.regional[""],e.datepicker.setDefaults(i))},qe.locale=function(t,i){var r,a;r=xt[t]||(xt[t]={}),i&&(r=xt[t]=n([r,i])),a=Ue(t),e.each(Ct,function(e,t){null==r[e]&&(r[e]=t(a,r))}),Lt.defaults.locale=t};var St={buttonText:function(e){return{prev:de(e.prevText),next:de(e.nextText),today:de(e.currentText)}},monthYearFormat:function(e){return e.showMonthAfterYear?"YYYY["+e.yearSuffix+"] MMMM":"MMMM YYYY["+e.yearSuffix+"]"}},Ct={dayOfMonthFormat:function(e,t){var n=e.longDateFormat("l");return n=n.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),t.isRTL?n+=" ddd":n="ddd "+n,n},mediumTimeFormat:function(e){return e.longDateFormat("LT").replace(/\s*a$/i,"a")},smallTimeFormat:function(e){return e.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")},extraSmallTimeFormat:function(e){return e.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")},hourFormat:function(e){return e.longDateFormat("LT").replace(":mm","").replace(/(\Wmm)$/,"").replace(/\s*a$/i,"a")},noMeridiemTimeFormat:function(e){return e.longDateFormat("LT").replace(/\s*a$/i,"")}},At={smallDayDateFormat:function(e){return e.isRTL?"D dd":"dd D"},weekFormat:function(e){return e.isRTL?"w[ "+e.weekNumberTitle+"]":"["+e.weekNumberTitle+" ]w"},smallWeekFormat:function(e){return e.isRTL?"w["+e.weekNumberTitle+"]":"["+e.weekNumberTitle+"]w"}};qe.locale("en",Lt.englishDefaults),qe.sourceNormalizers=[],qe.sourceFetchers=[];var Yt={dataType:"json",cache:!1},Et=1;Lt.prototype.mutateSeg=function(e,t){return this.mutateEvent(e.event,t)},Lt.prototype.normalizeEvent=function(e){},Lt.prototype.spanContainsSpan=function(e,t){var n=e.start.clone().stripZone(),i=this.getEventEnd(e).stripZone();return t.start>=n&&t.end<=i},Lt.prototype.getPeerEvents=function(e,t){var n,i,r=this.getEventCache(),a=[];for(n=0;n<r.length;n++)i=r[n],t&&t._id===i._id||a.push(i);return a},Lt.prototype.isEventSpanAllowed=function(e,t){var n=t.source||{},i=this.opt("eventAllow"),r=ue(t.constraint,n.constraint,this.opt("eventConstraint")),a=ue(t.overlap,n.overlap,this.opt("eventOverlap"));return this.isSpanAllowed(e,r,a,t)&&(!i||i(e,t)!==!1)},Lt.prototype.isExternalSpanAllowed=function(t,n,i){var r,a;return i&&(r=e.extend({},i,n),a=this.expandEvent(this.buildEventFromInput(r))[0]),a?this.isEventSpanAllowed(t,a):this.isSelectionSpanAllowed(t)},Lt.prototype.isSelectionSpanAllowed=function(e){var t=this.opt("selectAllow");return this.isSpanAllowed(e,this.opt("selectConstraint"),this.opt("selectOverlap"))&&(!t||t(e)!==!1)},Lt.prototype.isSpanAllowed=function(e,t,n,i){var r,a,s,o,l,u;if(null!=t&&(r=this.constraintToEvents(t))){for(a=!1,o=0;o<r.length;o++)if(this.spanContainsSpan(r[o],e)){a=!0;break}if(!a)return!1}for(s=this.getPeerEvents(e,i),o=0;o<s.length;o++)if(l=s[o],this.eventIntersectsRange(l,e)){if(n===!1)return!1;if("function"==typeof n&&!n(l,i))return!1;if(i){if(u=ue(l.overlap,(l.source||{}).overlap),u===!1)return!1;if("function"==typeof u&&!u(i,l))return!1}}return!0},Lt.prototype.constraintToEvents=function(e){return"businessHours"===e?this.getCurrentBusinessHourEvents():"object"==typeof e?null!=e.start?this.expandEvent(this.buildEventFromInput(e)):null:this.clientEvents(e)},Lt.prototype.eventIntersectsRange=function(e,t){var n=e.start.clone().stripZone(),i=this.getEventEnd(e).stripZone();return t.start<i&&t.end>n};var It={id:"_fcBusinessHours",start:"09:00",end:"17:00",dow:[1,2,3,4,5],rendering:"inverse-background"};Lt.prototype.getCurrentBusinessHourEvents=function(e){return this.computeBusinessHourEvents(e,this.opt("businessHours"))},Lt.prototype.computeBusinessHourEvents=function(t,n){return n===!0?this.expandBusinessHourEvents(t,[{}]):e.isPlainObject(n)?this.expandBusinessHourEvents(t,[n]):e.isArray(n)?this.expandBusinessHourEvents(t,n,!0):[]},Lt.prototype.expandBusinessHourEvents=function(t,n,i){var r,a,s=this.getView(),o=[];for(r=0;r<n.length;r++)a=n[r],i&&!a.dow||(a=e.extend({},It,a),t&&(a.start=null,a.end=null),o.push.apply(o,this.expandEvent(this.buildEventFromInput(a),s.activeRange.start,s.activeRange.end)));return o};var Ht=qe.BasicView=Dt.extend({scroller:null,dayGridClass:wt,dayGrid:null,dayNumbersVisible:!1,colWeekNumbersVisible:!1,cellWeekNumbersVisible:!1,weekNumberWidth:null,headContainerEl:null,headRowEl:null,initialize:function(){this.dayGrid=this.instantiateDayGrid(),this.scroller=new kt({overflowX:"hidden",overflowY:"auto"})},instantiateDayGrid:function(){var e=this.dayGridClass.extend(Ot);return new e(this)},buildRenderRange:function(e,t){var n=Dt.prototype.buildRenderRange.apply(this,arguments);return/^(year|month)$/.test(t)&&(n.start.startOf("week"),n.end.weekday()&&n.end.add(1,"week").startOf("week")),this.trimHiddenDays(n)},renderDates:function(){this.dayGrid.breakOnWeeks=/year|month|week/.test(this.currentRangeUnit),this.dayGrid.setRange(this.renderRange),this.dayNumbersVisible=this.dayGrid.rowCnt>1,this.opt("weekNumbers")&&(this.opt("weekNumbersWithinDays")?(this.cellWeekNumbersVisible=!0,this.colWeekNumbersVisible=!1):(this.cellWeekNumbersVisible=!1,this.colWeekNumbersVisible=!0)),this.dayGrid.numbersVisible=this.dayNumbersVisible||this.cellWeekNumbersVisible||this.colWeekNumbersVisible,this.el.addClass("fc-basic-view").html(this.renderSkeletonHtml()),this.renderHead(),this.scroller.render();var t=this.scroller.el.addClass("fc-day-grid-container"),n=e('<div class="fc-day-grid" />').appendTo(t);this.el.find(".fc-body > tr > td").append(t),this.dayGrid.setElement(n),this.dayGrid.renderDates(this.hasRigidRows())},renderHead:function(){this.headContainerEl=this.el.find(".fc-head-container").html(this.dayGrid.renderHeadHtml()),this.headRowEl=this.headContainerEl.find(".fc-row")},unrenderDates:function(){this.dayGrid.unrenderDates(),this.dayGrid.removeElement(),this.scroller.destroy()},renderBusinessHours:function(){this.dayGrid.renderBusinessHours()},unrenderBusinessHours:function(){this.dayGrid.unrenderBusinessHours()},renderSkeletonHtml:function(){return'<table><thead class="fc-head"><tr><td class="fc-head-container '+this.widgetHeaderClass+'"></td></tr></thead><tbody class="fc-body"><tr><td class="'+this.widgetContentClass+'"></td></tr></tbody></table>'},weekNumberStyleAttr:function(){return null!==this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},hasRigidRows:function(){var e=this.opt("eventLimit");return e&&"number"!=typeof e},updateWidth:function(){this.colWeekNumbersVisible&&(this.weekNumberWidth=u(this.el.find(".fc-week-number")))},setHeight:function(e,t){var n,a,s=this.opt("eventLimit");this.scroller.clear(),r(this.headRowEl),this.dayGrid.removeSegPopover(),s&&"number"==typeof s&&this.dayGrid.limitRows(s),n=this.computeScrollerHeight(e),this.setGridHeight(n,t),s&&"number"!=typeof s&&this.dayGrid.limitRows(s),t||(this.scroller.setHeight(n),a=this.scroller.getScrollbarWidths(),(a.left||a.right)&&(i(this.headRowEl,a),n=this.computeScrollerHeight(e),this.scroller.setHeight(n)),this.scroller.lockOverflow(a))},computeScrollerHeight:function(e){return e-c(this.el,this.scroller.el)},setGridHeight:function(e,t){t?l(this.dayGrid.rowEls):o(this.dayGrid.rowEls,e,!0)},computeInitialDateScroll:function(){return{top:0}},queryDateScroll:function(){return{top:this.scroller.getScrollTop()}},applyDateScroll:function(e){void 0!==e.top&&this.scroller.setScrollTop(e.top)},hitsNeeded:function(){this.dayGrid.hitsNeeded()},hitsNotNeeded:function(){this.dayGrid.hitsNotNeeded()},prepareHits:function(){this.dayGrid.prepareHits()},releaseHits:function(){this.dayGrid.releaseHits()},queryHit:function(e,t){return this.dayGrid.queryHit(e,t)},getHitSpan:function(e){return this.dayGrid.getHitSpan(e)},getHitEl:function(e){return this.dayGrid.getHitEl(e)},renderEvents:function(e){this.dayGrid.renderEvents(e),this.updateHeight()},getEventSegs:function(){return this.dayGrid.getEventSegs()},unrenderEvents:function(){this.dayGrid.unrenderEvents()},renderDrag:function(e,t){return this.dayGrid.renderDrag(e,t)},unrenderDrag:function(){this.dayGrid.unrenderDrag()},renderSelection:function(e){this.dayGrid.renderSelection(e)},unrenderSelection:function(){this.dayGrid.unrenderSelection()}}),Ot={renderHeadIntroHtml:function(){var e=this.view;return e.colWeekNumbersVisible?'<th class="fc-week-number '+e.widgetHeaderClass+'" '+e.weekNumberStyleAttr()+"><span>"+ce(e.opt("weekNumberTitle"))+"</span></th>":""},renderNumberIntroHtml:function(e){var t=this.view,n=this.getCellDate(e,0);return t.colWeekNumbersVisible?'<td class="fc-week-number" '+t.weekNumberStyleAttr()+">"+t.buildGotoAnchorHtml({date:n,type:"week",forceOff:1===this.colCnt},n.format("w"))+"</td>":""},renderBgIntroHtml:function(){var e=this.view;return e.colWeekNumbersVisible?'<td class="fc-week-number '+e.widgetContentClass+'" '+e.weekNumberStyleAttr()+"></td>":""},renderIntroHtml:function(){var e=this.view;return e.colWeekNumbersVisible?'<td class="fc-week-number" '+e.weekNumberStyleAttr()+"></td>":""}},Nt=qe.MonthView=Ht.extend({buildRenderRange:function(){var e,t=Ht.prototype.buildRenderRange.apply(this,arguments);return this.isFixedWeeks()&&(e=Math.ceil(t.end.diff(t.start,"weeks",!0)),t.end.add(6-e,"weeks")),t},setGridHeight:function(e,t){t&&(e*=this.rowCnt/6),o(this.dayGrid.rowEls,e,!t)},isFixedWeeks:function(){return this.opt("fixedWeekCount")}});Ge.basic={class:Ht},Ge.basicDay={type:"basic",duration:{days:1}},Ge.basicWeek={type:"basic",duration:{weeks:1}},Ge.month={class:Nt,duration:{months:1},defaults:{fixedWeekCount:!0}};var Pt=qe.AgendaView=Dt.extend({scroller:null,timeGridClass:$t,timeGrid:null,dayGridClass:wt,dayGrid:null,axisWidth:null,headContainerEl:null,noScrollRowEls:null,bottomRuleEl:null,usesMinMaxTime:!0,initialize:function(){this.timeGrid=this.instantiateTimeGrid(),this.opt("allDaySlot")&&(this.dayGrid=this.instantiateDayGrid()),this.scroller=new kt({overflowX:"hidden",overflowY:"auto"})},instantiateTimeGrid:function(){var e=this.timeGridClass.extend(jt);return new e(this)},instantiateDayGrid:function(){var e=this.dayGridClass.extend(Rt);return new e(this)},renderDates:function(){this.timeGrid.setRange(this.renderRange),this.dayGrid&&this.dayGrid.setRange(this.renderRange),this.el.addClass("fc-agenda-view").html(this.renderSkeletonHtml()),this.renderHead(),this.scroller.render();var t=this.scroller.el.addClass("fc-time-grid-container"),n=e('<div class="fc-time-grid" />').appendTo(t);this.el.find(".fc-body > tr > td").append(t),this.timeGrid.setElement(n),this.timeGrid.renderDates(),this.bottomRuleEl=e('<hr class="fc-divider '+this.widgetHeaderClass+'"/>').appendTo(this.timeGrid.el),this.dayGrid&&(this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.renderDates(),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight()),this.noScrollRowEls=this.el.find(".fc-row:not(.fc-scroller *)")},renderHead:function(){this.headContainerEl=this.el.find(".fc-head-container").html(this.timeGrid.renderHeadHtml())},unrenderDates:function(){this.timeGrid.unrenderDates(),this.timeGrid.removeElement(),this.dayGrid&&(this.dayGrid.unrenderDates(),this.dayGrid.removeElement()),this.scroller.destroy()},renderSkeletonHtml:function(){return'<table><thead class="fc-head"><tr><td class="fc-head-container '+this.widgetHeaderClass+'"></td></tr></thead><tbody class="fc-body"><tr><td class="'+this.widgetContentClass+'">'+(this.dayGrid?'<div class="fc-day-grid"/><hr class="fc-divider '+this.widgetHeaderClass+'"/>':"")+"</td></tr></tbody></table>"},axisStyleAttr:function(){return null!==this.axisWidth?'style="width:'+this.axisWidth+'px"':""},renderBusinessHours:function(){this.timeGrid.renderBusinessHours(),this.dayGrid&&this.dayGrid.renderBusinessHours()},unrenderBusinessHours:function(){this.timeGrid.unrenderBusinessHours(),this.dayGrid&&this.dayGrid.unrenderBusinessHours()},getNowIndicatorUnit:function(){return this.timeGrid.getNowIndicatorUnit()},renderNowIndicator:function(e){this.timeGrid.renderNowIndicator(e)},unrenderNowIndicator:function(){this.timeGrid.unrenderNowIndicator()},updateSize:function(e){this.timeGrid.updateSize(e),Dt.prototype.updateSize.call(this,e)},updateWidth:function(){this.axisWidth=u(this.el.find(".fc-axis"))},setHeight:function(e,t){var n,a,s;this.bottomRuleEl.hide(),this.scroller.clear(),r(this.noScrollRowEls),this.dayGrid&&(this.dayGrid.removeSegPopover(),n=this.opt("eventLimit"),n&&"number"!=typeof n&&(n=zt),n&&this.dayGrid.limitRows(n)),t||(a=this.computeScrollerHeight(e),this.scroller.setHeight(a),s=this.scroller.getScrollbarWidths(),(s.left||s.right)&&(i(this.noScrollRowEls,s),a=this.computeScrollerHeight(e),this.scroller.setHeight(a)),this.scroller.lockOverflow(s),this.timeGrid.getTotalSlatHeight()<a&&this.bottomRuleEl.show())},computeScrollerHeight:function(e){return e-c(this.el,this.scroller.el)},computeInitialDateScroll:function(){var e=t.duration(this.opt("scrollTime")),n=this.timeGrid.computeTimeTop(e);return n=Math.ceil(n),n&&n++,{top:n}},queryDateScroll:function(){return{top:this.scroller.getScrollTop()}},applyDateScroll:function(e){void 0!==e.top&&this.scroller.setScrollTop(e.top)},hitsNeeded:function(){this.timeGrid.hitsNeeded(),this.dayGrid&&this.dayGrid.hitsNeeded()},hitsNotNeeded:function(){this.timeGrid.hitsNotNeeded(),this.dayGrid&&this.dayGrid.hitsNotNeeded()},prepareHits:function(){this.timeGrid.prepareHits(),this.dayGrid&&this.dayGrid.prepareHits()},releaseHits:function(){this.timeGrid.releaseHits(),this.dayGrid&&this.dayGrid.releaseHits()},queryHit:function(e,t){var n=this.timeGrid.queryHit(e,t);return!n&&this.dayGrid&&(n=this.dayGrid.queryHit(e,t)),n},getHitSpan:function(e){return e.component.getHitSpan(e)},getHitEl:function(e){return e.component.getHitEl(e)},renderEvents:function(e){var t,n,i=[],r=[],a=[];for(n=0;n<e.length;n++)e[n].allDay?i.push(e[n]):r.push(e[n]);t=this.timeGrid.renderEvents(r),this.dayGrid&&(a=this.dayGrid.renderEvents(i)),this.updateHeight()},getEventSegs:function(){return this.timeGrid.getEventSegs().concat(this.dayGrid?this.dayGrid.getEventSegs():[])},unrenderEvents:function(){this.timeGrid.unrenderEvents(),this.dayGrid&&this.dayGrid.unrenderEvents()},renderDrag:function(e,t){return e.start.hasTime()?this.timeGrid.renderDrag(e,t):this.dayGrid?this.dayGrid.renderDrag(e,t):void 0},unrenderDrag:function(){this.timeGrid.unrenderDrag(),this.dayGrid&&this.dayGrid.unrenderDrag()},renderSelection:function(e){e.start.hasTime()||e.end.hasTime()?this.timeGrid.renderSelection(e):this.dayGrid&&this.dayGrid.renderSelection(e)},unrenderSelection:function(){this.timeGrid.unrenderSelection(),this.dayGrid&&this.dayGrid.unrenderSelection()}}),jt={renderHeadIntroHtml:function(){var e,t=this.view;return t.opt("weekNumbers")?(e=this.start.format(t.opt("smallWeekFormat")),'<th class="fc-axis fc-week-number '+t.widgetHeaderClass+'" '+t.axisStyleAttr()+">"+t.buildGotoAnchorHtml({date:this.start,type:"week",forceOff:this.colCnt>1},ce(e))+"</th>"):'<th class="fc-axis '+t.widgetHeaderClass+'" '+t.axisStyleAttr()+"></th>"},renderBgIntroHtml:function(){var e=this.view;return'<td class="fc-axis '+e.widgetContentClass+'" '+e.axisStyleAttr()+"></td>"},renderIntroHtml:function(){var e=this.view;return'<td class="fc-axis" '+e.axisStyleAttr()+"></td>"}},Rt={renderBgIntroHtml:function(){var e=this.view;return'<td class="fc-axis '+e.widgetContentClass+'" '+e.axisStyleAttr()+"><span>"+e.getAllDayHtml()+"</span></td>"},renderIntroHtml:function(){var e=this.view;return'<td class="fc-axis" '+e.axisStyleAttr()+"></td>"}},zt=5,Ft=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];Ge.agenda={class:Pt,defaults:{allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0}},Ge.agendaDay={type:"agenda",duration:{days:1}},Ge.agendaWeek={type:"agenda",duration:{weeks:1}};var Vt=Dt.extend({grid:null,scroller:null,initialize:function(){this.grid=new Bt(this),this.scroller=new kt({overflowX:"hidden",overflowY:"auto"})},renderSkeleton:function(){this.el.addClass("fc-list-view "+this.widgetContentClass),this.scroller.render(),this.scroller.el.appendTo(this.el),this.grid.setElement(this.scroller.scrollEl)},unrenderSkeleton:function(){this.scroller.destroy()},setHeight:function(e,t){this.scroller.setHeight(this.computeScrollerHeight(e))},computeScrollerHeight:function(e){return e-c(this.el,this.scroller.el)},renderDates:function(){this.grid.setRange(this.renderRange)},renderEvents:function(e){this.grid.renderEvents(e)},unrenderEvents:function(){this.grid.unrenderEvents()},isEventResizable:function(e){return!1},isEventDraggable:function(e){return!1}}),Bt=Tt.extend({segSelector:".fc-list-item",hasDayInteractions:!1,spanToSegs:function(e){for(var t,n=this.view,i=n.renderRange.start.clone().time(0),r=0,a=[];i<n.renderRange.end;)if(t=H(e,{start:i,end:i.clone().add(1,"day")}),t&&(t.dayIndex=r,a.push(t)),i.add(1,"day"),r++,t&&!t.isEnd&&e.end.hasTime()&&e.end<i.clone().add(this.view.nextDayThreshold)){t.end=e.end.clone(),t.isEnd=!0;break}return a},computeEventTimeFormat:function(){return this.view.opt("mediumTimeFormat")},handleSegClick:function(t,n){var i;Tt.prototype.handleSegClick.apply(this,arguments),e(n.target).closest("a[href]").length||(i=t.event.url,i&&!n.isDefaultPrevented()&&(window.location.href=i))},renderFgSegs:function(e){return e=this.renderFgSegEls(e),e.length?this.renderSegList(e):this.renderEmptyMessage(),e},renderEmptyMessage:function(){this.el.html('<div class="fc-list-empty-wrap2"><div class="fc-list-empty-wrap1"><div class="fc-list-empty">'+ce(this.view.opt("noEventsMessage"))+"</div></div></div>")},renderSegList:function(t){var n,i,r,a=this.groupSegsByDay(t),s=e('<table class="fc-list-table"><tbody/></table>'),o=s.find("tbody");for(n=0;n<a.length;n++)if(i=a[n])for(o.append(this.dayHeaderHtml(this.view.renderRange.start.clone().add(n,"days"))),this.sortEventSegs(i),r=0;r<i.length;r++)o.append(i[r].el);this.el.empty().append(s)},groupSegsByDay:function(e){var t,n,i=[];for(t=0;t<e.length;t++)n=e[t],(i[n.dayIndex]||(i[n.dayIndex]=[])).push(n);return i},dayHeaderHtml:function(e){var t=this.view,n=t.opt("listDayFormat"),i=t.opt("listDayAltFormat");return'<tr class="fc-list-heading" data-date="'+e.format("YYYY-MM-DD")+'"><td class="'+t.widgetHeaderClass+'" colspan="3">'+(n?t.buildGotoAnchorHtml(e,{class:"fc-list-heading-main"},ce(e.format(n))):"")+(i?t.buildGotoAnchorHtml(e,{class:"fc-list-heading-alt"},ce(e.format(i))):"")+"</td></tr>"},fgSegHtml:function(e){var t,n=this.view,i=["fc-list-item"].concat(this.getSegCustomClasses(e)),r=this.getSegBackgroundColor(e),a=e.event,s=a.url;return t=a.allDay?n.getAllDayHtml():n.isMultiDayEvent(a)?e.isStart||e.isEnd?ce(this.getEventTimeText(e)):n.getAllDayHtml():ce(this.getEventTimeText(a)),s&&i.push("fc-has-url"),'<tr class="'+i.join(" ")+'">'+(this.displayEventTime?'<td class="fc-list-item-time '+n.widgetContentClass+'">'+(t||"")+"</td>":"")+'<td class="fc-list-item-marker '+n.widgetContentClass+'"><span class="fc-event-dot"'+(r?' style="background-color:'+r+'"':"")+'></span></td><td class="fc-list-item-title '+n.widgetContentClass+'"><a'+(s?' href="'+ce(s)+'"':"")+">"+ce(e.event.title||"")+"</a></td></tr>"}});return Ge.list={class:Vt,buttonTextKey:"list",defaults:{buttonText:"list",listDayFormat:"LL",noEventsMessage:"No events to display"}},Ge.listDay={type:"list",duration:{days:1},defaults:{listDayFormat:"dddd"}},Ge.listWeek={type:"list",duration:{weeks:1},defaults:{listDayFormat:"dddd",listDayAltFormat:"LL"}},Ge.listMonth={type:"list",duration:{month:1},defaults:{listDayAltFormat:"dddd"}},Ge.listYear={type:"list",duration:{year:1},defaults:{listDayAltFormat:"dddd"}},qe}),!function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):"object"==typeof exports?module.exports=e(require("jquery"),require("moment")):e(jQuery,moment)}(function(e,t){!function(){!function(){t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("af","af",{closeText:"Selekteer",prevText:"Vorige",nextText:"Volgende",currentText:"Vandag",monthNames:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"], monthNamesShort:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],dayNamesShort:["Son","Maa","Din","Woe","Don","Vry","Sat"],dayNamesMin:["So","Ma","Di","Wo","Do","Vr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("af",{buttonText:{year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayHtml:"Heeldag",eventLimitText:"Addisionele",noEventsMessage:"Daar is geen gebeurtenis"})}(),function(){!function(){var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,n,a,s){var o=i(t),l=r[e][i(t)];return 2===o&&(l=l[n?0:1]),l.replace(/%d/i,t)}},s=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];t.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(),e.fullCalendar.datepickerLocale("ar","ar",{closeText:"إغلاق",prevText:"<السابق",nextText:"التالي>",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ar",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})}(),function(){!function(){t.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(),e.fullCalendar.datepickerLocale("ar-dz","ar-DZ",{closeText:"إغلاق",prevText:"<السابق",nextText:"التالي>",currentText:"اليوم",monthNames:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ar-dz",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})}(),function(){!function(){t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(),e.fullCalendar.datepickerLocale("ar-kw","ar",{closeText:"إغلاق",prevText:"<السابق",nextText:"التالي>",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ar-kw",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})}(),function(){!function(){var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,r,a,s){var o=n(t),l=i[e][n(t)];return 2===o&&(l=l[r?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(),e.fullCalendar.datepickerLocale("ar-ly","ar",{closeText:"إغلاق",prevText:"<السابق",nextText:"التالي>",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ar-ly",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})}(),function(){!function(){t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(),e.fullCalendar.datepickerLocale("ar-ma","ar",{closeText:"إغلاق",prevText:"<السابق",nextText:"التالي>",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ar-ma",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})}(),function(){!function(){var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(),e.fullCalendar.datepickerLocale("ar-sa","ar",{closeText:"إغلاق",prevText:"<السابق",nextText:"التالي>",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ar-sa",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})}(),function(){!function(){t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("ar-tn","ar",{closeText:"إغلاق",prevText:"<السابق",nextText:"التالي>",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ar-tn",{buttonText:{month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},allDayText:"اليوم كله",eventLimitText:"أخرى",noEventsMessage:"أي أحداث لعرض"})}(),function(){!function(){t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("bg","bg",{closeText:"затвори",prevText:"<назад",nextText:"напред>",nextBigText:">>",currentText:"днес",monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Нов","Дек"],dayNames:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],dayNamesShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Съ"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("bg",{buttonText:{month:"Месец",week:"Седмица",day:"Ден",list:"График"},allDayText:"Цял ден",eventLimitText:function(e){return"+още "+e},noEventsMessage:"Няма събития за показване"})}(),function(){!function(){t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"[el] D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"[el] D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"[el] dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("ca","ca",{closeText:"Tanca",prevText:"Anterior",nextText:"Següent",currentText:"Avui",monthNames:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],monthNamesShort:["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des"],dayNames:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],dayNamesShort:["dg","dl","dt","dc","dj","dv","ds"],dayNamesMin:["dg","dl","dt","dc","dj","dv","ds"],weekHeader:"Set",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ca",{buttonText:{month:"Mes",week:"Setmana",day:"Dia",list:"Agenda"},allDayText:"Tot el dia",eventLimitText:"més",noEventsMessage:"No hi ha esdeveniments per mostrar"})}(),function(){!function(){function e(e){return e>1&&e<5&&1!=~~(e/10)}function n(t,n,i,r){var a=t+" ";switch(i){case"s":return n||r?"pár sekund":"pár sekundami";case"m":return n?"minuta":r?"minutu":"minutou";case"mm":return n||r?a+(e(t)?"minuty":"minut"):a+"minutami";case"h":return n?"hodina":r?"hodinu":"hodinou";case"hh":return n||r?a+(e(t)?"hodiny":"hodin"):a+"hodinami";case"d":return n||r?"den":"dnem";case"dd":return n||r?a+(e(t)?"dny":"dní"):a+"dny";case"M":return n||r?"měsíc":"měsícem";case"MM":return n||r?a+(e(t)?"měsíce":"měsíců"):a+"měsíci";case"y":return n||r?"rok":"rokem";case"yy":return n||r?a+(e(t)?"roky":"let"):a+"lety"}}var i="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),r="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");t.defineLocale("cs",{months:i,monthsShort:r,monthsParse:function(e,t){var n,i=[];for(n=0;n<12;n++)i[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return i}(i,r),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(r),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(i),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("cs","cs",{closeText:"Zavřít",prevText:"<Dříve",nextText:"Později>",currentText:"Nyní",monthNames:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],monthNamesShort:["led","úno","bře","dub","kvě","čer","čvc","srp","zář","říj","lis","pro"],dayNames:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],dayNamesShort:["ne","po","út","st","čt","pá","so"],dayNamesMin:["ne","po","út","st","čt","pá","so"],weekHeader:"Týd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("cs",{buttonText:{month:"Měsíc",week:"Týden",day:"Den",list:"Agenda"},allDayText:"Celý den",eventLimitText:function(e){return"+další: "+e},noEventsMessage:"Žádné akce k zobrazení"})}(),function(){!function(){t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("da","da",{closeText:"Luk",prevText:"<Forrige",nextText:"Næste>",currentText:"Idag",monthNames:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],dayNamesShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayNamesMin:["Sø","Ma","Ti","On","To","Fr","Lø"],weekHeader:"Uge",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("da",{buttonText:{month:"Måned",week:"Uge",day:"Dag",list:"Agenda"},allDayText:"Hele dagen",eventLimitText:"flere",noEventsMessage:"Ingen arrangementer at vise"})}(),function(){!function(){function e(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("de","de",{closeText:"Schließen",prevText:"<Zurück",nextText:"Vor>",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("de",{buttonText:{month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},allDayText:"Ganztägig",eventLimitText:function(e){return"+ weitere "+e},noEventsMessage:"Keine Ereignisse anzuzeigen"})}(),function(){!function(){function e(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("de-at","de",{closeText:"Schließen",prevText:"<Zurück",nextText:"Vor>",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("de-at",{buttonText:{month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},allDayText:"Ganztägig",eventLimitText:function(e){return"+ weitere "+e},noEventsMessage:"Keine Ereignisse anzuzeigen"})}(),function(){!function(){function e(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._März_April_Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH.mm",LLLL:"dddd, D. MMMM YYYY HH.mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("de-ch","de",{closeText:"Schließen",prevText:"<Zurück",nextText:"Vor>",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("de-ch",{buttonText:{month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},allDayText:"Ganztägig",eventLimitText:function(e){return"+ weitere "+e},noEventsMessage:"Keine Ereignisse anzuzeigen"})}(),function(){!function(){function e(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){ case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,n){var i=this._calendarEl[t],r=n&&n.hours();return e(i)&&(i=i.apply(n)),i.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("el","el",{closeText:"Κλείσιμο",prevText:"Προηγούμενος",nextText:"Επόμενος",currentText:"Σήμερα",monthNames:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthNamesShort:["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],dayNames:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],dayNamesShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],dayNamesMin:["Κυ","Δε","Τρ","Τε","Πε","Πα","Σα"],weekHeader:"Εβδ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("el",{buttonText:{month:"Μήνας",week:"Εβδομάδα",day:"Ημέρα",list:"Ατζέντα"},allDayText:"Ολοήμερο",eventLimitText:"περισσότερα",noEventsMessage:"Δεν υπάρχουν γεγονότα για να εμφανιστεί"})}(),function(){!function(){t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("en-au","en-AU",{closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("en-au")}(),function(){!function(){t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(),e.fullCalendar.locale("en-ca")}(),function(){!function(){t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("en-gb","en-GB",{closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("en-gb")}(),function(){!function(){t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(),e.fullCalendar.locale("en-ie")}(),function(){!function(){t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("en-nz","en-NZ",{closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("en-nz")}(),function(){!function(){var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("es","es",{closeText:"Cerrar",prevText:"<Ant",nextText:"Sig>",currentText:"Hoy",monthNames:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],monthNamesShort:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],dayNames:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],dayNamesShort:["dom","lun","mar","mié","jue","vie","sáb"],dayNamesMin:["D","L","M","X","J","V","S"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("es",{buttonText:{month:"Mes",week:"Semana",day:"Día",list:"Agenda"},allDayHtml:"Todo<br/>el día",eventLimitText:"más",noEventsMessage:"No hay eventos para mostrar"})}(),function(){!function(){var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("es-do","es",{closeText:"Cerrar",prevText:"<Ant",nextText:"Sig>",currentText:"Hoy",monthNames:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],monthNamesShort:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],dayNames:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],dayNamesShort:["dom","lun","mar","mié","jue","vie","sáb"],dayNamesMin:["D","L","M","X","J","V","S"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("es-do",{buttonText:{month:"Mes",week:"Semana",day:"Día",list:"Agenda"},allDayHtml:"Todo<br/>el día",eventLimitText:"más",noEventsMessage:"No hay eventos para mostrar"})}(),function(){!function(){function e(e,t,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("et","et",{closeText:"Sulge",prevText:"Eelnev",nextText:"Järgnev",currentText:"Täna",monthNames:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],monthNamesShort:["Jaan","Veebr","Märts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],dayNames:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"],dayNamesShort:["Pühap","Esmasp","Teisip","Kolmap","Neljap","Reede","Laup"],dayNamesMin:["P","E","T","K","N","R","L"],weekHeader:"näd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("et",{buttonText:{month:"Kuu",week:"Nädal",day:"Päev",list:"Päevakord"},allDayText:"Kogu päev",eventLimitText:function(e){return"+ veel "+e},noEventsMessage:"Kuvamiseks puuduvad sündmused"})}(),function(){!function(){t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("eu","eu",{closeText:"Egina",prevText:"<Aur",nextText:"Hur>",currentText:"Gaur",monthNames:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"],monthNamesShort:["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe."],dayNames:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],dayNamesShort:["ig.","al.","ar.","az.","og.","ol.","lr."],dayNamesMin:["ig","al","ar","az","og","ol","lr"],weekHeader:"As",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("eu",{buttonText:{month:"Hilabetea",week:"Astea",day:"Eguna",list:"Agenda"},allDayHtml:"Egun<br/>osoa",eventLimitText:"gehiago",noEventsMessage:"Ez dago ekitaldirik erakusteko"})}(),function(){!function(){var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(),e.fullCalendar.datepickerLocale("fa","fa",{closeText:"بستن",prevText:"<قبلی",nextText:"بعدی>",currentText:"امروز",monthNames:["ژانویه","فوریه","مارس","آوریل","مه","ژوئن","ژوئیه","اوت","سپتامبر","اکتبر","نوامبر","دسامبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["يکشنبه","دوشنبه","سهشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayNamesShort:["ی","د","س","چ","پ","ج","ش"],dayNamesMin:["ی","د","س","چ","پ","ج","ش"],weekHeader:"هف",dateFormat:"yy/mm/dd",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("fa",{buttonText:{month:"ماه",week:"هفته",day:"روز",list:"برنامه"},allDayText:"تمام روز",eventLimitText:function(e){return"بیش از "+e},noEventsMessage:"هیچ رویدادی به نمایش"})}(),function(){!function(){function e(e,t,i,r){var a="";switch(i){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"m":return r?"minuutin":"minuutti";case"mm":a=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":a=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":a=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":a=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":a=r?"vuoden":"vuotta"}return a=n(e,r)+" "+a}function n(e,t){return e<10?t?r[e]:i[e]:e}var i="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",i[7],i[8],i[9]];t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("fi","fi",{closeText:"Sulje",prevText:"«Edellinen",nextText:"Seuraava»",currentText:"Tänään",monthNames:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthNamesShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],dayNamesShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayNames:["Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai"],dayNamesMin:["Su","Ma","Ti","Ke","To","Pe","La"],weekHeader:"Vk",dateFormat:"d.m.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("fi",{buttonText:{month:"Kuukausi",week:"Viikko",day:"Päivä",list:"Tapahtumat"},allDayText:"Koko päivä",eventLimitText:"lisää",noEventsMessage:"Ei näytettäviä tapahtumia"})}(),function(){!function(){t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("fr","fr",{closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("fr",{buttonText:{year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},allDayHtml:"Toute la<br/>journée",eventLimitText:"en plus",noEventsMessage:"Aucun événement à afficher"})}(),function(){!function(){t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(),e.fullCalendar.datepickerLocale("fr-ca","fr-CA",{closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("fr-ca",{buttonText:{year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},allDayHtml:"Toute la<br/>journée",eventLimitText:"en plus",noEventsMessage:"Aucun événement à afficher"})}(),function(){!function(){t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("fr-ch","fr-CH",{closeText:"Fermer",prevText:"<Préc",nextText:"Suiv>",currentText:"Courant",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sm",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("fr-ch",{buttonText:{year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},allDayHtml:"Toute la<br/>journée",eventLimitText:"en plus",noEventsMessage:"Aucun événement à afficher"})}(),function(){!function(){t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("gl","gl",{closeText:"Pechar",prevText:"<Ant",nextText:"Seg>",currentText:"Hoxe",monthNames:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],monthNamesShort:["Xan","Feb","Mar","Abr","Mai","Xuñ","Xul","Ago","Set","Out","Nov","Dec"],dayNames:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"],dayNamesMin:["Do","Lu","Ma","Mé","Xo","Ve","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("gl",{buttonText:{month:"Mes",week:"Semana",day:"Día",list:"Axenda"},allDayHtml:"Todo<br/>o día",eventLimitText:"máis",noEventsMessage:"Non hai eventos para amosar"})}(),function(){!function(){t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(),e.fullCalendar.datepickerLocale("he","he",{closeText:"סגור",prevText:"<הקודם",nextText:"הבא>",currentText:"היום",monthNames:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthNamesShort:["ינו","פבר","מרץ","אפר","מאי","יוני","יולי","אוג","ספט","אוק","נוב","דצמ"], dayNames:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],dayNamesShort:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],dayNamesMin:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("he",{buttonText:{month:"חודש",week:"שבוע",day:"יום",list:"סדר יום"},allDayText:"כל היום",eventLimitText:"אחר",noEventsMessage:"אין אירועים להצגה",weekNumberTitle:"שבוע"})}(),function(){!function(){var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(),e.fullCalendar.datepickerLocale("hi","hi",{closeText:"बंद",prevText:"पिछला",nextText:"अगला",currentText:"आज",monthNames:["जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून","जूलाई","अगस्त ","सितम्बर","अक्टूबर","नवम्बर","दिसम्बर"],monthNamesShort:["जन","फर","मार्च","अप्रेल","मई","जून","जूलाई","अग","सित","अक्ट","नव","दि"],dayNames:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],dayNamesShort:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],dayNamesMin:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],weekHeader:"हफ्ता",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("hi",{buttonText:{month:"महीना",week:"सप्ताह",day:"दिन",list:"कार्यसूची"},allDayText:"सभी दिन",eventLimitText:function(e){return"+अधिक "+e},noEventsMessage:"कोई घटनाओं को प्रदर्शित करने के लिए"})}(),function(){!function(){function e(e,t,n){var i=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("hr","hr",{closeText:"Zatvori",prevText:"<",nextText:">",currentText:"Danas",monthNames:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],monthNamesShort:["Sij","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],dayNames:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Tje",dateFormat:"dd.mm.yy.",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("hr",{buttonText:{prev:"Prijašnji",next:"Sljedeći",month:"Mjesec",week:"Tjedan",day:"Dan",list:"Raspored"},allDayText:"Cijeli dan",eventLimitText:function(e){return"+ još "+e},noEventsMessage:"Nema događaja za prikaz"})}(),function(){!function(){function e(e,t,n,i){var r=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return r+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return r+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return r+(i||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+i[this.day()]+"] LT[-kor]"}var i="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("hu","hu",{closeText:"bezár",prevText:"vissza",nextText:"előre",currentText:"ma",monthNames:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthNamesShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Szep","Okt","Nov","Dec"],dayNames:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],dayNamesShort:["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],dayNamesMin:["V","H","K","Sze","Cs","P","Szo"],weekHeader:"Hét",dateFormat:"yy.mm.dd.",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""}),e.fullCalendar.locale("hu",{buttonText:{month:"Hónap",week:"Hét",day:"Nap",list:"Napló"},allDayText:"Egész nap",eventLimitText:"további",noEventsMessage:"Nincs megjeleníthető események"})}(),function(){!function(){t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("id","id",{closeText:"Tutup",prevText:"<mundur",nextText:"maju>",currentText:"hari ini",monthNames:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agus","Sep","Okt","Nop","Des"],dayNames:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],dayNamesShort:["Min","Sen","Sel","Rab","kam","Jum","Sab"],dayNamesMin:["Mg","Sn","Sl","Rb","Km","jm","Sb"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("id",{buttonText:{month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},allDayHtml:"Sehari<br/>penuh",eventLimitText:"lebih",noEventsMessage:"Tidak ada acara untuk ditampilkan"})}(),function(){!function(){function e(e){return e%100==11||e%10!=1}function n(t,n,i,r){var a=t+" ";switch(i){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?a+(n||r?"mínútur":"mínútum"):n?a+"mínúta":a+"mínútu";case"hh":return e(t)?a+(n||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return e(t)?n?a+"dagar":a+(r?"daga":"dögum"):n?a+"dagur":a+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return e(t)?n?a+"mánuðir":a+(r?"mánuði":"mánuðum"):n?a+"mánuður":a+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return e(t)?a+(n||r?"ár":"árum"):a+(n||r?"ár":"ári")}}t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("is","is",{closeText:"Loka",prevText:"< Fyrri",nextText:"Næsti >",currentText:"Í dag",monthNames:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],dayNames:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"],dayNamesShort:["Sun","Mán","Þri","Mið","Fim","Fös","Lau"],dayNamesMin:["Su","Má","Þr","Mi","Fi","Fö","La"],weekHeader:"Vika",dateFormat:"dd.mm.yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("is",{buttonText:{month:"Mánuður",week:"Vika",day:"Dagur",list:"Dagskrá"},allDayHtml:"Allan<br/>daginn",eventLimitText:"meira",noEventsMessage:"Engir viðburðir til að sýna"})}(),function(){!function(){t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("it","it",{closeText:"Chiudi",prevText:"<Prec",nextText:"Succ>",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayNamesMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("it",{buttonText:{month:"Mese",week:"Settimana",day:"Giorno",list:"Agenda"},allDayHtml:"Tutto il<br/>giorno",eventLimitText:function(e){return"+altri "+e},noEventsMessage:"Non ci sono eventi da visualizzare"})}(),function(){!function(){t.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日 HH:mm dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(),e.fullCalendar.datepickerLocale("ja","ja",{closeText:"閉じる",prevText:"<前",nextText:"次>",currentText:"今日",monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayNames:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],dayNamesShort:["日","月","火","水","木","金","土"],dayNamesMin:["日","月","火","水","木","金","土"],weekHeader:"週",dateFormat:"yy/mm/dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"}),e.fullCalendar.locale("ja",{buttonText:{month:"月",week:"週",day:"日",list:"予定リスト"},allDayText:"終日",eventLimitText:function(e){return"他 "+e+" 件"},noEventsMessage:"イベントが表示されないように"})}(),function(){!function(){var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){var n=t%10,i=t>=100?100:null;return t+(e[t]||e[n]||e[i])},week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("kk","kk",{closeText:"Жабу",prevText:"<Алдыңғы",nextText:"Келесі>",currentText:"Бүгін",monthNames:["Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан"],monthNamesShort:["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел"],dayNames:["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],dayNamesShort:["жкс","дсн","ссн","срс","бсн","жма","снб"],dayNamesMin:["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],weekHeader:"Не",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("kk",{buttonText:{month:"Ай",week:"Апта",day:"Күн",list:"Күн тәртібі"},allDayText:"Күні бойы",eventLimitText:function(e){return"+ тағы "+e},noEventsMessage:"Көрсету үшін оқиғалар жоқ"})}(),function(){!function(){t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(),e.fullCalendar.datepickerLocale("ko","ko",{closeText:"닫기",prevText:"이전달",nextText:"다음달",currentText:"오늘",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],dayNamesShort:["일","월","화","수","목","금","토"],dayNamesMin:["일","월","화","수","목","금","토"],weekHeader:"주",dateFormat:"yy. m. d.",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"년"}),e.fullCalendar.locale("ko",{buttonText:{month:"월",week:"주",day:"일",list:"일정목록"},allDayText:"종일",eventLimitText:"개",noEventsMessage:"일정이 표시 없습니다"})}(),function(){!function(){function e(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){return r(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e}function i(e){return r(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e}function r(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return r(0===t?n:t)}if(e<1e4){for(;e>=10;)e/=10;return r(e)}return e/=1e3,r(e)}t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:i,s:"e puer Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("lb","lb",{closeText:"Fäerdeg",prevText:"Zréck",nextText:"Weider",currentText:"Haut",monthNames:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],dayNamesShort:["Son","Méi","Dën","Mët","Don","Fre","Sam"],dayNamesMin:["So","Mé","Dë","Më","Do","Fr","Sa"],weekHeader:"W",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("lb",{buttonText:{month:"Mount",week:"Woch",day:"Dag",list:"Terminiwwersiicht"},allDayText:"Ganzen Dag",eventLimitText:"méi",noEventsMessage:"Nee Evenementer ze affichéieren"})}(),function(){!function(){function e(e,t,n,i){return t?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function n(e,t,n,i){return t?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(e){return e%10==0||e>10&&e<20}function r(e){return s[e].split("_")}function a(e,t,a,s){var o=e+" ";return 1===e?o+n(e,t,a[0],s):t?o+(i(e)?r(a)[1]:r(a)[0]):s?o+r(a)[1]:o+(i(e)?r(a)[1]:r(a)[2])}var s={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:e,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("lt","lt",{closeText:"Uždaryti",prevText:"<Atgal",nextText:"Pirmyn>",currentText:"Šiandien",monthNames:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthNamesShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],dayNames:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],dayNamesShort:["sek","pir","ant","tre","ket","pen","šeš"],dayNamesMin:["Se","Pr","An","Tr","Ke","Pe","Še"],weekHeader:"SAV",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""}),e.fullCalendar.locale("lt",{buttonText:{month:"Mėnuo",week:"Savaitė",day:"Diena",list:"Darbotvarkė"},allDayText:"Visą dieną",eventLimitText:"daugiau",noEventsMessage:"Nėra įvykių rodyti"})}(),function(){!function(){function e(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(t,n,i){return t+" "+e(a[i],t,n)}function i(t,n,i){return e(a[i],t,n)}function r(e,t){return t?"dažas sekundes":"dažām sekundēm"}var a={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:r,m:i,mm:n,h:i,hh:n,d:i,dd:n,M:i,MM:n,y:i,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("lv","lv",{closeText:"Aizvērt",prevText:"Iepr.",nextText:"Nāk.",currentText:"Šodien",monthNames:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthNamesShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],dayNames:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],dayNamesShort:["svt","prm","otr","tre","ctr","pkt","sst"],dayNamesMin:["Sv","Pr","Ot","Tr","Ct","Pk","Ss"],weekHeader:"Ned.",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("lv",{buttonText:{month:"Mēnesis",week:"Nedēļa",day:"Diena",list:"Dienas kārtība"},allDayText:"Visu dienu",eventLimitText:function(e){return"+vēl "+e},noEventsMessage:"Nav notikumu"})}(),function(){!function(){t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("mk","mk",{closeText:"Затвори",prevText:"<",nextText:">",currentText:"Денес",monthNames:["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],dayNames:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"],dayNamesShort:["Нед","Пон","Вто","Сре","Чет","Пет","Саб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Са"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("mk",{buttonText:{month:"Месец",week:"Недела",day:"Ден",list:"График"},allDayText:"Цел ден",eventLimitText:function(e){return"+повеќе "+e},noEventsMessage:"Нема настани за прикажување"})}(),function(){!function(){t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("ms","ms",{closeText:"Tutup",prevText:"<Sebelum",nextText:"Selepas>",currentText:"hari ini",monthNames:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthNamesShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],dayNames:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],dayNamesShort:["Aha","Isn","Sel","Rab","kha","Jum","Sab"],dayNamesMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ms",{buttonText:{month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},allDayText:"Sepanjang hari",eventLimitText:function(e){return"masih ada "+e+" acara"},noEventsMessage:"Tiada peristiwa untuk dipaparkan"})}(),function(){!function(){t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"), weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("ms-my","ms",{closeText:"Tutup",prevText:"<Sebelum",nextText:"Selepas>",currentText:"hari ini",monthNames:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthNamesShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],dayNames:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],dayNamesShort:["Aha","Isn","Sel","Rab","kha","Jum","Sab"],dayNamesMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ms-my",{buttonText:{month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},allDayText:"Sepanjang hari",eventLimitText:function(e){return"masih ada "+e+" acara"},noEventsMessage:"Tiada peristiwa untuk dipaparkan"})}(),function(){!function(){t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("nb","nb",{closeText:"Lukk",prevText:"«Forrige",nextText:"Neste»",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("nb",{buttonText:{month:"Måned",week:"Uke",day:"Dag",list:"Agenda"},allDayText:"Hele dagen",eventLimitText:"til",noEventsMessage:"Ingen hendelser å vise"})}(),function(){!function(){var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("nl","nl",{closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("nl",{buttonText:{month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Hele dag",eventLimitText:"extra",noEventsMessage:"Geen evenementen om te laten zien"})}(),function(){!function(){var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("nl-be","nl-BE",{closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("nl-be",{buttonText:{month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Hele dag",eventLimitText:"extra",noEventsMessage:"Geen evenementen om te laten zien"})}(),function(){!function(){t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("nn","nn",{closeText:"Lukk",prevText:"«Førre",nextText:"Neste»",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["sun","mån","tys","ons","tor","fre","lau"],dayNames:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"],dayNamesMin:["su","må","ty","on","to","fr","la"],weekHeader:"Veke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("nn",{buttonText:{month:"Månad",week:"Veke",day:"Dag",list:"Agenda"},allDayText:"Heile dagen",eventLimitText:"til",noEventsMessage:"Ingen hendelser å vise"})}(),function(){!function(){function e(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function n(t,n,i){var r=t+" ";switch(i){case"m":return n?"minuta":"minutę";case"mm":return r+(e(t)?"minuty":"minut");case"h":return n?"godzina":"godzinę";case"hh":return r+(e(t)?"godziny":"godzin");case"MM":return r+(e(t)?"miesiące":"miesięcy");case"yy":return r+(e(t)?"lata":"lat")}}var i="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");t.defineLocale("pl",{months:function(e,t){return e?""===t?"("+r[e.month()]+"|"+i[e.month()]+")":/D MMMM/.test(t)?r[e.month()]:i[e.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("pl","pl",{closeText:"Zamknij",prevText:"<Poprzedni",nextText:"Następny>",currentText:"Dziś",monthNames:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthNamesShort:["Sty","Lu","Mar","Kw","Maj","Cze","Lip","Sie","Wrz","Pa","Lis","Gru"],dayNames:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],dayNamesShort:["Nie","Pn","Wt","Śr","Czw","Pt","So"],dayNamesMin:["N","Pn","Wt","Śr","Cz","Pt","So"],weekHeader:"Tydz",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("pl",{buttonText:{month:"Miesiąc",week:"Tydzień",day:"Dzień",list:"Plan dnia"},allDayText:"Cały dzień",eventLimitText:"więcej",noEventsMessage:"Brak wydarzeń do wyświetlenia"})}(),function(){!function(){t.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("pt","pt",{closeText:"Fechar",prevText:"Anterior",nextText:"Seguinte",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sem",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("pt",{buttonText:{month:"Mês",week:"Semana",day:"Dia",list:"Agenda"},allDayText:"Todo o dia",eventLimitText:"mais",noEventsMessage:"Não há eventos para mostrar"})}(),function(){!function(){t.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(),e.fullCalendar.datepickerLocale("pt-br","pt-BR",{closeText:"Fechar",prevText:"<Anterior",nextText:"Próximo>",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("pt-br",{buttonText:{month:"Mês",week:"Semana",day:"Dia",list:"Compromissos"},allDayText:"dia inteiro",eventLimitText:function(e){return"mais +"+e},noEventsMessage:"Não há eventos para mostrar"})}(),function(){!function(){function e(e,t,n){var i={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+i[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("ro","ro",{closeText:"Închide",prevText:"« Luna precedentă",nextText:"Luna următoare »",currentText:"Azi",monthNames:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthNamesShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"],dayNamesShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"],dayNamesMin:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],weekHeader:"Săpt",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ro",{buttonText:{prev:"precedentă",next:"următoare",month:"Lună",week:"Săptămână",day:"Zi",list:"Agendă"},allDayText:"Toată ziua",eventLimitText:function(e){return"+alte "+e},noEventsMessage:"Nu există evenimente de afișat"})}(),function(){!function(){function e(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(t,n,i){var r={mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===i?n?"минута":"минуту":t+" "+e(r[i],+t)}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("ru","ru",{closeText:"Закрыть",prevText:"<Пред",nextText:"След>",currentText:"Сегодня",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],dayNamesShort:["вск","пнд","втр","срд","чтв","птн","сбт"],dayNamesMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Нед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("ru",{buttonText:{month:"Месяц",week:"Неделя",day:"День",list:"Повестка дня"},allDayText:"Весь день",eventLimitText:function(e){return"+ ещё "+e},noEventsMessage:"Нет событий для отображения"})}(),function(){!function(){function e(e){return e>1&&e<5}function n(t,n,i,r){var a=t+" ";switch(i){case"s":return n||r?"pár sekúnd":"pár sekundami";case"m":return n?"minúta":r?"minútu":"minútou";case"mm":return n||r?a+(e(t)?"minúty":"minút"):a+"minútami";case"h":return n?"hodina":r?"hodinu":"hodinou";case"hh":return n||r?a+(e(t)?"hodiny":"hodín"):a+"hodinami";case"d":return n||r?"deň":"dňom";case"dd":return n||r?a+(e(t)?"dni":"dní"):a+"dňami";case"M":return n||r?"mesiac":"mesiacom";case"MM":return n||r?a+(e(t)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return n||r?"rok":"rokom";case"yy":return n||r?a+(e(t)?"roky":"rokov"):a+"rokmi"}}var i="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),r="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");t.defineLocale("sk",{months:i,monthsShort:r,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("sk","sk",{closeText:"Zavrieť",prevText:"<Predchádzajúci",nextText:"Nasledujúci>",currentText:"Dnes",monthNames:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],monthNamesShort:["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Okt","Nov","Dec"],dayNames:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],dayNamesShort:["Ned","Pon","Uto","Str","Štv","Pia","Sob"],dayNamesMin:["Ne","Po","Ut","St","Št","Pia","So"],weekHeader:"Ty",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("sk",{buttonText:{month:"Mesiac",week:"Týždeň",day:"Deň",list:"Rozvrh"},allDayText:"Celý deň",eventLimitText:function(e){return"+ďalšie: "+e},noEventsMessage:"Žiadne akcie na zobrazenie"})}(),function(){!function(){function e(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return r+=1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return r+=1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami";case"d":return t||i?"en dan":"enim dnem";case"dd":return r+=1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi";case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+=1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci";case"y":return t||i?"eno leto":"enim letom";case"yy":return r+=1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti"}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("sl","sl",{closeText:"Zapri",prevText:"<Prejšnji",nextText:"Naslednji>",currentText:"Trenutni",monthNames:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"],dayNamesShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],dayNamesMin:["Ne","Po","To","Sr","Če","Pe","So"],weekHeader:"Teden",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("sl",{buttonText:{month:"Mesec",week:"Teden",day:"Dan",list:"Dnevni red"},allDayText:"Ves dan",eventLimitText:"več",noEventsMessage:"Ni dogodkov za prikaz"})}(),function(){!function(){var e={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("sr","sr",{closeText:"Затвори",prevText:"<",nextText:">",currentText:"Данас",monthNames:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthNamesShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],dayNames:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],dayNamesShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],dayNamesMin:["Не","По","Ут","Ср","Че","Пе","Су"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("sr",{buttonText:{month:"Месец",week:"Недеља",day:"Дан",list:"Планер"},allDayText:"Цео дан",eventLimitText:function(e){return"+ још "+e},noEventsMessage:"Нема догађаја за приказ"})}(),function(){!function(){var e={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"), weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("sr-cyrl","sr",{closeText:"Затвори",prevText:"<",nextText:">",currentText:"Данас",monthNames:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthNamesShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],dayNames:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],dayNamesShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],dayNamesMin:["Не","По","Ут","Ср","Че","Пе","Су"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("sr-cyrl",{buttonText:{month:"Месец",week:"Недеља",day:"Дан",list:"Планер"},allDayText:"Цео дан",eventLimitText:function(e){return"+ још "+e},noEventsMessage:"Нема догађаја за приказ"})}(),function(){!function(){t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e")},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("sv","sv",{closeText:"Stäng",prevText:"«Förra",nextText:"Nästa»",currentText:"Idag",monthNames:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNamesShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayNames:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],dayNamesMin:["Sö","Må","Ti","On","To","Fr","Lö"],weekHeader:"Ve",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("sv",{buttonText:{month:"Månad",week:"Vecka",day:"Dag",list:"Program"},allDayText:"Heldag",eventLimitText:"till",noEventsMessage:"Inga händelser att visa"})}(),function(){!function(){t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(),e.fullCalendar.datepickerLocale("th","th",{closeText:"ปิด",prevText:"« ย้อน",nextText:"ถัดไป »",currentText:"วันนี้",monthNames:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthNamesShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],dayNames:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],dayNamesShort:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],dayNamesMin:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("th",{buttonText:{month:"เดือน",week:"สัปดาห์",day:"วัน",list:"แผนงาน"},allDayText:"ตลอดวัน",eventLimitText:"เพิ่มเติม",noEventsMessage:"ไม่มีกิจกรรมที่จะแสดง"})}(),function(){!function(){var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(t){if(0===t)return t+"'ıncı";var n=t%10,i=t%100-n,r=t>=100?100:null;return t+(e[n]||e[i]||e[r])},week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("tr","tr",{closeText:"kapat",prevText:"<geri",nextText:"ileri>",currentText:"bugün",monthNames:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthNamesShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],dayNames:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],dayNamesShort:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],dayNamesMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("tr",{buttonText:{next:"ileri",month:"Ay",week:"Hafta",day:"Gün",list:"Ajanda"},allDayText:"Tüm gün",eventLimitText:"daha fazla",noEventsMessage:"Herhangi bir etkinlik görüntülemek için"})}(),function(){!function(){function e(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(t,n,i){var r={mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===i?n?"хвилина":"хвилину":"h"===i?n?"година":"годину":t+" "+e(r[i],+t)}function i(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative}function r(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:i,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:r("[Сьогодні "),nextDay:r("[Завтра "),lastDay:r("[Вчора "),nextWeek:r("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[Минулої] dddd [").call(this);case 1:case 2:case 4:return r("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(),e.fullCalendar.datepickerLocale("uk","uk",{closeText:"Закрити",prevText:"<",nextText:">",currentText:"Сьогодні",monthNames:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthNamesShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],dayNames:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"],dayNamesShort:["нед","пнд","вів","срд","чтв","птн","сбт"],dayNamesMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Тиж",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("uk",{buttonText:{month:"Місяць",week:"Тиждень",day:"День",list:"Порядок денний"},allDayText:"Увесь день",eventLimitText:function(e){return"+ще "+e+"..."},noEventsMessage:"Немає подій для відображення"})}(),function(){!function(){t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("vi","vi",{closeText:"Đóng",prevText:"<Trước",nextText:"Tiếp>",currentText:"Hôm nay",monthNames:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"],monthNamesShort:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayNames:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],dayNamesShort:["CN","T2","T3","T4","T5","T6","T7"],dayNamesMin:["CN","T2","T3","T4","T5","T6","T7"],weekHeader:"Tu",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""}),e.fullCalendar.locale("vi",{buttonText:{month:"Tháng",week:"Tuần",day:"Ngày",list:"Lịch biểu"},allDayText:"Cả ngày",eventLimitText:function(e){return"+ thêm "+e},noEventsMessage:"Không có sự kiện để hiển thị"})}(),function(){!function(){t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日 HH:mm",llll:"YYYY年MMMD日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(),e.fullCalendar.datepickerLocale("zh-cn","zh-CN",{closeText:"关闭",prevText:"<上月",nextText:"下月>",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"}),e.fullCalendar.locale("zh-cn",{buttonText:{month:"月",week:"周",day:"日",list:"日程"},allDayText:"全天",eventLimitText:function(e){return"另外 "+e+" 个"},noEventsMessage:"没有事件显示"})}(),function(){!function(){t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日 HH:mm",LLLL:"YYYY年MMMD日dddd HH:mm",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日 HH:mm",llll:"YYYY年MMMD日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(),e.fullCalendar.datepickerLocale("zh-tw","zh-TW",{closeText:"關閉",prevText:"<上月",nextText:"下月>",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy/mm/dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"}),e.fullCalendar.locale("zh-tw",{buttonText:{month:"月",week:"週",day:"天",list:"活動列表"},allDayText:"整天",eventLimitText:"顯示更多",noEventsMessage:"没有任何活動"})}(),t.locale("en"),e.fullCalendar.locale("en"),e.datepicker&&e.datepicker.setDefaults(e.datepicker.regional[""])});var hslToRgb=function(e,t,n){if(void 0==e)return[0,0,0];var i=(1-Math.abs(2*n-1))*t,r=e/60,a=i*(1-Math.abs(r%2-1));r=Math.floor(r);var s,o,l;0===r?(s=i,o=a,l=0):1===r?(s=a,o=i,l=0):2===r?(s=0,o=i,l=a):3===r?(s=0,o=a,l=i):4===r?(s=a,o=0,l=i):5===r&&(s=i,o=0,l=a);var u=n-i/2;return s+=u,o+=u,l+=u,[Math.round(255*s),Math.round(255*o),Math.round(255*l)]};"object"==typeof module?ICAL=module.exports:"object"!=typeof ICAL&&(this.ICAL={}),ICAL.foldLength=75,ICAL.newLineChar="\r\n",ICAL.helpers={isStrictlyNaN:function(e){return"number"==typeof e&&isNaN(e)},strictParseInt:function(e){var t=parseInt(e,10);if(ICAL.helpers.isStrictlyNaN(t))throw new Error('Could not extract integer from "'+e+'"');return t},formatClassType:function(e,t){if("undefined"!=typeof e)return e instanceof t?e:new t(e)},unescapedIndexOf:function(e,t,n){for(;(n=e.indexOf(t,n))!==-1;){if(!(n>0&&"\\"===e[n-1]))return n;n+=1}return-1},binsearchInsert:function(e,t,n){if(!e.length)return 0;for(var i,r,a=0,s=e.length-1;a<=s;)if(i=a+Math.floor((s-a)/2),r=n(t,e[i]),r<0)s=i-1;else{if(!(r>0))break;a=i+1}return r<0?i:r>0?i+1:i},dumpn:function(){ICAL.debug&&("undefined"!=typeof console&&"log"in console?ICAL.helpers.dumpn=function(e){console.log(e)}:ICAL.helpers.dumpn=function(e){dump(e+"\n")},ICAL.helpers.dumpn(arguments[0]))},clone:function(e,t){if(e&&"object"==typeof e){if(e instanceof Date)return new Date(e.getTime());if("clone"in e)return e.clone();if(Array.isArray(e)){for(var n=[],i=0;i<e.length;i++)n.push(t?ICAL.helpers.clone(e[i],!0):e[i]);return n}var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t?r[a]=ICAL.helpers.clone(e[a],!0):r[a]=e[a]);return r}return e},foldline:function(e){for(var t="",n=e||"";n.length;)t+=ICAL.newLineChar+" "+n.substr(0,ICAL.foldLength),n=n.substr(ICAL.foldLength);return t.substr(ICAL.newLineChar.length+1)},pad2:function(e){"string"!=typeof e&&("number"==typeof e&&(e=parseInt(e)),e=String(e));var t=e.length;switch(t){case 0:return"00";case 1:return"0"+e;default:return e}},trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)},inherits:function(e,t,n){function i(){}i.prototype=e.prototype,t.prototype=new i,n&&ICAL.helpers.extend(n,t.prototype)},extend:function(e,t){for(var n in e){var i=Object.getOwnPropertyDescriptor(e,n);i&&!Object.getOwnPropertyDescriptor(t,n)&&Object.defineProperty(t,n,i)}return t}},ICAL.design=function(){"use strict";function e(e,t){var i={matches:/.*/,fromICAL:function(t,i){return n(t,e,i)},toICAL:function(e,n){var i=t;return n&&(i=new RegExp(i.source+"|"+n)),e.replace(i,function(e){switch(e){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case"\n":return"\\n";default:return e}})}};return i}function t(e){switch(e){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return"\n";default:return e}}function n(e,n,i){return e.indexOf("\\")===-1?e:(i&&(n=new RegExp(n.source+"|\\\\"+i)),e.replace(n,t))}var i=/\\\\|\\;|\\,|\\[Nn]/g,r=/\\|;|,|\n/g,a=/\\\\|\\,|\\[Nn]/g,s=/\\|,|\n/g,o={defaultType:"text"},l={defaultType:"text",multiValue:","},u={defaultType:"text",structuredValue:";"},c={defaultType:"integer"},d={defaultType:"date-time",allowedTypes:["date-time","date"]},h={defaultType:"date-time"},p={defaultType:"uri"},m={defaultType:"utc-offset"},f={defaultType:"recur"},g={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]},v={categories:l,url:p,version:o,uid:o},y={boolean:{values:["TRUE","FALSE"],fromICAL:function(e){switch(e){case"TRUE":return!0;case"FALSE":return!1;default:return!1}},toICAL:function(e){return e?"TRUE":"FALSE"}},float:{matches:/^[+-]?\d+\.\d+$/,fromICAL:function(e){var t=parseFloat(e);return ICAL.helpers.isStrictlyNaN(t)?0:t},toICAL:function(e){return String(e)}},integer:{fromICAL:function(e){var t=parseInt(e);return ICAL.helpers.isStrictlyNaN(t)?0:t},toICAL:function(e){return String(e)}},"utc-offset":{toICAL:function(e){return e.length<7?e.substr(0,3)+e.substr(4,2):e.substr(0,3)+e.substr(4,2)+e.substr(7,2)},fromICAL:function(e){return e.length<6?e.substr(0,3)+":"+e.substr(3,2):e.substr(0,3)+":"+e.substr(3,2)+":"+e.substr(5,2)},decorate:function(e){return ICAL.UtcOffset.fromString(e)},undecorate:function(e){return e.toString()}}},_={cutype:{values:["INDIVIDUAL","GROUP","RESOURCE","ROOM","UNKNOWN"],allowXName:!0,allowIanaToken:!0},"delegated-from":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},"delegated-to":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},encoding:{values:["8BIT","BASE64"]},fbtype:{values:["FREE","BUSY","BUSY-UNAVAILABLE","BUSY-TENTATIVE"],allowXName:!0,allowIanaToken:!0},member:{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},partstat:{values:["NEEDS-ACTION","ACCEPTED","DECLINED","TENTATIVE","DELEGATED","COMPLETED","IN-PROCESS"],allowXName:!0,allowIanaToken:!0},range:{values:["THISLANDFUTURE"]},related:{values:["START","END"]},reltype:{values:["PARENT","CHILD","SIBLING"],allowXName:!0,allowIanaToken:!0},role:{values:["REQ-PARTICIPANT","CHAIR","OPT-PARTICIPANT","NON-PARTICIPANT"],allowXName:!0,allowIanaToken:!0},rsvp:{values:["TRUE","FALSE"]},"sent-by":{valueType:"cal-address"},tzid:{matches:/^\//},value:{values:["binary","boolean","cal-address","date","date-time","duration","float","integer","period","recur","text","time","uri","utc-offset"],allowXName:!0,allowIanaToken:!0}},b=ICAL.helpers.extend(y,{text:e(i,r),uri:{},binary:{decorate:function(e){return ICAL.Binary.fromString(e)},undecorate:function(e){return e.toString()}},"cal-address":{},date:{decorate:function(e,t){return ICAL.Time.fromDateString(e,t)},undecorate:function(e){return e.toString()},fromICAL:function(e){return e.substr(0,4)+"-"+e.substr(4,2)+"-"+e.substr(6,2)},toICAL:function(e){return e.length>11?e:e.substr(0,4)+e.substr(5,2)+e.substr(8,2)}},"date-time":{fromICAL:function(e){var t=e.substr(0,4)+"-"+e.substr(4,2)+"-"+e.substr(6,2)+"T"+e.substr(9,2)+":"+e.substr(11,2)+":"+e.substr(13,2);return e[15]&&"Z"===e[15]&&(t+="Z"),t},toICAL:function(e){if(e.length<19)return e;var t=e.substr(0,4)+e.substr(5,2)+e.substr(8,5)+e.substr(14,2)+e.substr(17,2);return e[19]&&"Z"===e[19]&&(t+="Z"),t},decorate:function(e,t){return ICAL.Time.fromDateTimeString(e,t)},undecorate:function(e){return e.toString()}},duration:{decorate:function(e){return ICAL.Duration.fromString(e)},undecorate:function(e){return e.toString()}},period:{fromICAL:function(e){var t=e.split("/");return t[0]=b["date-time"].fromICAL(t[0]),ICAL.Duration.isValueString(t[1])||(t[1]=b["date-time"].fromICAL(t[1])),t},toICAL:function(e){return e[0]=b["date-time"].toICAL(e[0]),ICAL.Duration.isValueString(e[1])||(e[1]=b["date-time"].toICAL(e[1])),e.join("/")},decorate:function(e,t){return ICAL.Period.fromJSON(e,t)},undecorate:function(e){return e.toJSON()}},recur:{fromICAL:function(e){return ICAL.Recur._stringToData(e,!0)},toICAL:function(e){var t="";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=e[n];"until"==n?i=i.length>10?b["date-time"].toICAL(i):b.date.toICAL(i):"wkst"==n?"number"==typeof i&&(i=ICAL.Recur.numericDayToIcalDay(i)):Array.isArray(i)&&(i=i.join(",")),t+=n.toUpperCase()+"="+i+";"}return t.substr(0,t.length-1)},decorate:function(e){return ICAL.Recur.fromData(e)},undecorate:function(e){return e.toJSON()}},time:{fromICAL:function(e){if(e.length<6)return e;var t=e.substr(0,2)+":"+e.substr(2,2)+":"+e.substr(4,2);return"Z"===e[6]&&(t+="Z"),t},toICAL:function(e){if(e.length<8)return e;var t=e.substr(0,2)+e.substr(3,2)+e.substr(6,2);return"Z"===e[8]&&(t+="Z"),t}}}),T=ICAL.helpers.extend(v,{action:o,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:o,class:o,comment:o,completed:h,contact:o,created:h,description:o,dtend:d,dtstamp:h,dtstart:d,due:d,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:f,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":h,location:o,method:o,organizer:{defaultType:"cal-address"},"percent-complete":c,priority:c,prodid:o,"related-to":o,repeat:c,rdate:{defaultType:"date-time",allowedTypes:["date-time","date","period"],multiValue:",",detectType:function(e){return e.indexOf("/")!==-1?"period":e.indexOf("T")===-1?"date":"date-time"}},"recurrence-id":d,resources:l,"request-status":u,rrule:f,sequence:c,status:o,summary:o,transp:o,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:m,tzoffsetto:m,tzurl:p,tzid:o,tzname:o}),M=ICAL.helpers.extend(y,{text:e(a,s),uri:e(a,s),date:{decorate:function(e){return ICAL.VCardTime.fromDateAndOrTimeString(e,"date")},undecorate:function(e){return e.toString()},fromICAL:function(e){return 8==e.length?b.date.fromICAL(e):"-"==e[0]&&6==e.length?e.substr(0,4)+"-"+e.substr(4):e},toICAL:function(e){return 10==e.length?b.date.toICAL(e):"-"==e[0]&&7==e.length?e.substr(0,4)+e.substr(5):e}},time:{decorate:function(e){return ICAL.VCardTime.fromDateAndOrTimeString("T"+e,"time")},undecorate:function(e){return e.toString()},fromICAL:function(e){var t=M.time._splitZone(e,!0),n=t[0],i=t[1];return 6==i.length?i=i.substr(0,2)+":"+i.substr(2,2)+":"+i.substr(4,2):4==i.length&&"-"!=i[0]?i=i.substr(0,2)+":"+i.substr(2,2):5==i.length&&(i=i.substr(0,3)+":"+i.substr(3,2)),5!=n.length||"-"!=n[0]&&"+"!=n[0]||(n=n.substr(0,3)+":"+n.substr(3)),i+n},toICAL:function(e){var t=M.time._splitZone(e),n=t[0],i=t[1];return 8==i.length?i=i.substr(0,2)+i.substr(3,2)+i.substr(6,2):5==i.length&&"-"!=i[0]?i=i.substr(0,2)+i.substr(3,2):6==i.length&&(i=i.substr(0,3)+i.substr(4,2)),6!=n.length||"-"!=n[0]&&"+"!=n[0]||(n=n.substr(0,3)+n.substr(4)),i+n},_splitZone:function(e,t){var n,i,r=e.length-1,a=e.length-(t?5:6),s=e[a];return"Z"==e[r]?(n=e[r],i=e.substr(0,r)):e.length>6&&("-"==s||"+"==s)?(n=e.substr(a),i=e.substr(0,a)):(n="",i=e),[n,i]}},"date-time":{decorate:function(e){return ICAL.VCardTime.fromDateAndOrTimeString(e,"date-time")},undecorate:function(e){return e.toString()},fromICAL:function(e){return M["date-and-or-time"].fromICAL(e)},toICAL:function(e){return M["date-and-or-time"].toICAL(e)}},"date-and-or-time":{decorate:function(e){return ICAL.VCardTime.fromDateAndOrTimeString(e,"date-and-or-time")},undecorate:function(e){return e.toString()},fromICAL:function(e){var t=e.split("T");return(t[0]?M.date.fromICAL(t[0]):"")+(t[1]?"T"+M.time.fromICAL(t[1]):"")},toICAL:function(e){var t=e.split("T");return M.date.toICAL(t[0])+(t[1]?"T"+M.time.toICAL(t[1]):"")}},timestamp:b["date-time"],"language-tag":{matches:/^[a-zA-Z0-9\-]+$/}}),w={type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","time","date-time","date-and-or-time","timestamp","boolean","integer","float","utc-offset","language-tag"],allowXName:!0,allowIanaToken:!0}},$=ICAL.helpers.extend(v,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:g,bday:g,caladruri:p,caluri:p,clientpidmap:u,email:o,fburl:p,fn:o,gender:u,geo:p,impp:p,key:p,kind:o,lang:{defaultType:"language-tag"},logo:p,member:p,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:l,note:o,org:{defaultType:"text",structuredValue:";"},photo:p,related:p,rev:{defaultType:"timestamp"},role:o,sound:p,source:p,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:o,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:o}),D=ICAL.helpers.extend(y,{binary:b.binary,date:M.date,"date-time":M["date-time"],"phone-number":{},uri:b.uri,text:b.text,time:b.time,vcard:b.text,"utc-offset":{toICAL:function(e){return e.substr(0,7)},fromICAL:function(e){return e.substr(0,7)},decorate:function(e){return ICAL.UtcOffset.fromString(e)},undecorate:function(e){return e.toString()}}}),k={type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","date-time","phone-number","time","boolean","integer","float","utc-offset","vcard","binary"],allowXName:!0,allowIanaToken:!0}},L=ICAL.helpers.extend(v,{fn:o,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:l,photo:{defaultType:"binary",allowedTypes:["binary","uri"]},bday:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(e){return e.indexOf("T")===-1?"date":"date-time"}},adr:{defaultType:"text",structuredValue:";",multiValue:","},label:o,tel:{defaultType:"phone-number"},email:o,mailer:o,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:o,role:o,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:u,note:l,prodid:o,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(e){return e.indexOf("T")===-1?"date":"date-time"}},"sort-string":o,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:o,key:{defaultType:"binary",allowedTypes:["binary","text"]}}),x={value:b,param:_,property:T},S={value:M,param:w,property:$},C={value:D,param:k,property:L},A={defaultSet:x,defaultType:"unknown",components:{vcard:S,vcard3:C,vevent:x,vtodo:x,vjournal:x,valarm:x,vtimezone:x,daylight:x,standard:x},icalendar:x,vcard:S,vcard3:C,getDesignSet:function(e){var t=e&&e in A.components;return t?A.components[e]:A.defaultSet}};return A}(),ICAL.stringify=function(){"use strict";function e(n){"string"==typeof n[0]&&(n=[n]);for(var i=0,r=n.length,a="";i<r;i++)a+=e.component(n[i])+t;return a}var t="\r\n",n="unknown",i=ICAL.design,r=ICAL.helpers;e.component=function(n,r){var a=n[0].toUpperCase(),s="BEGIN:"+a+t,o=n[1],l=0,u=o.length,c=n[0];for("vcard"===c&&n[1].length>0&&("version"!==n[1][0][0]||"4.0"!==n[1][0][3])&&(c="vcard3"),r=r||i.getDesignSet(c);l<u;l++)s+=e.property(o[l],r)+t;for(var d=n[2],h=0,p=d.length;h<p;h++)s+=e.component(d[h],r)+t;return s+="END:"+a},e.property=function(t,r,a){var s,o=t[0].toUpperCase(),l=t[0],u=t[1],c=o;for(s in u){var d=u[s];if(u.hasOwnProperty(s)){var h=s in r.param&&r.param[s].multiValue;h&&Array.isArray(d)?(r.param[s].multiValueSeparateDQuote&&(h='"'+h+'"'),d=d.map(e._rfc6868Unescape),d=e.multiValue(d,h,"unknown",null,r)):d=e._rfc6868Unescape(d),c+=";"+s.toUpperCase(),c+="="+e.propertyValue(d)}}if(3===t.length)return c+":";var p=t[2];r||(r=i.defaultSet);var m,h=!1,f=!1,g=!1;return l in r.property?(m=r.property[l],"multiValue"in m&&(h=m.multiValue),"structuredValue"in m&&Array.isArray(t[3])&&(f=m.structuredValue),"defaultType"in m?p===m.defaultType&&(g=!0):p===n&&(g=!0)):p===n&&(g=!0),g||(c+=";VALUE="+p.toUpperCase()),c+=":",c+=h&&f?e.multiValue(t[3],f,p,h,r,f):h?e.multiValue(t.slice(3),h,p,null,r,!1):f?e.multiValue(t[3],f,p,null,r,f):e.value(t[3],p,r,!1),a?c:ICAL.helpers.foldline(c)},e.propertyValue=function(e){return r.unescapedIndexOf(e,",")===-1&&r.unescapedIndexOf(e,":")===-1&&r.unescapedIndexOf(e,";")===-1?e:'"'+e+'"'},e.multiValue=function(t,n,i,r,a,s){for(var o="",l=t.length,u=0;u<l;u++)o+=r&&Array.isArray(t[u])?e.multiValue(t[u],r,i,null,a,s):e.value(t[u],i,a,s),u!==l-1&&(o+=n);return o},e.value=function(e,t,n,i){return t in n.value&&"toICAL"in n.value[t]?n.value[t].toICAL(e,i):e; },e._rfc6868Unescape=function(e){return e.replace(/[\n^"]/g,function(e){return a[e]})};var a={'"':"^'","\n":"^n","^":"^^"};return e}(),ICAL.parse=function(){"use strict";function e(e){this.message=e,this.name="ParserError";try{throw new Error}catch(e){if(e.stack){var t=e.stack.split("\n");t.shift(),this.stack=t.join("\n")}}}function t(n){var i={},r=i.component=[];if(i.stack=[r],t._eachLine(n,function(e,n){t._handleContentLine(n,i)}),i.stack.length>1)throw new e("invalid ical body. component began but did not end");return i=null,1==r.length?r[0]:r}var n=/[^ \t]/,i=":",r=";",a="=",s="unknown",o="text",l=ICAL.design,u=ICAL.helpers;e.prototype=Error.prototype,t.property=function(e,n){var i={component:[[],[]],designSet:n||l.defaultSet};return t._handleContentLine(e,i),i.component[1][0]},t.component=function(e){return t(e)},t.ParserError=e,t._handleContentLine=function(n,a){var o,u,c,d,h=n.indexOf(i),p=n.indexOf(r),m={};p!==-1&&h!==-1&&p>h&&(p=-1);var f;if(p!==-1){if(c=n.substring(0,p).toLowerCase(),f=t._parseParameters(n.substring(p),0,a.designSet),f[2]==-1)throw new e("Invalid parameters in '"+n+"'");if(m=f[0],o=f[1].length+f[2]+p,(u=n.substring(o).indexOf(i))===-1)throw new e("Missing parameter value in '"+n+"'");d=n.substring(o+u+1)}else{if(h===-1)throw new e('invalid line (no token ";" or ":") "'+n+'"');if(c=n.substring(0,h).toLowerCase(),d=n.substring(h+1),"begin"===c){var g=[d.toLowerCase(),[],[]];return 1===a.stack.length?a.component.push(g):a.component[2].push(g),a.stack.push(a.component),a.component=g,void(a.designSet||(a.designSet=l.getDesignSet(a.component[0])))}if("end"===c)return void(a.component=a.stack.pop())}var v,y,_=!1,b=!1;c in a.designSet.property&&(y=a.designSet.property[c],"multiValue"in y&&(_=y.multiValue),"structuredValue"in y&&(b=y.structuredValue),d&&"detectType"in y&&(v=y.detectType(d))),v||(v="value"in m?m.value.toLowerCase():y?y.defaultType:s),delete m.value;var T;_&&b?(d=t._parseMultiValue(d,b,v,[],_,a.designSet,b),T=[c,m,v,d]):_?(T=[c,m,v],t._parseMultiValue(d,_,v,T,null,a.designSet,!1)):b?(d=t._parseMultiValue(d,b,v,[],null,a.designSet,b),T=[c,m,v,d]):(d=t._parseValue(d,v,a.designSet,!1),T=[c,m,v,d]),"vcard"!==a.component[0]||0!==a.component[1].length||"version"===c&&"4.0"===d||(a.designSet=l.getDesignSet("vcard3")),a.component[1].push(T)},t._parseValue=function(e,t,n,i){return t in n.value&&"fromICAL"in n.value[t]?n.value[t].fromICAL(e,i):e},t._parseParameters=function(n,s,l){for(var c,d,h,p,m,f,g=s,v=0,y=a,_={},b=-1;v!==!1&&(v=u.unescapedIndexOf(n,y,v+1))!==-1;){if(c=n.substr(g+1,v-g-1),0==c.length)throw new e("Empty parameter name in '"+n+"'");d=c.toLowerCase(),p=d in l.param&&l.param[d].valueType?l.param[d].valueType:o,d in l.param&&(m=l.param[d].multiValue,l.param[d].multiValueSeparateDQuote&&(f=t._rfc6868Escape('"'+m+'"')));var T=n[v+1];if('"'===T){if(b=v+2,v=u.unescapedIndexOf(n,'"',b),m&&v!=-1)for(var M=!0;M;)n[v+1]==m&&'"'==n[v+2]?v=u.unescapedIndexOf(n,'"',v+3):M=!1;if(v===-1)throw new e('invalid line (no matching double quote) "'+n+'"');h=n.substr(b,v-b),g=u.unescapedIndexOf(n,r,v),g===-1&&(v=!1)}else{b=v+1;var w=u.unescapedIndexOf(n,r,b),$=u.unescapedIndexOf(n,i,b);$!==-1&&w>$?(w=$,v=!1):w===-1?(w=$===-1?n.length:$,v=!1):(g=w,v=w),h=n.substr(b,w-b)}if(h=t._rfc6868Escape(h),m){var D=f||m;_[d]=t._parseMultiValue(h,D,p,[],null,l)}else _[d]=t._parseValue(h,p,l)}return[_,h,b]},t._rfc6868Escape=function(e){return e.replace(/\^['n^]/g,function(e){return c[e]})};var c={"^'":'"',"^n":"\n","^^":"^"};return t._parseMultiValue=function(e,n,i,r,a,s,o){var l,c=0,d=0;if(0===n.length)return e;for(;(c=u.unescapedIndexOf(e,n,d))!==-1;)l=e.substr(d,c-d),l=a?t._parseMultiValue(l,a,i,[],null,s,o):t._parseValue(l,i,s,o),r.push(l),d=c+n.length;return l=e.substr(d),l=a?t._parseMultiValue(l,a,i,[],null,s,o):t._parseValue(l,i,s,o),r.push(l),1==r.length?r[0]:r},t._eachLine=function(e,t){var i,r,a,s=e.length,o=e.search(n),l=o;do l=e.indexOf("\n",o)+1,a=l>1&&"\r"===e[l-2]?2:1,0===l&&(l=s,a=0),r=e[o]," "===r||"\t"===r?i+=e.substr(o+1,l-o-(a+1)):(i&&t(null,i),i=e.substr(o,l-o-a)),o=l;while(l!==s);i=i.trim(),i.length&&t(null,i)},t}(),ICAL.Component=function(){"use strict";function e(e,t){"string"==typeof e&&(e=[e,[],[]]),this.jCal=e,this.parent=t||null}var t=1,n=2,i=0;return e.prototype={_hydratedPropertyCount:0,_hydratedComponentCount:0,get name(){return this.jCal[i]},get _designSet(){var e=this.parent&&this.parent._designSet;return e||ICAL.design.getDesignSet(this.name)},_hydrateComponent:function(t){if(this._components||(this._components=[],this._hydratedComponentCount=0),this._components[t])return this._components[t];var i=new e(this.jCal[n][t],this);return this._hydratedComponentCount++,this._components[t]=i},_hydrateProperty:function(e){if(this._properties||(this._properties=[],this._hydratedPropertyCount=0),this._properties[e])return this._properties[e];var n=new ICAL.Property(this.jCal[t][e],this);return this._hydratedPropertyCount++,this._properties[e]=n},getFirstSubcomponent:function(e){if(e){for(var t=0,r=this.jCal[n],a=r.length;t<a;t++)if(r[t][i]===e){var s=this._hydrateComponent(t);return s}}else if(this.jCal[n].length)return this._hydrateComponent(0);return null},getAllSubcomponents:function(e){var t=this.jCal[n].length,r=0;if(e){for(var a=this.jCal[n],s=[];r<t;r++)e===a[r][i]&&s.push(this._hydrateComponent(r));return s}if(!this._components||this._hydratedComponentCount!==t)for(;r<t;r++)this._hydrateComponent(r);return this._components||[]},hasProperty:function(e){for(var n=this.jCal[t],r=n.length,a=0;a<r;a++)if(n[a][i]===e)return!0;return!1},getFirstProperty:function(e){if(e){for(var n=0,r=this.jCal[t],a=r.length;n<a;n++)if(r[n][i]===e){var s=this._hydrateProperty(n);return s}}else if(this.jCal[t].length)return this._hydrateProperty(0);return null},getFirstPropertyValue:function(e){var t=this.getFirstProperty(e);return t?t.getFirstValue():null},getAllProperties:function(e){var n=this.jCal[t].length,r=0;if(e){for(var a=this.jCal[t],s=[];r<n;r++)e===a[r][i]&&s.push(this._hydrateProperty(r));return s}if(!this._properties||this._hydratedPropertyCount!==n)for(;r<n;r++)this._hydrateProperty(r);return this._properties||[]},_removeObjectByIndex:function(e,t,n){if(t=t||[],t[n]){var i=t[n];"parent"in i&&(i.parent=null)}t.splice(n,1),this.jCal[e].splice(n,1)},_removeObject:function(e,t,n){var r=0,a=this.jCal[e],s=a.length,o=this[t];if("string"==typeof n){for(;r<s;r++)if(a[r][i]===n)return this._removeObjectByIndex(e,o,r),!0}else if(o)for(;r<s;r++)if(o[r]&&o[r]===n)return this._removeObjectByIndex(e,o,r),!0;return!1},_removeAllObjects:function(e,t,n){for(var r=this[t],a=this.jCal[e],s=a.length-1;s>=0;s--)n&&a[s][i]!==n||this._removeObjectByIndex(e,r,s)},addSubcomponent:function(e){this._components||(this._components=[],this._hydratedComponentCount=0),e.parent&&e.parent.removeSubcomponent(e);var t=this.jCal[n].push(e.jCal);return this._components[t-1]=e,this._hydratedComponentCount++,e.parent=this,e},removeSubcomponent:function(e){var t=this._removeObject(n,"_components",e);return t&&this._hydratedComponentCount--,t},removeAllSubcomponents:function(e){var t=this._removeAllObjects(n,"_components",e);return this._hydratedComponentCount=0,t},addProperty:function(e){if(!(e instanceof ICAL.Property))throw new TypeError("must instance of ICAL.Property");this._properties||(this._properties=[],this._hydratedPropertyCount=0),e.parent&&e.parent.removeProperty(e);var n=this.jCal[t].push(e.jCal);return this._properties[n-1]=e,this._hydratedPropertyCount++,e.parent=this,e},addPropertyWithValue:function(e,t){var n=new ICAL.Property(e);return n.setValue(t),this.addProperty(n),n},updatePropertyWithValue:function(e,t){var n=this.getFirstProperty(e);return n?n.setValue(t):n=this.addPropertyWithValue(e,t),n},removeProperty:function(e){var n=this._removeObject(t,"_properties",e);return n&&this._hydratedPropertyCount--,n},removeAllProperties:function(e){var n=this._removeAllObjects(t,"_properties",e);return this._hydratedPropertyCount=0,n},toJSON:function(){return this.jCal},toString:function(){return ICAL.stringify.component(this.jCal,this._designSet)}},e.fromString=function(t){return new e(ICAL.parse.component(t))},e}(),ICAL.Property=function(){"use strict";function e(e,t){this._parent=t||null,"string"==typeof e?(this.jCal=[e,{},a.defaultType],this.jCal[i]=this.getDefaultType()):this.jCal=e,this._updateType()}var t=0,n=1,i=2,r=3,a=ICAL.design;return e.prototype={get type(){return this.jCal[i]},get name(){return this.jCal[t]},get parent(){return this._parent},set parent(e){var t=!this._parent||e&&e._designSet!=this._parent._designSet;return this._parent=e,this.type==a.defaultType&&t&&(this.jCal[i]=this.getDefaultType(),this._updateType()),e},get _designSet(){return this.parent?this.parent._designSet:a.defaultSet},_updateType:function(){var e=this._designSet;if(this.type in e.value){e.value[this.type];"decorate"in e.value[this.type]?this.isDecorated=!0:this.isDecorated=!1,this.name in e.property&&(this.isMultiValue="multiValue"in e.property[this.name],this.isStructuredValue="structuredValue"in e.property[this.name])}},_hydrateValue:function(e){return this._values&&this._values[e]?this._values[e]:this.jCal.length<=r+e?null:this.isDecorated?(this._values||(this._values=[]),this._values[e]=this._decorate(this.jCal[r+e])):this.jCal[r+e]},_decorate:function(e){return this._designSet.value[this.type].decorate(e,this)},_undecorate:function(e){return this._designSet.value[this.type].undecorate(e,this)},_setDecoratedValue:function(e,t){this._values||(this._values=[]),"object"==typeof e&&"icaltype"in e?(this.jCal[r+t]=this._undecorate(e),this._values[t]=e):(this.jCal[r+t]=e,this._values[t]=this._decorate(e))},getParameter:function(e){return e in this.jCal[n]?this.jCal[n][e]:void 0},setParameter:function(e,t){var i=e.toLowerCase();"string"==typeof t&&i in this._designSet.param&&"multiValue"in this._designSet.param[i]&&(t=[t]),this.jCal[n][e]=t},removeParameter:function(e){delete this.jCal[n][e]},getDefaultType:function(){var e=this.jCal[t],n=this._designSet;if(e in n.property){var i=n.property[e];if("defaultType"in i)return i.defaultType}return a.defaultType},resetType:function(e){this.removeAllValues(),this.jCal[i]=e,this._updateType()},getFirstValue:function(){return this._hydrateValue(0)},getValues:function(){var e=this.jCal.length-r;if(e<1)return[];for(var t=0,n=[];t<e;t++)n[t]=this._hydrateValue(t);return n},removeAllValues:function(){this._values&&(this._values.length=0),this.jCal.length=3},setValues:function(e){if(!this.isMultiValue)throw new Error(this.name+": does not not support mulitValue.\noverride isMultiValue");var t=e.length,n=0;if(this.removeAllValues(),t>0&&"object"==typeof e[0]&&"icaltype"in e[0]&&this.resetType(e[0].icaltype),this.isDecorated)for(;n<t;n++)this._setDecoratedValue(e[n],n);else for(;n<t;n++)this.jCal[r+n]=e[n]},setValue:function(e){this.removeAllValues(),"object"==typeof e&&"icaltype"in e&&this.resetType(e.icaltype),this.isDecorated?this._setDecoratedValue(e,0):this.jCal[r]=e},toJSON:function(){return this.jCal},toICALString:function(){return ICAL.stringify.property(this.jCal,this._designSet,!0)}},e.fromString=function(t,n){return new e(ICAL.parse.property(t,n))},e}(),ICAL.UtcOffset=function(){function e(e){this.fromData(e)}return e.prototype={hours:0,minutes:0,factor:1,icaltype:"utc-offset",clone:function(){return ICAL.UtcOffset.fromSeconds(this.toSeconds())},fromData:function(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);this._normalize()},fromSeconds:function(e){var t=Math.abs(e);return this.factor=e<0?-1:1,this.hours=ICAL.helpers.trunc(t/3600),t-=3600*this.hours,this.minutes=ICAL.helpers.trunc(t/60),this},toSeconds:function(){return this.factor*(60*this.minutes+3600*this.hours)},compare:function(e){var t=this.toSeconds(),n=e.toSeconds();return(t>n)-(n>t)},_normalize:function(){for(var e=this.toSeconds(),t=this.factor;e<-43200;)e+=97200;for(;e>50400;)e-=97200;this.fromSeconds(e),0==e&&(this.factor=t)},toICALString:function(){return ICAL.design.icalendar.value["utc-offset"].toICAL(this.toString())},toString:function(){return(1==this.factor?"+":"-")+ICAL.helpers.pad2(this.hours)+":"+ICAL.helpers.pad2(this.minutes)}},e.fromString=function(e){var t={};return t.factor="+"===e[0]?1:-1,t.hours=ICAL.helpers.strictParseInt(e.substr(1,2)),t.minutes=ICAL.helpers.strictParseInt(e.substr(4,2)),new ICAL.UtcOffset(t)},e.fromSeconds=function(t){var n=new e;return n.fromSeconds(t),n},e}(),ICAL.Binary=function(){function e(e){this.value=e}return e.prototype={icaltype:"binary",decodeValue:function(){return this._b64_decode(this.value)},setEncodedValue:function(e){this.value=this._b64_encode(e)},_b64_encode:function(e){var t,n,i,r,a,s,o,l,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=0,d=0,h="",p=[];if(!e)return e;do t=e.charCodeAt(c++),n=e.charCodeAt(c++),i=e.charCodeAt(c++),l=t<<16|n<<8|i,r=l>>18&63,a=l>>12&63,s=l>>6&63,o=63&l,p[d++]=u.charAt(r)+u.charAt(a)+u.charAt(s)+u.charAt(o);while(c<e.length);h=p.join("");var m=e.length%3;return(m?h.slice(0,m-3):h)+"===".slice(m||3)},_b64_decode:function(e){var t,n,i,r,a,s,o,l,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=0,d=0,h="",p=[];if(!e)return e;e+="";do r=u.indexOf(e.charAt(c++)),a=u.indexOf(e.charAt(c++)),s=u.indexOf(e.charAt(c++)),o=u.indexOf(e.charAt(c++)),l=r<<18|a<<12|s<<6|o,t=l>>16&255,n=l>>8&255,i=255&l,64==s?p[d++]=String.fromCharCode(t):64==o?p[d++]=String.fromCharCode(t,n):p[d++]=String.fromCharCode(t,n,i);while(c<e.length);return h=p.join("")},toString:function(){return this.value}},e.fromString=function(t){return new e(t)},e}(),function(){ICAL.Period=function(e){if(this.wrappedJSObject=this,e&&"start"in e){if(e.start&&!(e.start instanceof ICAL.Time))throw new TypeError(".start must be an instance of ICAL.Time");this.start=e.start}if(e&&e.end&&e.duration)throw new Error("cannot accept both end and duration");if(e&&"end"in e){if(e.end&&!(e.end instanceof ICAL.Time))throw new TypeError(".end must be an instance of ICAL.Time");this.end=e.end}if(e&&"duration"in e){if(e.duration&&!(e.duration instanceof ICAL.Duration))throw new TypeError(".duration must be an instance of ICAL.Duration");this.duration=e.duration}},ICAL.Period.prototype={start:null,end:null,duration:null,icalclass:"icalperiod",icaltype:"period",clone:function(){return ICAL.Period.fromData({start:this.start?this.start.clone():null,end:this.end?this.end.clone():null,duration:this.duration?this.duration.clone():null})},getDuration:function(){return this.duration?this.duration:this.end.subtractDate(this.start)},getEnd:function(){if(this.end)return this.end;var e=this.start.clone();return e.addDuration(this.duration),e},toString:function(){return this.start+"/"+(this.end||this.duration)},toJSON:function(){return[this.start.toString(),(this.end||this.duration).toString()]},toICALString:function(){return this.start.toICALString()+"/"+(this.end||this.duration).toICALString()}},ICAL.Period.fromString=function(e,t){var n=e.split("/");if(2!==n.length)throw new Error('Invalid string value: "'+e+'" must contain a "/" char.');var i={start:ICAL.Time.fromDateTimeString(n[0],t)},r=n[1];return ICAL.Duration.isValueString(r)?i.duration=ICAL.Duration.fromString(r):i.end=ICAL.Time.fromDateTimeString(r,t),new ICAL.Period(i)},ICAL.Period.fromData=function(e){return new ICAL.Period(e)},ICAL.Period.fromJSON=function(e,t){return ICAL.Duration.isValueString(e[1])?ICAL.Period.fromData({start:ICAL.Time.fromDateTimeString(e[0],t),duration:ICAL.Duration.fromString(e[1])}):ICAL.Period.fromData({start:ICAL.Time.fromDateTimeString(e[0],t),end:ICAL.Time.fromDateTimeString(e[1],t)})}}(),function(){function e(e,t,n){var i;switch(e){case"P":t&&"-"===t?n.isNegative=!0:n.isNegative=!1;break;case"D":i="days";break;case"W":i="weeks";break;case"H":i="hours";break;case"M":i="minutes";break;case"S":i="seconds";break;default:return 0}if(i){if(!t&&0!==t)throw new Error('invalid duration value: Missing number before "'+e+'"');var r=parseInt(t,10);if(ICAL.helpers.isStrictlyNaN(r))throw new Error('invalid duration value: Invalid number "'+t+'" before "'+e+'"');n[i]=r}return 1}var t=/([PDWHMTS]{1,1})/;ICAL.Duration=function(e){this.wrappedJSObject=this,this.fromData(e)},ICAL.Duration.prototype={weeks:0,days:0,hours:0,minutes:0,seconds:0,isNegative:!1,icalclass:"icalduration",icaltype:"duration",clone:function(){return ICAL.Duration.fromData(this)},toSeconds:function(){var e=this.seconds+60*this.minutes+3600*this.hours+86400*this.days+604800*this.weeks;return this.isNegative?-e:e},fromSeconds:function(e){var t=Math.abs(e);return this.isNegative=e<0,this.days=ICAL.helpers.trunc(t/86400),this.days%7==0?(this.weeks=this.days/7,this.days=0):this.weeks=0,t-=86400*(this.days+7*this.weeks),this.hours=ICAL.helpers.trunc(t/3600),t-=3600*this.hours,this.minutes=ICAL.helpers.trunc(t/60),t-=60*this.minutes,this.seconds=t,this},fromData:function(e){var t=["weeks","days","hours","minutes","seconds","isNegative"];for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];e&&i in e?this[i]=e[i]:this[i]=0}},reset:function(){this.isNegative=!1,this.weeks=0,this.days=0,this.hours=0,this.minutes=0,this.seconds=0},compare:function(e){var t=this.toSeconds(),n=e.toSeconds();return(t>n)-(t<n)},normalize:function(){this.fromSeconds(this.toSeconds())},toString:function(){if(0==this.toSeconds())return"PT0S";var e="";return this.isNegative&&(e+="-"),e+="P",this.weeks&&(e+=this.weeks+"W"),this.days&&(e+=this.days+"D"),(this.hours||this.minutes||this.seconds)&&(e+="T",this.hours&&(e+=this.hours+"H"),this.minutes&&(e+=this.minutes+"M"),this.seconds&&(e+=this.seconds+"S")),e},toICALString:function(){return this.toString()}},ICAL.Duration.fromSeconds=function(e){return(new ICAL.Duration).fromSeconds(e)},ICAL.Duration.isValueString=function(e){return"P"===e[0]||"P"===e[1]},ICAL.Duration.fromString=function(n){for(var i=0,r=Object.create(null),a=0;(i=n.search(t))!==-1;){var s=n[i],o=n.substr(0,i);n=n.substr(i+1),a+=e(s,o,r)}if(a<2)throw new Error('invalid duration value: Not enough duration components in "'+n+'"');return new ICAL.Duration(r)},ICAL.Duration.fromData=function(e){return new ICAL.Duration(e)}}(),function(){var e=["tzid","location","tznames","latitude","longitude"];ICAL.Timezone=function(e){this.wrappedJSObject=this,this.fromData(e)},ICAL.Timezone.prototype={tzid:"",location:"",tznames:"",latitude:0,longitude:0,component:null,expandedUntilYear:0,icalclass:"icaltimezone",fromData:function(t){if(this.expandedUntilYear=0,this.changes=[],t instanceof ICAL.Component)this.component=t;else{if(t&&"component"in t)if("string"==typeof t.component){var n=ICAL.parse(t.component);this.component=new ICAL.Component(n)}else t.component instanceof ICAL.Component?this.component=t.component:this.component=null;for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];t&&r in t&&(this[r]=t[r])}}return this.component instanceof ICAL.Component&&!this.tzid&&(this.tzid=this.component.getFirstPropertyValue("tzid")),this},utcOffset:function(e){if(this==ICAL.Timezone.utcTimezone||this==ICAL.Timezone.localTimezone)return 0;if(this._ensureCoverage(e.year),!this.changes.length)return 0;for(var t={year:e.year,month:e.month,day:e.day,hour:e.hour,minute:e.minute,second:e.second},n=this._findNearbyChange(t),i=-1,r=1;;){var a=ICAL.helpers.clone(this.changes[n],!0);a.utcOffset<a.prevUtcOffset?ICAL.Timezone.adjust_change(a,0,0,0,a.utcOffset):ICAL.Timezone.adjust_change(a,0,0,0,a.prevUtcOffset);var s=ICAL.Timezone._compare_change_fn(t,a);if(s>=0?i=n:r=-1,r==-1&&i!=-1)break;if(n+=r,n<0)return 0;if(n>=this.changes.length)break}var o=this.changes[i],l=o.utcOffset-o.prevUtcOffset;if(l<0&&i>0){var u=ICAL.helpers.clone(o,!0);if(ICAL.Timezone.adjust_change(u,0,0,0,u.prevUtcOffset),ICAL.Timezone._compare_change_fn(t,u)<0){var c=this.changes[i-1],d=!1;o.is_daylight!=d&&c.is_daylight==d&&(o=c)}}return o.utcOffset},_findNearbyChange:function(e){var t=ICAL.helpers.binsearchInsert(this.changes,e,ICAL.Timezone._compare_change_fn);return t>=this.changes.length?this.changes.length-1:t},_ensureCoverage:function(e){if(ICAL.Timezone._minimumExpansionYear==-1){var t=ICAL.Time.now();ICAL.Timezone._minimumExpansionYear=t.year}var n=e;if(n<ICAL.Timezone._minimumExpansionYear&&(n=ICAL.Timezone._minimumExpansionYear),n+=ICAL.Timezone.EXTRA_COVERAGE,n>ICAL.Timezone.MAX_YEAR&&(n=ICAL.Timezone.MAX_YEAR),!this.changes.length||this.expandedUntilYear<e){for(var i=this.component.getAllSubcomponents(),r=i.length,a=0;a<r;a++)this._expandComponent(i[a],n,this.changes);this.changes.sort(ICAL.Timezone._compare_change_fn),this.expandedUntilYear=n}},_expandComponent:function(e,t,n){function i(e){return e.factor*(3600*e.hours+60*e.minutes)}function r(){var t={};return t.is_daylight="daylight"==e.name,t.utcOffset=i(e.getFirstProperty("tzoffsetto").getFirstValue()),t.prevUtcOffset=i(e.getFirstProperty("tzoffsetfrom").getFirstValue()),t}if(!e.hasProperty("dtstart")||!e.hasProperty("tzoffsetto")||!e.hasProperty("tzoffsetfrom"))return null;var a,s=e.getFirstProperty("dtstart").getFirstValue();if(e.hasProperty("rrule")||e.hasProperty("rdate")){var o=e.getAllProperties("rdate");for(var l in o)if(o.hasOwnProperty(l)){var u=o[l],c=u.getFirstValue();a=r(),a.year=c.year,a.month=c.month,a.day=c.day,c.isDate?(a.hour=s.hour,a.minute=s.minute,a.second=s.second,s.zone!=ICAL.Timezone.utcTimezone&&ICAL.Timezone.adjust_change(a,0,0,0,-a.prevUtcOffset)):(a.hour=c.hour,a.minute=c.minute,a.second=c.second,c.zone!=ICAL.Timezone.utcTimezone&&ICAL.Timezone.adjust_change(a,0,0,0,-a.prevUtcOffset)),n.push(a)}var d=e.getFirstProperty("rrule");if(d){d=d.getFirstValue(),a=r(),d.until&&d.until.zone==ICAL.Timezone.utcTimezone&&(d.until.adjust(0,0,0,a.prevUtcOffset),d.until.zone=ICAL.Timezone.localTimezone);for(var h,p=d.iterator(s);(h=p.next())&&(a=r(),!(h.year>t)&&h);)a.year=h.year,a.month=h.month,a.day=h.day,a.hour=h.hour,a.minute=h.minute,a.second=h.second,a.isDate=h.isDate,ICAL.Timezone.adjust_change(a,0,0,0,-a.prevUtcOffset),n.push(a)}}else a=r(),a.year=s.year,a.month=s.month,a.day=s.day,a.hour=s.hour,a.minute=s.minute,a.second=s.second,ICAL.Timezone.adjust_change(a,0,0,0,-a.prevUtcOffset),n.push(a);return n},toString:function(){return this.tznames?this.tznames:this.tzid}},ICAL.Timezone._compare_change_fn=function(e,t){return e.year<t.year?-1:e.year>t.year?1:e.month<t.month?-1:e.month>t.month?1:e.day<t.day?-1:e.day>t.day?1:e.hour<t.hour?-1:e.hour>t.hour?1:e.minute<t.minute?-1:e.minute>t.minute?1:e.second<t.second?-1:e.second>t.second?1:0},ICAL.Timezone.convert_time=function(e,t,n){if(e.isDate||t.tzid==n.tzid||t==ICAL.Timezone.localTimezone||n==ICAL.Timezone.localTimezone)return e.zone=n,e;var i=t.utcOffset(e);return e.adjust(0,0,0,-i),i=n.utcOffset(e),e.adjust(0,0,0,i),null},ICAL.Timezone.fromData=function(e){var t=new ICAL.Timezone;return t.fromData(e)},ICAL.Timezone.utcTimezone=ICAL.Timezone.fromData({tzid:"UTC"}),ICAL.Timezone.localTimezone=ICAL.Timezone.fromData({tzid:"floating"}),ICAL.Timezone.adjust_change=function(e,t,n,i,r){return ICAL.Time.prototype.adjust.call(e,t,n,i,r,e)},ICAL.Timezone._minimumExpansionYear=-1,ICAL.Timezone.MAX_YEAR=2035,ICAL.Timezone.EXTRA_COVERAGE=5}(),ICAL.TimezoneService=function(){var e,t={reset:function(){e=Object.create(null);var t=ICAL.Timezone.utcTimezone;e.Z=t,e.UTC=t,e.GMT=t},has:function(t){return!!e[t]},get:function(t){return e[t]},register:function(t,n){if(t instanceof ICAL.Component&&"vtimezone"===t.name&&(n=new ICAL.Timezone(t),t=n.tzid),!(n instanceof ICAL.Timezone))throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component");e[t]=n},remove:function(t){return delete e[t]}};return t.reset(),t}(),function(){ICAL.Time=function(e,t){this.wrappedJSObject=this;var n=this._time=Object.create(null);n.year=0,n.month=1,n.day=1,n.hour=0,n.minute=0,n.second=0,n.isDate=!1,this.fromData(e,t)},ICAL.Time._dowCache={},ICAL.Time._wnCache={},ICAL.Time.prototype={icalclass:"icaltime",_cachedUnixTime:null,get icaltype(){return this.isDate?"date":"date-time"},zone:null,_pendingNormalization:!1,clone:function(){return new ICAL.Time(this._time,this.zone)},reset:function(){this.fromData(ICAL.Time.epochTime),this.zone=ICAL.Timezone.utcTimezone},resetTo:function(e,t,n,i,r,a,s){this.fromData({year:e,month:t,day:n,hour:i,minute:r,second:a,zone:s})},fromJSDate:function(e,t){return e?t?(this.zone=ICAL.Timezone.utcTimezone,this.year=e.getUTCFullYear(),this.month=e.getUTCMonth()+1,this.day=e.getUTCDate(),this.hour=e.getUTCHours(),this.minute=e.getUTCMinutes(),this.second=e.getUTCSeconds()):(this.zone=ICAL.Timezone.localTimezone,this.year=e.getFullYear(),this.month=e.getMonth()+1,this.day=e.getDate(),this.hour=e.getHours(),this.minute=e.getMinutes(),this.second=e.getSeconds()):this.reset(),this._cachedUnixTime=null,this},fromData:function(e,t){if(e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if("icaltype"===n)continue;this[n]=e[n]}if(t&&(this.zone=t),!e||"isDate"in e?e&&"isDate"in e&&(this.isDate=e.isDate):this.isDate=!("hour"in e),e&&"timezone"in e){var i=ICAL.TimezoneService.get(e.timezone);this.zone=i||ICAL.Timezone.localTimezone}return e&&"zone"in e&&(this.zone=e.zone),this.zone||(this.zone=ICAL.Timezone.localTimezone),this._cachedUnixTime=null,this},dayOfWeek:function(){var e=(this.year<<9)+(this.month<<5)+this.day;if(e in ICAL.Time._dowCache)return ICAL.Time._dowCache[e];var t=this.day,n=this.month+(this.month<3?12:0),i=this.year-(this.month<3?1:0),r=t+i+ICAL.helpers.trunc(26*(n+1)/10)+ICAL.helpers.trunc(i/4);return r+=6*ICAL.helpers.trunc(i/100)+ICAL.helpers.trunc(i/400),r=(r+6)%7+1,ICAL.Time._dowCache[e]=r,r},dayOfYear:function(){var e=ICAL.Time.isLeapYear(this.year)?1:0,t=ICAL.Time.daysInYearPassedMonth;return t[e][this.month-1]+this.day},startOfWeek:function(e){var t=e||ICAL.Time.SUNDAY,n=this.clone();return n.day-=(this.dayOfWeek()+7-t)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},endOfWeek:function(e){var t=e||ICAL.Time.SUNDAY,n=this.clone();return n.day+=(7-this.dayOfWeek()+t-ICAL.Time.SUNDAY)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},startOfMonth:function(){var e=this.clone();return e.day=1,e.isDate=!0,e.hour=0,e.minute=0,e.second=0,e},endOfMonth:function(){var e=this.clone();return e.day=ICAL.Time.daysInMonth(e.month,e.year),e.isDate=!0,e.hour=0,e.minute=0,e.second=0,e},startOfYear:function(){var e=this.clone();return e.day=1,e.month=1,e.isDate=!0,e.hour=0,e.minute=0,e.second=0,e},endOfYear:function(){var e=this.clone();return e.day=31,e.month=12,e.isDate=!0,e.hour=0,e.minute=0,e.second=0,e},startDoyWeek:function(e){var t=e||ICAL.Time.SUNDAY,n=this.dayOfWeek()-t;return n<0&&(n+=7),this.dayOfYear()-n},getDominicalLetter:function(){return ICAL.Time.getDominicalLetter(this.year)},nthWeekDay:function(e,t){var n,i=ICAL.Time.daysInMonth(this.month,this.year),r=t,a=0,s=this.clone();if(r>=0){s.day=1,0!=r&&r--,a=s.day;var o=s.dayOfWeek(),l=e-o;l<0&&(l+=7),a+=l,a-=e,n=e}else{s.day=i;var u=s.dayOfWeek();r++,n=u-e,n<0&&(n+=7),n=i-n}return n+=7*r,a+n},isNthWeekDay:function(e,t){var n=this.dayOfWeek();if(0===t&&n===e)return!0;var i=this.nthWeekDay(e,t);return i===this.day},weekNumber:function(e){var t=(this.year<<12)+(this.month<<8)+(this.day<<3)+e;if(t in ICAL.Time._wnCache)return ICAL.Time._wnCache[t];var n,i=this.clone();i.isDate=!0;var r=this.year;12==i.month&&i.day>25?(n=ICAL.Time.weekOneStarts(r+1,e),i.compare(n)<0?n=ICAL.Time.weekOneStarts(r,e):r++):(n=ICAL.Time.weekOneStarts(r,e),i.compare(n)<0&&(n=ICAL.Time.weekOneStarts(--r,e)));var a=i.subtractDate(n).toSeconds()/86400,s=ICAL.helpers.trunc(a/7)+1;return ICAL.Time._wnCache[t]=s,s},addDuration:function(e){var t=e.isNegative?-1:1,n=this.second,i=this.minute,r=this.hour,a=this.day;n+=t*e.seconds,i+=t*e.minutes,r+=t*e.hours,a+=t*e.days,a+=7*t*e.weeks,this.second=n,this.minute=i,this.hour=r,this.day=a,this._cachedUnixTime=null},subtractDate:function(e){var t=this.toUnixTime()+this.utcOffset(),n=e.toUnixTime()+e.utcOffset();return ICAL.Duration.fromSeconds(t-n)},subtractDateTz:function(e){var t=this.toUnixTime(),n=e.toUnixTime();return ICAL.Duration.fromSeconds(t-n)},compare:function(e){var t=this.toUnixTime(),n=e.toUnixTime();return t>n?1:n>t?-1:0},compareDateOnlyTz:function(e,t){function n(e){return ICAL.Time._cmp_attr(i,r,e)}var i=this.convertToZone(t),r=e.convertToZone(t),a=0;return 0!=(a=n("year"))?a:0!=(a=n("month"))?a:0!=(a=n("day"))?a:a},convertToZone:function(e){var t=this.clone(),n=this.zone.tzid==e.tzid;return this.isDate||n||ICAL.Timezone.convert_time(t,this.zone,e),t.zone=e,t},utcOffset:function(){return this.zone==ICAL.Timezone.localTimezone||this.zone==ICAL.Timezone.utcTimezone?0:this.zone.utcOffset(this)},toICALString:function(){var e=this.toString();return e.length>10?ICAL.design.icalendar.value["date-time"].toICAL(e):ICAL.design.icalendar.value.date.toICAL(e)},toString:function(){var e=this.year+"-"+ICAL.helpers.pad2(this.month)+"-"+ICAL.helpers.pad2(this.day);return this.isDate||(e+="T"+ICAL.helpers.pad2(this.hour)+":"+ICAL.helpers.pad2(this.minute)+":"+ICAL.helpers.pad2(this.second),this.zone===ICAL.Timezone.utcTimezone&&(e+="Z")),e},toJSDate:function(){return this.zone==ICAL.Timezone.localTimezone?this.isDate?new Date(this.year,this.month-1,this.day):new Date(this.year,this.month-1,this.day,this.hour,this.minute,this.second,0):new Date(1e3*this.toUnixTime())},_normalize:function(){this._time.isDate;return this._time.isDate&&(this._time.hour=0,this._time.minute=0,this._time.second=0),this.adjust(0,0,0,0),this},adjust:function(e,t,n,i,r){var a,s,o,l,u,c,d,h=0,p=0,m=r||this._time;if(m.isDate||(o=m.second+i,m.second=o%60,a=ICAL.helpers.trunc(o/60),m.second<0&&(m.second+=60,a--),l=m.minute+n+a,m.minute=l%60,s=ICAL.helpers.trunc(l/60),m.minute<0&&(m.minute+=60,s--),u=m.hour+t+s,m.hour=u%24,h=ICAL.helpers.trunc(u/24),m.hour<0&&(m.hour+=24,h--)),m.month>12?p=ICAL.helpers.trunc((m.month-1)/12):m.month<1&&(p=ICAL.helpers.trunc(m.month/12)-1),m.year+=p,m.month-=12*p,c=m.day+e+h,c>0)for(;d=ICAL.Time.daysInMonth(m.month,m.year),!(c<=d);)m.month++,m.month>12&&(m.year++,m.month=1),c-=d;else for(;c<=0;)1==m.month?(m.year--,m.month=12):m.month--,c+=ICAL.Time.daysInMonth(m.month,m.year);return m.day=c,this._cachedUnixTime=null,this},fromUnixTime:function(e){this.zone=ICAL.Timezone.utcTimezone;var t=ICAL.Time.epochTime.clone();t.adjust(0,0,0,e),this.year=t.year,this.month=t.month,this.day=t.day,this.hour=t.hour,this.minute=t.minute,this.second=Math.floor(t.second),this._cachedUnixTime=null},toUnixTime:function(){if(null!==this._cachedUnixTime)return this._cachedUnixTime;var e=this.utcOffset(),t=Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second-e);return this._cachedUnixTime=t/1e3,this._cachedUnixTime},toJSON:function(){for(var e,t=["year","month","day","hour","minute","second","isDate"],n=Object.create(null),i=0,r=t.length;i<r;i++)e=t[i],n[e]=this[e];return this.zone&&(n.timezone=this.zone.tzid),n}},function(){function e(e){Object.defineProperty(ICAL.Time.prototype,e,{get:function(){return this._pendingNormalization&&(this._normalize(),this._pendingNormalization=!1),this._time[e]},set:function(t){return this._cachedUnixTime=null,this._pendingNormalization=!0,this._time[e]=t,t}})}"defineProperty"in Object&&(e("year"),e("month"),e("day"),e("hour"),e("minute"),e("second"),e("isDate"))}(),ICAL.Time.daysInMonth=function(e,t){var n=[0,31,28,31,30,31,30,31,31,30,31,30,31],i=30;return e<1||e>12?i:(i=n[e],2==e&&(i+=ICAL.Time.isLeapYear(t)),i)},ICAL.Time.isLeapYear=function(e){return e<=1752?e%4==0:e%4==0&&e%100!=0||e%400==0},ICAL.Time.fromDayOfYear=function(e,t){var n=t,i=e,r=new ICAL.Time;r.auto_normalize=!1;var a=ICAL.Time.isLeapYear(n)?1:0;if(i<1)return n--,a=ICAL.Time.isLeapYear(n)?1:0,i+=ICAL.Time.daysInYearPassedMonth[a][12],ICAL.Time.fromDayOfYear(i,n);if(i>ICAL.Time.daysInYearPassedMonth[a][12])return a=ICAL.Time.isLeapYear(n)?1:0,i-=ICAL.Time.daysInYearPassedMonth[a][12],n++,ICAL.Time.fromDayOfYear(i,n);r.year=n,r.isDate=!0;for(var s=11;s>=0;s--)if(i>ICAL.Time.daysInYearPassedMonth[a][s]){r.month=s+1,r.day=i-ICAL.Time.daysInYearPassedMonth[a][s];break}return r.auto_normalize=!0, r},ICAL.Time.fromStringv2=function(e){return new ICAL.Time({year:parseInt(e.substr(0,4),10),month:parseInt(e.substr(5,2),10),day:parseInt(e.substr(8,2),10),isDate:!0})},ICAL.Time.fromDateString=function(e){return new ICAL.Time({year:ICAL.helpers.strictParseInt(e.substr(0,4)),month:ICAL.helpers.strictParseInt(e.substr(5,2)),day:ICAL.helpers.strictParseInt(e.substr(8,2)),isDate:!0})},ICAL.Time.fromDateTimeString=function(e,t){if(e.length<19)throw new Error('invalid date-time value: "'+e+'"');var n;e[19]&&"Z"===e[19]?n="Z":t&&(n=t.getParameter("tzid"));var i=new ICAL.Time({year:ICAL.helpers.strictParseInt(e.substr(0,4)),month:ICAL.helpers.strictParseInt(e.substr(5,2)),day:ICAL.helpers.strictParseInt(e.substr(8,2)),hour:ICAL.helpers.strictParseInt(e.substr(11,2)),minute:ICAL.helpers.strictParseInt(e.substr(14,2)),second:ICAL.helpers.strictParseInt(e.substr(17,2)),timezone:n});return i},ICAL.Time.fromString=function(e){return e.length>10?ICAL.Time.fromDateTimeString(e):ICAL.Time.fromDateString(e)},ICAL.Time.fromJSDate=function(e,t){var n=new ICAL.Time;return n.fromJSDate(e,t)},ICAL.Time.fromData=function(e,t){var n=new ICAL.Time;return n.fromData(e,t)},ICAL.Time.now=function(){return ICAL.Time.fromJSDate(new Date,!1)},ICAL.Time.weekOneStarts=function(e,t){var n=ICAL.Time.fromData({year:e,month:1,day:1,isDate:!0}),i=n.dayOfWeek(),r=t||ICAL.Time.DEFAULT_WEEK_START;return i>ICAL.Time.THURSDAY&&(n.day+=7),r>ICAL.Time.THURSDAY&&(n.day-=7),n.day-=i-r,n},ICAL.Time.getDominicalLetter=function(e){var t="GFEDCBA",n=(e+(e/4|0)+(e/400|0)-(e/100|0)-1)%7,i=ICAL.Time.isLeapYear(e);return i?t[(n+6)%7]+t[n]:t[n]},ICAL.Time.epochTime=ICAL.Time.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"}),ICAL.Time._cmp_attr=function(e,t,n){return e[n]>t[n]?1:e[n]<t[n]?-1:0},ICAL.Time.daysInYearPassedMonth=[[0,31,59,90,120,151,181,212,243,273,304,334,365],[0,31,60,91,121,152,182,213,244,274,305,335,366]],ICAL.Time.SUNDAY=1,ICAL.Time.MONDAY=2,ICAL.Time.TUESDAY=3,ICAL.Time.WEDNESDAY=4,ICAL.Time.THURSDAY=5,ICAL.Time.FRIDAY=6,ICAL.Time.SATURDAY=7,ICAL.Time.DEFAULT_WEEK_START=ICAL.Time.MONDAY}(),function(){ICAL.VCardTime=function(e,t,n){this.wrappedJSObject=this;var i=this._time=Object.create(null);i.year=null,i.month=null,i.day=null,i.hour=null,i.minute=null,i.second=null,this.icaltype=n||"date-and-or-time",this.fromData(e,t)},ICAL.helpers.inherits(ICAL.Time,ICAL.VCardTime,{icalclass:"vcardtime",icaltype:"date-and-or-time",zone:null,clone:function(){return new ICAL.VCardTime(this._time,this.zone,this.icaltype)},_normalize:function(){return this},utcOffset:function(){return this.zone instanceof ICAL.UtcOffset?this.zone.toSeconds():ICAL.Time.prototype.utcOffset.apply(this,arguments)},toICALString:function(){return ICAL.design.vcard.value[this.icaltype].toICAL(this.toString())},toString:function(){var e,t=ICAL.helpers.pad2,n=this.year,i=this.month,r=this.day,a=this.hour,s=this.minute,o=this.second,l=null!==n,u=null!==i,c=null!==r,d=null!==a,h=null!==s,p=null!==o,m=(l?t(n)+(u||c?"-":""):u||c?"--":"")+(u?t(i):"")+(c?"-"+t(r):""),f=(d?t(a):"-")+(d&&h?":":"")+(h?t(s):"")+(d||h?"":"-")+(h&&p?":":"")+(p?t(o):"");if(this.zone===ICAL.Timezone.utcTimezone)e="Z";else if(this.zone instanceof ICAL.UtcOffset)e=this.zone.toString();else if(this.zone===ICAL.Timezone.localTimezone)e="";else if(this.zone instanceof ICAL.Timezone){var g=ICAL.UtcOffset.fromSeconds(this.zone.utcOffset(this));e=g.toString()}else e="";switch(this.icaltype){case"time":return f+e;case"date-and-or-time":case"date-time":return m+("--"==f?"":"T"+f+e);case"date":return m}return null}}),ICAL.VCardTime.fromDateAndOrTimeString=function(e,t){function n(e,t,n){return e?ICAL.helpers.strictParseInt(e.substr(t,n)):null}var i=e.split("T"),r=i[0],a=i[1],s=a?ICAL.design.vcard.value.time._splitZone(a):[],o=s[0],l=s[1],u=(ICAL.helpers.strictParseInt,r?r.length:0),c=l?l.length:0,d=r&&"-"==r[0]&&"-"==r[1],h=l&&"-"==l[0],p={year:d?null:n(r,0,4),month:!d||4!=u&&7!=u?7==u?n(r,5,2):10==u?n(r,5,2):null:n(r,2,2),day:5==u?n(r,3,2):7==u&&d?n(r,5,2):10==u?n(r,8,2):null,hour:h?null:n(l,0,2),minute:h&&3==c?n(l,1,2):c>4?h?n(l,1,2):n(l,3,2):null,second:4==c?n(l,2,2):6==c?n(l,4,2):8==c?n(l,6,2):null};return o="Z"==o?ICAL.Timezone.utcTimezone:o&&":"==o[3]?ICAL.UtcOffset.fromString(o):null,new ICAL.VCardTime(p,o,t)}}(),function(){function e(e,t,n,i){var r=i;if("+"===i[0]&&(r=i.substr(1)),r=ICAL.helpers.strictParseInt(r),void 0!==t&&i<t)throw new Error(e+': invalid value "'+i+'" must be > '+t);if(void 0!==n&&i>n)throw new Error(e+': invalid value "'+i+'" must be < '+t);return r}var t={SU:ICAL.Time.SUNDAY,MO:ICAL.Time.MONDAY,TU:ICAL.Time.TUESDAY,WE:ICAL.Time.WEDNESDAY,TH:ICAL.Time.THURSDAY,FR:ICAL.Time.FRIDAY,SA:ICAL.Time.SATURDAY},n={};for(var i in t)t.hasOwnProperty(i)&&(n[t[i]]=i);ICAL.Recur=function(e){this.wrappedJSObject=this,this.parts={},e&&"object"==typeof e&&this.fromData(e)},ICAL.Recur.prototype={parts:null,interval:1,wkst:ICAL.Time.MONDAY,until:null,count:null,freq:null,icalclass:"icalrecur",icaltype:"recur",iterator:function(e){return new ICAL.RecurIterator({rule:this,dtstart:e})},clone:function(){return new ICAL.Recur(this.toJSON())},isFinite:function(){return!(!this.count&&!this.until)},isByCount:function(){return!(!this.count||this.until)},addComponent:function(e,t){var n=e.toUpperCase();n in this.parts?this.parts[n].push(t):this.parts[n]=[t]},setComponent:function(e,t){this.parts[e.toUpperCase()]=t.slice()},getComponent:function(e){var t=e.toUpperCase();return t in this.parts?this.parts[t].slice():[]},getNextOccurrence:function(e,t){var n,i=this.iterator(e);do n=i.next();while(n&&n.compare(t)<=0);return n&&t.zone&&(n.zone=t.zone),n},fromData:function(e){for(var t in e){var n=t.toUpperCase();n in l?Array.isArray(e[t])?this.parts[n]=e[t]:this.parts[n]=[e[t]]:this[t]=e[t]}this.wkst&&"number"!=typeof this.wkst&&(this.wkst=ICAL.Recur.icalDayToNumericDay(this.wkst)),!this.until||this.until instanceof ICAL.Time||(this.until=ICAL.Time.fromString(this.until))},toJSON:function(){var e=Object.create(null);e.freq=this.freq,this.count&&(e.count=this.count),this.interval>1&&(e.interval=this.interval);for(var t in this.parts)if(this.parts.hasOwnProperty(t)){var n=this.parts[t];Array.isArray(n)&&1==n.length?e[t.toLowerCase()]=n[0]:e[t.toLowerCase()]=ICAL.helpers.clone(this.parts[t])}return this.until&&(e.until=this.until.toString()),"wkst"in this&&this.wkst!==ICAL.Time.DEFAULT_WEEK_START&&(e.wkst=ICAL.Recur.numericDayToIcalDay(this.wkst)),e},toString:function(){var e="FREQ="+this.freq;this.count&&(e+=";COUNT="+this.count),this.interval>1&&(e+=";INTERVAL="+this.interval);for(var t in this.parts)this.parts.hasOwnProperty(t)&&(e+=";"+t+"="+this.parts[t]);return this.until&&(e+=";UNTIL="+this.until.toString()),"wkst"in this&&this.wkst!==ICAL.Time.DEFAULT_WEEK_START&&(e+=";WKST="+ICAL.Recur.numericDayToIcalDay(this.wkst)),e}},ICAL.Recur.icalDayToNumericDay=function(e){return t[e]},ICAL.Recur.numericDayToIcalDay=function(e){return n[e]};var r=/^(SU|MO|TU|WE|TH|FR|SA)$/,a=/^([+-])?(5[0-3]|[1-4][0-9]|[1-9])?(SU|MO|TU|WE|TH|FR|SA)$/,s=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"],o={FREQ:function(e,t,n){if(s.indexOf(e)===-1)throw new Error('invalid frequency "'+e+'" expected: "'+s.join(", ")+'"');t.freq=e},COUNT:function(e,t,n){t.count=ICAL.helpers.strictParseInt(e)},INTERVAL:function(e,t,n){t.interval=ICAL.helpers.strictParseInt(e),t.interval<1&&(t.interval=1)},UNTIL:function(e,t,n){n?e.length>10?t.until=ICAL.design.icalendar.value["date-time"].fromICAL(e):t.until=ICAL.design.icalendar.value.date.fromICAL(e):t.until=ICAL.Time.fromString(e)},WKST:function(e,t,n){if(!r.test(e))throw new Error('invalid WKST value "'+e+'"');t.wkst=ICAL.Recur.icalDayToNumericDay(e)}},l={BYSECOND:e.bind(this,"BYSECOND",0,60),BYMINUTE:e.bind(this,"BYMINUTE",0,59),BYHOUR:e.bind(this,"BYHOUR",0,23),BYDAY:function(e){if(a.test(e))return e;throw new Error('invalid BYDAY value "'+e+'"')},BYMONTHDAY:e.bind(this,"BYMONTHDAY",-31,31),BYYEARDAY:e.bind(this,"BYYEARDAY",-366,366),BYWEEKNO:e.bind(this,"BYWEEKNO",-53,53),BYMONTH:e.bind(this,"BYMONTH",0,12),BYSETPOS:e.bind(this,"BYSETPOS",-366,366)};ICAL.Recur.fromString=function(e){var t=ICAL.Recur._stringToData(e,!1);return new ICAL.Recur(t)},ICAL.Recur.fromData=function(e){return new ICAL.Recur(e)},ICAL.Recur._stringToData=function(e,t){for(var n=Object.create(null),i=e.split(";"),r=i.length,a=0;a<r;a++){var s=i[a].split("="),u=s[0].toUpperCase(),c=s[0].toLowerCase(),d=t?c:u,h=s[1];if(u in l){for(var p=h.split(","),m=0,f=p.length;m<f;m++)p[m]=l[u](p[m]);n[d]=1==p.length?p[0]:p}else u in o?o[u](h,n,t):n[c]=h}return n}}(),ICAL.RecurIterator=function(){function e(e){this.fromData(e)}return e.prototype={completed:!1,rule:null,dtstart:null,last:null,occurrence_number:0,by_indices:null,initialized:!1,by_data:null,days:null,days_index:0,fromData:function(e){if(this.rule=ICAL.helpers.formatClassType(e.rule,ICAL.Recur),!this.rule)throw new Error("iterator requires a (ICAL.Recur) rule");if(this.dtstart=ICAL.helpers.formatClassType(e.dtstart,ICAL.Time),!this.dtstart)throw new Error("iterator requires a (ICAL.Time) dtstart");e.by_data?this.by_data=e.by_data:this.by_data=ICAL.helpers.clone(this.rule.parts,!0),e.occurrence_number&&(this.occurrence_number=e.occurrence_number),this.days=e.days||[],e.last&&(this.last=ICAL.helpers.formatClassType(e.last,ICAL.Time)),this.by_indices=e.by_indices,this.by_indices||(this.by_indices={BYSECOND:0,BYMINUTE:0,BYHOUR:0,BYDAY:0,BYMONTH:0,BYWEEKNO:0,BYMONTHDAY:0}),this.initialized=e.initialized||!1,this.initialized||this.init()},init:function(){this.initialized=!0,this.last=this.dtstart.clone();var e=this.by_data;if("BYDAY"in e&&this.sort_byday_rules(e.BYDAY,this.rule.wkst),"BYYEARDAY"in e&&("BYMONTH"in e||"BYWEEKNO"in e||"BYMONTHDAY"in e||"BYDAY"in e))throw new Error("Invalid BYYEARDAY rule");if("BYWEEKNO"in e&&"BYMONTHDAY"in e)throw new Error("BYWEEKNO does not fit to BYMONTHDAY");if("MONTHLY"==this.rule.freq&&("BYYEARDAY"in e||"BYWEEKNO"in e))throw new Error("For MONTHLY recurrences neither BYYEARDAY nor BYWEEKNO may appear");if("WEEKLY"==this.rule.freq&&("BYYEARDAY"in e||"BYMONTHDAY"in e))throw new Error("For WEEKLY recurrences neither BYMONTHDAY nor BYYEARDAY may appear");if("YEARLY"!=this.rule.freq&&"BYYEARDAY"in e)throw new Error("BYYEARDAY may only appear in YEARLY rules");if(this.last.second=this.setup_defaults("BYSECOND","SECONDLY",this.dtstart.second),this.last.minute=this.setup_defaults("BYMINUTE","MINUTELY",this.dtstart.minute),this.last.hour=this.setup_defaults("BYHOUR","HOURLY",this.dtstart.hour),this.last.day=this.setup_defaults("BYMONTHDAY","DAILY",this.dtstart.day),this.last.month=this.setup_defaults("BYMONTH","MONTHLY",this.dtstart.month),"WEEKLY"==this.rule.freq)if("BYDAY"in e){var t=this.ruleDayOfWeek(e.BYDAY[0]),n=t[0],i=t[1],r=i-this.last.dayOfWeek();(this.last.dayOfWeek()<i&&r>=0||r<0)&&(this.last.day+=r)}else{var a=ICAL.Recur.numericDayToIcalDay(this.dtstart.dayOfWeek());e.BYDAY=[a]}if("YEARLY"==this.rule.freq){for(;this.expand_year_days(this.last.year),!(this.days.length>0);)this.increment_year(this.rule.interval);this._nextByYearDay()}if("MONTHLY"==this.rule.freq&&this.has_by_data("BYDAY")){var s=null,o=this.last.clone(),l=ICAL.Time.daysInMonth(this.last.month,this.last.year);for(var u in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(u)){this.last=o.clone();var t=this.ruleDayOfWeek(this.by_data.BYDAY[u]),n=t[0],i=t[1],c=this.last.nthWeekDay(i,n);if(n>=6||n<=-6)throw new Error("Malformed values in BYDAY part");if(c>l||c<=0){if(s&&s.month==o.month)continue;for(;c>l||c<=0;)this.increment_month(),l=ICAL.Time.daysInMonth(this.last.month,this.last.year),c=this.last.nthWeekDay(i,n)}this.last.day=c,(!s||this.last.compare(s)<0)&&(s=this.last.clone())}if(this.last=s.clone(),this.has_by_data("BYMONTHDAY")&&this._byDayAndMonthDay(!0),this.last.day>l||0==this.last.day)throw new Error("Malformed values in BYDAY part")}else if(this.has_by_data("BYMONTHDAY")&&this.last.day<0){var l=ICAL.Time.daysInMonth(this.last.month,this.last.year);this.last.day=l+this.last.day+1}},next:function(){var e=this.last?this.last.clone():null;if(this.rule.count&&this.occurrence_number>=this.rule.count||this.rule.until&&this.last.compare(this.rule.until)>0)return this.completed=!0,null;if(0==this.occurrence_number&&this.last.compare(this.dtstart)>=0)return this.occurrence_number++,this.last;var t;do switch(t=1,this.rule.freq){case"SECONDLY":this.next_second();break;case"MINUTELY":this.next_minute();break;case"HOURLY":this.next_hour();break;case"DAILY":this.next_day();break;case"WEEKLY":this.next_week();break;case"MONTHLY":t=this.next_month();break;case"YEARLY":this.next_year();break;default:return null}while(!this.check_contracting_rules()||this.last.compare(this.dtstart)<0||!t);if(0==this.last.compare(e))throw new Error("Same occurrence found twice, protecting you from death by recursion");return this.rule.until&&this.last.compare(this.rule.until)>0?(this.completed=!0,null):(this.occurrence_number++,this.last)},next_second:function(){return this.next_generic("BYSECOND","SECONDLY","second","minute")},increment_second:function(e){return this.increment_generic(e,"second",60,"minute")},next_minute:function(){return this.next_generic("BYMINUTE","MINUTELY","minute","hour","next_second")},increment_minute:function(e){return this.increment_generic(e,"minute",60,"hour")},next_hour:function(){return this.next_generic("BYHOUR","HOURLY","hour","monthday","next_minute")},increment_hour:function(e){this.increment_generic(e,"hour",24,"monthday")},next_day:function(){var e=("BYDAY"in this.by_data,"DAILY"==this.rule.freq);return 0==this.next_hour()?0:(e?this.increment_monthday(this.rule.interval):this.increment_monthday(1),0)},next_week:function(){var e=0;if(0==this.next_weekday_by_week())return e;if(this.has_by_data("BYWEEKNO")){++this.by_indices.BYWEEKNO;this.by_indices.BYWEEKNO==this.by_data.BYWEEKNO.length&&(this.by_indices.BYWEEKNO=0,e=1),this.last.month=1,this.last.day=1;var t=this.by_data.BYWEEKNO[this.by_indices.BYWEEKNO];this.last.day+=7*t,e&&this.increment_year(1)}else this.increment_monthday(7*this.rule.interval);return e},normalizeByMonthDayRules:function(e,t,n){for(var i,r=ICAL.Time.daysInMonth(t,e),a=[],s=0,o=n.length;s<o;s++)if(i=n[s],!(Math.abs(i)>r)){if(i<0)i=r+(i+1);else if(0===i)continue;a.indexOf(i)===-1&&a.push(i)}return a.sort(function(e,t){return e-t})},_byDayAndMonthDay:function(e){function t(){for(s=ICAL.Time.daysInMonth(d.last.month,d.last.year),i=d.normalizeByMonthDayRules(d.last.year,d.last.month,d.by_data.BYMONTHDAY),a=i.length;i[l]<=h&&(!e||i[l]!=h)&&l<a-1;)l++}function n(){h=0,d.increment_month(),l=0,t()}var i,r,a,s,o=this.by_data.BYDAY,l=0,u=o.length,c=0,d=this,h=this.last.day;t(),e&&(h-=1);for(var p=48;!c&&p;)if(p--,r=h+1,r>s)n();else{var m=i[l++];if(m>=r){h=m;for(var f=0;f<u;f++){var g=this.ruleDayOfWeek(o[f]),v=g[0],y=g[1];if(this.last.day=h,this.last.isNthWeekDay(y,v)){c=1;break}}c||l!==a||n()}else n()}if(p<=0)throw new Error("Malformed values in BYDAY combined with BYMONTHDAY parts");return c},next_month:function(){var e=("MONTHLY"==this.rule.freq,1);if(0==this.next_hour())return e;if(this.has_by_data("BYDAY")&&this.has_by_data("BYMONTHDAY"))e=this._byDayAndMonthDay();else if(this.has_by_data("BYDAY")){var t=ICAL.Time.daysInMonth(this.last.month,this.last.year),n=0,i=0;if(this.has_by_data("BYSETPOS")){for(var r=this.last.day,a=1;a<=t;a++)this.last.day=a,this.is_day_in_byday(this.last)&&(i++,a<=r&&n++);this.last.day=r}e=0;for(var a=this.last.day+1;a<=t;a++)if(this.last.day=a,this.is_day_in_byday(this.last)&&(!this.has_by_data("BYSETPOS")||this.check_set_position(++n)||this.check_set_position(n-i-1))){e=1;break}a>t&&(this.last.day=1,this.increment_month(),this.is_day_in_byday(this.last)?this.has_by_data("BYSETPOS")&&!this.check_set_position(1)||(e=1):e=0)}else if(this.has_by_data("BYMONTHDAY")){this.by_indices.BYMONTHDAY++,this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length&&(this.by_indices.BYMONTHDAY=0,this.increment_month());var t=ICAL.Time.daysInMonth(this.last.month,this.last.year),a=this.by_data.BYMONTHDAY[this.by_indices.BYMONTHDAY];a<0&&(a=t+a+1),a>t?(this.last.day=1,e=this.is_day_in_byday(this.last)):this.last.day=a}else{this.increment_month();var t=ICAL.Time.daysInMonth(this.last.month,this.last.year);this.by_data.BYMONTHDAY[0]>t?e=0:this.last.day=this.by_data.BYMONTHDAY[0]}return e},next_weekday_by_week:function(){var e=0;if(0==this.next_hour())return e;if(!this.has_by_data("BYDAY"))return 1;for(;;){var t=new ICAL.Time;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,e=1);var n=this.by_data.BYDAY[this.by_indices.BYDAY],i=this.ruleDayOfWeek(n),r=i[1];r-=this.rule.wkst,r<0&&(r+=7),t.year=this.last.year,t.month=this.last.month,t.day=this.last.day;var a=t.startDoyWeek(this.rule.wkst);if(!(r+a<1)||e){var s=ICAL.Time.fromDayOfYear(a+r,this.last.year);return this.last.year=s.year,this.last.month=s.month,this.last.day=s.day,e}}},next_year:function(){if(0==this.next_hour())return 0;if(++this.days_index==this.days.length){this.days_index=0;do this.increment_year(this.rule.interval),this.expand_year_days(this.last.year);while(0==this.days.length)}return this._nextByYearDay(),1},_nextByYearDay:function(){var e=this.days[this.days_index],t=this.last.year;e<1&&(e+=1,t+=1);var n=ICAL.Time.fromDayOfYear(e,t);this.last.day=n.day,this.last.month=n.month},ruleDayOfWeek:function(e){var t=e.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);if(t){var n=parseInt(t[1]||0,10);return e=ICAL.Recur.icalDayToNumericDay(t[2]),[n,e]}return[0,0]},next_generic:function(e,t,n,i,r){var a=e in this.by_data,s=this.rule.freq==t,o=0;if(r&&0==this[r]())return o;if(a){this.by_indices[e]++;var l=(this.by_indices[e],this.by_data[e]);this.by_indices[e]==l.length&&(this.by_indices[e]=0,o=1),this.last[n]=l[this.by_indices[e]]}else s&&this["increment_"+n](this.rule.interval);return a&&o&&s&&this["increment_"+i](1),o},increment_monthday:function(e){for(var t=0;t<e;t++){var n=ICAL.Time.daysInMonth(this.last.month,this.last.year);this.last.day++,this.last.day>n&&(this.last.day-=n,this.increment_month())}},increment_month:function(){if(this.last.day=1,this.has_by_data("BYMONTH"))this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH];else{"MONTHLY"==this.rule.freq?this.last.month+=this.rule.interval:this.last.month++,this.last.month--;var e=ICAL.helpers.trunc(this.last.month/12);this.last.month%=12,this.last.month++,0!=e&&this.increment_year(e)}},increment_year:function(e){this.last.year+=e},increment_generic:function(e,t,n,i){this.last[t]+=e;var r=ICAL.helpers.trunc(this.last[t]/n);this.last[t]%=n,0!=r&&this["increment_"+i](r)},has_by_data:function(e){return e in this.rule.parts},expand_year_days:function(e){var t=new ICAL.Time;this.days=[];var n={},i=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(var r in i)if(i.hasOwnProperty(r)){var a=i[r];a in this.rule.parts&&(n[a]=this.rule.parts[a])}if("BYMONTH"in n&&"BYWEEKNO"in n){var s=1,o={};t.year=e,t.isDate=!0;for(var l=0;l<this.by_data.BYMONTH.length;l++){var u=this.by_data.BYMONTH[l];t.month=u,t.day=1;var c=t.weekNumber(this.rule.wkst);t.day=ICAL.Time.daysInMonth(u,e);var d=t.weekNumber(this.rule.wkst);for(l=c;l<d;l++)o[l]=1}for(var h=0;h<this.by_data.BYWEEKNO.length&&s;h++){var p=this.by_data.BYWEEKNO[h];p<52?s&=o[h]:s=0}s?delete n.BYMONTH:delete n.BYWEEKNO}var m=Object.keys(n).length;if(0==m){var f=this.dtstart.clone();f.year=this.last.year,this.days.push(f.dayOfYear())}else if(1==m&&"BYMONTH"in n){for(var g in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(g)){var v=this.dtstart.clone();v.year=e,v.month=this.by_data.BYMONTH[g],v.isDate=!0,this.days.push(v.dayOfYear())}}else if(1==m&&"BYMONTHDAY"in n){for(var y in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(y)){var _=this.dtstart.clone(),b=this.by_data.BYMONTHDAY[y];if(b<0){var T=ICAL.Time.daysInMonth(_.month,e);b=b+T+1}_.day=b,_.year=e,_.isDate=!0,this.days.push(_.dayOfYear())}}else if(2==m&&"BYMONTHDAY"in n&&"BYMONTH"in n){for(var g in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(g)){var M=this.by_data.BYMONTH[g],T=ICAL.Time.daysInMonth(M,e);for(var y in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(y)){var b=this.by_data.BYMONTHDAY[y];b<0&&(b=b+T+1),t.day=b,t.month=M,t.year=e,t.isDate=!0,this.days.push(t.dayOfYear())}}}else if(1==m&&"BYWEEKNO"in n);else if(2==m&&"BYWEEKNO"in n&&"BYMONTHDAY"in n);else if(1==m&&"BYDAY"in n)this.days=this.days.concat(this.expand_by_day(e));else if(2==m&&"BYDAY"in n&&"BYMONTH"in n){for(var g in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(g)){var u=this.by_data.BYMONTH[g],T=ICAL.Time.daysInMonth(u,e);t.year=e,t.month=this.by_data.BYMONTH[g],t.day=1,t.isDate=!0;var w=t.dayOfWeek(),$=t.dayOfYear()-1;t.day=T;var D=t.dayOfWeek();if(this.has_by_data("BYSETPOS")){for(var k=[],L=1;L<=T;L++)t.day=L,this.is_day_in_byday(t)&&k.push(L);for(var x=0;x<k.length;x++)(this.check_set_position(x+1)||this.check_set_position(x-k.length))&&this.days.push($+k[x])}else for(var S in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(S)){var C,A=this.by_data.BYDAY[S],Y=this.ruleDayOfWeek(A),E=Y[0],I=Y[1],H=(I+7-w)%7+1,O=T-(D+7-I)%7;if(0==E)for(var L=H;L<=T;L+=7)this.days.push($+L);else E>0?(C=H+7*(E-1),C<=T&&this.days.push($+C)):(C=O+7*(E+1),C>0&&this.days.push($+C))}}this.days.sort(function(e,t){return e-t})}else if(2==m&&"BYDAY"in n&&"BYMONTHDAY"in n){var N=this.expand_by_day(e);for(var P in N)if(N.hasOwnProperty(P)){var L=N[P],j=ICAL.Time.fromDayOfYear(L,e);this.by_data.BYMONTHDAY.indexOf(j.day)>=0&&this.days.push(L)}}else if(3==m&&"BYDAY"in n&&"BYMONTHDAY"in n&&"BYMONTH"in n){var N=this.expand_by_day(e);for(var P in N)if(N.hasOwnProperty(P)){var L=N[P],j=ICAL.Time.fromDayOfYear(L,e);this.by_data.BYMONTH.indexOf(j.month)>=0&&this.by_data.BYMONTHDAY.indexOf(j.day)>=0&&this.days.push(L)}}else if(2==m&&"BYDAY"in n&&"BYWEEKNO"in n){var N=this.expand_by_day(e);for(var P in N)if(N.hasOwnProperty(P)){var L=N[P],j=ICAL.Time.fromDayOfYear(L,e),p=j.weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(p)&&this.days.push(L)}}else 3==m&&"BYDAY"in n&&"BYWEEKNO"in n&&"BYMONTHDAY"in n||(1==m&&"BYYEARDAY"in n?this.days=this.days.concat(this.by_data.BYYEARDAY):this.days=[]);return 0},expand_by_day:function(e){var t=[],n=this.last.clone();n.year=e,n.month=1,n.day=1,n.isDate=!0;var i=n.dayOfWeek();n.month=12,n.day=31,n.isDate=!0;var r=n.dayOfWeek(),a=n.dayOfYear();for(var s in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(s)){var o=this.by_data.BYDAY[s],l=this.ruleDayOfWeek(o),u=l[0],c=l[1];if(0==u)for(var d=(c+7-i)%7+1,h=d;h<=a;h+=7)t.push(h);else if(u>0){var p;p=c>=i?c-i+1:c-i+8,t.push(p+7*(u-1))}else{var m;u=-u,m=c<=r?a-r+c:a-r+c-7,t.push(m-7*(u-1))}}return t},is_day_in_byday:function(e){for(var t in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(t)){var n=this.by_data.BYDAY[t],i=this.ruleDayOfWeek(n),r=i[0],a=i[1],s=e.dayOfWeek();if(0==r&&a==s||e.nthWeekDay(a,r)==e.day)return 1}return 0},check_set_position:function(e){if(this.has_by_data("BYSETPOS")){var t=this.by_data.BYSETPOS.indexOf(e);return t!==-1}return!1},sort_byday_rules:function(e,t){for(var n=0;n<e.length;n++)for(var i=0;i<n;i++){var r=this.ruleDayOfWeek(e[i])[1],a=this.ruleDayOfWeek(e[n])[1];if(r-=t,a-=t,r<0&&(r+=7),a<0&&(a+=7),r>a){var s=e[n];e[n]=e[i],e[i]=s}}},check_contract_restriction:function(t,n){var i=e._indexMap[t],r=e._expandMap[this.rule.freq][i],a=!1;if(t in this.by_data&&r==e.CONTRACT){var s=this.by_data[t];for(var o in s)if(s.hasOwnProperty(o)&&s[o]==n){a=!0;break}}else a=!0;return a},check_contracting_rules:function(){var e=this.last.dayOfWeek(),t=this.last.weekNumber(this.rule.wkst),n=this.last.dayOfYear();return this.check_contract_restriction("BYSECOND",this.last.second)&&this.check_contract_restriction("BYMINUTE",this.last.minute)&&this.check_contract_restriction("BYHOUR",this.last.hour)&&this.check_contract_restriction("BYDAY",ICAL.Recur.numericDayToIcalDay(e))&&this.check_contract_restriction("BYWEEKNO",t)&&this.check_contract_restriction("BYMONTHDAY",this.last.day)&&this.check_contract_restriction("BYMONTH",this.last.month)&&this.check_contract_restriction("BYYEARDAY",n)},setup_defaults:function(t,n,i){var r=e._indexMap[t],a=e._expandMap[this.rule.freq][r];return a!=e.CONTRACT&&(t in this.by_data||(this.by_data[t]=[i]),this.rule.freq!=n)?this.by_data[t][0]:i},toJSON:function(){var e=Object.create(null);return e.initialized=this.initialized,e.rule=this.rule.toJSON(),e.dtstart=this.dtstart.toJSON(),e.by_data=this.by_data,e.days=this.days,e.last=this.last.toJSON(),e.by_indices=this.by_indices,e.occurrence_number=this.occurrence_number,e}},e._indexMap={BYSECOND:0,BYMINUTE:1,BYHOUR:2,BYDAY:3,BYMONTHDAY:4,BYYEARDAY:5,BYWEEKNO:6,BYMONTH:7,BYSETPOS:8},e._expandMap={SECONDLY:[1,1,1,1,1,1,1,1],MINUTELY:[2,1,1,1,1,1,1,1],HOURLY:[2,2,1,1,1,1,1,1],DAILY:[2,2,2,1,1,1,1,1],WEEKLY:[2,2,2,2,3,3,1,1],MONTHLY:[2,2,2,2,2,3,3,1],YEARLY:[2,2,2,2,2,2,2,2]},e.UNKNOWN=0,e.CONTRACT=1,e.EXPAND=2,e.ILLEGAL=3,e}(),ICAL.RecurExpansion=function(){function e(e){return ICAL.helpers.formatClassType(e,ICAL.Time)}function t(e,t){return e.compare(t)}function n(e){return e.hasProperty("rdate")||e.hasProperty("rrule")||e.hasProperty("recurrence-id")}function i(e){this.ruleDates=[],this.exDates=[],this.fromData(e)}return i.prototype={complete:!1,ruleIterators:null,ruleDates:null,exDates:null,ruleDateInc:0,exDateInc:0,exDate:null,ruleDate:null,dtstart:null,last:null,fromData:function(t){var n=ICAL.helpers.formatClassType(t.dtstart,ICAL.Time);if(!n)throw new Error(".dtstart (ICAL.Time) must be given");if(this.dtstart=n,t.component)this._init(t.component);else{if(this.last=e(t.last)||n.clone(),!t.ruleIterators)throw new Error(".ruleIterators or .component must be given");this.ruleIterators=t.ruleIterators.map(function(e){return ICAL.helpers.formatClassType(e,ICAL.RecurIterator)}),this.ruleDateInc=t.ruleDateInc,this.exDateInc=t.exDateInc,t.ruleDates&&(this.ruleDates=t.ruleDates.map(e),this.ruleDate=this.ruleDates[this.ruleDateInc]),t.exDates&&(this.exDates=t.exDates.map(e),this.exDate=this.exDates[this.exDateInc]),"undefined"!=typeof t.complete&&(this.complete=t.complete)}},next:function(){for(var e,t,n,i=500,r=0;;){if(r++>i)throw new Error("max tries have occured, rule may be impossible to forfill.");if(t=this.ruleDate,e=this._nextRecurrenceIter(this.last),!t&&!e){this.complete=!0;break}if((!t||e&&t.compare(e.last)>0)&&(t=e.last.clone(),e.next()),this.ruleDate===t&&this._nextRuleDay(),this.last=t,!this.exDate||(n=this.exDate.compare(this.last),n<0&&this._nextExDay(),0!==n))return this.last;this._nextExDay()}},toJSON:function(){function e(e){return e.toJSON()}var t=Object.create(null);return t.ruleIterators=this.ruleIterators.map(e),this.ruleDates&&(t.ruleDates=this.ruleDates.map(e)),this.exDates&&(t.exDates=this.exDates.map(e)),t.ruleDateInc=this.ruleDateInc,t.exDateInc=this.exDateInc,t.last=this.last.toJSON(),t.dtstart=this.dtstart.toJSON(),t.complete=this.complete,t},_extractDates:function(e,n){function i(e){r=ICAL.helpers.binsearchInsert(a,e,t),a.splice(r,0,e)}for(var r,a=[],s=e.getAllProperties(n),o=s.length,l=0;l<o;l++)s[l].getValues().forEach(i);return a},_init:function(e){if(this.ruleIterators=[],this.last=this.dtstart.clone(),!n(e))return this.ruleDate=this.last.clone(),void(this.complete=!0);if(e.hasProperty("rdate")&&(this.ruleDates=this._extractDates(e,"rdate"),this.ruleDates[0]&&this.ruleDates[0].compare(this.dtstart)<0?(this.ruleDateInc=0,this.last=this.ruleDates[0].clone()):this.ruleDateInc=ICAL.helpers.binsearchInsert(this.ruleDates,this.last,t),this.ruleDate=this.ruleDates[this.ruleDateInc]),e.hasProperty("rrule"))for(var i,r,a=e.getAllProperties("rrule"),s=0,o=a.length;s<o;s++)i=a[s].getFirstValue(),r=i.iterator(this.dtstart),this.ruleIterators.push(r),r.next();e.hasProperty("exdate")&&(this.exDates=this._extractDates(e,"exdate"),this.exDateInc=ICAL.helpers.binsearchInsert(this.exDates,this.last,t),this.exDate=this.exDates[this.exDateInc])},_nextExDay:function(){this.exDate=this.exDates[++this.exDateInc]},_nextRuleDay:function(){this.ruleDate=this.ruleDates[++this.ruleDateInc]},_nextRecurrenceIter:function(){var e=this.ruleIterators;if(0===e.length)return null;for(var t,n,i,r=e.length,a=0;a<r;a++)t=e[a],n=t.last,t.completed?(r--,0!==a&&a--,e.splice(a,1)):(!i||i.last.compare(n)>0)&&(i=t);return i}},i}(),ICAL.Event=function(){function e(e,t){e instanceof ICAL.Component||(t=e,e=null),e?this.component=e:this.component=new ICAL.Component("vevent"),this._rangeExceptionCache=Object.create(null),this.exceptions=Object.create(null),this.rangeExceptions=[],t&&t.strictExceptions&&(this.strictExceptions=t.strictExceptions),t&&t.exceptions&&t.exceptions.forEach(this.relateException,this)}function t(e,t){return e[0]>t[0]?1:t[0]>e[0]?-1:0}return e.prototype={THISANDFUTURE:"THISANDFUTURE",exceptions:null,strictExceptions:!1,relateException:function(e){if(this.isRecurrenceException())throw new Error("cannot relate exception to exceptions");if(e instanceof ICAL.Component&&(e=new ICAL.Event(e)),this.strictExceptions&&e.uid!==this.uid)throw new Error("attempted to relate unrelated exception");var n=e.recurrenceId.toString();if(this.exceptions[n]=e,e.modifiesFuture()){var i=[e.recurrenceId.toUnixTime(),n],r=ICAL.helpers.binsearchInsert(this.rangeExceptions,i,t);this.rangeExceptions.splice(r,0,i)}},modifiesFuture:function(){var e=this.component.getFirstPropertyValue("range");return e===this.THISANDFUTURE},findRangeException:function(e){if(!this.rangeExceptions.length)return null;var n=e.toUnixTime(),i=ICAL.helpers.binsearchInsert(this.rangeExceptions,[n],t);if(i-=1,i<0)return null;var r=this.rangeExceptions[i];return n<r[0]?null:r[1]},getOccurrenceDetails:function(e){var t,n=e.toString(),i=e.convertToZone(ICAL.Timezone.utcTimezone).toString(),r={recurrenceId:e};if(n in this.exceptions)t=r.item=this.exceptions[n],r.startDate=t.startDate,r.endDate=t.endDate,r.item=t;else if(i in this.exceptions)t=this.exceptions[i],r.startDate=t.startDate,r.endDate=t.endDate,r.item=t;else{var a,s=this.findRangeException(e);if(s){var o=this.exceptions[s];r.item=o;var l=this._rangeExceptionCache[s];if(!l){var u=o.recurrenceId.clone(),c=o.startDate.clone();u.zone=c.zone,l=c.subtractDate(u),this._rangeExceptionCache[s]=l}var d=e.clone();d.zone=o.startDate.zone,d.addDuration(l),a=d.clone(),a.addDuration(o.duration),r.startDate=d,r.endDate=a}else a=e.clone(),a.addDuration(this.duration),r.endDate=a,r.startDate=e,r.item=this}return r},iterator:function(e){return new ICAL.RecurExpansion({component:this.component,dtstart:e||this.startDate})},isRecurring:function(){var e=this.component;return e.hasProperty("rrule")||e.hasProperty("rdate")},isRecurrenceException:function(){return this.component.hasProperty("recurrence-id")},getRecurrenceTypes:function(){for(var e=this.component.getAllProperties("rrule"),t=0,n=e.length,i=Object.create(null);t<n;t++){var r=e[t].getFirstValue();i[r.freq]=!0}return i},get uid(){return this._firstProp("uid")},set uid(e){this._setProp("uid",e)},get startDate(){return this._firstProp("dtstart")},set startDate(e){this._setTime("dtstart",e)},get endDate(){var e=this._firstProp("dtend");if(!e){var t=this._firstProp("duration");e=this.startDate.clone(),t?e.addDuration(t):e.isDate&&(e.day+=1)}return e},set endDate(e){this._setTime("dtend",e)},get duration(){var e=this._firstProp("duration");return e?e:this.endDate.subtractDate(this.startDate)},get location(){return this._firstProp("location")},set location(e){return this._setProp("location",e)},get attendees(){return this.component.getAllProperties("attendee")},get summary(){return this._firstProp("summary")},set summary(e){this._setProp("summary",e)},get description(){return this._firstProp("description")},set description(e){this._setProp("description",e); },get organizer(){return this._firstProp("organizer")},set organizer(e){this._setProp("organizer",e)},get sequence(){return this._firstProp("sequence")},set sequence(e){this._setProp("sequence",e)},get recurrenceId(){return this._firstProp("recurrence-id")},set recurrenceId(e){this._setProp("recurrence-id",e)},_setTime:function(e,t){var n=this.component.getFirstProperty(e);n||(n=new ICAL.Property(e),this.component.addProperty(n)),t.zone===ICAL.Timezone.localTimezone||t.zone===ICAL.Timezone.utcTimezone?n.removeParameter("tzid"):n.setParameter("tzid",t.zone.tzid),n.setValue(t)},_setProp:function(e,t){this.component.updatePropertyWithValue(e,t)},_firstProp:function(e){return this.component.getFirstPropertyValue(e)},toString:function(){return this.component.toString()}},e}(),ICAL.ComponentParser=function(){function e(e){"undefined"==typeof e&&(e={});var t;for(t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype={parseEvent:!0,parseTimezone:!0,oncomplete:function(){},onerror:function(e){},ontimezone:function(e){},onevent:function(e){},process:function(e){"string"==typeof e&&(e=ICAL.parse(e)),e instanceof ICAL.Component||(e=new ICAL.Component(e));for(var t,n=e.getAllSubcomponents(),i=0,r=n.length;i<r;i++)switch(t=n[i],t.name){case"vtimezone":if(this.parseTimezone){var a=t.getFirstPropertyValue("tzid");a&&this.ontimezone(new ICAL.Timezone({tzid:a,component:t}))}break;case"vevent":this.parseEvent&&this.onevent(new ICAL.Event(t));break;default:continue}this.oncomplete()}},e}(),function($){function Timepicker(){this.debug=!0,this._curInst=null,this._disabledInputs=[],this._timepickerShowing=!1,this._inDialog=!1,this._dialogClass="ui-timepicker-dialog",this._mainDivId="ui-timepicker-div",this._inlineClass="ui-timepicker-inline",this._currentClass="ui-timepicker-current",this._dayOverClass="ui-timepicker-days-cell-over",this.regional=[],this.regional[""]={hourText:"Hour",minuteText:"Minute",amPmText:["AM","PM"],closeButtonText:"Done",nowButtonText:"Now",deselectButtonText:"Deselect"},this._defaults={showOn:"focus",button:null,showAnim:"fadeIn",showOptions:{},appendText:"",beforeShow:null,onSelect:null,onClose:null,timeSeparator:":",periodSeparator:" ",showPeriod:!1,showPeriodLabels:!0,showLeadingZero:!0,showMinutesLeadingZero:!0,altField:"",defaultTime:"now",myPosition:"left top",atPosition:"left bottom",onHourShow:null,onMinuteShow:null,hours:{starts:0,ends:23},minutes:{starts:0,ends:55,interval:5,manual:[]},rows:4,showHours:!0,showMinutes:!0,optionalMinutes:!1,showCloseButton:!1,showNowButton:!1,showDeselectButton:!1,maxTime:{hour:null,minute:null},minTime:{hour:null,minute:null}},$.extend(this._defaults,this.regional[""]),this.tpDiv=$('<div id="'+this._mainDivId+'" class="ui-timepicker ui-widget ui-helper-clearfix ui-corner-all " style="display: none"></div>')}function extendRemove(e,t){$.extend(e,t);for(var n in t)null!=t[n]&&void 0!=t[n]||(e[n]=t[n]);return e}$.extend($.ui,{timepicker:{version:"0.3.3"}});var PROP_NAME="timepicker",tpuuid=(new Date).getTime();$.extend(Timepicker.prototype,{markerClassName:"hasTimepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetTimepicker:function(){return this.tpDiv},setDefaults:function(e){return extendRemove(this._defaults,e||{}),this},_attachTimepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("time:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(e){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline="div"==nodeName||"span"==nodeName;target.id||(this.uuid+=1,target.id="tp"+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),"input"==nodeName?(this._connectTimepicker(target,inst),this._setTimeFromField(inst)):inline&&this._inlineTimepicker(target,inst)},_newInst:function(e,t){var n=e[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:n,input:e,inline:t,tpDiv:t?$('<div class="'+this._inlineClass+' ui-timepicker ui-widget ui-helper-clearfix"></div>'):this.tpDiv}},_connectTimepicker:function(e,t){var n=$(e);t.append=$([]),t.trigger=$([]),n.hasClass(this.markerClassName)||(this._attachments(n,t),n.addClass(this.markerClassName).keydown(this._doKeyDown).keyup(this._doKeyUp).bind("setData.timepicker",function(e,n,i){t.settings[n]=i}).bind("getData.timepicker",function(e,n){return this._get(t,n)}),$.data(e,PROP_NAME,t))},_doKeyDown:function(e){var t=$.timepicker._getInst(e.target),n=!0;if(t._keyEvent=!0,$.timepicker._timepickerShowing)switch(e.keyCode){case 9:$.timepicker._hideTimepicker(),n=!1;break;case 13:return $.timepicker._updateSelectedValue(t),$.timepicker._hideTimepicker(),!1;case 27:$.timepicker._hideTimepicker();break;default:n=!1}else 36==e.keyCode&&e.ctrlKey?$.timepicker._showTimepicker(this):n=!1;n&&(e.preventDefault(),e.stopPropagation())},_doKeyUp:function(e){var t=$.timepicker._getInst(e.target);$.timepicker._setTimeFromField(t),$.timepicker._updateTimepicker(t)},_attachments:function(e,t){var n=this._get(t,"appendText"),i=this._get(t,"isRTL");t.append&&t.append.remove(),n&&(t.append=$('<span class="'+this._appendClass+'">'+n+"</span>"),e[i?"before":"after"](t.append)),e.unbind("focus.timepicker",this._showTimepicker),e.unbind("click.timepicker",this._adjustZIndex),t.trigger&&t.trigger.remove();var r=this._get(t,"showOn");if("focus"!=r&&"both"!=r||(e.bind("focus.timepicker",this._showTimepicker),e.bind("click.timepicker",this._adjustZIndex)),"button"==r||"both"==r){var a=this._get(t,"button");null==a&&(a=$('<button class="ui-timepicker-trigger" type="button">...</button>'),e.after(a)),$(a).bind("click.timepicker",function(){return $.timepicker._timepickerShowing&&$.timepicker._lastInput==e[0]?$.timepicker._hideTimepicker():t.input.is(":disabled")||$.timepicker._showTimepicker(e[0]),!1})}},_inlineTimepicker:function(e,t){var n=$(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(t.tpDiv).bind("setData.timepicker",function(e,n,i){t.settings[n]=i}).bind("getData.timepicker",function(e,n){return this._get(t,n)}),$.data(e,PROP_NAME,t),this._setTimeFromField(t),this._updateTimepicker(t),t.tpDiv.show())},_adjustZIndex:function(e){e=e.target||e;var t=$.timepicker._getInst(e);t.tpDiv.css("zIndex",$.timepicker._getZIndex(e)+1)},_showTimepicker:function(e){if(e=e.target||e,"input"!=e.nodeName.toLowerCase()&&(e=$("input",e.parentNode)[0]),!$.timepicker._isDisabledTimepicker(e)&&$.timepicker._lastInput!=e){$.timepicker._hideTimepicker();var t=$.timepicker._getInst(e);$.timepicker._curInst&&$.timepicker._curInst!=t&&$.timepicker._curInst.tpDiv.stop(!0,!0);var n=$.timepicker._get(t,"beforeShow");extendRemove(t.settings,n?n.apply(e,[e,t]):{}),t.lastVal=null,$.timepicker._lastInput=e,$.timepicker._setTimeFromField(t),$.timepicker._inDialog&&(e.value=""),$.timepicker._pos||($.timepicker._pos=$.timepicker._findPos(e),$.timepicker._pos[1]+=e.offsetHeight);var i=!1;$(e).parents().each(function(){return i|="fixed"==$(this).css("position"),!i});var r={left:$.timepicker._pos[0],top:$.timepicker._pos[1]};if($.timepicker._pos=null,t.tpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.timepicker._updateTimepicker(t),!t.inline&&"object"==typeof $.ui.position){t.tpDiv.position({of:t.input,my:$.timepicker._get(t,"myPosition"),at:$.timepicker._get(t,"atPosition"),collision:"flip"});var r=t.tpDiv.offset();$.timepicker._pos=[r.top,r.left]}if(t._hoursClicked=!1,t._minutesClicked=!1,r=$.timepicker._checkOffset(t,r,i),t.tpDiv.css({position:$.timepicker._inDialog&&$.blockUI?"static":i?"fixed":"absolute",display:"none",left:r.left+"px",top:r.top+"px"}),!t.inline){var a=$.timepicker._get(t,"showAnim"),s=$.timepicker._get(t,"duration"),o=function(){$.timepicker._timepickerShowing=!0;var e=$.timepicker._getBorders(t.tpDiv);t.tpDiv.find("iframe.ui-timepicker-cover").css({left:-e[0],top:-e[1],width:t.tpDiv.outerWidth(),height:t.tpDiv.outerHeight()})};$.timepicker._adjustZIndex(e),$.effects&&$.effects[a]?t.tpDiv.show(a,$.timepicker._get(t,"showOptions"),s,o):t.tpDiv.show(a?s:null,o),a&&s||o(),t.input.is(":visible")&&!t.input.is(":disabled")&&t.input.focus(),$.timepicker._curInst=t}}},_getZIndex:function(e){for(var t,n,i=$(e),r=0;i.length&&i[0]!==document;)t=i.css("position"),"absolute"!==t&&"relative"!==t&&"fixed"!==t||(n=parseInt(i.css("zIndex"),10),isNaN(n)||0===n||n>r&&(r=n)),i=i.parent();return r},_refreshTimepicker:function(e){var t=this._getInst(e);t&&this._updateTimepicker(t)},_updateTimepicker:function(e){e.tpDiv.empty().append(this._generateHTML(e)),this._rebindDialogEvents(e)},_rebindDialogEvents:function(e){var t=$.timepicker._getBorders(e.tpDiv),n=this;e.tpDiv.find("iframe.ui-timepicker-cover").css({left:-t[0],top:-t[1],width:e.tpDiv.outerWidth(),height:e.tpDiv.outerHeight()}).end().find(".ui-timepicker-minute-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.timepicker.selectMinutes,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.timepicker.selectMinutes,this)).end().find(".ui-timepicker-hour-cell").unbind().bind("click",{fromDoubleClick:!1},$.proxy($.timepicker.selectHours,this)).bind("dblclick",{fromDoubleClick:!0},$.proxy($.timepicker.selectHours,this)).end().find(".ui-timepicker td a").unbind().bind("mouseout",function(){$(this).removeClass("ui-state-hover"),this.className.indexOf("ui-timepicker-prev")!=-1&&$(this).removeClass("ui-timepicker-prev-hover"),this.className.indexOf("ui-timepicker-next")!=-1&&$(this).removeClass("ui-timepicker-next-hover")}).bind("mouseover",function(){n._isDisabledTimepicker(e.inline?e.tpDiv.parent()[0]:e.input[0])||($(this).parents(".ui-timepicker-calendar").find("a").removeClass("ui-state-hover"),$(this).addClass("ui-state-hover"),this.className.indexOf("ui-timepicker-prev")!=-1&&$(this).addClass("ui-timepicker-prev-hover"),this.className.indexOf("ui-timepicker-next")!=-1&&$(this).addClass("ui-timepicker-next-hover"))}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end().find(".ui-timepicker-now").bind("click",function(e){$.timepicker.selectNow(e)}).end().find(".ui-timepicker-deselect").bind("click",function(e){$.timepicker.deselectTime(e)}).end().find(".ui-timepicker-close").bind("click",function(e){$.timepicker._hideTimepicker()}).end()},_generateHTML:function(e){var t,n,i,r,a=1==this._get(e,"showPeriod"),s=1==this._get(e,"showPeriodLabels"),o=1==this._get(e,"showLeadingZero"),l=1==this._get(e,"showHours"),u=1==this._get(e,"showMinutes"),c=this._get(e,"amPmText"),d=this._get(e,"rows"),h=0,p=0,m=0,f=0,g=0,v=0,y=Array(),_=this._get(e,"hours"),b=null,T=0,M=this._get(e,"hourText"),w=this._get(e,"showCloseButton"),$=this._get(e,"closeButtonText"),D=this._get(e,"showNowButton"),k=this._get(e,"nowButtonText"),L=this._get(e,"showDeselectButton"),x=this._get(e,"deselectButtonText"),S=w||D||L;for(t=_.starts;t<=_.ends;t++)y.push(t);if(b=Math.ceil(y.length/d),s){for(T=0;T<y.length;T++)y[T]<12?m++:f++;T=0,h=Math.floor(m/y.length*d),p=Math.floor(f/y.length*d),d!=h+p&&(m&&(!f||!h||p&&m/h>=f/p)?h++:p++),g=Math.min(h,1),v=h+1,b=0==h?Math.ceil(f/p):0==p?Math.ceil(m/h):Math.ceil(Math.max(m/h,f/p))}if(r='<table class="ui-timepicker-table ui-widget-content ui-corner-all"><tr>',l){for(r+='<td class="ui-timepicker-hours"><div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+M+'</div><table class="ui-timepicker">',n=1;n<=d;n++){for(r+="<tr>",n==g&&s&&(r+='<th rowspan="'+h.toString()+'" class="periods" scope="row">'+c[0]+"</th>"),n==v&&s&&(r+='<th rowspan="'+p.toString()+'" class="periods" scope="row">'+c[1]+"</th>"),i=1;i<=b;i++)s&&n<v&&y[T]>=12?r+=this._generateHTMLHourCell(e,void 0,a,o):(r+=this._generateHTMLHourCell(e,y[T],a,o),T++);r+="</tr>"}r+="</table></td>"}if(u&&(r+='<td class="ui-timepicker-minutes">',r+=this._generateHTMLMinutes(e),r+="</td>"),r+="</tr>",S){var C='<tr><td colspan="3"><div class="ui-timepicker-buttonpane ui-widget-content">';D&&(C+='<button type="button" class="ui-timepicker-now ui-state-default ui-corner-all" data-timepicker-instance-id="#'+e.id.replace(/\\\\/g,"\\")+'" >'+k+"</button>"),L&&(C+='<button type="button" class="ui-timepicker-deselect ui-state-default ui-corner-all" data-timepicker-instance-id="#'+e.id.replace(/\\\\/g,"\\")+'" >'+x+"</button>"),w&&(C+='<button type="button" class="ui-timepicker-close ui-state-default ui-corner-all" data-timepicker-instance-id="#'+e.id.replace(/\\\\/g,"\\")+'" >'+$+"</button>"),r+=C+"</div></td></tr>"}return r+="</table>"},_updateMinuteDisplay:function(e){var t=this._generateHTMLMinutes(e);e.tpDiv.find("td.ui-timepicker-minutes").html(t),this._rebindDialogEvents(e)},_generateHTMLMinutes:function(e){var t,n,r="",a=this._get(e,"rows"),s=Array(),o=this._get(e,"minutes"),l=null,u=0,c=1==this._get(e,"showMinutesLeadingZero"),d=this._get(e,"onMinuteShow"),h=this._get(e,"minuteText");for(o.starts||(o.starts=0),o.ends||(o.ends=59),o.manual||(o.manual=[]),t=o.starts;t<=o.ends;t+=o.interval)s.push(t);for(i=0;i<o.manual.length;i++){var p=o.manual[i];"number"!=typeof p||p<0||p>59||$.inArray(p,s)>=0||s.push(p)}if(s.sort(function(e,t){return e-t}),l=Math.round(s.length/a+.49),d&&0==d.apply(e.input?e.input[0]:null,[e.hours,e.minutes]))for(u=0;u<s.length;u+=1)if(t=s[u],d.apply(e.input?e.input[0]:null,[e.hours,t])){e.minutes=t;break}for(r+='<div class="ui-timepicker-title ui-widget-header ui-helper-clearfix ui-corner-all">'+h+'</div><table class="ui-timepicker">',u=0,n=1;n<=a;n++){for(r+="<tr>";u<n*l;){var t=s[u],m="";void 0!==t&&(m=t<10&&c?"0"+t.toString():t.toString()),r+=this._generateHTMLMinuteCell(e,t,m),u++}r+="</tr>"}return r+="</table>"},_generateHTMLHourCell:function(e,t,n,i){var r=t;t>12&&n&&(r=t-12),0==r&&n&&(r=12),r<10&&i&&(r="0"+r);var a="",s=!0,o=this._get(e,"onHourShow"),l=this._get(e,"maxTime"),u=this._get(e,"minTime");return void 0==t?a='<td><span class="ui-state-default ui-state-disabled"> </span></td>':(o&&(s=o.apply(e.input?e.input[0]:null,[t])),s&&(!isNaN(parseInt(l.hour))&&t>l.hour&&(s=!1),!isNaN(parseInt(u.hour))&&t<u.hour&&(s=!1)),a=s?'<td class="ui-timepicker-hour-cell" data-timepicker-instance-id="#'+e.id.replace(/\\\\/g,"\\")+'" data-hour="'+t.toString()+'"><a class="ui-state-default '+(t==e.hours?"ui-state-active":"")+'">'+r.toString()+"</a></td>":'<td><span class="ui-state-default ui-state-disabled '+(t==e.hours?" ui-state-active ":" ")+'">'+r.toString()+"</span></td>")},_generateHTMLMinuteCell:function(e,t,n){var i="",r=!0,a=e.hours,s=this._get(e,"onMinuteShow"),o=this._get(e,"maxTime"),l=this._get(e,"minTime");return s&&(r=s.apply(e.input?e.input[0]:null,[e.hours,t])),void 0==t?i='<td><span class="ui-state-default ui-state-disabled"> </span></td>':(r&&null!==a&&(!isNaN(parseInt(o.hour))&&!isNaN(parseInt(o.minute))&&a>=o.hour&&t>o.minute&&(r=!1),!isNaN(parseInt(l.hour))&&!isNaN(parseInt(l.minute))&&a<=l.hour&&t<l.minute&&(r=!1)),i=r?'<td class="ui-timepicker-minute-cell" data-timepicker-instance-id="#'+e.id.replace(/\\\\/g,"\\")+'" data-minute="'+t.toString()+'" ><a class="ui-state-default '+(t==e.minutes?"ui-state-active":"")+'" >'+n+"</a></td>":'<td><span class="ui-state-default ui-state-disabled" >'+n+"</span></td>")},_destroyTimepicker:function(e){var t=$(e),n=$.data(e,PROP_NAME);if(t.hasClass(this.markerClassName)){var i=e.nodeName.toLowerCase();$.removeData(e,PROP_NAME),"input"==i?(n.append.remove(),n.trigger.remove(),t.removeClass(this.markerClassName).unbind("focus.timepicker",this._showTimepicker).unbind("click.timepicker",this._adjustZIndex)):"div"!=i&&"span"!=i||t.removeClass(this.markerClassName).empty()}},_enableTimepicker:function(e){var t=$(e),n=t.attr("id"),i=$.data(e,PROP_NAME);if(t.hasClass(this.markerClassName)){var r=e.nodeName.toLowerCase();if("input"==r){e.disabled=!1;var a=this._get(i,"button");$(a).removeClass("ui-state-disabled").disabled=!1,i.trigger.filter("button").each(function(){this.disabled=!1}).end()}else if("div"==r||"span"==r){var s=t.children("."+this._inlineClass);s.children().removeClass("ui-state-disabled"),s.find("button").each(function(){this.disabled=!1})}this._disabledInputs=$.map(this._disabledInputs,function(e){return e==n?null:e})}},_disableTimepicker:function(e){var t=$(e),n=$.data(e,PROP_NAME);if(t.hasClass(this.markerClassName)){var i=e.nodeName.toLowerCase();if("input"==i){var r=this._get(n,"button");$(r).addClass("ui-state-disabled").disabled=!0,e.disabled=!0,n.trigger.filter("button").each(function(){this.disabled=!0}).end()}else if("div"==i||"span"==i){var a=t.children("."+this._inlineClass);a.children().addClass("ui-state-disabled"),a.find("button").each(function(){this.disabled=!0})}this._disabledInputs=$.map(this._disabledInputs,function(t){return t==e?null:t}),this._disabledInputs[this._disabledInputs.length]=t.attr("id")}},_isDisabledTimepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]==e)return!0;return!1},_checkOffset:function(e,t,n){var i=e.tpDiv.outerWidth(),r=e.tpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,s=e.input?e.input.outerHeight():0,o=document.documentElement.clientWidth+$(document).scrollLeft(),l=document.documentElement.clientHeight+$(document).scrollTop();return t.left-=this._get(e,"isRTL")?i-a:0,t.left-=n&&t.left==e.input.offset().left?$(document).scrollLeft():0,t.top-=n&&t.top==e.input.offset().top+s?$(document).scrollTop():0,t.left-=Math.min(t.left,t.left+i>o&&o>i?Math.abs(t.left+i-o):0),t.top-=Math.min(t.top,t.top+r>l&&l>r?Math.abs(r+s):0),t},_findPos:function(e){for(var t=this._getInst(e),n=this._get(t,"isRTL");e&&("hidden"==e.type||1!=e.nodeType);)e=e[n?"previousSibling":"nextSibling"];var i=$(e).offset();return[i.left,i.top]},_getBorders:function(e){var t=function(e){return{thin:1,medium:2,thick:3}[e]||e};return[parseFloat(t(e.css("border-left-width"))),parseFloat(t(e.css("border-top-width")))]},_checkExternalClick:function(e){if($.timepicker._curInst){var t=$(e.target);t[0].id==$.timepicker._mainDivId||0!=t.parents("#"+$.timepicker._mainDivId).length||t.hasClass($.timepicker.markerClassName)||t.hasClass($.timepicker._triggerClass)||!$.timepicker._timepickerShowing||$.timepicker._inDialog&&$.blockUI||$.timepicker._hideTimepicker()}},_hideTimepicker:function(e){var t=this._curInst;if(t&&(!e||t==$.data(e,PROP_NAME))&&this._timepickerShowing){var n=this._get(t,"showAnim"),i=this._get(t,"duration"),r=function(){$.timepicker._tidyDialog(t),this._curInst=null};$.effects&&$.effects[n]?t.tpDiv.hide(n,$.timepicker._get(t,"showOptions"),i,r):t.tpDiv["slideDown"==n?"slideUp":"fadeIn"==n?"fadeOut":"hide"](n?i:null,r),n||r(),this._timepickerShowing=!1,this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI&&($.unblockUI(),$("body").append(this.tpDiv))),this._inDialog=!1;var a=this._get(t,"onClose");a&&a.apply(t.input?t.input[0]:null,[t.input?t.input.val():"",t])}},_tidyDialog:function(e){e.tpDiv.removeClass(this._dialogClass).unbind(".ui-timepicker")},_getInst:function(e){try{return $.data(e,PROP_NAME)}catch(e){throw"Missing instance data for this timepicker"}},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setTimeFromField:function(e){if(e.input.val()!=e.lastVal){var t=this._get(e,"defaultTime"),n="now"==t?this._getCurrentTimeRounded(e):t;if(0==e.inline&&""!=e.input.val()&&(n=e.input.val()),n instanceof Date)e.hours=n.getHours(),e.minutes=n.getMinutes();else{var i=e.lastVal=n;if(""==n)e.hours=-1,e.minutes=-1;else{var r=this.parseTime(e,i);e.hours=r.hours,e.minutes=r.minutes}}$.timepicker._updateTimepicker(e)}},_optionTimepicker:function(e,t,n){var i=this._getInst(e);if(2==arguments.length&&"string"==typeof t)return"defaults"==t?$.extend({},$.timepicker._defaults):i?"all"==t?$.extend({},i.settings):this._get(i,t):null;var r=t||{};"string"==typeof t&&(r={},r[t]=n),i&&(extendRemove(i.settings,r),this._curInst==i&&(this._hideTimepicker(),this._updateTimepicker(i)),i.inline&&this._updateTimepicker(i))},_setTimeTimepicker:function(e,t){var n=this._getInst(e);n&&(this._setTime(n,t),this._updateTimepicker(n),this._updateAlternate(n,t))},_setTime:function(e,t,n){var i=e.hours,r=e.minutes;if(t instanceof Date)e.hours=t.getHours(),e.minutes=t.getMinutes();else{var t=this.parseTime(e,t);e.hours=t.hours,e.minutes=t.minutes}i==e.hours&&r==e.minutes||n||e.input.trigger("change"),this._updateTimepicker(e),this._updateSelectedValue(e)},_getCurrentTimeRounded:function(e){var t=new Date,n=t.getMinutes(),i=this._get(e,"minutes"),r=Math.round(n/i.interval)*i.interval;return t.setMinutes(r),t},parseTime:function(e,t){var n=new Object;if(n.hours=-1,n.minutes=-1,!t)return"";var i=this._get(e,"timeSeparator"),r=this._get(e,"amPmText"),a=this._get(e,"showHours"),s=this._get(e,"showMinutes"),o=this._get(e,"optionalMinutes"),l=1==this._get(e,"showPeriod"),u=t.indexOf(i);if(u!=-1?(n.hours=parseInt(t.substr(0,u),10),n.minutes=parseInt(t.substr(u+1),10)):!a||s&&!o?!a&&s&&(n.minutes=parseInt(t,10)):n.hours=parseInt(t,10),a){var c=t.toUpperCase();n.hours<12&&l&&c.indexOf(r[1].toUpperCase())!=-1&&(n.hours+=12),12==n.hours&&l&&c.indexOf(r[0].toUpperCase())!=-1&&(n.hours=0)}return n},selectNow:function(e){var t=$(e.target).attr("data-timepicker-instance-id"),n=$(t),i=this._getInst(n[0]),r=new Date;i.hours=r.getHours(),i.minutes=r.getMinutes(),this._updateSelectedValue(i),this._updateTimepicker(i),this._hideTimepicker()},deselectTime:function(e){var t=$(e.target).attr("data-timepicker-instance-id"),n=$(t),i=this._getInst(n[0]);i.hours=-1,i.minutes=-1,this._updateSelectedValue(i),this._hideTimepicker()},selectHours:function(e){var t=$(e.currentTarget),n=t.attr("data-timepicker-instance-id"),i=parseInt(t.attr("data-hour")),r=e.data.fromDoubleClick,a=$(n),s=this._getInst(a[0]),o=1==this._get(s,"showMinutes");if($.timepicker._isDisabledTimepicker(a.attr("id")))return!1;t.parents(".ui-timepicker-hours:first").find("a").removeClass("ui-state-active"),t.children("a").addClass("ui-state-active"),s.hours=i;var l=this._get(s,"onMinuteShow"),u=this._get(s,"maxTime"),c=this._get(s,"minTime");return!l&&isNaN(parseInt(u.minute))&&isNaN(parseInt(c.minute))||this._updateMinuteDisplay(s),this._updateSelectedValue(s),s._hoursClicked=!0,(s._minutesClicked||r||0==o)&&$.timepicker._hideTimepicker(),!1},selectMinutes:function(e){var t=$(e.currentTarget),n=t.attr("data-timepicker-instance-id"),i=parseInt(t.attr("data-minute")),r=e.data.fromDoubleClick,a=$(n),s=this._getInst(a[0]),o=1==this._get(s,"showHours");return!$.timepicker._isDisabledTimepicker(a.attr("id"))&&(t.parents(".ui-timepicker-minutes:first").find("a").removeClass("ui-state-active"),t.children("a").addClass("ui-state-active"),s.minutes=i,this._updateSelectedValue(s),s._minutesClicked=!0,!(!s._hoursClicked&&!r&&0!=o)&&($.timepicker._hideTimepicker(),!1))},_updateSelectedValue:function(e){var t=this._getParsedTime(e);e.input&&(e.input.val(t),e.input.trigger("change"));var n=this._get(e,"onSelect");return n&&n.apply(e.input?e.input[0]:null,[t,e]),this._updateAlternate(e,t),t},_getParsedTime:function(e){if(e.hours==-1&&e.minutes==-1)return"";(e.hours<e.hours.starts||e.hours>e.hours.ends)&&(e.hours=0),(e.minutes<e.minutes.starts||e.minutes>e.minutes.ends)&&(e.minutes=0);var t="",n=1==this._get(e,"showPeriod"),i=1==this._get(e,"showLeadingZero"),r=1==this._get(e,"showHours"),a=1==this._get(e,"showMinutes"),s=1==this._get(e,"optionalMinutes"),o=this._get(e,"amPmText"),l=e.hours?e.hours:0,u=e.minutes?e.minutes:0,c=l?l:0,d="";c==-1&&(c=0),u==-1&&(u=0),n&&(0==e.hours&&(c=12),e.hours<12?t=o[0]:(t=o[1],c>12&&(c-=12)));var h=c.toString();i&&c<10&&(h="0"+h);var p=u.toString();return u<10&&(p="0"+p),r&&(d+=h),!r||!a||s&&0==p||(d+=this._get(e,"timeSeparator")),!a||s&&0==p||(d+=p),r&&t.length>0&&(d+=this._get(e,"periodSeparator")+t),d},_updateAlternate:function(e,t){var n=this._get(e,"altField");n&&$(n).each(function(e,n){$(n).val(t)})},_getTimeAsDateTimepicker:function(e){var t=this._getInst(e);return t.hours==-1&&t.minutes==-1?"":((t.hours<t.hours.starts||t.hours>t.hours.ends)&&(t.hours=0),(t.minutes<t.minutes.starts||t.minutes>t.minutes.ends)&&(t.minutes=0),new Date(0,0,0,t.hours,t.minutes,0))},_getTimeTimepicker:function(e){var t=this._getInst(e);return this._getParsedTime(t)},_getHourTimepicker:function(e){var t=this._getInst(e);return void 0==t?-1:t.hours},_getMinuteTimepicker:function(e){var t=this._getInst(e);return void 0==t?-1:t.minutes}}),$.fn.timepicker=function(e){$.timepicker.initialized||($(document).mousedown($.timepicker._checkExternalClick),$.timepicker.initialized=!0),0===$("#"+$.timepicker._mainDivId).length&&$("body").append($.timepicker.tpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"getTime"!=e&&"getTimeAsDate"!=e&&"getHour"!=e&&"getMinute"!=e?"option"==e&&2==arguments.length&&"string"==typeof arguments[1]?$.timepicker["_"+e+"Timepicker"].apply($.timepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?$.timepicker["_"+e+"Timepicker"].apply($.timepicker,[this].concat(t)):$.timepicker._attachTimepicker(this,e)}):$.timepicker["_"+e+"Timepicker"].apply($.timepicker,[this[0]].concat(t))},$.timepicker=new Timepicker,$.timepicker.initialized=!1,$.timepicker.uuid=(new Date).getTime(),$.timepicker.version="0.3.3",window["TP_jQuery_"+tpuuid]=$}(jQuery),function(e){var t=function(){"use strict";var e="s",n={DAY:864e5,HOUR:36e5,MINUTE:6e4,SECOND:1e3,BASELINE_YEAR:2014,MAX_SCORE:864e6,AMBIGUITIES:{"America/Denver":["America/Mazatlan"],"Europe/London":["Africa/Casablanca"],"America/Chicago":["America/Mexico_City"],"America/Asuncion":["America/Campo_Grande","America/Santiago"],"America/Montevideo":["America/Sao_Paulo","America/Santiago"],"Asia/Beirut":["Asia/Amman","Asia/Jerusalem","Europe/Helsinki","Asia/Damascus","Africa/Cairo","Asia/Gaza","Europe/Minsk"],"Pacific/Auckland":["Pacific/Fiji"],"America/Los_Angeles":["America/Santa_Isabel"],"America/New_York":["America/Havana"],"America/Halifax":["America/Goose_Bay"],"America/Godthab":["America/Miquelon"],"Asia/Dubai":["Asia/Yerevan"],"Asia/Jakarta":["Asia/Krasnoyarsk"],"Asia/Shanghai":["Asia/Irkutsk","Australia/Perth"],"Australia/Sydney":["Australia/Lord_Howe"],"Asia/Tokyo":["Asia/Yakutsk"],"Asia/Dhaka":["Asia/Omsk"],"Asia/Baku":["Asia/Yerevan"],"Australia/Brisbane":["Asia/Vladivostok"],"Pacific/Noumea":["Asia/Vladivostok"],"Pacific/Majuro":["Asia/Kamchatka","Pacific/Fiji"],"Pacific/Tongatapu":["Pacific/Apia"],"Asia/Baghdad":["Europe/Minsk","Europe/Moscow"],"Asia/Karachi":["Asia/Yekaterinburg"],"Africa/Johannesburg":["Asia/Gaza","Africa/Cairo"]}},i=function(e){var t=-e.getTimezoneOffset();return null!==t?t:0},r=function(){var t=i(new Date(n.BASELINE_YEAR,0,2)),r=i(new Date(n.BASELINE_YEAR,5,2)),a=t-r;return a<0?t+",1":a>0?r+",1,"+e:t+",0"},a=function(){var e,t;if("undefined"!=typeof Intl&&"undefined"!=typeof Intl.DateTimeFormat&&(e=Intl.DateTimeFormat(),"undefined"!=typeof e&&"undefined"!=typeof e.resolvedOptions))return t=e.resolvedOptions().timeZone,t&&(t.indexOf("/")>-1||"UTC"===t)?t:void 0},s=function(e){for(var t=new Date(e,0,1,0,0,1,0).getTime(),n=new Date(e,12,31,23,59,59).getTime(),i=t,r=new Date(i).getTimezoneOffset(),a=null,s=null;i<n-864e5;){var l=new Date(i),u=l.getTimezoneOffset();u!==r&&(u<r&&(a=l),u>r&&(s=l),r=u),i+=864e5}return!(!a||!s)&&{s:o(a).getTime(),e:o(s).getTime()}},o=function e(t,i,r){"undefined"==typeof i&&(i=n.DAY,r=n.HOUR);for(var a=new Date(t.getTime()-i).getTime(),s=t.getTime()+i,o=new Date(a).getTimezoneOffset(),l=a,u=null;l<s-r;){var c=new Date(l),d=c.getTimezoneOffset();if(d!==o){u=c;break}l+=r}return i===n.DAY?e(u,n.HOUR,n.MINUTE):i===n.HOUR?e(u,n.MINUTE,n.SECOND):u},l=function(e,t,n,i){if("N/A"!==n)return n;if("Asia/Beirut"===t){if("Africa/Cairo"===i.name&&13983768e5===e[6].s&&14116788e5===e[6].e)return 0;if("Asia/Jerusalem"===i.name&&13959648e5===e[6].s&&14118588e5===e[6].e)return 0}else if("America/Santiago"===t){if("America/Asuncion"===i.name&&14124816e5===e[6].s&&1397358e6===e[6].e)return 0;if("America/Campo_Grande"===i.name&&14136912e5===e[6].s&&13925196e5===e[6].e)return 0}else if("America/Montevideo"===t){if("America/Sao_Paulo"===i.name&&14136876e5===e[6].s&&1392516e6===e[6].e)return 0}else if("Pacific/Auckland"===t&&"Pacific/Fiji"===i.name&&14142456e5===e[6].s&&13961016e5===e[6].e)return 0;return n},u=function(e,i){for(var r=function(t){for(var r=0,a=0;a<e.length;a++)if(t.rules[a]&&e[a]){if(!(e[a].s>=t.rules[a].s&&e[a].e<=t.rules[a].e)){r="N/A";break}if(r=0,r+=Math.abs(e[a].s-t.rules[a].s),r+=Math.abs(t.rules[a].e-e[a].e),r>n.MAX_SCORE){r="N/A";break}}return r=l(e,i,r,t)},a={},s=t.olson.dst_rules.zones,o=s.length,u=n.AMBIGUITIES[i],c=0;c<o;c++){var d=s[c],h=r(s[c]);"N/A"!==h&&(a[d.name]=h)}for(var p in a)if(a.hasOwnProperty(p))for(var m=0;m<u.length;m++)if(u[m]===p)return p;return i},c=function(e){var n=function(){for(var e=[],n=0;n<t.olson.dst_rules.years.length;n++){var i=s(t.olson.dst_rules.years[n]);e.push(i)}return e},i=function(e){for(var t=0;t<e.length;t++)if(e[t]!==!1)return!0;return!1},r=n(),a=i(r);return a?u(r,e):e},d=function(){var e=a();return e||(e=t.olson.timezones[r()],"undefined"!=typeof n.AMBIGUITIES[e]&&(e=c(e))),{name:function(){return e}}};return{determine:d}}();t.olson=t.olson||{},t.olson.timezones={"-720,0":"Etc/GMT+12","-660,0":"Pacific/Pago_Pago","-660,1,s":"Pacific/Apia","-600,1":"America/Adak","-600,0":"Pacific/Honolulu","-570,0":"Pacific/Marquesas","-540,0":"Pacific/Gambier","-540,1":"America/Anchorage","-480,1":"America/Los_Angeles","-480,0":"Pacific/Pitcairn","-420,0":"America/Phoenix","-420,1":"America/Denver","-360,0":"America/Guatemala","-360,1":"America/Chicago","-360,1,s":"Pacific/Easter","-300,0":"America/Bogota","-300,1":"America/New_York","-270,0":"America/Caracas","-240,1":"America/Halifax","-240,0":"America/Santo_Domingo","-240,1,s":"America/Asuncion","-210,1":"America/St_Johns","-180,1":"America/Godthab","-180,0":"America/Argentina/Buenos_Aires","-180,1,s":"America/Montevideo","-120,0":"America/Noronha","-120,1":"America/Noronha","-60,1":"Atlantic/Azores","-60,0":"Atlantic/Cape_Verde","0,0":"UTC","0,1":"Europe/London","60,1":"Europe/Berlin","60,0":"Africa/Lagos","60,1,s":"Africa/Windhoek","120,1":"Asia/Beirut","120,0":"Africa/Johannesburg","180,0":"Asia/Baghdad","180,1":"Europe/Moscow","210,1":"Asia/Tehran","240,0":"Asia/Dubai","240,1":"Asia/Baku","270,0":"Asia/Kabul","300,1":"Asia/Yekaterinburg","300,0":"Asia/Karachi","330,0":"Asia/Kolkata","345,0":"Asia/Kathmandu","360,0":"Asia/Dhaka","360,1":"Asia/Omsk","390,0":"Asia/Rangoon","420,1":"Asia/Krasnoyarsk","420,0":"Asia/Jakarta","480,0":"Asia/Shanghai","480,1":"Asia/Irkutsk","525,0":"Australia/Eucla","525,1,s":"Australia/Eucla","540,1":"Asia/Yakutsk","540,0":"Asia/Tokyo","570,0":"Australia/Darwin","570,1,s":"Australia/Adelaide","600,0":"Australia/Brisbane","600,1":"Asia/Vladivostok","600,1,s":"Australia/Sydney","630,1,s":"Australia/Lord_Howe","660,1":"Asia/Kamchatka","660,0":"Pacific/Noumea","690,0":"Pacific/Norfolk","720,1,s":"Pacific/Auckland","720,0":"Pacific/Majuro","765,1,s":"Pacific/Chatham","780,0":"Pacific/Tongatapu","780,1,s":"Pacific/Apia","840,0":"Pacific/Kiritimati"},t.olson.dst_rules={years:[2008,2009,2010,2011,2012,2013,2014],zones:[{name:"Africa/Cairo",rules:[{e:12199572e5,s:12090744e5},{e:1250802e6,s:1240524e6},{e:12858804e5,s:12840696e5},!1,!1,!1,{e:14116788e5,s:1406844e6}]},{name:"Africa/Casablanca",rules:[{e:12202236e5,s:12122784e5},{e:12508092e5,s:12438144e5},{e:1281222e6,s:12727584e5},{e:13120668e5,s:13017888e5},{e:13489704e5,s:1345428e6},{e:13828392e5,s:13761e8},{e:14142888e5,s:14069448e5}]},{name:"America/Asuncion",rules:[{e:12050316e5,s:12243888e5},{e:12364812e5,s:12558384e5},{e:12709548e5,s:12860784e5},{e:13024044e5,s:1317528e6},{e:1333854e6,s:13495824e5},{e:1364094e6,s:1381032e6},{e:13955436e5,s:14124816e5}]},{name:"America/Campo_Grande",rules:[{e:12032172e5,s:12243888e5},{e:12346668e5,s:12558384e5},{e:12667212e5,s:1287288e6},{e:12981708e5,s:13187376e5},{e:13302252e5,s:1350792e6},{e:136107e7,s:13822416e5},{e:13925196e5, s:14136912e5}]},{name:"America/Goose_Bay",rules:[{e:122559486e4,s:120503526e4},{e:125704446e4,s:123648486e4},{e:128909886e4,s:126853926e4},{e:13205556e5,s:129998886e4},{e:13520052e5,s:13314456e5},{e:13834548e5,s:13628952e5},{e:14149044e5,s:13943448e5}]},{name:"America/Havana",rules:[{e:12249972e5,s:12056436e5},{e:12564468e5,s:12364884e5},{e:12885012e5,s:12685428e5},{e:13211604e5,s:13005972e5},{e:13520052e5,s:13332564e5},{e:13834548e5,s:13628916e5},{e:14149044e5,s:13943412e5}]},{name:"America/Mazatlan",rules:[{e:1225008e6,s:12074724e5},{e:12564576e5,s:1238922e6},{e:1288512e6,s:12703716e5},{e:13199616e5,s:13018212e5},{e:13514112e5,s:13332708e5},{e:13828608e5,s:13653252e5},{e:14143104e5,s:13967748e5}]},{name:"America/Mexico_City",rules:[{e:12250044e5,s:12074688e5},{e:1256454e6,s:12389184e5},{e:12885084e5,s:1270368e6},{e:1319958e6,s:13018176e5},{e:13514076e5,s:13332672e5},{e:13828572e5,s:13653216e5},{e:14143068e5,s:13967712e5}]},{name:"America/Miquelon",rules:[{e:12255984e5,s:12050388e5},{e:1257048e6,s:12364884e5},{e:12891024e5,s:12685428e5},{e:1320552e6,s:12999924e5},{e:13520016e5,s:1331442e6},{e:13834512e5,s:13628916e5},{e:14149008e5,s:13943412e5}]},{name:"America/Santa_Isabel",rules:[{e:12250116e5,s:1207476e6},{e:12564612e5,s:12389256e5},{e:12885156e5,s:12703752e5},{e:13199652e5,s:13018248e5},{e:13514148e5,s:13332744e5},{e:13828644e5,s:13653288e5},{e:1414314e6,s:13967784e5}]},{name:"America/Santiago",rules:[{e:1206846e6,s:1223784e6},{e:1237086e6,s:12552336e5},{e:127035e7,s:12866832e5},{e:13048236e5,s:13138992e5},{e:13356684e5,s:13465584e5},{e:1367118e6,s:13786128e5},{e:13985676e5,s:14100624e5}]},{name:"America/Sao_Paulo",rules:[{e:12032136e5,s:12243852e5},{e:12346632e5,s:12558348e5},{e:12667176e5,s:12872844e5},{e:12981672e5,s:1318734e6},{e:13302216e5,s:13507884e5},{e:13610664e5,s:1382238e6},{e:1392516e6,s:14136876e5}]},{name:"Asia/Amman",rules:[{e:1225404e6,s:12066552e5},{e:12568536e5,s:12381048e5},{e:12883032e5,s:12695544e5},{e:13197528e5,s:13016088e5},!1,!1,{e:14147064e5,s:13959576e5}]},{name:"Asia/Damascus",rules:[{e:12254868e5,s:120726e7},{e:125685e7,s:12381048e5},{e:12882996e5,s:12701592e5},{e:13197492e5,s:13016088e5},{e:13511988e5,s:13330584e5},{e:13826484e5,s:1364508e6},{e:14147028e5,s:13959576e5}]},{name:"Asia/Dubai",rules:[!1,!1,!1,!1,!1,!1,!1]},{name:"Asia/Gaza",rules:[{e:12199572e5,s:12066552e5},{e:12520152e5,s:12381048e5},{e:1281474e6,s:126964086e4},{e:1312146e6,s:130160886e4},{e:13481784e5,s:13330584e5},{e:13802292e5,s:1364508e6},{e:1414098e6,s:13959576e5}]},{name:"Asia/Irkutsk",rules:[{e:12249576e5,s:12068136e5},{e:12564072e5,s:12382632e5},{e:12884616e5,s:12697128e5},!1,!1,!1,!1]},{name:"Asia/Jerusalem",rules:[{e:12231612e5,s:12066624e5},{e:1254006e6,s:1238112e6},{e:1284246e6,s:12695616e5},{e:131751e7,s:1301616e6},{e:13483548e5,s:13330656e5},{e:13828284e5,s:13645152e5},{e:1414278e6,s:13959648e5}]},{name:"Asia/Kamchatka",rules:[{e:12249432e5,s:12067992e5},{e:12563928e5,s:12382488e5},{e:12884508e5,s:12696984e5},!1,!1,!1,!1]},{name:"Asia/Krasnoyarsk",rules:[{e:12249612e5,s:12068172e5},{e:12564108e5,s:12382668e5},{e:12884652e5,s:12697164e5},!1,!1,!1,!1]},{name:"Asia/Omsk",rules:[{e:12249648e5,s:12068208e5},{e:12564144e5,s:12382704e5},{e:12884688e5,s:126972e7},!1,!1,!1,!1]},{name:"Asia/Vladivostok",rules:[{e:12249504e5,s:12068064e5},{e:12564e8,s:1238256e6},{e:12884544e5,s:12697056e5},!1,!1,!1,!1]},{name:"Asia/Yakutsk",rules:[{e:1224954e6,s:120681e7},{e:12564036e5,s:12382596e5},{e:1288458e6,s:12697092e5},!1,!1,!1,!1]},{name:"Asia/Yekaterinburg",rules:[{e:12249684e5,s:12068244e5},{e:1256418e6,s:1238274e6},{e:12884724e5,s:12697236e5},!1,!1,!1,!1]},{name:"Asia/Yerevan",rules:[{e:1224972e6,s:1206828e6},{e:12564216e5,s:12382776e5},{e:1288476e6,s:12697272e5},{e:13199256e5,s:13011768e5},!1,!1,!1]},{name:"Australia/Lord_Howe",rules:[{e:12074076e5,s:12231342e5},{e:12388572e5,s:12545838e5},{e:12703068e5,s:12860334e5},{e:13017564e5,s:1317483e6},{e:1333206e6,s:13495374e5},{e:13652604e5,s:1380987e6},{e:139671e7,s:14124366e5}]},{name:"Australia/Perth",rules:[{e:12068136e5,s:12249576e5},!1,!1,!1,!1,!1,!1]},{name:"Europe/Helsinki",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]},{name:"Europe/Minsk",rules:[{e:12249792e5,s:12068352e5},{e:12564288e5,s:12382848e5},{e:12884832e5,s:12697344e5},!1,!1,!1,!1]},{name:"Europe/Moscow",rules:[{e:12249756e5,s:12068316e5},{e:12564252e5,s:12382812e5},{e:12884796e5,s:12697308e5},!1,!1,!1,!1]},{name:"Pacific/Apia",rules:[!1,!1,!1,{e:13017528e5,s:13168728e5},{e:13332024e5,s:13489272e5},{e:13652568e5,s:13803768e5},{e:13967064e5,s:14118264e5}]},{name:"Pacific/Fiji",rules:[!1,!1,{e:12696984e5,s:12878424e5},{e:13271544e5,s:1319292e6},{e:1358604e6,s:13507416e5},{e:139005e7,s:1382796e6},{e:14215032e5,s:14148504e5}]},{name:"Europe/London",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]}]},"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=t:"undefined"!=typeof define&&null!==define&&null!=define.amd?define([],function(){return t}):"undefined"==typeof e?window.jstz=t:e.jstz=t}(); //# sourceMappingURL=vendor.min.js.map
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings