UNPKG

mcs-ng-material

Version:

MCS NG-Meterial is based on mcs-web.

10 lines (9 loc) 20.3 kB
/** * State-based routing for AngularJS 1.x * This bundle requires the ui-router-core.js bundle from the @uirouter/core package. * @version v1.0.13 * @link https://ui-router.github.io * @license MIT License, http://www.opensource.org/licenses/MIT */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("angular"),require("@uirouter/core")):"function"==typeof define&&define.amd?define(["exports","angular","@uirouter/core"],t):t(e["@uirouter/angularjs"]={},e.angular,e["@uirouter/core"])}(this,function(e,t,r){"use strict";function n(){var e=null;return function(t,n){return e=e||r.services.$injector.get("$templateFactory"),[new C(t,n,e)]}}function i(e){if(!e.parent)return{};var t=["controller","controllerProvider","controllerAs","resolveAs"],n=["component","bindings","componentProvider"],i=["templateProvider","templateUrl","template","notify","async"].concat(t),o=n.concat(i);if(r.isDefined(e.views)&&R(o,e))throw new Error("State '"+e.name+"' has a 'views' object. It cannot also have \"view properties\" at the state level. Move the following properties into a view (in the 'views' object): "+o.filter(function(t){return r.isDefined(e[t])}).join(", "));var a={},u=e.views||{$default:r.pick(e,o)};return r.forEach(u,function(t,o){if(o=o||"$default",r.isString(t)&&(t={component:t}),t=r.extend({},t),R(n,t)&&R(i,t))throw new Error("Cannot combine: "+n.join("|")+" with: "+i.join("|")+" in stateview: '"+o+"@"+e.name+"'");t.resolveAs=t.resolveAs||"$resolve",t.$type="ng1",t.$context=e,t.$name=o;var u=r.ViewService.normalizeUIViewTarget(t.$context,t.$name);t.$uiViewName=u.uiViewName,t.$uiViewContextAnchor=u.uiViewContextAnchor,a[o]=t}),a}function o(e){var t=r.services.$injector.get(e+"Directive");if(!t||!t.length)throw new Error("Unable to find component named '"+e+"'");return t.map(P).reduce(r.unnestR,[])}function a(e){function t(e,t,r,n,i,a){return o._runtimeServices(n,e,r,t),delete U.router,delete U.$get,U}(U=this.router=new r.UIRouter).stateProvider=new j(U.stateRegistry,U.stateService),U.stateRegistry.decorator("views",i),U.stateRegistry.decorator("onExit",A("onExit")),U.stateRegistry.decorator("onRetain",A("onRetain")),U.stateRegistry.decorator("onEnter",A("onEnter")),U.viewService._pluginapi._viewConfigFactory("ng1",n());var o=U.locationService=U.locationConfig=new V(e);return V.monkeyPatchPathParameterType(U),U.router=U,U.$get=t,t.$inject=["$location","$browser","$sniffer","$rootScope","$http","$templateCache"],U}function u(e,t,n){r.services.$injector=e,r.services.$q=t,n.stateRegistry.get().map(function(e){return e.$$state().resolvables}).reduce(r.unnestR,[]).filter(function(e){return"deferred"===e.deps}).forEach(function(t){return t.deps=e.annotate(t.resolveFn,e.strictDi)})}function c(e){e.$watch(function(){r.trace.approximateDigests++})}function s(e){var t,r=e.match(/^\s*({[^}]*})\s*$/);if(r&&(e="("+r[1]+")"),!(t=e.replace(/\n/g," ").match(/^\s*([^(]*?)\s*(\((.*)\))?\s*$/))||4!==t.length)throw new Error("Invalid state ref '"+e+"'");return{state:t[1]||null,paramExpr:t[3]||null}}function l(e){var t=e.parent().inheritedData("$uiView"),n=r.parse("$cfg.path")(t);return n?r.tail(n).state.name:void 0}function f(e,t,n){var i=n.uiState||e.current.name,o=r.extend($(t,e),n.uiStateOpts||{}),a=e.href(i,n.uiStateParams,o);return{uiState:i,uiStateParams:n.uiStateParams,uiStateOpts:o,href:a}}function v(e){var t="[object SVGAnimatedString]"===Object.prototype.toString.call(e.prop("href")),r="FORM"===e[0].nodeName;return{attr:r?"action":t?"xlink:href":"href",isAnchor:"A"===e.prop("tagName").toUpperCase(),clickable:!r}}function p(e,t,r,n,i){return function(o){var a=o.which||o.button,u=i();if(!(a>1||o.ctrlKey||o.metaKey||o.shiftKey||e.attr("target"))){var c=r(function(){t.go(u.uiState,u.uiStateParams,u.uiStateOpts)});o.preventDefault();var s=n.isAnchor&&!u.href?1:0;o.preventDefault=function(){s--<=0&&r.cancel(c)}}}}function $(e,t){return{relative:l(e)||t.$current,inherit:!0,source:"sref"}}function d(e,t,n,i){var o;i&&(o=i.events),r.isArray(o)||(o=["click"]);for(var a=e.on?"on":"bind",u=0,c=o;u<c.length;u++){var s=c[u];e[a](s,n)}t.$on("$destroy",function(){for(var t=e.off?"off":"unbind",r=0,i=o;r<i.length;r++){var a=i[r];e[t](a,n)}})}function h(e){var t=function(t,r,n){return e.is(t,r,n)};return t.$stateful=!0,t}function m(e){var t=function(t,r,n){return e.includes(t,r,n)};return t.$stateful=!0,t}function g(e,t,n,i,o,a){var u=r.parse("viewDecl.controllerAs"),c=r.parse("viewDecl.resolveAs");return{restrict:"ECA",priority:-400,compile:function(i){var a=i.html();return i.empty(),function(i,s){var l=s.data("$uiView");if(!l)return s.html(a),void e(s.contents())(i);var f=l.$cfg||{viewDecl:{},getTemplate:r.noop},v=f.path&&new r.ResolveContext(f.path);s.html(f.getTemplate(s,v)||a),r.trace.traceUIViewFill(l.$uiView,s.html());var p=e(s.contents()),$=f.controller,d=u(f),h=c(f),m=v&&T(v);if(i[h]=m,$){var g=t($,r.extend({},m,{$scope:i,$element:s}));d&&(i[d]=g,i[d][h]=m),s.data("$ngControllerController",g),s.children().data("$ngControllerController",g),w(o,n,g,i,f)}if(r.isString(f.viewDecl.component))var y=f.viewDecl.component,R=r.kebobString(y),x=new RegExp("^(x-|data-)?"+R+"$","i"),C=i.$watch(function(){var e=[].slice.call(s[0].children).filter(function(e){return e&&e.tagName&&x.exec(e.tagName)});return e&&S.element(e).data("$"+y+"Controller")},function(e){e&&(w(o,n,e,i,f),C())});p(i)}}}}function w(e,t,n,i,o){!r.isFunction(n.$onInit)||o.viewDecl.component&&B||n.$onInit();var a=r.tail(o.path).state.self,u={bind:n};if(r.isFunction(n.uiOnParamsChanged)){var c=new r.ResolveContext(o.path).getResolvable("$transition$").data;i.$on("$destroy",t.onSuccess({},function(e){if(e!==c&&-1===e.exiting().indexOf(a)){var t=e.params("to"),i=e.params("from"),o=e.treeChanges().to.map(function(e){return e.paramSchema}).reduce(r.unnestR,[]),u=e.treeChanges().from.map(function(e){return e.paramSchema}).reduce(r.unnestR,[]),s=o.filter(function(e){var r=u.indexOf(e);return-1===r||!u[r].type.equals(t[e.id],i[e.id])});if(s.length){var l=s.map(function(e){return e.id}),f=r.filter(t,function(e,t){return-1!==l.indexOf(t)});n.uiOnParamsChanged(f,e)}}},u))}if(r.isFunction(n.uiCanExit)){var s=K++,l=function(e){return!!e&&(e._uiCanExitIds&&!0===e._uiCanExitIds[s]||l(e.redirectedFrom()))},f={exiting:a.name};i.$on("$destroy",t.onBefore(f,function(t){var r,i=t._uiCanExitIds=t._uiCanExitIds||{};return l(t)||(r=e.when(n.uiCanExit(t))).then(function(e){return i[s]=!1!==e}),r},u))}}var y=angular,S=t&&t.module?t:y,R=function(e,t){return e.reduce(function(e,n){return e||r.isDefined(t[n])},!1)},x=0,C=function(){function e(e,t,r){var n=this;this.path=e,this.viewDecl=t,this.factory=r,this.$id=x++,this.loaded=!1,this.getTemplate=function(e,t){return n.component?n.factory.makeComponentTemplate(e,t,n.component,n.viewDecl.bindings):n.template}}return e.prototype.load=function(){var e=this,t=r.services.$q,n=new r.ResolveContext(this.path),i=this.path.reduce(function(e,t){return r.extend(e,t.paramValues)},{}),o={template:t.when(this.factory.fromConfig(this.viewDecl,i,n)),controller:t.when(this.getController(n))};return t.all(o).then(function(t){return r.trace.traceViewServiceEvent("Loaded",e),e.controller=t.controller,r.extend(e,t.template),e})},e.prototype.getController=function(e){var t=this.viewDecl.controllerProvider;if(!r.isInjectable(t))return this.viewDecl.controller;var n=r.services.$injector.annotate(t),i=r.isArray(t)?r.tail(t):t;return new r.Resolvable("",i,n).get(e)},e}(),b=function(){function e(){var e=this;this._useHttp=S.version.minor<3,this.$get=["$http","$templateCache","$injector",function(t,r,n){return e.$templateRequest=n.has&&n.has("$templateRequest")&&n.get("$templateRequest"),e.$http=t,e.$templateCache=r,e}]}return e.prototype.useHttpService=function(e){this._useHttp=e},e.prototype.fromConfig=function(e,t,n){var i=function(e){return r.services.$q.when(e).then(function(e){return{template:e}})},o=function(e){return r.services.$q.when(e).then(function(e){return{component:e}})};return r.isDefined(e.template)?i(this.fromString(e.template,t)):r.isDefined(e.templateUrl)?i(this.fromUrl(e.templateUrl,t)):r.isDefined(e.templateProvider)?i(this.fromProvider(e.templateProvider,t,n)):r.isDefined(e.component)?o(e.component):r.isDefined(e.componentProvider)?o(this.fromComponentProvider(e.componentProvider,t,n)):i("<ui-view></ui-view>")},e.prototype.fromString=function(e,t){return r.isFunction(e)?e(t):e},e.prototype.fromUrl=function(e,t){return r.isFunction(e)&&(e=e(t)),null==e?null:this._useHttp?this.$http.get(e,{cache:this.$templateCache,headers:{Accept:"text/html"}}).then(function(e){return e.data}):this.$templateRequest(e)},e.prototype.fromProvider=function(e,t,n){var i=r.services.$injector.annotate(e),o=r.isArray(e)?r.tail(e):e;return new r.Resolvable("",o,i).get(n)},e.prototype.fromComponentProvider=function(e,t,n){var i=r.services.$injector.annotate(e),o=r.isArray(e)?r.tail(e):e;return new r.Resolvable("",o,i).get(n)},e.prototype.makeComponentTemplate=function(e,t,n,i){i=i||{};var a=S.version.minor>=3?"::":"",u=function(e){var t=r.kebobString(e);return/^(x|data)-/.exec(t)?"x-"+t:t},c=o(n).map(function(n){var o=n.name,c=n.type,s=u(o);if(e.attr(s)&&!i[o])return s+"='"+e.attr(s)+"'";var l=i[o]||o;if("@"===c)return s+"='{{"+a+"$resolve."+l+"}}'";if("&"===c){var f=t.getResolvable(l),v=f&&f.data,p=v&&r.services.$injector.annotate(v)||[];return s+"='$resolve."+l+(r.isArray(v)?"["+(v.length-1)+"]":"")+"("+p.join(",")+")'"}return s+"='"+a+"$resolve."+l+"'"}).join(" "),s=u(n);return"<"+s+" "+c+"></"+s+">"},e}(),P=function(e){return E(r.isObject(e.bindToController)?e.bindToController:e.scope)},E=function(e){return Object.keys(e||{}).map(function(t){return[t,/^([=<@&])[?]?(.*)/.exec(e[t])]}).filter(function(e){return r.isDefined(e)&&r.isArray(e[1])}).map(function(e){return{name:e[1][2]||e[0],type:e[1][1]}})},j=function(){function e(t,n){this.stateRegistry=t,this.stateService=n,r.createProxyFunctions(r.val(e.prototype),this,r.val(this))}return e.prototype.decorator=function(e,t){return this.stateRegistry.decorator(e,t)||this},e.prototype.state=function(e,t){return r.isObject(e)?t=e:t.name=e,this.stateRegistry.register(t),this},e.prototype.onInvalid=function(e){return this.stateService.onInvalid(e)},e}(),A=function(e){return function(t,n){var i=t[e],o="onExit"===e?"from":"to";return i?function(e,t){var n=new r.ResolveContext(e.treeChanges(o)).subContext(t.$$state()),a=r.extend(T(n),{$state$:t,$transition$:e});return r.services.$injector.invoke(i,this,a)}:void 0}},V=function(){function e(e){this._urlListeners=[],this.$locationProvider=e;var t=r.val(e);r.createProxyFunctions(t,this,t,["hashPrefix"])}return e.monkeyPatchPathParameterType=function(e){var t=e.urlMatcherFactory.type("path");t.encode=function(e){return null!=e?e.toString().replace(/(~|\/)/g,function(e){return{"~":"~~","/":"~2F"}[e]}):e},t.decode=function(e){return null!=e?e.toString().replace(/(~~|~2F)/g,function(e){return{"~~":"~","~2F":"/"}[e]}):e}},e.prototype.dispose=function(){},e.prototype.onChange=function(e){var t=this;return this._urlListeners.push(e),function(){return r.removeFrom(t._urlListeners)(e)}},e.prototype.html5Mode=function(){var e=this.$locationProvider.html5Mode();return(e=r.isObject(e)?e.enabled:e)&&this.$sniffer.history},e.prototype.url=function(e,t,n){return void 0===t&&(t=!1),r.isDefined(e)&&this.$location.url(e),t&&this.$location.replace(),n&&this.$location.state(n),this.$location.url()},e.prototype._runtimeServices=function(e,t,n,i){var o=this;this.$location=t,this.$sniffer=n,e.$on("$locationChangeSuccess",function(e){return o._urlListeners.forEach(function(t){return t(e)})});var a=r.val(t),u=r.val(i);r.createProxyFunctions(a,this,a,["replace","path","search","hash"]),r.createProxyFunctions(a,this,a,["port","protocol","host"]),r.createProxyFunctions(u,this,u,["baseHref"])},e}(),D=function(){function e(e){this._router=e,this._urlRouter=e.urlRouter}return e.injectableHandler=function(e,t){return function(n){return r.services.$injector.invoke(t,null,{$match:n,$stateParams:e.globals.params})}},e.prototype.$get=function(){var e=this._urlRouter;return e.update(!0),e.interceptDeferred||e.listen(),e},e.prototype.rule=function(e){var t=this;if(!r.isFunction(e))throw new Error("'rule' must be a function");var n=new r.BaseUrlRule(function(){return e(r.services.$injector,t._router.locationService)},r.identity);return this._urlRouter.rule(n),this},e.prototype.otherwise=function(e){var t=this,n=this._urlRouter;if(r.isString(e))n.otherwise(e);else{if(!r.isFunction(e))throw new Error("'rule' must be a string or function");n.otherwise(function(){return e(r.services.$injector,t._router.locationService)})}return this},e.prototype.when=function(t,n){return(r.isArray(n)||r.isFunction(n))&&(n=e.injectableHandler(this._router,n)),this._urlRouter.when(t,n),this},e.prototype.deferIntercept=function(e){this._urlRouter.deferIntercept(e)},e}();S.module("ui.router.angular1",[]);var F=S.module("ui.router.init",[]),_=S.module("ui.router.util",["ng","ui.router.init"]),I=S.module("ui.router.router",["ui.router.util"]),q=S.module("ui.router.state",["ui.router.router","ui.router.util","ui.router.angular1"]),O=S.module("ui.router",["ui.router.init","ui.router.state","ui.router.angular1"]),U=(S.module("ui.router.compat",["ui.router"]),null);a.$inject=["$locationProvider"];var k=function(e){return["$uiRouterProvider",function(t){var r=t.router[e];return r.$get=function(){return r},r}]};u.$inject=["$injector","$q","$uiRouter"];c.$inject=["$rootScope"],F.provider("$uiRouter",a),I.provider("$urlRouter",["$uiRouterProvider",function(e){return e.urlRouterProvider=new D(e)}]),_.provider("$urlService",k("urlService")),_.provider("$urlMatcherFactory",["$uiRouterProvider",function(){return U.urlMatcherFactory}]),_.provider("$templateFactory",function(){return new b}),q.provider("$stateRegistry",k("stateRegistry")),q.provider("$uiRouterGlobals",k("globals")),q.provider("$transitions",k("transitionService")),q.provider("$state",["$uiRouterProvider",function(){return r.extend(U.stateProvider,{$get:function(){return U.stateService}})}]),q.factory("$stateParams",["$uiRouter",function(e){return e.globals.params}]),O.factory("$view",function(){return U.viewService}),O.service("$trace",function(){return r.trace}),O.run(c),_.run(["$urlMatcherFactory",function(e){}]),q.run(["$state",function(e){}]),I.run(["$urlRouter",function(e){}]),F.run(u);var L,T=function(e){return e.getTokens().filter(r.isString).map(function(t){var r=e.getResolvable(t);return[t,"NOWAIT"===e.getPolicy(r).async?r.promise:r.data]}).reduce(r.applyPairs,{})};L=["$uiRouter","$timeout",function(e,t){var n=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,o,a,u){function c(){var e=w();m&&m(),h&&(m=h.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&a.$set($.attr,e.href)}var l,$=v(o),h=u[1]||u[0],m=null,g={},w=function(){return f(n,o,g)},y=s(a.uiSref);g.uiState=y.state,g.uiStateOpts=a.uiSrefOpts?i.$eval(a.uiSrefOpts):{},y.paramExpr&&(i.$watch(y.paramExpr,function(e){g.uiStateParams=r.extend({},e),c()},!0),g.uiStateParams=r.extend({},i.$eval(y.paramExpr))),c(),i.$on("$destroy",e.stateRegistry.onStatesChanged(c)),i.$on("$destroy",e.transitionService.onSuccess({},c)),$.clickable&&(l=p(o,n,t,$,w),d(o,i,l,g.uiStateOpts))}}}];var M;M=["$uiRouter","$timeout",function(e,t){var n=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,o,a,u){function c(){var e=g();h&&h(),$&&(h=$.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&a.$set(l.attr,e.href)}var s,l=v(o),$=u[1]||u[0],h=null,m={},g=function(){return f(n,o,m)},w=["uiState","uiStateParams","uiStateOpts"],y=w.reduce(function(e,t){return e[t]=r.noop,e},{});w.forEach(function(e){m[e]=a[e]?i.$eval(a[e]):null,a.$observe(e,function(t){y[e](),y[e]=i.$watch(t,function(t){m[e]=t,c()},!0)})}),c(),i.$on("$destroy",e.stateRegistry.onStatesChanged(c)),i.$on("$destroy",e.transitionService.onSuccess({},c)),l.clickable&&(s=p(o,n,t,l,g),d(o,i,s,m.uiStateOpts))}}}];var N;N=["$state","$stateParams","$interpolate","$uiRouter",function(e,t,n,i){return{restrict:"A",controller:["$scope","$element","$attrs",function(t,o,a){function u(e){e.promise.then(f,r.noop)}function c(t,n,i){var a={state:e.get(t,l(o))||{name:t},params:n,activeClass:i};return $.push(a),function(){r.removeFrom($)(a)}}function f(){var n=function(e){return e.split(/\s/).filter(r.identity)},i=function(e){return e.map(function(e){return e.activeClass}).map(n).reduce(r.unnestR,[])},a=i($).concat(n(v)).reduce(r.uniqR,[]),u=i($.filter(function(t){return e.includes(t.state.name,t.params)})),c=!!$.filter(function(t){return e.is(t.state.name,t.params)}).length?n(v):[],s=u.concat(c).reduce(r.uniqR,[]),l=a.filter(function(e){return!r.inArray(s,e)});t.$evalAsync(function(){s.forEach(function(e){return o.addClass(e)}),l.forEach(function(e){return o.removeClass(e)})})}var v,p,$=[];v=n(a.uiSrefActiveEq||"",!1)(t);try{p=t.$eval(a.uiSrefActive)}catch(e){}p=p||n(a.uiSrefActive||"",!1)(t),r.isObject(p)&&r.forEach(p,function(e,n){if(r.isString(e)){var i=s(e);c(i.state,t.$eval(i.paramExpr),n)}}),this.$$addStateInfo=function(e,t){if(!(r.isObject(p)&&$.length>0)){var n=c(e,t,p);return f(),n}},t.$on("$stateChangeSuccess",f),t.$on("$destroy",i.transitionService.onStart({},u)),i.globals.transition&&u(i.globals.transition),f()}]}}],S.module("ui.router.state").directive("uiSref",L).directive("uiSrefActive",N).directive("uiSrefActiveEq",N).directive("uiState",M),h.$inject=["$state"],m.$inject=["$state"],S.module("ui.router.state").filter("isState",h).filter("includedByState",m);var H;H=["$view","$animate","$uiViewScroll","$interpolate","$q",function(e,t,n,i,o){function a(e,r){return{enter:function(e,r,n){S.version.minor>2?t.enter(e,null,r).then(n):t.enter(e,null,r,n)},leave:function(e,r){S.version.minor>2?t.leave(e).then(r):t.leave(e,r)}}}function u(e,t){return e===t}var c={$cfg:{viewDecl:{$context:e._pluginapi._rootViewContext()}},$uiView:{}},s={count:0,restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(t,l,f){return function(t,l,v){function p(){if(d&&(r.trace.traceUIViewEvent("Removing (previous) el",d.data("$uiView")),d.remove(),d=null),m&&(r.trace.traceUIViewEvent("Destroying scope",P),m.$destroy(),m=null),h){var e=h.data("$uiViewAnim");r.trace.traceUIViewEvent("Animate out",e),R.leave(h,function(){e.$$animLeave.resolve(),d=null}),d=h,h=null}}function $(e){var i=t.$new(),a=o.defer(),u=o.defer(),c={$cfg:e,$uiView:P},s={$animEnter:a.promise,$animLeave:u.promise,$$animLeave:u};i.$emit("$viewContentLoading",b);var v=f(i,function(e){e.data("$uiViewAnim",s),e.data("$uiView",c),R.enter(e,l,function(){a.resolve(),m&&m.$emit("$viewContentAnimationEnded"),(r.isDefined(S)&&!S||t.$eval(S))&&n(e)}),p()});h=v,(m=i).$emit("$viewContentLoaded",e||g),m.$eval(y)}var d,h,m,g,w,y=v.onload||"",S=v.autoscroll,R=a(),x=l.inheritedData("$uiView")||c,b=i(v.uiView||v.name||"")(t)||"$default",P={$type:"ng1",id:s.count++,name:b,fqn:x.$uiView.fqn?x.$uiView.fqn+"."+b:b,config:null,configUpdated:function(e){(!e||e instanceof C)&&(u(g,e)||(r.trace.traceUIViewConfigUpdated(P,e&&e.viewDecl&&e.viewDecl.$context),g=e,$(e)))},get creationContext(){var e=r.parse("$cfg.viewDecl.$context")(x),t=r.parse("$uiView.creationContext")(x);return e||t}};r.trace.traceUIViewEvent("Linking",P),l.data("$uiView",{$uiView:P}),$(),w=e.registerUIView(P),t.$on("$destroy",function(){r.trace.traceUIViewEvent("Destroying/Unregistering",P),w()})}}};return s}],g.$inject=["$compile","$controller","$transitions","$view","$q","$timeout"];var B="function"==typeof S.module("ui.router").component,K=0;S.module("ui.router.state").directive("uiView",H),S.module("ui.router.state").directive("uiView",g),S.module("ui.router.state").provider("$uiViewScroll",function(){var e=!1;this.useAnchorScroll=function(){e=!0},this.$get=["$anchorScroll","$timeout",function(t,r){return e?t:function(e){return r(function(){e[0].scrollIntoView()},0,!1)}}]});e.default="ui.router",e.core=r,e.watchDigests=c,e.getLocals=T,e.getNg1ViewConfigFactory=n,e.ng1ViewsBuilder=i,e.Ng1ViewConfig=C,e.StateProvider=j,e.UrlRouterProvider=D,Object.keys(r).forEach(function(t){e[t]=r[t]}),Object.defineProperty(e,"__esModule",{value:!0})}); //# sourceMappingURL=ui-router-angularjs.min.js.map