!function(t,e){"object"==typeofexports&&"undefined"!=typeofmodule?e(exports,require("angular")):"function"==typeofdefine&&define.amd?define(["exports","angular"],e):e((t=t||self)["@uirouter/angularjs"]={},t.angular)}(this,function(d,t){"use strict";vare=angular,b=t&&t.module?t:e,n=function(){for(vart=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;varn=Array(t),i=0;for(e=0;e<r;e++)for(varo=arguments[e],a=0,u=o.length;a<u;a++,i++)n[i]=o[a];returnn};functions(r){returnfunctiont(){if(arguments.length>=r.length)returnr.apply(this,arguments);vare=Array.prototype.slice.call(arguments);returnt.bind.apply(t,n([this],e))}}functionr(){varr=arguments,n=r.length-1;returnfunction(){for(vart=n,e=r[n].apply(this,arguments);t--;)e=r[t].call(this,e);returne}}functionc(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];returnr.apply(null,[].slice.call(arguments).reverse())}varm=function(e){returnfunction(t){returnt&&t[e]}},y=s(function(t,e,r){returnr&&r[t]===e}),R=function(t){returnc.apply(null,t.split(".").map(m))},l=function(r){returnfunction(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return!r.apply(null,t)}};functioni(r,n){returnfunction(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];returnr.apply(null,t)&&n.apply(null,t)}}functionu(r,n){returnfunction(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];returnr.apply(null,t)||n.apply(null,t)}}functiono(e){returnfunction(t){returne===t}}vara=function(r){returnfunction(t){returnt.reduce(function(t,e){returnt&&!!r(e)},!0)}},f=function(r){returnfunction(t){returnt.reduce(function(t,e){returnt||!!r(e)},!1)}},h=function(e){returnfunction(t){returnnull!=t&&t.constructor===e||tinstanceofe}},p=function(t){returnfunction(){returnt}};functionv(e,r){returnfunction(t){returnt[e].apply(t,r)}}functiong(r){returnfunction(t){for(vare=0;e<r.length;e++)if(r[e][0](t))returnr[e][1](t)}}functionw(e){returnfunction(t){returntypeoft===e}}function_(t){returnnull===t}varS=Object.prototype.toString,$=w("undefined"),E=l($),C=u(_,$),T=w("function"),P=w("number"),k=w("string"),O=function(t){returnnull!==t&&"object"==typeoft},x=Array.isArray,j=function(t){return"[object Date]"===S.call(t)},V=function(t){return"[object RegExp]"===S.call(t)};functionH(t){if(x(t)&&t.length){vare=t.slice(0,-1),r=t.slice(-1);return!(e.filter(l(k)).length||r.filter(l(T)).length)}returnT(t)}functionI(r,t){returnt.reduce(function(t,e){returnt[e]=function(t){returnfunction(){thrownewError("No implementation for "+t+". The framework specific code did not implement this method.")}}(r+"."+e+"()"),t},{})}varA=i(O,c(m("then"),T)),D={$q:void0,$injector:void0},q=function(){for(vart=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;varn=Array(t),i=0;for(e=0;e<r;e++)for(varo=arguments[e],a=0,u=o.length;a<u;a++,i++)n[i]=o[a];returnn},U="object"==typeofself&&self.self===self&&self||"object"==typeofglobal&&global.global===global&&global||void0,F=U.angular||{},N=F.fromJson||JSON.parse.bind(JSON),L=F.toJson||JSON.stringify.bind(JSON),M=F.forEach||function(e,r,t){if(x(e))returne.forEach(r,t);Object.keys(e).forEach(function(t){returnr(e[t],t)})},B=Object.assign||Ot,G=F.equals||xt;functionz(t){returnt}functionW(){}functionJ(e,r,n,t,i){void0===i&&(i=!1);functiono(t){returne()[t].bind(n())}return(t=t||Object.keys(e())).reduce(function(t,e){returnt[e]=i?function(t){returnfunction(){returnr[t]=o(t),r[t].apply(null,arguments)}}(e):o(e),t},r)}varQ=function(t,e){returnB(Object.create(t),e)},K=s(Y);functionY(t,e){return-1!==t.indexOf(e)}varZ=s(X);functionX(t,e){varr=t.indexOf(e);return0<=r&&t.splice(r,1),t}vartt=s(et);functionet(t,e){returnt.push(e),e}functionrt(e){returne.slice().forEach(function(t){"function"==typeoft&&t(),Z(e,t)})}functionnt(t){for(vare=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];varn=B.apply(void0,q([{}],e.reverse()));returnB(n,at(t||{},Object.keys(n)))}functionit(t,e){returnB(t,e)}functionot(t,e){varr=[];for(varnint.path){if(t.path[n]!==e.path[n])break;r.push