!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(t,e){"use strict";varr=angular,n=e&&e.module?e:r,i=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};functiono(t){returnfunctione(){if(arguments.length>=t.length)returnt.apply(this,arguments);varr=Array.prototype.slice.call(arguments);returne.bind.apply(e,i([this],r))}}functiona(){vart=arguments,e=t.length-1;returnfunction(){for(varr=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);returnn}}functionu(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];returna.apply(null,[].slice.call(arguments).reverse())}vars=function(t){returnfunction(e){returne&&e[t]}},c=o((function(t,e,r){returnr&&r[t]===e})),f=function(t){returnu.apply(null,t.split(".").map(s))},l=function(t){returnfunction(){for(vare=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return!t.apply(null,e)}};functionh(t,e){returnfunction(){for(varr=[],n=0;n<arguments.length;n++)r[n]=arguments[n];returnt.apply(null,r)&&e.apply(null,r)}}functionp(t,e){returnfunction(){for(varr=[],n=0;n<arguments.length;n++)r[n]=arguments[n];returnt.apply(null,r)||e.apply(null,r)}}varv=function(t){returnfunction(e){returne.reduce((function(e,r){returne&&!!t(r)}),!0)}},d=function(t){returnfunction(e){returne.reduce((function(e,r){returne||!!t(r)}),!1)}},m=function(t){returnfunction(e){returnnull!=e&&e.constructor===t||einstanceoft}},g=function(t){returnfunction(e){returnt===e}},y=function(t){returnfunction(){returnt}};functionw(t,e){returnfunction(r){returnr[t].apply(r,e)}}function_(t){returnfunction(e){for(varr=0;r<t.length;r++)if(t[r][0](e))returnt[r][1](e)}}varS=Object.prototype.toString,$=function(t){returnfunction(e){returntypeofe===t}},b=$("undefined"),R=l(b),E=function(t){returnnull===t},C=p(E,b),P=$("function"),T=$("number"),k=$("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)};functionI(t){if(x(t)&&t.length){vare=t.slice(0,-1),r=t.slice(-1);return!(e.filter(l(k)).length||r.filter(l(P)).length)}returnP(t)}varH=h(O,u(s("then"),P)),A=function(t,e){returne.reduce((function(e,r){returne[r]=(n=t+"."+r+"()",function(){thrownewError("No implementation for "+n+". The framework specific code did not implement this method.")}),e;varn}),{})},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,N=U.angular||{},F=N.fromJson||JSON.parse.bind(JSON),L=N.toJson||JSON.stringify.bind(JSON),M=N.forEach||function(t,e,r){if(x(t))returnt.forEach(e,r);Object.keys(t).forEach((function(r){returne(t[r],r)}))},B=Object.assign||Ot,G=N.equals||xt;functionz(t){returnt}functionW(){}functionJ(t,e,r,n,i){void0===i&&(i=!1);varo=function(e){returnt()[e].bind(r())};return(n=n||Object.keys(t())).reduce((function(t,r){varn;returnt[r]=i?(n=r,function(){returne[n]=o(n),e[n].apply(null,arguments)}):o(r),t}),e)}varQ=function(t,e){returnB(Object.create(t),e)},K=o(Y);functionY(t,e){return-1!==t.indexOf(e)}varZ=o(X);functionX(t,e){varr=t.indexOf(e);returnr>=0&&t.splice(r,1),t}vartt=o(et);functionet(t,e){returnt.push(e),e}varrt=function(t){returnt.slice().forEach((function(e){"function"==typeofe&&e(),Z(t,e)}))};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)))}varit=function(t,e){returnB(t,e)};functionot(t,e){varr=[];for(varnint.path){if(t.path[n]!==e.path[n])