UNPKG

@project-sunbird/collection-editor

Version:

Collection Editor to support content types like Book, Collection, Course, Lesson Plan

7 lines 1.68 MB
!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,n){!function(e,t){if(w[e]&&y[e]){for(var n in y[e]=!1,t)Object.prototype.hasOwnProperty.call(t,n)&&(f[n]=t[n]);0==--m&&0===v&&k()}}(e,n),t&&t(e,n)};var n,i=!0,r="301f8f0ff8864e1c2a8c",o=1e4,a={},s=[],l=[];function c(e){var t=S[e];if(!t)return T;var i=function(i){return t.hot.active?(S[i]?-1===S[i].parents.indexOf(e)&&S[i].parents.push(e):(s=[e],n=i),-1===t.children.indexOf(i)&&t.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+e),s=[]),T(i)},r=function(e){return{configurable:!0,enumerable:!0,get:function(){return T[e]},set:function(t){T[e]=t}}};for(var o in T)Object.prototype.hasOwnProperty.call(T,o)&&"e"!==o&&"t"!==o&&Object.defineProperty(i,o,r(o));return i.e=function(e){return"ready"===d&&h("prepare"),v++,T.e(e).then(t,function(e){throw t(),e});function t(){v--,"prepare"===d&&(b[e]||C(e),0===v&&0===m&&k())}},i.t=function(e,t){return 1&t&&(e=i(e)),T.t(e,-2&t)},i}var u=[],d="idle";function h(e){d=e;for(var t=0;t<u.length;t++)u[t].call(null,e)}var p,f,g,m=0,v=0,b={},y={},w={};function x(e){return+e+""===e?+e:e}function _(e){if("idle"!==d)throw new Error("check() is only allowed in idle status");return i=e,h("check"),(t=o,t=t||1e4,new Promise(function(e,n){if("undefined"==typeof XMLHttpRequest)return n(new Error("No browser support"));try{var i=new XMLHttpRequest,o=T.p+""+r+".hot-update.json";i.open("GET",o,!0),i.timeout=t,i.send(null)}catch(e){return n(e)}i.onreadystatechange=function(){if(4===i.readyState)if(0===i.status)n(new Error("Manifest request to "+o+" timed out."));else if(404===i.status)e();else if(200!==i.status&&304!==i.status)n(new Error("Manifest request to "+o+" failed."));else{try{var t=JSON.parse(i.responseText)}catch(e){return void n(e)}e(t)}}})).then(function(e){if(!e)return h("idle"),null;y={},b={},w=e.c,g=e.h,h("prepare");var t=new Promise(function(e,t){p={resolve:e,reject:t}});return f={},C(0),"prepare"===d&&0===v&&0===m&&k(),t});var t}function C(e){w[e]?(y[e]=!0,m++,function(e){var t=document.getElementsByTagName("head")[0],n=document.createElement("script");n.charset="utf-8",n.src=T.p+""+e+"."+r+".hot-update.js",t.appendChild(n)}(e)):b[e]=!0}function k(){h("ready");var e=p;if(p=null,e)if(i)Promise.resolve().then(function(){return E(i)}).then(function(t){e.resolve(t)},function(t){e.reject(t)});else{var t=[];for(var n in f)Object.prototype.hasOwnProperty.call(f,n)&&t.push(x(n));e.resolve(t)}}function E(t){if("ready"!==d)throw new Error("apply() is only allowed in ready status");var n,i,o,l,c;function u(e){for(var t=[e],n={},i=t.slice().map(function(e){return{chain:[e],id:e}});i.length>0;){var r=i.pop(),o=r.id,a=r.chain;if((l=S[o])&&!l.hot._selfAccepted){if(l.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:o};if(l.hot._main)return{type:"unaccepted",chain:a,moduleId:o};for(var s=0;s<l.parents.length;s++){var c=l.parents[s],u=S[c];if(u){if(u.hot._declinedDependencies[o])return{type:"declined",chain:a.concat([c]),moduleId:o,parentId:c};-1===t.indexOf(c)&&(u.hot._acceptedDependencies[o]?(n[c]||(n[c]=[]),p(n[c],[o])):(delete n[c],t.push(c),i.push({chain:a.concat([c]),id:c})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:n}}function p(e,t){for(var n=0;n<t.length;n++){var i=t[n];-1===e.indexOf(i)&&e.push(i)}}t=t||{};var m={},v=[],b={},y=function(){console.warn("[HMR] unexpected require("+C.moduleId+") to disposed module")};for(var _ in f)if(Object.prototype.hasOwnProperty.call(f,_)){var C;c=x(_);var k=!1,E=!1,$=!1,P="";switch((C=f[_]?u(c):{type:"disposed",moduleId:_}).chain&&(P="\nUpdate propagation: "+C.chain.join(" -> ")),C.type){case"self-declined":t.onDeclined&&t.onDeclined(C),t.ignoreDeclined||(k=new Error("Aborted because of self decline: "+C.moduleId+P));break;case"declined":t.onDeclined&&t.onDeclined(C),t.ignoreDeclined||(k=new Error("Aborted because of declined dependency: "+C.moduleId+" in "+C.parentId+P));break;case"unaccepted":t.onUnaccepted&&t.onUnaccepted(C),t.ignoreUnaccepted||(k=new Error("Aborted because "+c+" is not accepted"+P));break;case"accepted":t.onAccepted&&t.onAccepted(C),E=!0;break;case"disposed":t.onDisposed&&t.onDisposed(C),$=!0;break;default:throw new Error("Unexception type "+C.type)}if(k)return h("abort"),Promise.reject(k);if(E)for(c in b[c]=f[c],p(v,C.outdatedModules),C.outdatedDependencies)Object.prototype.hasOwnProperty.call(C.outdatedDependencies,c)&&(m[c]||(m[c]=[]),p(m[c],C.outdatedDependencies[c]));$&&(p(v,[C.moduleId]),b[c]=y)}var A,D=[];for(i=0;i<v.length;i++)c=v[i],S[c]&&S[c].hot._selfAccepted&&D.push({module:c,errorHandler:S[c].hot._selfAccepted});h("dispose"),Object.keys(w).forEach(function(e){!1===w[e]&&function(e){delete installedChunks[e]}(e)});for(var M,O,R=v.slice();R.length>0;)if(c=R.pop(),l=S[c]){var I={},F=l.hot._disposeHandlers;for(o=0;o<F.length;o++)(n=F[o])(I);for(a[c]=I,l.hot.active=!1,delete S[c],delete m[c],o=0;o<l.children.length;o++){var L=S[l.children[o]];L&&(A=L.parents.indexOf(c))>=0&&L.parents.splice(A,1)}}for(c in m)if(Object.prototype.hasOwnProperty.call(m,c)&&(l=S[c]))for(O=m[c],o=0;o<O.length;o++)M=O[o],(A=l.children.indexOf(M))>=0&&l.children.splice(A,1);for(c in h("apply"),r=g,b)Object.prototype.hasOwnProperty.call(b,c)&&(e[c]=b[c]);var N=null;for(c in m)if(Object.prototype.hasOwnProperty.call(m,c)&&(l=S[c])){O=m[c];var j=[];for(i=0;i<O.length;i++)if(M=O[i],n=l.hot._acceptedDependencies[M]){if(-1!==j.indexOf(n))continue;j.push(n)}for(i=0;i<j.length;i++){n=j[i];try{n(O)}catch(e){t.onErrored&&t.onErrored({type:"accept-errored",moduleId:c,dependencyId:O[i],error:e}),t.ignoreErrored||N||(N=e)}}}for(i=0;i<D.length;i++){var H=D[i];c=H.module,s=[c];try{T(c)}catch(e){if("function"==typeof H.errorHandler)try{H.errorHandler(e)}catch(n){t.onErrored&&t.onErrored({type:"self-accept-error-handler-errored",moduleId:c,error:n,originalError:e}),t.ignoreErrored||N||(N=n),N||(N=e)}else t.onErrored&&t.onErrored({type:"self-accept-errored",moduleId:c,error:e}),t.ignoreErrored||N||(N=e)}}return N?(h("fail"),Promise.reject(N)):(h("idle"),new Promise(function(e){e(v)}))}var S={};function T(t){if(S[t])return S[t].exports;var i=S[t]={i:t,l:!1,exports:{},hot:function(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:n!==e,active:!0,accept:function(e,n){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var i=0;i<e.length;i++)t._acceptedDependencies[e[i]]=n||function(){};else t._acceptedDependencies[e]=n||function(){}},decline:function(e){if(void 0===e)t._selfDeclined=!0;else if("object"==typeof e)for(var n=0;n<e.length;n++)t._declinedDependencies[e[n]]=!0;else t._declinedDependencies[e]=!0},dispose:function(e){t._disposeHandlers.push(e)},addDisposeHandler:function(e){t._disposeHandlers.push(e)},removeDisposeHandler:function(e){var n=t._disposeHandlers.indexOf(e);n>=0&&t._disposeHandlers.splice(n,1)},check:_,apply:E,status:function(e){if(!e)return d;u.push(e)},addStatusHandler:function(e){u.push(e)},removeStatusHandler:function(e){var t=u.indexOf(e);t>=0&&u.splice(t,1)},data:a[e]};return n=void 0,t}(t),parents:(l=s,s=[],l),children:[]};return e[t].call(i.exports,i,i.exports,c(t)),i.l=!0,i.exports}T.m=e,T.c=S,T.d=function(e,t,n){T.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},T.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},T.t=function(e,t){if(1&t&&(e=T(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(T.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)T.d(n,i,function(t){return e[t]}.bind(null,i));return n},T.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return T.d(t,"a",t),t},T.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},T.p="",T.h=function(){return r},c(17)(T.s=17)}([function(e,t,n){(function(t){e.exports=t.$=n(20)}).call(this,n(1))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var i,r,o;r=[n(0)],void 0===(o="function"==typeof(i=function(e){return e.ui=e.ui||{},e.ui.version="1.12.1"})?i.apply(t,r):i)||(e.exports=o)},function(e,t,n){"use strict";function i(e,t,n){var i=n?" !== ":" === ",r=n?" || ":" && ",o=n?"!":"",a=n?"":"!";switch(e){case"null":return t+i+"null";case"array":return o+"Array.isArray("+t+")";case"object":return"("+o+t+r+"typeof "+t+i+'"object"'+r+a+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+i+'"number"'+r+a+"("+t+" % 1)"+r+t+i+t+")";default:return"typeof "+t+i+'"'+e+'"'}}e.exports={copy:function(e,t){for(var n in t=t||{},e)t[n]=e[n];return t},checkDataType:i,checkDataTypes:function(e,t){switch(e.length){case 1:return i(e[0],t,!0);default:var n="",r=o(e);for(var a in r.array&&r.object&&(n=r.null?"(":"(!"+t+" || ",n+="typeof "+t+' !== "object")',delete r.null,delete r.array,delete r.object),r.number&&delete r.integer,r)n+=(n?" && ":"")+i(a,t,!0);return n}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var n=[],i=0;i<t.length;i++){var o=t[i];r[o]?n[n.length]=o:"array"===e&&"array"===o&&(n[n.length]=o)}if(n.length)return n}else{if(r[t])return[t];if("array"===e&&"array"===t)return["array"]}},toHash:o,getProperty:l,escapeQuotes:c,equal:n(6),ucs2length:n(57),varOccurences:function(e,t){t+="[^0-9]";var n=e.match(new RegExp(t,"g"));return n?n.length:0},varReplace:function(e,t,n){return t+="([^0-9])",n=n.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),n+"$1")},cleanUpCode:function(e){return e.replace(u,"").replace(d,"").replace(h,"if (!($1))")},finalCleanUpCode:function(e,t){var n=e.match(p);return n&&2==n.length&&(e=t?e.replace(g,"").replace(b,y):e.replace(f,"").replace(m,v)),(n=e.match(w))&&3===n.length?e.replace(x,""):e},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var n in e)if(t[n])return!0},schemaHasRulesExcept:function(e,t,n){if("boolean"==typeof e)return!e&&"not"!=n;for(var i in e)if(i!=n&&t[i])return!0},toQuotedString:_,getPathExpr:function(e,t,n,i){return E(e,n?"'/' + "+t+(i?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):i?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,n){return E(e,_(n?"/"+S(t):l(t)))},getData:function(e,t,n){var i,r,o,a;if(""===e)return"rootData";if("/"==e[0]){if(!C.test(e))throw new Error("Invalid JSON-pointer: "+e);r=e,o="rootData"}else{if(!(a=e.match(k)))throw new Error("Invalid JSON-pointer: "+e);if(i=+a[1],"#"==(r=a[2])){if(i>=t)throw new Error("Cannot access property/index "+i+" levels up, current level is "+t);return n[t-i]}if(i>t)throw new Error("Cannot access data "+i+" levels up, current level is "+t);if(o="data"+(t-i||""),!r)return o}for(var s=o,c=r.split("/"),u=0;u<c.length;u++){var d=c[u];d&&(s+=" && "+(o+=l(T(d))))}return s},unescapeFragment:function(e){return T(decodeURIComponent(e))},unescapeJsonPointer:T,escapeFragment:function(e){return encodeURIComponent(S(e))},escapeJsonPointer:S};var r=o(["string","number","integer","boolean","null"]);function o(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var a=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function l(e){return"number"==typeof e?"["+e+"]":a.test(e)?"."+e:"['"+c(e)+"']"}function c(e){return e.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}var u=/else\s*{\s*}/g,d=/if\s*\([^)]+\)\s*\{\s*\}(?!\s*else)/g,h=/if\s*\(([^)]+)\)\s*\{\s*\}\s*else(?!\s*if)/g,p=/[^v.]errors/g,f=/var errors = 0;|var vErrors = null;|validate.errors = vErrors;/g,g=/var errors = 0;|var vErrors = null;/g,m="return errors === 0;",v="validate.errors = null; return true;",b=/if \(errors === 0\) return data;\s*else throw new ValidationError\(vErrors\);/,y="return data;",w=/[^A-Za-z_$]rootData[^A-Za-z0-9_$]/g,x=/if \(rootData === undefined\) rootData = data;/;function _(e){return"'"+c(e)+"'"}var C=/^\/(?:[^~]|~0|~1)*$/,k=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function E(e,t){return'""'==e?t:(e+" + "+t).replace(/' \+ '/g,"")}function S(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function T(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},function(e,t,n){(function(e){ /** * @license AngularJS v1.5.9 * (c) 2010-2016 Google, Inc. http://angularjs.org * License: MIT */ !function(t){"use strict";function n(e,t){return t=t||Error,function(){var n,i,r=arguments,o=r[0],a="["+(e?e+":":"")+o+"] ";for(a+=r[1].replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1)+2;return t<r.length?Be(r[t]):e}),a+="\nhttp://errors.angularjs.org/1.5.9/"+(e?e+"/":"")+o,i=2,n="?";i<r.length;i++,n="&")a+=n+"p"+(i-2)+"="+encodeURIComponent(Be(r[i]));return new t(a)}}var i=/^\/(.+)\/([a-z]*)$/,r="validity",o=Object.prototype.hasOwnProperty,a=function(e){return H(e)?e.toLowerCase():e},s=function(e){return H(e)?e.toUpperCase():e};"i"!=="I".toLowerCase()&&(a=function(e){return H(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},s=function(e){return H(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e});var l,c,u,d,h=[].slice,p=[].splice,f=[].push,g=Object.prototype.toString,m=Object.getPrototypeOf,v=n("ng"),b=t.angular||(t.angular={}),y=0;function w(e){if(null==e||W(e))return!1;if(q(e)||H(e)||c&&e instanceof c)return!0;var t="length"in Object(e)&&e.length;return B(t)&&(t>=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function x(e,t,n){var i,r;if(e)if(z(e))for(i in e)"prototype"===i||"length"===i||"name"===i||e.hasOwnProperty&&!e.hasOwnProperty(i)||t.call(n,e[i],i,e);else if(q(e)||w(e)){var a="object"!=typeof e;for(i=0,r=e.length;i<r;i++)(a||i in e)&&t.call(n,e[i],i,e)}else if(e.forEach&&e.forEach!==x)e.forEach(t,n,e);else if(j(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)o.call(e,i)&&t.call(n,e[i],i,e);return e}function _(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 C(e){return function(t,n){e(n,t)}}function k(){return++y}function E(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function S(e,t,n){for(var i=e.$$hashKey,r=0,o=t.length;r<o;++r){var a=t[r];if(N(a)||z(a))for(var s=Object.keys(a),l=0,c=s.length;l<c;l++){var u=s[l],d=a[u];n&&N(d)?U(d)?e[u]=new Date(d.valueOf()):V(d)?e[u]=new RegExp(d):d.nodeName?e[u]=d.cloneNode(!0):Z(d)?e[u]=d.clone():(N(e[u])||(e[u]=q(d)?[]:{}),S(e[u],[d],!0)):e[u]=d}}return E(e,i),e}function T(e){return S(e,h.call(arguments,1),!1)}function $(e){return S(e,h.call(arguments,1),!0)}function P(e){return parseInt(e,10)}l=t.document.documentMode;var A=Number.isNaN||function(e){return e!=e};function D(e,t){return T(Object.create(e),t)}function M(){}function O(e){return e}function R(e){return function(){return e}}function I(e){return z(e.toString)&&e.toString!==g}function F(e){return void 0===e}function L(e){return void 0!==e}function N(e){return null!==e&&"object"==typeof e}function j(e){return null!==e&&"object"==typeof e&&!m(e)}function H(e){return"string"==typeof e}function B(e){return"number"==typeof e}function U(e){return"[object Date]"===g.call(e)}M.$inject=[],O.$inject=[];var q=Array.isArray;function z(e){return"function"==typeof e}function V(e){return"[object RegExp]"===g.call(e)}function W(e){return e&&e.window===e}function G(e){return e&&e.$evalAsync&&e.$watch}function K(e){return"boolean"==typeof e}function X(e){return e&&z(e.then)}var Y=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Q=function(e){return H(e)?e.trim():e},J=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function Z(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function ee(e){return a(e.nodeName||e[0]&&e[0].nodeName)}function te(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function ne(e,t){var n,i,r=[],a=[];if(t){if((i=t)&&B(i.length)&&Y.test(g.call(i))||(n=t,"[object ArrayBuffer]"===g.call(n)))throw v("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw v("cpi","Can't copy! Source and destination are identical.");return q(t)?t.length=0:x(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),r.push(e),a.push(t),s(e,t)}return l(e);function s(e,t){var n,i=t.$$hashKey;if(q(e))for(var r=0,a=e.length;r<a;r++)t.push(l(e[r]));else if(j(e))for(n in e)t[n]=l(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=l(e[n]));else for(n in e)o.call(e,n)&&(t[n]=l(e[n]));return E(t,i),t}function l(e){if(!N(e))return e;var t=r.indexOf(e);if(-1!==t)return a[t];if(W(e)||G(e))throw v("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var n=!1,i=function(e){switch(g.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(l(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(z(e.cloneNode))return e.cloneNode(!0)}(e);return void 0===i&&(i=q(e)?[]:Object.create(m(e)),n=!0),r.push(e),a.push(i),n?s(e,i):i}}function ie(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,o=typeof e;if(o===typeof t&&"object"===o){if(!q(e)){if(U(e))return!!U(t)&&ie(e.getTime(),t.getTime());if(V(e))return!!V(t)&&e.toString()===t.toString();if(G(e)||G(t)||W(e)||W(t)||q(t)||U(t)||V(t))return!1;for(i in r=Re(),e)if("$"!==i.charAt(0)&&!z(e[i])){if(!ie(e[i],t[i]))return!1;r[i]=!0}for(i in t)if(!(i in r)&&"$"!==i.charAt(0)&&L(t[i])&&!z(t[i]))return!1;return!0}if(!q(t))return!1;if((n=e.length)===t.length){for(i=0;i<n;i++)if(!ie(e[i],t[i]))return!1;return!0}}return!1}var re=function(){if(!L(re.rules)){var e=t.document.querySelector("[ng-csp]")||t.document.querySelector("[data-ng-csp]");if(e){var n=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp");re.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else re.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return re.rules},oe=function(){if(L(oe.name_))return oe.name_;var e,n,i,r,o=xe.length;for(n=0;n<o;++n)if(i=xe[n],e=t.document.querySelector("["+i.replace(":","\\:")+"jq]")){r=e.getAttribute(i+"jq");break}return oe.name_=r};function ae(e,t,n){return e.concat(h.call(t,n))}function se(e,t){return h.call(e,t||0)}function le(e,t){var n=arguments.length>2?se(arguments,2):[];return!z(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,ae(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function ce(e,n){var i=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=void 0:W(n)?i="$WINDOW":n&&t.document===n?i="$DOCUMENT":G(n)&&(i="$SCOPE"),i}function ue(e,t){if(!F(e))return B(t)||(t=t?2:null),JSON.stringify(e,ce,t)}function de(e){return H(e)?JSON.parse(e):e}var he=/:/g;function pe(e,t){e=e.replace(he,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return A(n)?t:n}function fe(e,t,n){n=n?-1:1;var i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,n*(pe(t,i)-i))}function ge(e){e=c(e).clone();try{e.empty()}catch(e){}var t=c("<div>").append(e).html();try{return e[0].nodeType===Fe?a(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+a(t)})}catch(e){return a(t)}}function me(e){try{return decodeURIComponent(e)}catch(e){}}function ve(e){var t={};return x((e||"").split("&"),function(e){var n,i,r;e&&(i=e=e.replace(/\+/g,"%20"),-1!==(n=e.indexOf("="))&&(i=e.substring(0,n),r=e.substring(n+1)),L(i=me(i))&&(r=!L(r)||me(r),o.call(t,i)?q(t[i])?t[i].push(r):t[i]=[t[i],r]:t[i]=r))}),t}function be(e){var t=[];return x(e,function(e,n){q(e)?x(e,function(e){t.push(we(n,!0)+(!0===e?"":"="+we(e,!0)))}):t.push(we(n,!0)+(!0===e?"":"="+we(e,!0)))}),t.length?t.join("&"):""}function ye(e){return we(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function we(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var xe=["ng-","data-ng-","ng:","x-ng-"],_e=function(e){if(!e.currentScript)return!0;var t=e.currentScript.getAttribute("src"),n=e.createElement("a");n.href=t;var i=n.protocol;if(e.location.protocol===i)return!0;switch(i){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}(t.document);function Ce(e,n,i){N(i)||(i={}),i=T({strictDi:!1},i);var r=function(){if((e=c(e)).injector()){var r=e[0]===t.document?"document":ge(e);throw v("btstrpd","App already bootstrapped with this element '{0}'",r.replace(/</,"&lt;").replace(/>/,"&gt;"))}(n=n||[]).unshift(["$provide",function(t){t.value("$rootElement",e)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=Ut(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,i){e.$apply(function(){t.data("$injector",i),n(t)(e)})}]),o},o=/^NG_ENABLE_DEBUG_INFO!/,a=/^NG_DEFER_BOOTSTRAP!/;if(t&&o.test(t.name)&&(i.debugInfoEnabled=!0,t.name=t.name.replace(o,"")),t&&!a.test(t.name))return r();t.name=t.name.replace(a,""),b.resumeBootstrap=function(e){return x(e,function(e){n.push(e)}),r()},z(b.resumeDeferredBootstrap)&&b.resumeDeferredBootstrap()}function ke(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function Ee(e){var t=b.element(e).injector();if(!t)throw v("test","no injector found for element argument to getTestability");return t.get("$$testability")}var Se=/[A-Z]/g;function Te(e,t){return t=t||"_",e.replace(Se,function(e,n){return(n?t:"")+e.toLowerCase()})}var $e=!1;function Pe(e,t,n){if(!e)throw v("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function Ae(e,t,n){return n&&q(e)&&(e=e[e.length-1]),Pe(z(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function De(e,t){if("hasOwnProperty"===e)throw v("badname","hasOwnProperty is not a valid {0} name",t)}function Me(e,t,n){if(!t)return e;for(var i,r=t.split("."),o=e,a=r.length,s=0;s<a;s++)i=r[s],e&&(e=(o=e)[i]);return!n&&z(e)?le(o,e):e}function Oe(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=c(h.call(e,0,r))),t.push(n));return t||e}function Re(){return Object.create(null)}var Ie=1,Fe=3,Le=8,Ne=9,je=11;function He(e,t){if(q(e)){t=t||[];for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}else if(N(e))for(var r in t=t||{},e)"$"===r.charAt(0)&&"$"===r.charAt(1)||(t[r]=e[r]);return t||e}function Be(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):F(e)?"undefined":"string"!=typeof e?function(e){var t=[];return JSON.stringify(e,function(e,n){if(N(n=ce(e,n))){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}(e):e}var Ue={full:"1.5.9",major:1,minor:5,dot:9,codeName:"timeturning-lockdown"};lt.expando="ng339";var qe=lt.cache={},ze=1,Ve=function(e,t,n){e.addEventListener(t,n,!1)},We=function(e,t,n){e.removeEventListener(t,n,!1)};lt._data=function(e){return this.cache[e[this.expando]]||{}};var Ge=/([:\-_]+(.))/g,Ke=/^moz([A-Z])/,Xe={mouseleave:"mouseout",mouseenter:"mouseover"},Ye=n("jqLite");function Qe(e){return e.replace(Ge,function(e,t,n,i){return i?n.toUpperCase():n}).replace(Ke,"Moz$1")}var Je=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ze=/<|&#?\w+;/,et=/<([\w:-]+)/,tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,nt={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function it(e){return!Ze.test(e)}function rt(e){var t=e.nodeType;return t===Ie||!t||t===Ne}function ot(e,t){var n,i,r,o,a=t.createDocumentFragment(),s=[];if(it(e))s.push(t.createTextNode(e));else{for(n=a.appendChild(t.createElement("div")),i=(et.exec(e)||["",""])[1].toLowerCase(),r=nt[i]||nt._default,n.innerHTML=r[1]+e.replace(tt,"<$1></$2>")+r[2],o=r[0];o--;)n=n.lastChild;s=ae(s,n.childNodes),(n=a.firstChild).textContent=""}return a.textContent="",a.innerHTML="",x(s,function(e){a.appendChild(e)}),a}function at(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}nt.optgroup=nt.option,nt.tbody=nt.tfoot=nt.colgroup=nt.caption=nt.thead,nt.th=nt.td;var st=t.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};function lt(e){if(e instanceof lt)return e;var n,i,r,o;if(H(e)&&(e=Q(e),n=!0),!(this instanceof lt)){if(n&&"<"!==e.charAt(0))throw Ye("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new lt(e)}bt(this,n?(i=e,r=r||t.document,(o=Je.exec(i))?[r.createElement(o[1])]:(o=ot(i,r))?o.childNodes:[]):e)}function ct(e){return e.cloneNode(!0)}function ut(e,t){if(t||ht(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),i=0,r=n.length;i<r;i++)ht(n[i])}function dt(e,t,n,i){if(L(i))throw Ye("offargs","jqLite#off() does not support the `selector` argument");var r=pt(e),o=r&&r.events,a=r&&r.handle;if(a)if(t){var s=function(t){var i=o[t];L(n)&&te(i||[],n),L(n)&&i&&i.length>0||(We(e,t,a),delete o[t])};x(t.split(" "),function(e){s(e),Xe[e]&&s(Xe[e])})}else for(t in o)"$destroy"!==t&&We(e,t,a),delete o[t]}function ht(e,t){var n=e.ng339,i=n&&qe[n];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),dt(e)),delete qe[n],e.ng339=void 0}}function pt(e,t){var n=e.ng339,i=n&&qe[n];return t&&!i&&(e.ng339=n=++ze,i=qe[n]={events:{},data:{},handle:void 0}),i}function ft(e,t,n){if(rt(e)){var i=L(n),r=!i&&t&&!N(t),o=!t,a=pt(e,!r),s=a&&a.data;if(i)s[t]=n;else{if(o)return s;if(r)return s&&s[t];T(s,t)}}}function gt(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function mt(e,t){t&&e.setAttribute&&x(t.split(" "),function(t){e.setAttribute("class",Q((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Q(t)+" "," ")))})}function vt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");x(t.split(" "),function(e){e=Q(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Q(n))}}function bt(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 yt(e,t){return wt(e,"$"+(t||"ngController")+"Controller")}function wt(e,t,n){e.nodeType===Ne&&(e=e.documentElement);for(var i=q(t)?t:[t];e;){for(var r=0,o=i.length;r<o;r++)if(L(n=c.data(e,i[r])))return n;e=e.parentNode||e.nodeType===je&&e.host}}function xt(e){for(ut(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function _t(e,t){t||ut(e);var n=e.parentNode;n&&n.removeChild(e)}var Ct=lt.prototype={ready:function(e){var n=!1;function i(){n||(n=!0,e())}"complete"===t.document.readyState?t.setTimeout(i):(this.on("DOMContentLoaded",i),lt(t).on("load",i))},toString:function(){var e=[];return x(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return c(e>=0?this[e]:this[this.length+e])},length:0,push:f,sort:[].sort,splice:[].splice},kt={};x("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){kt[a(e)]=e});var Et={};x("input,select,option,textarea,button,form,details".split(","),function(e){Et[e]=!0});var St={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};function Tt(e,t){var n=kt[t.toLowerCase()];return n&&Et[ee(e)]&&n}function $t(e,t,n){n.call(e,t)}function Pt(e,t,n){var i=t.relatedTarget;i&&(i===e||st.call(e,i))||n.call(e,t)}function At(){this.$get=function(){return T(lt,{hasClass:function(e,t){return e.attr&&(e=e[0]),gt(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),vt(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),mt(e,t)}})}}function Dt(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var i=typeof e;return"function"===i||"object"===i&&null!==e?e.$$hashKey=i+":"+(t||k)():i+":"+e}function Mt(e,t){if(t){var n=0;this.nextUid=function(){return++n}}x(e,this.put,this)}x({data:ft,removeData:ht,hasData:function(e){for(var t in qe[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)ht(e[t])}},function(e,t){lt[t]=e}),x({data:ft,inheritedData:wt,scope:function(e){return c.data(e,"$scope")||wt(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return c.data(e,"$isolateScope")||c.data(e,"$isolateScopeNoTemplate")},controller:yt,injector:function(e){return wt(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:gt,css:function(e,t,n){if(t=Qe(t),!L(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var i=e.nodeType;if(i!==Fe&&2!==i&&i!==Le){var r=a(t);if(kt[r]){if(!L(n))return e[t]||(e.attributes.getNamedItem(t)||M).specified?r:void 0;n?(e[t]=!0,e.setAttribute(t,r)):(e[t]=!1,e.removeAttribute(r))}else if(L(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){if(!L(n))return e[t];e[t]=n},text:function(){return e.$dv="",e;function e(e,t){if(F(t)){var n=e.nodeType;return n===Ie||n===Fe?e.textContent:""}e.textContent=t}}(),val:function(e,t){if(F(t)){if(e.multiple&&"select"===ee(e)){var n=[];return x(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){if(F(t))return e.innerHTML;ut(e,!0),e.innerHTML=t},empty:xt},function(e,t){lt.prototype[t]=function(t,n){var i,r,o=this.length;if(e!==xt&&F(2===e.length&&e!==gt&&e!==yt?t:n)){if(N(t)){for(i=0;i<o;i++)if(e===ft)e(this[i],t);else for(r in t)e(this[i],r,t[r]);return this}for(var a=e.$dv,s=F(a)?Math.min(o,1):o,l=0;l<s;l++){var c=e(this[l],t,n);a=a?a+c:c}return a}for(i=0;i<o;i++)e(this[i],t,n);return this}}),x({removeData:ht,on:function(e,t,n,i){if(L(i))throw Ye("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(rt(e)){var r=pt(e,!0),o=r.events,a=r.handle;a||(a=r.handle=function(e,t){var n=function(n,i){n.isDefaultPrevented=function(){return n.defaultPrevented};var r=t[i||n.type],o=r?r.length:0;if(o){if(F(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=r.specialHandlerWrapper||$t;o>1&&(r=He(r));for(var l=0;l<o;l++)n.isImmediatePropagationStopped()||s(e,n,r[l])}};return n.elem=e,n}(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],l=s.length,c=function(t,i,r){var s=o[t];s||((s=o[t]=[]).specialHandlerWrapper=i,"$destroy"===t||r||Ve(e,t,a)),s.push(n)};l--;)t=s[l],Xe[t]?(c(Xe[t],Pt),c(t,void 0,!0)):c(t)}},off:dt,one:function(e,t,n){(e=c(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;ut(e),x(new lt(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return x(e.childNodes,function(e){e.nodeType===Ie&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Ie||n===je)for(var i=0,r=(t=new lt(t)).length;i<r;i++){var o=t[i];e.appendChild(o)}},prepend:function(e,t){if(e.nodeType===Ie){var n=e.firstChild;x(new lt(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){at(e,c(t).eq(0).clone()[0])},remove:_t,detach:function(e){_t(e,!0)},after:function(e,t){for(var n=e,i=e.parentNode,r=0,o=(t=new lt(t)).length;r<o;r++){var a=t[r];i.insertBefore(a,n.nextSibling),n=a}},addClass:vt,removeClass:mt,toggleClass:function(e,t,n){t&&x(t.split(" "),function(t){var i=n;F(i)&&(i=!gt(e,t)),(i?vt:mt)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==je?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:ct,triggerHandler:function(e,t,n){var i,r,o,a=t.type||t,s=pt(e),l=s&&s.events,c=l&&l[a];c&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:M,type:a,target:e},t.type&&(i=T(i,t)),r=He(c),o=n?[i].concat(n):[i],x(r,function(t){i.isImmediatePropagationStopped()||t.apply(e,o)}))}},function(e,t){lt.prototype[t]=function(t,n,i){for(var r,o=0,a=this.length;o<a;o++)F(r)?L(r=e(this[o],t,n,i))&&(r=c(r)):bt(r,e(this[o],t,n,i));return L(r)?r:this},lt.prototype.bind=lt.prototype.on,lt.prototype.unbind=lt.prototype.off}),Mt.prototype={put:function(e,t){this[Dt(e,this.nextUid)]=t},get:function(e){return this[Dt(e,this.nextUid)]},remove:function(e){var t=this[e=Dt(e,this.nextUid)];return delete this[e],t}};var Ot=[function(){this.$get=[function(){return Mt}]}],Rt=/^([^\(]+?)=>/,It=/^[^\(]*\(\s*([^\)]*)\)/m,Ft=/,/,Lt=/^\s*(_?)(\S+?)\1\s*$/,Nt=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,jt=n("$injector");function Ht(e){return Function.prototype.toString.call(e)+" "}function Bt(e){var t=Ht(e).replace(Nt,"");return t.match(Rt)||t.match(It)}function Ut(e,t){t=!0===t;var n={},i="Provider",r=[],o=new Mt([],!0),a={$provide:{provider:f(g),factory:f(m),service:f(function(e,t){return m(e,["$injector",function(e){return e.instantiate(t)}])}),value:f(function(e,t){return m(e,R(t),!1)}),constant:f(function(e,t){De(e,"constant"),a[e]=t,c[e]=t}),decorator:function(e,t){var n=s.get(e+i),r=n.$get;n.$get=function(){var e=h.invoke(r,n);return h.invoke(t,null,{$delegate:e})}}}},s=a.$injector=v(a,function(e,t){throw b.isString(t)&&r.push(t),jt("unpr","Unknown provider: {0}",r.join(" <- "))}),c={},u=v(c,function(e,t){var n=s.get(e+i,t);return h.invoke(n.$get,n,void 0,e)}),h=u;a["$injector"+i]={$get:R(u)};var p=function e(t){Pe(F(t)||q(t),"modulesToLoad","not an array");var n,i=[];return x(t,function(t){if(!o.get(t)){o.put(t,!0);try{H(t)?(n=d(t),i=i.concat(e(n.requires)).concat(n._runBlocks),r(n._invokeQueue),r(n._configBlocks)):z(t)?i.push(s.invoke(t)):q(t)?i.push(s.invoke(t)):Ae(t,"module")}catch(e){throw q(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),jt("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function r(e){var t,n;for(t=0,n=e.length;t<n;t++){var i=e[t],r=s.get(i[0]);r[i[1]].apply(r,i[2])}}}),i}(e);return(h=u.get("$injector")).strictDi=t,x(p,function(e){e&&h.invoke(e)}),h;function f(e){return function(t,n){if(!N(t))return e(t,n);x(t,C(e))}}function g(e,t){if(De(e,"service"),(z(t)||q(t))&&(t=s.instantiate(t)),!t.$get)throw jt("pget","Provider '{0}' must define $get factory method.",e);return a[e+i]=t}function m(e,t,n){return g(e,{$get:!1!==n?function(e,t){return function(){var n=h.invoke(t,this);if(F(n))throw jt("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}(e,t):t})}function v(e,o){function s(t,i){if(e.hasOwnProperty(t)){if(e[t]===n)throw jt("cdep","Circular dependency found: {0}",t+" <- "+r.join(" <- "));return e[t]}try{return r.unshift(t),e[t]=n,e[t]=o(t,i),e[t]}catch(i){throw e[t]===n&&delete e[t],i}finally{r.shift()}}function c(e,n,i){for(var r=[],o=Ut.$$annotate(e,t,i),a=0,l=o.length;a<l;a++){var c=o[a];if("string"!=typeof c)throw jt("itkn","Incorrect injection token! Expected service name as string, got {0}",c);r.push(n&&n.hasOwnProperty(c)?n[c]:s(c,i))}return r}return{invoke:function(e,t,n,i){"string"==typeof n&&(i=n,n=null);var r,o=c(e,n,i);return q(e)&&(e=e[e.length-1]),r=e,l<=11||"function"!=typeof r||!/^(?:class\b|constructor\()/.test(Ht(r))?e.apply(t,o):(o.unshift(null),new(Function.prototype.bind.apply(e,o)))},instantiate:function(e,t,n){var i=q(e)?e[e.length-1]:e,r=c(e,t,n);return r.unshift(null),new(Function.prototype.bind.apply(i,r))},get:s,annotate:Ut.$$annotate,has:function(t){return a.hasOwnProperty(t+i)||e.hasOwnProperty(t)}}}}function qt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(n,i,r){var o=n.document;function a(e){if(e){e.scrollIntoView();var t=function(){var e=s.yOffset;if(z(e))e=e();else if(Z(e)){var t=e[0];e="fixed"!==n.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom}else B(e)||(e=0);return e}();if(t){var i=e.getBoundingClientRect().top;n.scrollBy(0,i-t)}}else n.scrollTo(0,0)}function s(e){var t,n,r;(e=H(e)?e:i.hash())?(t=o.getElementById(e))?a(t):(n=o.getElementsByName(e),r=null,Array.prototype.some.call(n,function(e){if("a"===ee(e))return r=e,!0}),(t=r)?a(t):"top"===e&&a(null)):a(null)}return e&&r.$watch(function(){return i.hash()},function(e,n){var i,o;e===n&&""===e||(i=function(){r.$evalAsync(s)},"complete"===(o=o||t).document.readyState?o.setTimeout(i):c(o).on("load",i))}),s}]}Ut.$$annotate=function(e,t,n){var i,r;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw H(n)&&n||(n=e.name||function(e){var t=Bt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(e)),jt("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);x(Bt(e)[1].split(Ft),function(e){e.replace(Lt,function(e,t,n){i.push(n)})})}e.$inject=i}}else q(e)?(Ae(e[r=e.length-1],"fn"),i=e.slice(0,r)):Ae(e,"fn",!0);return i};var zt=n("$animate"),Vt=1;function Wt(e,t){return e||t?e?t?(q(e)&&(e=e.join(" ")),q(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function Gt(e){return N(e)?e:{}}var Kt=function(){this.$get=M},Xt=function(){var e=new Mt,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){return{enabled:M,on:M,off:M,pin:M,push:function(a,s,l,c){c&&c(),(l=l||{}).from&&a.css(l.from),l.to&&a.css(l.to),(l.addClass||l.removeClass)&&function(n,a,s){var l=e.get(n)||{},c=r(l,a,!0),u=r(l,s,!1);(c||u)&&(e.put(n,l),t.push(n),1===t.length&&i.$$postDigest(o))}(a,l.addClass,l.removeClass);var u=new n;return u.complete(),u}};function r(e,t,n){var i=!1;return t&&x(t=H(t)?t.split(" "):q(t)?t:[],function(t){t&&(i=!0,e[t]=n)}),i}function o(){x(t,function(t){var n=e.get(t);if(n){var i=function(e){H(e)&&(e=e.split(" "));var t=Re();return x(e,function(e){e.length&&(t[e]=!0)}),t}(t.attr("class")),r="",o="";x(n,function(e,t){e!==!!i[t]&&(e?r+=(r.length?" ":"")+t:o+=(o.length?" ":"")+t)}),x(t,function(e){r&&vt(e,r),o&&mt(e,o)}),e.remove(t)}}),t.length=0}}]},Yt=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,i){if(n&&"."!==n.charAt(0))throw zt("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&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter&&new RegExp("(\\s+|\\/)ng-animate(\\s+|\\/)").test(this.$$classNameFilter.toString())))throw zt("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate");return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var i=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Vt)return n}}(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,o){return i=i&&c(i),r=r&&c(r),t(n,i=i||r.parent(),r),e.push(n,"enter",Gt(o))},move:function(n,i,r,o){return i=i&&c(i),r=r&&c(r),t(n,i=i||r.parent(),r),e.push(n,"move",Gt(o))},leave:function(t,n){return e.push(t,"leave",Gt(n),function(){t.remove()})},addClass:function(t,n,i){return(i=Gt(i)).addClass=Wt(i.addclass,n),e.push(t,"addClass",i)},removeClass:function(t,n,i){return(i=Gt(i)).removeClass=Wt(i.removeClass,n),e.push(t,"removeClass",i)},setClass:function(t,n,i,r){return(r=Gt(r)).addClass=Wt(r.addClass,n),r.removeClass=Wt(r.removeClass,i),e.push(t,"setClass",r)},animate:function(t,n,i,r,o){return(o=Gt(o)).from=o.from?T(o.from,n):n,o.to=o.to?T(o.to,i):i,r=r||"ng-inline-animate",o.tempClasses=Wt(o.tempClasses,r),e.push(t,"animate",o)}}}]}],Qt=function(){this.$get=["$$rAF",function(e){var t=[];function n(n){t.push(n),t.length>1||e(function(){for(var e=0;e<t.length;e++)t[e]();t=[]})}return function(){var e=!1;return n(function(){e=!0}),function(t){e?t():n(t)}}}]},Jt=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$document","$timeout",function(e,t,n,i,r){function o(e){this.setHost(e);var t=n();this._doneCallbacks=[],this._tick=function(e){var n=i[0];n&&n.hidden?function(e){r(e,0,!1)}(e):t(e)},this._state=0}return o.chain=function(e,t){var n=0;!function i(){n!==e.length?e[n](function(e){!1!==e?(n++,i()):t(!1)}):t(!0)}()},o.all=function(e,t){var n=0,i=!0;function r(r){i=i&&r,++n===e.length&&t(i)}x(e,function(e){e.done(r)})},o.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:M,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){!1===t?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;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(e){2!==this._state&&(x(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=2)}},o}]},Zt=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,i){var r=i||{};r.$$prepared||(r=ne(r)),r.cleanupStyles&&(r.from=r.to=null),r.from&&(t.css(r.from),r.from=null);var o,a=new n;return{start:s,end:s};function s(){return e(function(){r.addClass&&(t.addClass(r.addClass),r.addClass=null),r.removeClass&&(t.removeClass(r.removeClass),r.removeClass=null),r.to&&(t.css(r.to),r.to=null),o||a.complete(),o=!0}),a}}}]};function en(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,i){return new function(e,t,n,i){var r=this,o=e.location,a=e.history,s=e.setTimeout,l=e.clearTimeout,u={};r.isMock=!1;var d=0,h=[];function p(e){try{e.apply(null,se(arguments,1))}finally{if(0==--d)for(;h.length;)try{h.pop()()}catch(e){n.error(e)}}}r.$$completeOutstandingRequest=p,r.$$incOutstandingRequestCount=function(){d++},r.notifyWhenNoOutstandingRequests=function(e){0===d?e():h.push(e)};var f,g,m=o.href,v=t.find("base"),b=null,y=i.history?function(){try{return a.state}catch(e){}}:M;E(),g=f,r.url=function(t,n,s){if(F(s)&&(s=null),o!==e.location&&(o=e.location),a!==e.history&&(a=e.history),t){var l=g===s;if(m===t&&(!i.history||l))return r;var c=m&&Yn(m)===Yn(t);return m=t,g=s,!i.history||c&&l?(c||(b=t),n?o.replace(t):c?o.hash=function(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}(t):o.href=t,o.href!==t&&(b=t)):(a[n?"replaceState":"pushState"](s,"",t),E(),g=f),b&&(b=t),r}return b||o.href.replace(/%27/g,"'")},r.state=function(){return f};var w=[],_=!1;function C(){b=null,E(),S()}var k=null;function E(){ie(f=F(f=y())?null:f,k)&&(f=k),k=f}function S(){m===r.url()&&g===f||(m=r.url(),g=f,x(w,function(e){e(r.url(),f)}))}r.onUrlChange=function(t){return _||(i.history&&c(e).on("popstate",C),c(e).on("hashchange",C),_=!0),w.push(t),t},r.$$applicationDestroyed=function(){c(e).off("hashchange popstate",C)},r.$$checkUrlChange=S,r.baseHref=function(){var e=v.attr("href");return e?e.replace(/^(https?:)?\/\/[^\/]*/,""):""},r.defer=function(e,t){var n;return d++,n=s(function(){delete u[n],p(e)},t||0),u[n]=!0,n},r.defer.cancel=function(e){return!!u[e]&&(delete u[e],l(e),p(M),!0)}}(e,i,t,n)}]}function tn(){this.$get=function(){var e={};function t(t,i){if(t in e)throw n("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var r=0,o=T({},i,{id:t}),a=Re(),s=i&&i.capacity||Number.MAX_VALUE,l=Re(),c=null,u=null;return e[t]={put:function(e,t){if(!F(t))return s<Number.MAX_VALUE&&d(l[e]||(l[e]={key:e})),e in a||r++,a[e]=t,r>s&&this.remove(u.key),t},get:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;d(t)}return a[e]},remove:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;t===c&&(c=t.p),t===u&&(u=t.n),h(t.n,t.p),delete l[e]}e in a&&(delete a[e],r--)},removeAll:function(){a=Re(),r=0,l=Re(),c=u=null},destroy:function(){a=null,o=null,l=null,delete e[t]},info:function(){return T({},o,{size:r})}};function d(e){e!==c&&(u?u===e&&(u=e.n):u=e,h(e.n,e.p),h(e,c),(c=e).n=null)}function h(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}}return t.info=function(){var t={};return x(e,function(e,n){t[n]=e.info()}),t},t.get=function(t){return e[t]},t}}function nn(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var rn=n("$compile"),on=new function(){};function an(e,n){var i={},r="Directive",s=/^\s*directive:\s*([\w\-]+)\s+(.*)$/,u=/(([\w\-]+)(?::([^;]+))?;?)/,d=function(e){var t,n={},i="ngSrc,ngSrcset,src,srcset".split(",");for(t=0;t<i.length;t++)n[i[t]]=!0;return n}(),h=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,p=/^(on[a-z]+|formaction)$/,f=Re();function m(e,t,n){var i=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,r=Re();return x(e,function(e,o){if(e in f)r[o]=f[e];else{var a=e.match(i);if(!a)throw rn("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,o,e,n?"controller bindings definition":"isolate scope definition");r[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(f[e]=r[o])}}),r}function v(e,t){var n={isolateScope:null,bindToController:null};if(N(e.scope)&&(!0===e.bindToController?(n.bindToController=m(e.scope,t,!0),n.isolateScope={}):n.isolateScope=m(e.scope,t,!1)),N(e.bindToController)&&(n.bindToController=m(e.bindToController,t,!0)),N(n.bindToController)){var i=e.controller,r=e.controllerAs;if(!i)throw rn("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);if(!fn(i,r))throw rn("noident","Cannot bind to controller without identifier for directive '{0}'.",t)}return n}this.directive=function t(n,o){return De(n,"directive"),H(n)?(function(e){var t=e.charAt(0);if(!t||t!==a(t))throw rn("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw rn("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}(n),Pe(o,"directiveFactory"),i.hasOwnProperty(n)||(i[n]=[],e.factory(n+r,["$injector","$exceptionHandler",function(e,t){var r=[];return x(i[n],function(i,o){try{var a=e.invoke(i);z(a)?a={compile:R(a)}:!a.compile&&a.link&&(a.compile=R(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=function(e){var t=e.require||e.controller&&e.name;return!q(t)&&N(t)&&x(t,function(e,n){var i=e.match(h);e.substring(i[0].length)||(t[n]=i[0]+n)}),t}(a),a.restrict=a.restrict||"EA",a.$$moduleName=i.$$moduleName,r.push(a)}catch(e){t(e)}}),r}])),i[n].push(o)):x(n,C(t)),this},this.component=function(e,t){var n=t.controller||function(){};function i(e){function i(t){return z(t)||q(t)?function(n,i){return e.invoke(t,this,{$element:n,$attrs:i})}:t}var r=t.template||t.templateUrl?t.template:"",o={controller:n,controllerAs:fn(t.controller)||t.controllerAs||"$ctrl",template:i(r),templateUrl:i(t.templateUrl),transclude:t.transclude,scope:{},bindToController:t.bindings||{},restrict:"E",require:t.require};return x(t,function(e,t){"$"===t.charAt(0)&&(o[t]=e)}),o}return x(t,function(e,t){"$"===t.charAt(0)&&(i[t]=e,z(n)&&(n[t]=e))}),i.$inject=["$injector"],this.directive(e,i)},this.aHrefSanitizationWhitelist=function(e){return L(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return L(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var b=!0;this.debugInfoEnabled=function(e){return L(e)?(b=e,this):b};var y=10;this.onChangesTtl=function(e){return arguments.length?(y=e,this):y};var w=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(w=e,this):w};var _=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(_=e,this):_},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(e,n,f,m,C,k,E,S,$,P){var A,R=/^\w/,I=t.document.createElement("div"),j=w,B=_,U=y;function V(){try{if(!--U)throw A=void 0,rn("infchng","{0} $onChanges() iterations reached. Aborting!\n",y);E.$apply(function(){for(var e=[],t=0,n=A.length;t<n;++t)try{A[t]()}catch(t){e.push(t)}if(A=void 0,e.length)throw e})}finally{U++}}function W(e,t){if(t){var n,i,r,o=Object.keys(t);for(n=0,i=o.length;n<i;n++)this[r=o[n]]=t[r]}else this.$attr={};this.$$element=e}function X(e,t){try{e.addClass(t)}catch(e){}}W.prototype={$normalize:cn,$addClass:function(e){e&&e.length>0&&$.addClass(this.$$element,e)},$removeClass:functi