Eric Foster il y a 6 ans
révision
3e40be31df
78 fichiers modifiés avec 159593 ajouts et 0 suppressions
  1. BIN
      .DS_Store
  2. 0
    0
      README.md
  3. 90
    0
      index.html
  4. 83
    0
      js/app.js
  5. 50
    0
      js/controllers.js
  6. 5
    0
      js/directives.js
  7. 63
    0
      js/routes.js
  8. 9
    0
      js/services.js
  9. 9813
    0
      lib/ionic/css/ionic.css
  10. 23
    0
      lib/ionic/css/ionic.min.css
  11. BIN
      lib/ionic/fonts/ionicons.eot
  12. 2230
    0
      lib/ionic/fonts/ionicons.svg
  13. BIN
      lib/ionic/fonts/ionicons.ttf
  14. BIN
      lib/ionic/fonts/ionicons.woff
  15. 4232
    0
      lib/ionic/js/angular-ui/angular-ui-router.js
  16. 7
    0
      lib/ionic/js/angular-ui/angular-ui-router.min.js
  17. 4115
    0
      lib/ionic/js/angular/angular-animate.js
  18. 56
    0
      lib/ionic/js/angular/angular-animate.min.js
  19. 768
    0
      lib/ionic/js/angular/angular-resource.js
  20. 15
    0
      lib/ionic/js/angular/angular-resource.min.js
  21. 717
    0
      lib/ionic/js/angular/angular-sanitize.js
  22. 15
    0
      lib/ionic/js/angular/angular-sanitize.min.js
  23. 30714
    0
      lib/ionic/js/angular/angular.js
  24. 311
    0
      lib/ionic/js/angular/angular.min.js
  25. 14399
    0
      lib/ionic/js/ionic-angular.js
  26. 18
    0
      lib/ionic/js/ionic-angular.min.js
  27. 67582
    0
      lib/ionic/js/ionic.bundle.js
  28. 472
    0
      lib/ionic/js/ionic.bundle.min.js
  29. 13361
    0
      lib/ionic/js/ionic.js
  30. 20
    0
      lib/ionic/js/ionic.min.js
  31. 170
    0
      lib/ionic/scss/_action-sheet.scss
  32. 48
    0
      lib/ionic/scss/_animations.scss
  33. 24
    0
      lib/ionic/scss/_backdrop.scss
  34. 62
    0
      lib/ionic/scss/_badge.scss
  35. 417
    0
      lib/ionic/scss/_bar.scss
  36. 92
    0
      lib/ionic/scss/_button-bar.scss
  37. 252
    0
      lib/ionic/scss/_button.scss
  38. 180
    0
      lib/ionic/scss/_checkbox.scss
  39. 327
    0
      lib/ionic/scss/_form.scss
  40. 159
    0
      lib/ionic/scss/_grid.scss
  41. 825
    0
      lib/ionic/scss/_items.scss
  42. 125
    0
      lib/ionic/scss/_list.scss
  43. 51
    0
      lib/ionic/scss/_loading.scss
  44. 70
    0
      lib/ionic/scss/_menu.scss
  45. 642
    0
      lib/ionic/scss/_mixins.scss
  46. 102
    0
      lib/ionic/scss/_modal.scss
  47. 77
    0
      lib/ionic/scss/_platform.scss
  48. 168
    0
      lib/ionic/scss/_popover.scss
  49. 110
    0
      lib/ionic/scss/_popup.scss
  50. 11
    0
      lib/ionic/scss/_progress.scss
  51. 47
    0
      lib/ionic/scss/_radio.scss
  52. 160
    0
      lib/ionic/scss/_range.scss
  53. 113
    0
      lib/ionic/scss/_refresher.scss
  54. 365
    0
      lib/ionic/scss/_reset.scss
  55. 291
    0
      lib/ionic/scss/_scaffolding.scss
  56. 142
    0
      lib/ionic/scss/_select.scss
  57. 71
    0
      lib/ionic/scss/_slide-box.scss
  58. 529
    0
      lib/ionic/scss/_slides.scss
  59. 100
    0
      lib/ionic/scss/_spinner.scss
  60. 542
    0
      lib/ionic/scss/_tabs.scss
  61. 198
    0
      lib/ionic/scss/_toggle.scss
  62. 188
    0
      lib/ionic/scss/_transitions.scss
  63. 166
    0
      lib/ionic/scss/_type.scss
  64. 296
    0
      lib/ionic/scss/_util.scss
  65. 764
    0
      lib/ionic/scss/_variables.scss
  66. 54
    0
      lib/ionic/scss/ionic.scss
  67. 28
    0
      lib/ionic/scss/ionicons/_ionicons-font.scss
  68. 1473
    0
      lib/ionic/scss/ionicons/_ionicons-icons.scss
  69. 741
    0
      lib/ionic/scss/ionicons/_ionicons-variables.scss
  70. 16
    0
      lib/ionic/scss/ionicons/ionicons.scss
  71. 6
    0
      lib/ionic/version.json
  72. 90
    0
      lib/ionicuirouter/ionicUIRouter.js
  73. 22
    0
      templates/activePage.html
  74. 40
    0
      templates/availablePage.html
  75. 19
    0
      templates/login.html
  76. 19
    0
      templates/promotionsWallet.html
  77. 20
    0
      templates/redeemedPage.html
  78. 13
    0
      templates/tabsController.html

BIN
.DS_Store Voir le fichier


+ 0
- 0
README.md Voir le fichier


+ 90
- 0
index.html Voir le fichier

@@ -0,0 +1,90 @@
1
+<!DOCTYPE html>
2
+<html>
3
+  <head>
4
+    <meta charset="utf-8">
5
+    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
6
+    <title></title>
7
+
8
+    
9
+    
10
+    <script src="lib/ionic/js/ionic.bundle.js"></script>
11
+
12
+    <!-- cordova script (this will be a 404 during development) -->
13
+    <script src="cordova.js"></script>
14
+
15
+    <!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
16
+    <link href="css/ionic.app.css" rel="stylesheet">
17
+    -->
18
+
19
+    <link href="lib/ionic/css/ionic.css" rel="stylesheet">
20
+
21
+    <style type="text/css">
22
+      .platform-ios .manual-ios-statusbar-padding{
23
+        padding-top:20px;
24
+      }
25
+      .manual-remove-top-padding{
26
+        padding-top:0px; 
27
+      }
28
+      .manual-remove-top-padding .scroll{
29
+        padding-top:0px !important;
30
+      }
31
+      ion-list.manual-list-fullwidth div.list, .list.card.manual-card-fullwidth {
32
+        margin-left:-10px;
33
+        margin-right:-10px;
34
+      }
35
+      ion-list.manual-list-fullwidth div.list > .item, .list.card.manual-card-fullwidth > .item {
36
+        border-radius:0px;
37
+        border-left:0px;
38
+        border-right: 0px;
39
+      }
40
+      .show-list-numbers-and-dots ul{
41
+        list-style-type: disc;
42
+        padding-left:40px;
43
+      }
44
+      .show-list-numbers-and-dots ol{
45
+        list-style-type: decimal;
46
+        padding-left:40px;
47
+      }
48
+    </style>
49
+
50
+    <script src="js/app.js"></script>
51
+    <script src="js/controllers.js"></script>
52
+    <script src="js/routes.js"></script>
53
+    
54
+    <script src="js/directives.js"></script>
55
+    <script src="js/services.js"></script>
56
+
57
+    <!-- Only required for Tab projects w/ pages in multiple tabs 
58
+    <script src="lib/ionicuirouter/ionicUIRouter.js"></script>
59
+    -->
60
+
61
+  </head>
62
+  <body ng-app="app" animation="slide-left-right-ios7">
63
+  <div>
64
+  <ion-side-menus enable-menu-with-back-views="false" data-componentid="side-menu21">
65
+    <ion-side-menu-content>
66
+      <ion-nav-bar class="bar-stable">
67
+        <ion-nav-back-button></ion-nav-back-button>
68
+        <ion-nav-buttons side="left">
69
+          <button class="button button-icon button-clear ion-navicon" menu-toggle="left"></button>
70
+        </ion-nav-buttons>
71
+      </ion-nav-bar>
72
+      <ion-nav-view></ion-nav-view>
73
+    </ion-side-menu-content>
74
+    <ion-side-menu side="left" id="side-menu21">
75
+      <ion-header-bar class="bar-stable">
76
+        <div class="title">Menu</div>
77
+      </ion-header-bar>
78
+      <ion-content ng-controller="menuCtrl" padding="false" class="side-menu-left has-header ">
79
+        <ion-list id="menu-list1" data-componentid="list1">
80
+          <ion-item id="menu-list-item16" data-componentid="list-item16">My Profile</ion-item>
81
+          <ion-item id="menu-list-item11" data-componentid="list-item11">Companies</ion-item>
82
+          <ion-item id="menu-list-item10" data-componentid="list-item10">Settings</ion-item>
83
+          <ion-item id="menu-list-item15" data-componentid="list-item15">Archived</ion-item>
84
+        </ion-list>
85
+      </ion-content>
86
+    </ion-side-menu>
87
+  </ion-side-menus>
88
+</div>
89
+  </body>
90
+</html>

+ 83
- 0
js/app.js Voir le fichier

@@ -0,0 +1,83 @@
1
+// Ionic Starter App
2
+
3
+// angular.module is a global place for creating, registering and retrieving Angular modules
4
+// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
5
+// the 2nd parameter is an array of 'requires'
6
+// 'starter.services' is found in services.js
7
+// 'starter.controllers' is found in controllers.js
8
+angular.module('app', ['ionic', 'app.controllers', 'app.routes', 'app.directives','app.services',])
9
+
10
+.config(function($ionicConfigProvider, $sceDelegateProvider){
11
+
12
+  $sceDelegateProvider.resourceUrlWhitelist([ 'self','*://www.youtube.com/**', '*://player.vimeo.com/video/**']);
13
+
14
+})
15
+
16
+.run(function($ionicPlatform) {
17
+  $ionicPlatform.ready(function() {
18
+    // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
19
+    // for form inputs)
20
+    if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
21
+      cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
22
+      cordova.plugins.Keyboard.disableScroll(true);
23
+    }
24
+    if (window.StatusBar) {
25
+      // org.apache.cordova.statusbar required
26
+      StatusBar.styleDefault();
27
+    }
28
+  });
29
+})
30
+
31
+/*
32
+  This directive is used to disable the "drag to open" functionality of the Side-Menu
33
+  when you are dragging a Slider component.
34
+*/
35
+.directive('disableSideMenuDrag', ['$ionicSideMenuDelegate', '$rootScope', function($ionicSideMenuDelegate, $rootScope) {
36
+    return {
37
+        restrict: "A",  
38
+        controller: ['$scope', '$element', '$attrs', function ($scope, $element, $attrs) {
39
+
40
+            function stopDrag(){
41
+              $ionicSideMenuDelegate.canDragContent(false);
42
+            }
43
+
44
+            function allowDrag(){
45
+              $ionicSideMenuDelegate.canDragContent(true);
46
+            }
47
+
48
+            $rootScope.$on('$ionicSlides.slideChangeEnd', allowDrag);
49
+            $element.on('touchstart', stopDrag);
50
+            $element.on('touchend', allowDrag);
51
+            $element.on('mousedown', stopDrag);
52
+            $element.on('mouseup', allowDrag);
53
+
54
+        }]
55
+    };
56
+}])
57
+
58
+/*
59
+  This directive is used to open regular and dynamic href links inside of inappbrowser.
60
+*/
61
+.directive('hrefInappbrowser', function() {
62
+  return {
63
+    restrict: 'A',
64
+    replace: false,
65
+    transclude: false,
66
+    link: function(scope, element, attrs) {
67
+      var href = attrs['hrefInappbrowser'];
68
+
69
+      attrs.$observe('hrefInappbrowser', function(val){
70
+        href = val;
71
+      });
72
+      
73
+      element.bind('click', function (event) {
74
+
75
+        window.open(href, '_system', 'location=yes');
76
+
77
+        event.preventDefault();
78
+        event.stopPropagation();
79
+
80
+      });
81
+    }
82
+  };
83
+});

+ 50
- 0
js/controllers.js Voir le fichier

@@ -0,0 +1,50 @@
1
+angular.module('app.controllers', [])
2
+  
3
+.controller('availablePageCtrl', ['$scope', '$stateParams', // The following is the constructor function for this page's controller. See https://docs.angularjs.org/guide/controller
4
+// You can include any angular dependencies as parameters for this function
5
+// TIP: Access Route Parameters for your page via $stateParams.parameterName
6
+function ($scope, $stateParams) {
7
+
8
+
9
+}])
10
+   
11
+.controller('activePageCtrl', ['$scope', '$stateParams', // The following is the constructor function for this page's controller. See https://docs.angularjs.org/guide/controller
12
+// You can include any angular dependencies as parameters for this function
13
+// TIP: Access Route Parameters for your page via $stateParams.parameterName
14
+function ($scope, $stateParams) {
15
+
16
+
17
+}])
18
+   
19
+.controller('redeemedPageCtrl', ['$scope', '$stateParams', // The following is the constructor function for this page's controller. See https://docs.angularjs.org/guide/controller
20
+// You can include any angular dependencies as parameters for this function
21
+// TIP: Access Route Parameters for your page via $stateParams.parameterName
22
+function ($scope, $stateParams) {
23
+
24
+
25
+}])
26
+      
27
+.controller('menuCtrl', ['$scope', '$stateParams', // The following is the constructor function for this page's controller. See https://docs.angularjs.org/guide/controller
28
+// You can include any angular dependencies as parameters for this function
29
+// TIP: Access Route Parameters for your page via $stateParams.parameterName
30
+function ($scope, $stateParams) {
31
+
32
+
33
+}])
34
+   
35
+.controller('loginCtrl', ['$scope', '$stateParams', // The following is the constructor function for this page's controller. See https://docs.angularjs.org/guide/controller
36
+// You can include any angular dependencies as parameters for this function
37
+// TIP: Access Route Parameters for your page via $stateParams.parameterName
38
+function ($scope, $stateParams) {
39
+
40
+
41
+}])
42
+   
43
+.controller('promotionsWalletCtrl', ['$scope', '$stateParams', // The following is the constructor function for this page's controller. See https://docs.angularjs.org/guide/controller
44
+// You can include any angular dependencies as parameters for this function
45
+// TIP: Access Route Parameters for your page via $stateParams.parameterName
46
+function ($scope, $stateParams) {
47
+
48
+
49
+}])
50
+ 

+ 5
- 0
js/directives.js Voir le fichier

@@ -0,0 +1,5 @@
1
+angular.module('app.directives', [])
2
+
3
+.directive('blankDirective', [function(){
4
+
5
+}]);

+ 63
- 0
js/routes.js Voir le fichier

@@ -0,0 +1,63 @@
1
+angular.module('app.routes', [])
2
+
3
+.config(function($stateProvider, $urlRouterProvider) {
4
+
5
+  // Ionic uses AngularUI Router which uses the concept of states
6
+  // Learn more here: https://github.com/angular-ui/ui-router
7
+  // Set up the various states which the app can be in.
8
+  // Each state's controller can be found in controllers.js
9
+  $stateProvider
10
+    
11
+
12
+      .state('tabsController.availablePage', {
13
+    url: '/page2',
14
+    views: {
15
+      'tab1': {
16
+        templateUrl: 'templates/availablePage.html',
17
+        controller: 'availablePageCtrl'
18
+      }
19
+    }
20
+  })
21
+
22
+  .state('tabsController.activePage', {
23
+    url: '/page3',
24
+    views: {
25
+      'tab2': {
26
+        templateUrl: 'templates/activePage.html',
27
+        controller: 'activePageCtrl'
28
+      }
29
+    }
30
+  })
31
+
32
+  .state('tabsController.redeemedPage', {
33
+    url: '/page4',
34
+    views: {
35
+      'tab3': {
36
+        templateUrl: 'templates/redeemedPage.html',
37
+        controller: 'redeemedPageCtrl'
38
+      }
39
+    }
40
+  })
41
+
42
+  .state('tabsController', {
43
+    url: '/page1',
44
+    templateUrl: 'templates/tabsController.html',
45
+    abstract:true
46
+  })
47
+
48
+  .state('login', {
49
+    url: '/page5',
50
+    templateUrl: 'templates/login.html',
51
+    controller: 'loginCtrl'
52
+  })
53
+
54
+  .state('promotionsWallet', {
55
+    url: '/page6',
56
+    templateUrl: 'templates/promotionsWallet.html',
57
+    controller: 'promotionsWalletCtrl'
58
+  })
59
+
60
+$urlRouterProvider.otherwise('/page1/page4')
61
+
62
+
63
+});

+ 9
- 0
js/services.js Voir le fichier

@@ -0,0 +1,9 @@
1
+angular.module('app.services', [])
2
+
3
+.factory('BlankFactory', [function(){
4
+
5
+}])
6
+
7
+.service('BlankService', [function(){
8
+
9
+}]);

+ 9813
- 0
lib/ionic/css/ionic.css
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 23
- 0
lib/ionic/css/ionic.min.css
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


BIN
lib/ionic/fonts/ionicons.eot Voir le fichier


+ 2230
- 0
lib/ionic/fonts/ionicons.svg
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


BIN
lib/ionic/fonts/ionicons.ttf Voir le fichier


BIN
lib/ionic/fonts/ionicons.woff Voir le fichier


+ 4232
- 0
lib/ionic/js/angular-ui/angular-ui-router.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 7
- 0
lib/ionic/js/angular-ui/angular-ui-router.min.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 4115
- 0
lib/ionic/js/angular/angular-animate.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 56
- 0
lib/ionic/js/angular/angular-animate.min.js Voir le fichier

@@ -0,0 +1,56 @@
1
+/*
2
+ AngularJS v1.5.3
3
+ (c) 2010-2016 Google, Inc. http://angularjs.org
4
+ License: MIT
5
+*/
6
+(function(E,w,Va){'use strict';function ya(a,b,c){if(!a)throw Ka("areq",b||"?",c||"required");return a}function za(a,b){if(!a&&!b)return"";if(!a)return b;if(!b)return a;ba(a)&&(a=a.join(" "));ba(b)&&(b=b.join(" "));return a+" "+b}function La(a){var b={};a&&(a.to||a.from)&&(b.to=a.to,b.from=a.from);return b}function V(a,b,c){var d="";a=ba(a)?a:a&&I(a)&&a.length?a.split(/\s+/):[];q(a,function(a,f){a&&0<a.length&&(d+=0<f?" ":"",d+=c?b+a:a+b)});return d}function Ma(a){if(a instanceof H)switch(a.length){case 0:return[];
7
+case 1:if(1===a[0].nodeType)return a;break;default:return H(ga(a))}if(1===a.nodeType)return H(a)}function ga(a){if(!a[0])return a;for(var b=0;b<a.length;b++){var c=a[b];if(1==c.nodeType)return c}}function Na(a,b,c){q(b,function(b){a.addClass(b,c)})}function Oa(a,b,c){q(b,function(b){a.removeClass(b,c)})}function Q(a){return function(b,c){c.addClass&&(Na(a,b,c.addClass),c.addClass=null);c.removeClass&&(Oa(a,b,c.removeClass),c.removeClass=null)}}function oa(a){a=a||{};if(!a.$$prepared){var b=a.domOperation||
8
+O;a.domOperation=function(){a.$$domOperationFired=!0;b();b=O};a.$$prepared=!0}return a}function ha(a,b){Aa(a,b);Ba(a,b)}function Aa(a,b){b.from&&(a.css(b.from),b.from=null)}function Ba(a,b){b.to&&(a.css(b.to),b.to=null)}function T(a,b,c){var d=b.options||{};c=c.options||{};var e=(d.addClass||"")+" "+(c.addClass||""),f=(d.removeClass||"")+" "+(c.removeClass||"");a=Pa(a.attr("class"),e,f);c.preparationClasses&&(d.preparationClasses=W(c.preparationClasses,d.preparationClasses),delete c.preparationClasses);
9
+e=d.domOperation!==O?d.domOperation:null;Ca(d,c);e&&(d.domOperation=e);d.addClass=a.addClass?a.addClass:null;d.removeClass=a.removeClass?a.removeClass:null;b.addClass=d.addClass;b.removeClass=d.removeClass;return d}function Pa(a,b,c){function d(a){I(a)&&(a=a.split(" "));var b={};q(a,function(a){a.length&&(b[a]=!0)});return b}var e={};a=d(a);b=d(b);q(b,function(a,b){e[b]=1});c=d(c);q(c,function(a,b){e[b]=1===e[b]?null:-1});var f={addClass:"",removeClass:""};q(e,function(b,c){var d,e;1===b?(d="addClass",
10
+e=!a[c]):-1===b&&(d="removeClass",e=a[c]);e&&(f[d].length&&(f[d]+=" "),f[d]+=c)});return f}function A(a){return a instanceof w.element?a[0]:a}function Qa(a,b,c){var d="";b&&(d=V(b,"ng-",!0));c.addClass&&(d=W(d,V(c.addClass,"-add")));c.removeClass&&(d=W(d,V(c.removeClass,"-remove")));d.length&&(c.preparationClasses=d,a.addClass(d))}function pa(a,b){var c=b?"-"+b+"s":"";la(a,[ma,c]);return[ma,c]}function ra(a,b){var c=b?"paused":"",d=X+"PlayState";la(a,[d,c]);return[d,c]}function la(a,b){a.style[b[0]]=
11
+b[1]}function W(a,b){return a?b?a+" "+b:a:b}function Da(a,b,c){var d=Object.create(null),e=a.getComputedStyle(b)||{};q(c,function(a,b){var c=e[a];if(c){var F=c.charAt(0);if("-"===F||"+"===F||0<=F)c=Ra(c);0===c&&(c=null);d[b]=c}});return d}function Ra(a){var b=0;a=a.split(/\s*,\s*/);q(a,function(a){"s"==a.charAt(a.length-1)&&(a=a.substring(0,a.length-1));a=parseFloat(a)||0;b=b?Math.max(a,b):a});return b}function sa(a){return 0===a||null!=a}function Ea(a,b){var c=R,d=a+"s";b?c+="Duration":d+=" linear all";
12
+return[c,d]}function Fa(){var a=Object.create(null);return{flush:function(){a=Object.create(null)},count:function(b){return(b=a[b])?b.total:0},get:function(b){return(b=a[b])&&b.value},put:function(b,c){a[b]?a[b].total++:a[b]={total:1,value:c}}}}function Ga(a,b,c){q(c,function(c){a[c]=Y(a[c])?a[c]:b.style.getPropertyValue(c)})}var O=w.noop,Ha=w.copy,Ca=w.extend,H=w.element,q=w.forEach,ba=w.isArray,I=w.isString,ca=w.isObject,N=w.isUndefined,Y=w.isDefined,Ia=w.isFunction,ta=w.isElement,R,ua,X,va;N(E.ontransitionend)&&
13
+Y(E.onwebkittransitionend)?(R="WebkitTransition",ua="webkitTransitionEnd transitionend"):(R="transition",ua="transitionend");N(E.onanimationend)&&Y(E.onwebkitanimationend)?(X="WebkitAnimation",va="webkitAnimationEnd animationend"):(X="animation",va="animationend");var qa=X+"Delay",wa=X+"Duration",ma=R+"Delay";E=R+"Duration";var Ka=w.$$minErr("ng"),Sa={transitionDuration:E,transitionDelay:ma,transitionProperty:R+"Property",animationDuration:wa,animationDelay:qa,animationIterationCount:X+"IterationCount"},
14
+Ta={transitionDuration:E,transitionDelay:ma,animationDuration:wa,animationDelay:qa};w.module("ngAnimate",[]).directive("ngAnimateSwap",["$animate","$rootScope",function(a,b){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(b,d,e,f,r){var x,F;b.$watchCollection(e.ngAnimateSwap||e["for"],function(e){x&&a.leave(x);F&&(F.$destroy(),F=null);if(e||0===e)F=b.$new(),r(F,function(b){x=b;a.enter(b,null,d)})})}}}]).directive("ngAnimateChildren",["$interpolate",function(a){return{link:function(b,
15
+c,d){function e(a){c.data("$$ngAnimateChildren","on"===a||"true"===a)}var f=d.ngAnimateChildren;w.isString(f)&&0===f.length?c.data("$$ngAnimateChildren",!0):(e(a(f)(b)),d.$observe("ngAnimateChildren",e))}}}]).factory("$$rAFScheduler",["$$rAF",function(a){function b(a){d=d.concat(a);c()}function c(){if(d.length){for(var b=d.shift(),r=0;r<b.length;r++)b[r]();e||a(function(){e||c()})}}var d,e;d=b.queue=[];b.waitUntilQuiet=function(b){e&&e();e=a(function(){e=null;b();c()})};return b}]).provider("$$animateQueue",
16
+["$animateProvider",function(a){function b(a){if(!a)return null;a=a.split(" ");var b=Object.create(null);q(a,function(a){b[a]=!0});return b}function c(a,c){if(a&&c){var d=b(c);return a.split(" ").some(function(a){return d[a]})}}function d(a,b,c,d){return f[a].some(function(a){return a(b,c,d)})}function e(a,b){var c=0<(a.addClass||"").length,d=0<(a.removeClass||"").length;return b?c&&d:c||d}var f=this.rules={skip:[],cancel:[],join:[]};f.join.push(function(a,b,c){return!b.structural&&e(b)});f.skip.push(function(a,
17
+b,c){return!b.structural&&!e(b)});f.skip.push(function(a,b,c){return"leave"==c.event&&b.structural});f.skip.push(function(a,b,c){return c.structural&&2===c.state&&!b.structural});f.cancel.push(function(a,b,c){return c.structural&&b.structural});f.cancel.push(function(a,b,c){return 2===c.state&&b.structural});f.cancel.push(function(a,b,d){if(d.structural)return!1;a=b.addClass;b=b.removeClass;var e=d.addClass;d=d.removeClass;return N(a)&&N(b)||N(e)&&N(d)?!1:c(a,d)||c(b,e)});this.$get=["$$rAF","$rootScope",
18
+"$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(b,c,f,u,l,w,s,M,v,h){function P(){var a=!1;return function(b){a?b():c.$$postDigest(function(){a=!0;b()})}}function y(a,b,c){var g=A(b),d=A(a),k=[];(a=G[c])&&q(a,function(a){t.call(a.node,g)?k.push(a.callback):"leave"===c&&t.call(a.node,d)&&k.push(a.callback)});return k}function k(a,g,k){function m(c,g,d,k){F(function(){var c=y(J,a,g);c.length&&b(function(){q(c,function(b){b(a,
19
+d,k)})})});c.progress(g,d,k)}function G(b){var c=a,g=h;g.preparationClasses&&(c.removeClass(g.preparationClasses),g.preparationClasses=null);g.activeClasses&&(c.removeClass(g.activeClasses),g.activeClasses=null);Ja(a,h);ha(a,h);h.domOperation();f.complete(!b)}var h=Ha(k),t,J;if(a=Ma(a))t=A(a),J=a.parent();var h=oa(h),f=new s,F=P();ba(h.addClass)&&(h.addClass=h.addClass.join(" "));h.addClass&&!I(h.addClass)&&(h.addClass=null);ba(h.removeClass)&&(h.removeClass=h.removeClass.join(" "));h.removeClass&&
20
+!I(h.removeClass)&&(h.removeClass=null);h.from&&!ca(h.from)&&(h.from=null);h.to&&!ca(h.to)&&(h.to=null);if(!t)return G(),f;k=[t.className,h.addClass,h.removeClass].join(" ");if(!Ua(k))return G(),f;var v=0<=["enter","move","leave"].indexOf(g),l=!K||u[0].hidden||C.get(t);k=!l&&z.get(t)||{};var Z=!!k.state;l||Z&&1==k.state||(l=!n(a,J,g));if(l)return G(),f;v&&xa(a);l={structural:v,element:a,event:g,addClass:h.addClass,removeClass:h.removeClass,close:G,options:h,runner:f};if(Z){if(d("skip",a,l,k)){if(2===
21
+k.state)return G(),f;T(a,k,l);return k.runner}if(d("cancel",a,l,k))if(2===k.state)k.runner.end();else if(k.structural)k.close();else return T(a,k,l),k.runner;else if(d("join",a,l,k))if(2===k.state)T(a,l,{});else return Qa(a,v?g:null,h),g=l.event=k.event,h=T(a,k,l),k.runner}else T(a,l,{});(Z=l.structural)||(Z="animate"===l.event&&0<Object.keys(l.options.to||{}).length||e(l));if(!Z)return G(),ka(a),f;var M=(k.counter||0)+1;l.counter=M;D(a,1,l);c.$$postDigest(function(){var b=z.get(t),c=!b,b=b||{},d=
22
+0<(a.parent()||[]).length&&("animate"===b.event||b.structural||e(b));if(c||b.counter!==M||!d){c&&(Ja(a,h),ha(a,h));if(c||v&&b.event!==g)h.domOperation(),f.end();d||ka(a)}else g=!b.structural&&e(b,!0)?"setClass":b.event,D(a,2),b=w(a,g,b.options),b.done(function(b){G(!b);(b=z.get(t))&&b.counter===M&&ka(A(a));m(f,g,"close",{})}),f.setHost(b),m(f,g,"start",{})});return f}function xa(a){a=A(a).querySelectorAll("[data-ng-animate]");q(a,function(a){var b=parseInt(a.getAttribute("data-ng-animate")),c=z.get(a);
23
+if(c)switch(b){case 2:c.runner.end();case 1:z.remove(a)}})}function ka(a){a=A(a);a.removeAttribute("data-ng-animate");z.remove(a)}function J(a,b){return A(a)===A(b)}function n(a,b,c){c=H(u[0].body);var g=J(a,c)||"HTML"===a[0].nodeName,d=J(a,f),k=!1,h,m=C.get(A(a));(a=H.data(a[0],"$ngAnimatePin"))&&(b=a);for(b=A(b);b;){d||(d=J(b,f));if(1!==b.nodeType)break;a=z.get(b)||{};if(!k){var e=C.get(b);if(!0===e&&!1!==m){m=!0;break}else!1===e&&(m=!1);k=a.structural}if(N(h)||!0===h)a=H.data(b,"$$ngAnimateChildren"),
24
+Y(a)&&(h=a);if(k&&!1===h)break;g||(g=J(b,c));if(g&&d)break;if(!d&&(a=H.data(b,"$ngAnimatePin"))){b=A(a);continue}b=b.parentNode}return(!k||h)&&!0!==m&&d&&g}function D(a,b,c){c=c||{};c.state=b;a=A(a);a.setAttribute("data-ng-animate",b);c=(b=z.get(a))?Ca(b,c):c;z.put(a,c)}var z=new l,C=new l,K=null,g=c.$watch(function(){return 0===M.totalPendingRequests},function(a){a&&(g(),c.$$postDigest(function(){c.$$postDigest(function(){null===K&&(K=!0)})}))}),G={},m=a.classNameFilter(),Ua=m?function(a){return m.test(a)}:
25
+function(){return!0},Ja=Q(v),t=Node.prototype.contains||function(a){return this===a||!!(this.compareDocumentPosition(a)&16)},Z={on:function(a,b,c){var g=ga(b);G[a]=G[a]||[];G[a].push({node:g,callback:c});H(b).on("$destroy",function(){Z.off(a,b,c)})},off:function(a,b,c){function g(a,b,c){var d=ga(b);return a.filter(function(a){return!(a.node===d&&(!c||a.callback===c))})}var d=G[a];d&&(G[a]=1===arguments.length?null:g(d,b,c))},pin:function(a,b){ya(ta(a),"element","not an element");ya(ta(b),"parentElement",
26
+"not an element");a.data("$ngAnimatePin",b)},push:function(a,b,c,g){c=c||{};c.domOperation=g;return k(a,b,c)},enabled:function(a,b){var c=arguments.length;if(0===c)b=!!K;else if(ta(a)){var g=A(a),d=C.get(g);1===c?b=!d:C.put(g,!b)}else b=K=!!a;return b}};return Z}]}]).provider("$$animation",["$animateProvider",function(a){function b(a){return a.data("$$animationRunner")}var c=this.drivers=[];this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(a,e,
27
+f,r,x,F){function u(a){function b(a){if(a.processed)return a;a.processed=!0;var d=a.domNode,h=d.parentNode;e.put(d,a);for(var f;h;){if(f=e.get(h)){f.processed||(f=b(f));break}h=h.parentNode}(f||c).children.push(a);return a}var c={children:[]},d,e=new x;for(d=0;d<a.length;d++){var f=a[d];e.put(f.domNode,a[d]={domNode:f.domNode,fn:f.fn,children:[]})}for(d=0;d<a.length;d++)b(a[d]);return function(a){var b=[],c=[],d;for(d=0;d<a.children.length;d++)c.push(a.children[d]);a=c.length;var h=0,e=[];for(d=0;d<
28
+c.length;d++){var f=c[d];0>=a&&(a=h,h=0,b.push(e),e=[]);e.push(f.fn);f.children.forEach(function(a){h++;c.push(a)});a--}e.length&&b.push(e);return b}(c)}var l=[],w=Q(a);return function(s,x,v){function h(a){a=a.hasAttribute("ng-animate-ref")?[a]:a.querySelectorAll("[ng-animate-ref]");var b=[];q(a,function(a){var c=a.getAttribute("ng-animate-ref");c&&c.length&&b.push(a)});return b}function P(a){var b=[],c={};q(a,function(a,g){var d=A(a.element),k=0<=["enter","move"].indexOf(a.event),d=a.structural?
29
+h(d):[];if(d.length){var e=k?"to":"from";q(d,function(a){var b=a.getAttribute("ng-animate-ref");c[b]=c[b]||{};c[b][e]={animationID:g,element:H(a)}})}else b.push(a)});var d={},k={};q(c,function(c,h){var e=c.from,f=c.to;if(e&&f){var m=a[e.animationID],C=a[f.animationID],n=e.animationID.toString();if(!k[n]){var D=k[n]={structural:!0,beforeStart:function(){m.beforeStart();C.beforeStart()},close:function(){m.close();C.close()},classes:y(m.classes,C.classes),from:m,to:C,anchors:[]};D.classes.length?b.push(D):
30
+(b.push(m),b.push(C))}k[n].anchors.push({out:e.element,"in":f.element})}else e=e?e.animationID:f.animationID,f=e.toString(),d[f]||(d[f]=!0,b.push(a[e]))});return b}function y(a,b){a=a.split(" ");b=b.split(" ");for(var c=[],d=0;d<a.length;d++){var k=a[d];if("ng-"!==k.substring(0,3))for(var e=0;e<b.length;e++)if(k===b[e]){c.push(k);break}}return c.join(" ")}function k(a){for(var b=c.length-1;0<=b;b--){var d=c[b];if(f.has(d)&&(d=f.get(d)(a)))return d}}function xa(a,c){a.from&&a.to?(b(a.from.element).setHost(c),
31
+b(a.to.element).setHost(c)):b(a.element).setHost(c)}function ka(){var a=b(s);!a||"leave"===x&&v.$$domOperationFired||a.end()}function J(b){s.off("$destroy",ka);s.removeData("$$animationRunner");w(s,v);ha(s,v);v.domOperation();C&&a.removeClass(s,C);s.removeClass("ng-animate");D.complete(!b)}v=oa(v);var n=0<=["enter","move","leave"].indexOf(x),D=new r({end:function(){J()},cancel:function(){J(!0)}});if(!c.length)return J(),D;s.data("$$animationRunner",D);var z=za(s.attr("class"),za(v.addClass,v.removeClass)),
32
+C=v.tempClasses;C&&(z+=" "+C,v.tempClasses=null);var K;n&&(K="ng-"+x+"-prepare",a.addClass(s,K));l.push({element:s,classes:z,event:x,structural:n,options:v,beforeStart:function(){s.addClass("ng-animate");C&&a.addClass(s,C);K&&(a.removeClass(s,K),K=null)},close:J});s.on("$destroy",ka);if(1<l.length)return D;e.$$postDigest(function(){var a=[];q(l,function(c){b(c.element)?a.push(c):c.close()});l.length=0;var c=P(a),d=[];q(c,function(a){d.push({domNode:A(a.from?a.from.element:a.element),fn:function(){a.beforeStart();
33
+var c,d=a.close;if(b(a.anchors?a.from.element||a.to.element:a.element)){var g=k(a);g&&(c=g.start)}c?(c=c(),c.done(function(a){d(!a)}),xa(a,c)):d()}})});F(u(d))});return D}}]}]).provider("$animateCss",["$animateProvider",function(a){var b=Fa(),c=Fa();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(a,e,f,r,x,F,u,l){function w(a,b){var c=a.parentNode;return(c.$$ngAnimateParentKey||(c.$$ngAnimateParentKey=++P))+"-"+a.getAttribute("class")+
34
+"-"+b}function s(k,h,f,l){var n;0<b.count(f)&&(n=c.get(f),n||(h=V(h,"-stagger"),e.addClass(k,h),n=Da(a,k,l),n.animationDuration=Math.max(n.animationDuration,0),n.transitionDuration=Math.max(n.transitionDuration,0),e.removeClass(k,h),c.put(f,n)));return n||{}}function M(a){y.push(a);u.waitUntilQuiet(function(){b.flush();c.flush();for(var a=x(),d=0;d<y.length;d++)y[d](a);y.length=0})}function v(c,h,e){h=b.get(e);h||(h=Da(a,c,Sa),"infinite"===h.animationIterationCount&&(h.animationIterationCount=1));
35
+b.put(e,h);c=h;e=c.animationDelay;h=c.transitionDelay;c.maxDelay=e&&h?Math.max(e,h):e||h;c.maxDuration=Math.max(c.animationDuration*c.animationIterationCount,c.transitionDuration);return c}var h=Q(e),P=0,y=[];return function(a,c){function d(){n()}function u(){n(!0)}function n(b){if(!(P||H&&da)){P=!0;da=!1;g.$$skipPreparationClasses||e.removeClass(a,fa);e.removeClass(a,ga);ra(m,!1);pa(m,!1);q(y,function(a){m.style[a[0]]=""});h(a,g);ha(a,g);Object.keys(G).length&&q(G,function(a,b){a?m.style.setProperty(b,
36
+a):m.style.removeProperty(b)});if(g.onDone)g.onDone();ea&&ea.length&&a.off(ea.join(" "),C);var c=a.data("$$animateCss");c&&(r.cancel(c[0].timer),a.removeData("$$animateCss"));E&&E.complete(!b)}}function D(a){p.blockTransition&&pa(m,a);p.blockKeyframeAnimation&&ra(m,!!a)}function z(){E=new f({end:d,cancel:u});M(O);n();return{$$willAnimate:!1,start:function(){return E},end:d}}function C(a){a.stopPropagation();var b=a.originalEvent||a;a=b.$manualTimeStamp||Date.now();b=parseFloat(b.elapsedTime.toFixed(3));
37
+Math.max(a-W,0)>=Q&&b>=L&&(H=!0,n())}function K(){function b(){if(!P){D(!1);q(y,function(a){m.style[a[0]]=a[1]});h(a,g);e.addClass(a,ga);if(p.recalculateTimingStyles){na=m.className+" "+fa;ia=w(m,na);B=v(m,na,ia);$=B.maxDelay;I=Math.max($,0);L=B.maxDuration;if(0===L){n();return}p.hasTransitions=0<B.transitionDuration;p.hasAnimations=0<B.animationDuration}p.applyAnimationDelay&&($="boolean"!==typeof g.delay&&sa(g.delay)?parseFloat(g.delay):$,I=Math.max($,0),B.animationDelay=$,aa=[qa,$+"s"],y.push(aa),
38
+m.style[aa[0]]=aa[1]);Q=1E3*I;T=1E3*L;if(g.easing){var d,f=g.easing;p.hasTransitions&&(d=R+"TimingFunction",y.push([d,f]),m.style[d]=f);p.hasAnimations&&(d=X+"TimingFunction",y.push([d,f]),m.style[d]=f)}B.transitionDuration&&ea.push(ua);B.animationDuration&&ea.push(va);W=Date.now();var l=Q+1.5*T;d=W+l;var f=a.data("$$animateCss")||[],K=!0;if(f.length){var z=f[0];(K=d>z.expectedEndTime)?r.cancel(z.timer):f.push(n)}K&&(l=r(c,l,!1),f[0]={timer:l,expectedEndTime:d},f.push(n),a.data("$$animateCss",f));
39
+if(ea.length)a.on(ea.join(" "),C);g.to&&(g.cleanupStyles&&Ga(G,m,Object.keys(g.to)),Ba(a,g))}}function c(){var b=a.data("$$animateCss");if(b){for(var d=1;d<b.length;d++)b[d]();a.removeData("$$animateCss")}}if(!P)if(m.parentNode){var d=function(a){if(H)da&&a&&(da=!1,n());else if(da=!a,B.animationDuration)if(a=ra(m,da),da)y.push(a);else{var b=y,c=b.indexOf(a);0<=a&&b.splice(c,1)}},f=0<ca&&(B.transitionDuration&&0===U.transitionDuration||B.animationDuration&&0===U.animationDuration)&&Math.max(U.animationDelay,
40
+U.transitionDelay);f?r(b,Math.floor(f*ca*1E3),!1):b();N.resume=function(){d(!0)};N.pause=function(){d(!1)}}else n()}var g=c||{};g.$$prepared||(g=oa(Ha(g)));var G={},m=A(a);if(!m||!m.parentNode||!l.enabled())return z();var y=[],x=a.attr("class"),t=La(g),P,da,H,E,N,I,Q,L,T,W,ea=[];if(0===g.duration||!F.animations&&!F.transitions)return z();var ja=g.event&&ba(g.event)?g.event.join(" "):g.event,Y="",S="";ja&&g.structural?Y=V(ja,"ng-",!0):ja&&(Y=ja);g.addClass&&(S+=V(g.addClass,"-add"));g.removeClass&&
41
+(S.length&&(S+=" "),S+=V(g.removeClass,"-remove"));g.applyClassesEarly&&S.length&&h(a,g);var fa=[Y,S].join(" ").trim(),na=x+" "+fa,ga=V(fa,"-active"),x=t.to&&0<Object.keys(t.to).length;if(!(0<(g.keyframeStyle||"").length||x||fa))return z();var ia,U;0<g.stagger?(t=parseFloat(g.stagger),U={transitionDelay:t,animationDelay:t,transitionDuration:0,animationDuration:0}):(ia=w(m,na),U=s(m,fa,ia,Ta));g.$$skipPreparationClasses||e.addClass(a,fa);g.transitionStyle&&(t=[R,g.transitionStyle],la(m,t),y.push(t));
42
+0<=g.duration&&(t=0<m.style[R].length,t=Ea(g.duration,t),la(m,t),y.push(t));g.keyframeStyle&&(t=[X,g.keyframeStyle],la(m,t),y.push(t));var ca=U?0<=g.staggerIndex?g.staggerIndex:b.count(ia):0;(ja=0===ca)&&!g.skipBlocking&&pa(m,9999);var B=v(m,na,ia),$=B.maxDelay;I=Math.max($,0);L=B.maxDuration;var p={};p.hasTransitions=0<B.transitionDuration;p.hasAnimations=0<B.animationDuration;p.hasTransitionAll=p.hasTransitions&&"all"==B.transitionProperty;p.applyTransitionDuration=x&&(p.hasTransitions&&!p.hasTransitionAll||
43
+p.hasAnimations&&!p.hasTransitions);p.applyAnimationDuration=g.duration&&p.hasAnimations;p.applyTransitionDelay=sa(g.delay)&&(p.applyTransitionDuration||p.hasTransitions);p.applyAnimationDelay=sa(g.delay)&&p.hasAnimations;p.recalculateTimingStyles=0<S.length;if(p.applyTransitionDuration||p.applyAnimationDuration)L=g.duration?parseFloat(g.duration):L,p.applyTransitionDuration&&(p.hasTransitions=!0,B.transitionDuration=L,t=0<m.style[R+"Property"].length,y.push(Ea(L,t))),p.applyAnimationDuration&&(p.hasAnimations=
44
+!0,B.animationDuration=L,y.push([wa,L+"s"]));if(0===L&&!p.recalculateTimingStyles)return z();if(null!=g.delay){var aa;"boolean"!==typeof g.delay&&(aa=parseFloat(g.delay),I=Math.max(aa,0));p.applyTransitionDelay&&y.push([ma,aa+"s"]);p.applyAnimationDelay&&y.push([qa,aa+"s"])}null==g.duration&&0<B.transitionDuration&&(p.recalculateTimingStyles=p.recalculateTimingStyles||ja);Q=1E3*I;T=1E3*L;g.skipBlocking||(p.blockTransition=0<B.transitionDuration,p.blockKeyframeAnimation=0<B.animationDuration&&0<U.animationDelay&&
45
+0===U.animationDuration);g.from&&(g.cleanupStyles&&Ga(G,m,Object.keys(g.from)),Aa(a,g));p.blockTransition||p.blockKeyframeAnimation?D(L):g.skipBlocking||pa(m,!1);return{$$willAnimate:!0,end:d,start:function(){if(!P)return N={end:d,cancel:u,resume:null,pause:null},E=new f(N),M(K),E}}}}]}]).provider("$$animateCssDriver",["$$animationProvider",function(a){a.drivers.push("$$animateCssDriver");this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(a,
46
+c,d,e,f,r,x){function F(a){return a.replace(/\bng-\S+\b/g,"")}function u(a,b){I(a)&&(a=a.split(" "));I(b)&&(b=b.split(" "));return a.filter(function(a){return-1===b.indexOf(a)}).join(" ")}function l(c,e,f){function k(a){var b={},c=A(a).getBoundingClientRect();q(["width","height","top","left"],function(a){var d=c[a];switch(a){case "top":d+=M.scrollTop;break;case "left":d+=M.scrollLeft}b[a]=Math.floor(d)+"px"});return b}function l(){var c=F(f.attr("class")||""),d=u(c,n),c=u(n,c),d=a(r,{to:k(f),addClass:"ng-anchor-in "+
47
+d,removeClass:"ng-anchor-out "+c,delay:!0});return d.$$willAnimate?d:null}function x(){r.remove();e.removeClass("ng-animate-shim");f.removeClass("ng-animate-shim")}var r=H(A(e).cloneNode(!0)),n=F(r.attr("class")||"");e.addClass("ng-animate-shim");f.addClass("ng-animate-shim");r.addClass("ng-anchor");v.append(r);var D;c=function(){var c=a(r,{addClass:"ng-anchor-out",delay:!0,from:k(e)});return c.$$willAnimate?c:null}();if(!c&&(D=l(),!D))return x();var z=c||D;return{start:function(){function a(){c&&
48
+c.end()}var b,c=z.start();c.done(function(){c=null;if(!D&&(D=l()))return c=D.start(),c.done(function(){c=null;x();b.complete()}),c;x();b.complete()});return b=new d({end:a,cancel:a})}}}function w(a,b,c,e){var f=s(a,O),r=s(b,O),x=[];q(e,function(a){(a=l(c,a.out,a["in"]))&&x.push(a)});if(f||r||0!==x.length)return{start:function(){function a(){q(b,function(a){a.end()})}var b=[];f&&b.push(f.start());r&&b.push(r.start());q(x,function(a){b.push(a.start())});var c=new d({end:a,cancel:a});d.all(b,function(a){c.complete(a)});
49
+return c}}}function s(c){var d=c.element,e=c.options||{};c.structural&&(e.event=c.event,e.structural=!0,e.applyClassesEarly=!0,"leave"===c.event&&(e.onDone=e.domOperation));e.preparationClasses&&(e.event=W(e.event,e.preparationClasses));c=a(d,e);return c.$$willAnimate?c:null}if(!f.animations&&!f.transitions)return O;var M=x[0].body;c=A(e);var v=H(c.parentNode&&11===c.parentNode.nodeType||M.contains(c)?c:M);Q(r);return function(a){return a.from&&a.to?w(a.from,a.to,a.classes,a.anchors):s(a)}}]}]).provider("$$animateJs",
50
+["$animateProvider",function(a){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(b,c,d){function e(c){c=ba(c)?c:c.split(" ");for(var d=[],e={},f=0;f<c.length;f++){var l=c[f],q=a.$$registeredAnimations[l];q&&!e[l]&&(d.push(b.get(q)),e[l]=!0)}return d}var f=Q(d);return function(a,b,d,u){function l(){u.domOperation();f(a,u)}function w(a,b,d,e,g){switch(d){case "animate":b=[b,e.from,e.to,g];break;case "setClass":b=[b,h,H,g];break;case "addClass":b=[b,h,g];break;case "removeClass":b=[b,H,g];
51
+break;default:b=[b,g]}b.push(e);if(a=a.apply(a,b))if(Ia(a.start)&&(a=a.start()),a instanceof c)a.done(g);else if(Ia(a))return a;return O}function s(a,b,d,e,g){var f=[];q(e,function(e){var h=e[g];h&&f.push(function(){var e,g,f=!1,k=function(a){f||(f=!0,(g||O)(a),e.complete(!a))};e=new c({end:function(){k()},cancel:function(){k(!0)}});g=w(h,a,b,d,function(a){k(!1===a)});return e})});return f}function A(a,b,d,e,g){var f=s(a,b,d,e,g);if(0===f.length){var h,k;"beforeSetClass"===g?(h=s(a,"removeClass",
52
+d,e,"beforeRemoveClass"),k=s(a,"addClass",d,e,"beforeAddClass")):"setClass"===g&&(h=s(a,"removeClass",d,e,"removeClass"),k=s(a,"addClass",d,e,"addClass"));h&&(f=f.concat(h));k&&(f=f.concat(k))}if(0!==f.length)return function(a){var b=[];f.length&&q(f,function(a){b.push(a())});b.length?c.all(b,a):a();return function(a){q(b,function(b){a?b.cancel():b.end()})}}}var v=!1;3===arguments.length&&ca(d)&&(u=d,d=null);u=oa(u);d||(d=a.attr("class")||"",u.addClass&&(d+=" "+u.addClass),u.removeClass&&(d+=" "+
53
+u.removeClass));var h=u.addClass,H=u.removeClass,y=e(d),k,E;if(y.length){var I,J;"leave"==b?(J="leave",I="afterLeave"):(J="before"+b.charAt(0).toUpperCase()+b.substr(1),I=b);"enter"!==b&&"move"!==b&&(k=A(a,b,u,y,J));E=A(a,b,u,y,I)}if(k||E){var n;return{$$willAnimate:!0,end:function(){n?n.end():(v=!0,l(),ha(a,u),n=new c,n.complete(!0));return n},start:function(){function b(c){v=!0;l();ha(a,u);n.complete(c)}if(n)return n;n=new c;var d,e=[];k&&e.push(function(a){d=k(a)});e.length?e.push(function(a){l();
54
+a(!0)}):l();E&&e.push(function(a){d=E(a)});n.setHost({end:function(){v||((d||O)(void 0),b(void 0))},cancel:function(){v||((d||O)(!0),b(!0))}});c.chain(e,b);return n}}}}}]}]).provider("$$animateJsDriver",["$$animationProvider",function(a){a.drivers.push("$$animateJsDriver");this.$get=["$$animateJs","$$AnimateRunner",function(a,c){function d(c){return a(c.element,c.event,c.classes,c.options)}return function(a){if(a.from&&a.to){var b=d(a.from),r=d(a.to);if(b||r)return{start:function(){function a(){return function(){q(d,
55
+function(a){a.end()})}}var d=[];b&&d.push(b.start());r&&d.push(r.start());c.all(d,function(a){e.complete(a)});var e=new c({end:a(),cancel:a()});return e}}}else return d(a)}}]}])})(window,window.angular);
56
+//# sourceMappingURL=angular-animate.min.js.map

+ 768
- 0
lib/ionic/js/angular/angular-resource.js Voir le fichier

@@ -0,0 +1,768 @@
1
+/**
2
+ * @license AngularJS v1.5.3
3
+ * (c) 2010-2016 Google, Inc. http://angularjs.org
4
+ * License: MIT
5
+ */
6
+(function(window, angular, undefined) {'use strict';
7
+
8
+var $resourceMinErr = angular.$$minErr('$resource');
9
+
10
+// Helper functions and regex to lookup a dotted path on an object
11
+// stopping at undefined/null.  The path must be composed of ASCII
12
+// identifiers (just like $parse)
13
+var MEMBER_NAME_REGEX = /^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;
14
+
15
+function isValidDottedPath(path) {
16
+  return (path != null && path !== '' && path !== 'hasOwnProperty' &&
17
+      MEMBER_NAME_REGEX.test('.' + path));
18
+}
19
+
20
+function lookupDottedPath(obj, path) {
21
+  if (!isValidDottedPath(path)) {
22
+    throw $resourceMinErr('badmember', 'Dotted member path "@{0}" is invalid.', path);
23
+  }
24
+  var keys = path.split('.');
25
+  for (var i = 0, ii = keys.length; i < ii && angular.isDefined(obj); i++) {
26
+    var key = keys[i];
27
+    obj = (obj !== null) ? obj[key] : undefined;
28
+  }
29
+  return obj;
30
+}
31
+
32
+/**
33
+ * Create a shallow copy of an object and clear other fields from the destination
34
+ */
35
+function shallowClearAndCopy(src, dst) {
36
+  dst = dst || {};
37
+
38
+  angular.forEach(dst, function(value, key) {
39
+    delete dst[key];
40
+  });
41
+
42
+  for (var key in src) {
43
+    if (src.hasOwnProperty(key) && !(key.charAt(0) === '$' && key.charAt(1) === '$')) {
44
+      dst[key] = src[key];
45
+    }
46
+  }
47
+
48
+  return dst;
49
+}
50
+
51
+/**
52
+ * @ngdoc module
53
+ * @name ngResource
54
+ * @description
55
+ *
56
+ * # ngResource
57
+ *
58
+ * The `ngResource` module provides interaction support with RESTful services
59
+ * via the $resource service.
60
+ *
61
+ *
62
+ * <div doc-module-components="ngResource"></div>
63
+ *
64
+ * See {@link ngResource.$resource `$resource`} for usage.
65
+ */
66
+
67
+/**
68
+ * @ngdoc service
69
+ * @name $resource
70
+ * @requires $http
71
+ * @requires ng.$log
72
+ * @requires $q
73
+ * @requires ng.$timeout
74
+ *
75
+ * @description
76
+ * A factory which creates a resource object that lets you interact with
77
+ * [RESTful](http://en.wikipedia.org/wiki/Representational_State_Transfer) server-side data sources.
78
+ *
79
+ * The returned resource object has action methods which provide high-level behaviors without
80
+ * the need to interact with the low level {@link ng.$http $http} service.
81
+ *
82
+ * Requires the {@link ngResource `ngResource`} module to be installed.
83
+ *
84
+ * By default, trailing slashes will be stripped from the calculated URLs,
85
+ * which can pose problems with server backends that do not expect that
86
+ * behavior.  This can be disabled by configuring the `$resourceProvider` like
87
+ * this:
88
+ *
89
+ * ```js
90
+     app.config(['$resourceProvider', function($resourceProvider) {
91
+       // Don't strip trailing slashes from calculated URLs
92
+       $resourceProvider.defaults.stripTrailingSlashes = false;
93
+     }]);
94
+ * ```
95
+ *
96
+ * @param {string} url A parameterized URL template with parameters prefixed by `:` as in
97
+ *   `/user/:username`. If you are using a URL with a port number (e.g.
98
+ *   `http://example.com:8080/api`), it will be respected.
99
+ *
100
+ *   If you are using a url with a suffix, just add the suffix, like this:
101
+ *   `$resource('http://example.com/resource.json')` or `$resource('http://example.com/:id.json')`
102
+ *   or even `$resource('http://example.com/resource/:resource_id.:format')`
103
+ *   If the parameter before the suffix is empty, :resource_id in this case, then the `/.` will be
104
+ *   collapsed down to a single `.`.  If you need this sequence to appear and not collapse then you
105
+ *   can escape it with `/\.`.
106
+ *
107
+ * @param {Object=} paramDefaults Default values for `url` parameters. These can be overridden in
108
+ *   `actions` methods. If a parameter value is a function, it will be executed every time
109
+ *   when a param value needs to be obtained for a request (unless the param was overridden).
110
+ *
111
+ *   Each key value in the parameter object is first bound to url template if present and then any
112
+ *   excess keys are appended to the url search query after the `?`.
113
+ *
114
+ *   Given a template `/path/:verb` and parameter `{verb:'greet', salutation:'Hello'}` results in
115
+ *   URL `/path/greet?salutation=Hello`.
116
+ *
117
+ *   If the parameter value is prefixed with `@` then the value for that parameter will be extracted
118
+ *   from the corresponding property on the `data` object (provided when calling an action method).
119
+ *   For example, if the `defaultParam` object is `{someParam: '@someProp'}` then the value of
120
+ *   `someParam` will be `data.someProp`.
121
+ *
122
+ * @param {Object.<Object>=} actions Hash with declaration of custom actions that should extend
123
+ *   the default set of resource actions. The declaration should be created in the format of {@link
124
+ *   ng.$http#usage $http.config}:
125
+ *
126
+ *       {action1: {method:?, params:?, isArray:?, headers:?, ...},
127
+ *        action2: {method:?, params:?, isArray:?, headers:?, ...},
128
+ *        ...}
129
+ *
130
+ *   Where:
131
+ *
132
+ *   - **`action`** – {string} – The name of action. This name becomes the name of the method on
133
+ *     your resource object.
134
+ *   - **`method`** – {string} – Case insensitive HTTP method (e.g. `GET`, `POST`, `PUT`,
135
+ *     `DELETE`, `JSONP`, etc).
136
+ *   - **`params`** – {Object=} – Optional set of pre-bound parameters for this action. If any of
137
+ *     the parameter value is a function, it will be executed every time when a param value needs to
138
+ *     be obtained for a request (unless the param was overridden).
139
+ *   - **`url`** – {string} – action specific `url` override. The url templating is supported just
140
+ *     like for the resource-level urls.
141
+ *   - **`isArray`** – {boolean=} – If true then the returned object for this action is an array,
142
+ *     see `returns` section.
143
+ *   - **`transformRequest`** –
144
+ *     `{function(data, headersGetter)|Array.<function(data, headersGetter)>}` –
145
+ *     transform function or an array of such functions. The transform function takes the http
146
+ *     request body and headers and returns its transformed (typically serialized) version.
147
+ *     By default, transformRequest will contain one function that checks if the request data is
148
+ *     an object and serializes to using `angular.toJson`. To prevent this behavior, set
149
+ *     `transformRequest` to an empty array: `transformRequest: []`
150
+ *   - **`transformResponse`** –
151
+ *     `{function(data, headersGetter)|Array.<function(data, headersGetter)>}` –
152
+ *     transform function or an array of such functions. The transform function takes the http
153
+ *     response body and headers and returns its transformed (typically deserialized) version.
154
+ *     By default, transformResponse will contain one function that checks if the response looks
155
+ *     like a JSON string and deserializes it using `angular.fromJson`. To prevent this behavior,
156
+ *     set `transformResponse` to an empty array: `transformResponse: []`
157
+ *   - **`cache`** – `{boolean|Cache}` – If true, a default $http cache will be used to cache the
158
+ *     GET request, otherwise if a cache instance built with
159
+ *     {@link ng.$cacheFactory $cacheFactory}, this cache will be used for
160
+ *     caching.
161
+ *   - **`timeout`** – `{number}` – timeout in milliseconds.<br />
162
+ *     **Note:** In contrast to {@link ng.$http#usage $http.config}, {@link ng.$q promises} are
163
+ *     **not** supported in $resource, because the same value would be used for multiple requests.
164
+ *     If you are looking for a way to cancel requests, you should use the `cancellable` option.
165
+ *   - **`cancellable`** – `{boolean}` – if set to true, the request made by a "non-instance" call
166
+ *     will be cancelled (if not already completed) by calling `$cancelRequest()` on the call's
167
+ *     return value. Calling `$cancelRequest()` for a non-cancellable or an already
168
+ *     completed/cancelled request will have no effect.<br />
169
+ *   - **`withCredentials`** - `{boolean}` - whether to set the `withCredentials` flag on the
170
+ *     XHR object. See
171
+ *     [requests with credentials](https://developer.mozilla.org/en/http_access_control#section_5)
172
+ *     for more information.
173
+ *   - **`responseType`** - `{string}` - see
174
+ *     [requestType](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#responseType).
175
+ *   - **`interceptor`** - `{Object=}` - The interceptor object has two optional methods -
176
+ *     `response` and `responseError`. Both `response` and `responseError` interceptors get called
177
+ *     with `http response` object. See {@link ng.$http $http interceptors}.
178
+ *
179
+ * @param {Object} options Hash with custom settings that should extend the
180
+ *   default `$resourceProvider` behavior.  The supported options are:
181
+ *
182
+ *   - **`stripTrailingSlashes`** – {boolean} – If true then the trailing
183
+ *   slashes from any calculated URL will be stripped. (Defaults to true.)
184
+ *   - **`cancellable`** – {boolean} – If true, the request made by a "non-instance" call will be
185
+ *   cancelled (if not already completed) by calling `$cancelRequest()` on the call's return value.
186
+ *   This can be overwritten per action. (Defaults to false.)
187
+ *
188
+ * @returns {Object} A resource "class" object with methods for the default set of resource actions
189
+ *   optionally extended with custom `actions`. The default set contains these actions:
190
+ *   ```js
191
+ *   { 'get':    {method:'GET'},
192
+ *     'save':   {method:'POST'},
193
+ *     'query':  {method:'GET', isArray:true},
194
+ *     'remove': {method:'DELETE'},
195
+ *     'delete': {method:'DELETE'} };
196
+ *   ```
197
+ *
198
+ *   Calling these methods invoke an {@link ng.$http} with the specified http method,
199
+ *   destination and parameters. When the data is returned from the server then the object is an
200
+ *   instance of the resource class. The actions `save`, `remove` and `delete` are available on it
201
+ *   as  methods with the `$` prefix. This allows you to easily perform CRUD operations (create,
202
+ *   read, update, delete) on server-side data like this:
203
+ *   ```js
204
+ *   var User = $resource('/user/:userId', {userId:'@id'});
205
+ *   var user = User.get({userId:123}, function() {
206
+ *     user.abc = true;
207
+ *     user.$save();
208
+ *   });
209
+ *   ```
210
+ *
211
+ *   It is important to realize that invoking a $resource object method immediately returns an
212
+ *   empty reference (object or array depending on `isArray`). Once the data is returned from the
213
+ *   server the existing reference is populated with the actual data. This is a useful trick since
214
+ *   usually the resource is assigned to a model which is then rendered by the view. Having an empty
215
+ *   object results in no rendering, once the data arrives from the server then the object is
216
+ *   populated with the data and the view automatically re-renders itself showing the new data. This
217
+ *   means that in most cases one never has to write a callback function for the action methods.
218
+ *
219
+ *   The action methods on the class object or instance object can be invoked with the following
220
+ *   parameters:
221
+ *
222
+ *   - HTTP GET "class" actions: `Resource.action([parameters], [success], [error])`
223
+ *   - non-GET "class" actions: `Resource.action([parameters], postData, [success], [error])`
224
+ *   - non-GET instance actions:  `instance.$action([parameters], [success], [error])`
225
+ *
226
+ *
227
+ *   Success callback is called with (value, responseHeaders) arguments, where the value is
228
+ *   the populated resource instance or collection object. The error callback is called
229
+ *   with (httpResponse) argument.
230
+ *
231
+ *   Class actions return empty instance (with additional properties below).
232
+ *   Instance actions return promise of the action.
233
+ *
234
+ *   The Resource instances and collections have these additional properties:
235
+ *
236
+ *   - `$promise`: the {@link ng.$q promise} of the original server interaction that created this
237
+ *     instance or collection.
238
+ *
239
+ *     On success, the promise is resolved with the same resource instance or collection object,
240
+ *     updated with data from server. This makes it easy to use in
241
+ *     {@link ngRoute.$routeProvider resolve section of $routeProvider.when()} to defer view
242
+ *     rendering until the resource(s) are loaded.
243
+ *
244
+ *     On failure, the promise is rejected with the {@link ng.$http http response} object, without
245
+ *     the `resource` property.
246
+ *
247
+ *     If an interceptor object was provided, the promise will instead be resolved with the value
248
+ *     returned by the interceptor.
249
+ *
250
+ *   - `$resolved`: `true` after first server interaction is completed (either with success or
251
+ *      rejection), `false` before that. Knowing if the Resource has been resolved is useful in
252
+ *      data-binding.
253
+ *
254
+ *   The Resource instances and collections have these additional methods:
255
+ *
256
+ *   - `$cancelRequest`: If there is a cancellable, pending request related to the instance or
257
+ *      collection, calling this method will abort the request.
258
+ *
259
+ * @example
260
+ *
261
+ * # Credit card resource
262
+ *
263
+ * ```js
264
+     // Define CreditCard class
265
+     var CreditCard = $resource('/user/:userId/card/:cardId',
266
+      {userId:123, cardId:'@id'}, {
267
+       charge: {method:'POST', params:{charge:true}}
268
+      });
269
+
270
+     // We can retrieve a collection from the server
271
+     var cards = CreditCard.query(function() {
272
+       // GET: /user/123/card
273
+       // server returns: [ {id:456, number:'1234', name:'Smith'} ];
274
+
275
+       var card = cards[0];
276
+       // each item is an instance of CreditCard
277
+       expect(card instanceof CreditCard).toEqual(true);
278
+       card.name = "J. Smith";
279
+       // non GET methods are mapped onto the instances
280
+       card.$save();
281
+       // POST: /user/123/card/456 {id:456, number:'1234', name:'J. Smith'}
282
+       // server returns: {id:456, number:'1234', name: 'J. Smith'};
283
+
284
+       // our custom method is mapped as well.
285
+       card.$charge({amount:9.99});
286
+       // POST: /user/123/card/456?amount=9.99&charge=true {id:456, number:'1234', name:'J. Smith'}
287
+     });
288
+
289
+     // we can create an instance as well
290
+     var newCard = new CreditCard({number:'0123'});
291
+     newCard.name = "Mike Smith";
292
+     newCard.$save();
293
+     // POST: /user/123/card {number:'0123', name:'Mike Smith'}
294
+     // server returns: {id:789, number:'0123', name: 'Mike Smith'};
295
+     expect(newCard.id).toEqual(789);
296
+ * ```
297
+ *
298
+ * The object returned from this function execution is a resource "class" which has "static" method
299
+ * for each action in the definition.
300
+ *
301
+ * Calling these methods invoke `$http` on the `url` template with the given `method`, `params` and
302
+ * `headers`.
303
+ *
304
+ * @example
305
+ *
306
+ * # User resource
307
+ *
308
+ * When the data is returned from the server then the object is an instance of the resource type and
309
+ * all of the non-GET methods are available with `$` prefix. This allows you to easily support CRUD
310
+ * operations (create, read, update, delete) on server-side data.
311
+
312
+   ```js
313
+     var User = $resource('/user/:userId', {userId:'@id'});
314
+     User.get({userId:123}, function(user) {
315
+       user.abc = true;
316
+       user.$save();
317
+     });
318
+   ```
319
+ *
320
+ * It's worth noting that the success callback for `get`, `query` and other methods gets passed
321
+ * in the response that came from the server as well as $http header getter function, so one
322
+ * could rewrite the above example and get access to http headers as:
323
+ *
324
+   ```js
325
+     var User = $resource('/user/:userId', {userId:'@id'});
326
+     User.get({userId:123}, function(user, getResponseHeaders){
327
+       user.abc = true;
328
+       user.$save(function(user, putResponseHeaders) {
329
+         //user => saved user object
330
+         //putResponseHeaders => $http header getter
331
+       });
332
+     });
333
+   ```
334
+ *
335
+ * You can also access the raw `$http` promise via the `$promise` property on the object returned
336
+ *
337
+   ```
338
+     var User = $resource('/user/:userId', {userId:'@id'});
339
+     User.get({userId:123})
340
+         .$promise.then(function(user) {
341
+           $scope.user = user;
342
+         });
343
+   ```
344
+ *
345
+ * @example
346
+ *
347
+ * # Creating a custom 'PUT' request
348
+ *
349
+ * In this example we create a custom method on our resource to make a PUT request
350
+ * ```js
351
+ *    var app = angular.module('app', ['ngResource', 'ngRoute']);
352
+ *
353
+ *    // Some APIs expect a PUT request in the format URL/object/ID
354
+ *    // Here we are creating an 'update' method
355
+ *    app.factory('Notes', ['$resource', function($resource) {
356
+ *    return $resource('/notes/:id', null,
357
+ *        {
358
+ *            'update': { method:'PUT' }
359
+ *        });
360
+ *    }]);
361
+ *
362
+ *    // In our controller we get the ID from the URL using ngRoute and $routeParams
363
+ *    // We pass in $routeParams and our Notes factory along with $scope
364
+ *    app.controller('NotesCtrl', ['$scope', '$routeParams', 'Notes',
365
+                                      function($scope, $routeParams, Notes) {
366
+ *    // First get a note object from the factory
367
+ *    var note = Notes.get({ id:$routeParams.id });
368
+ *    $id = note.id;
369
+ *
370
+ *    // Now call update passing in the ID first then the object you are updating
371
+ *    Notes.update({ id:$id }, note);
372
+ *
373
+ *    // This will PUT /notes/ID with the note object in the request payload
374
+ *    }]);
375
+ * ```
376
+ *
377
+ * @example
378
+ *
379
+ * # Cancelling requests
380
+ *
381
+ * If an action's configuration specifies that it is cancellable, you can cancel the request related
382
+ * to an instance or collection (as long as it is a result of a "non-instance" call):
383
+ *
384
+   ```js
385
+     // ...defining the `Hotel` resource...
386
+     var Hotel = $resource('/api/hotel/:id', {id: '@id'}, {
387
+       // Let's make the `query()` method cancellable
388
+       query: {method: 'get', isArray: true, cancellable: true}
389
+     });
390
+
391
+     // ...somewhere in the PlanVacationController...
392
+     ...
393
+     this.onDestinationChanged = function onDestinationChanged(destination) {
394
+       // We don't care about any pending request for hotels
395
+       // in a different destination any more
396
+       this.availableHotels.$cancelRequest();
397
+
398
+       // Let's query for hotels in '<destination>'
399
+       // (calls: /api/hotel?location=<destination>)
400
+       this.availableHotels = Hotel.query({location: destination});
401
+     };
402
+   ```
403
+ *
404
+ */
405
+angular.module('ngResource', ['ng']).
406
+  provider('$resource', function() {
407
+    var PROTOCOL_AND_DOMAIN_REGEX = /^https?:\/\/[^\/]*/;
408
+    var provider = this;
409
+
410
+    this.defaults = {
411
+      // Strip slashes by default
412
+      stripTrailingSlashes: true,
413
+
414
+      // Default actions configuration
415
+      actions: {
416
+        'get': {method: 'GET'},
417
+        'save': {method: 'POST'},
418
+        'query': {method: 'GET', isArray: true},
419
+        'remove': {method: 'DELETE'},
420
+        'delete': {method: 'DELETE'}
421
+      }
422
+    };
423
+
424
+    this.$get = ['$http', '$log', '$q', '$timeout', function($http, $log, $q, $timeout) {
425
+
426
+      var noop = angular.noop,
427
+        forEach = angular.forEach,
428
+        extend = angular.extend,
429
+        copy = angular.copy,
430
+        isFunction = angular.isFunction;
431
+
432
+      /**
433
+       * We need our custom method because encodeURIComponent is too aggressive and doesn't follow
434
+       * http://www.ietf.org/rfc/rfc3986.txt with regards to the character set
435
+       * (pchar) allowed in path segments:
436
+       *    segment       = *pchar
437
+       *    pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
438
+       *    pct-encoded   = "%" HEXDIG HEXDIG
439
+       *    unreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~"
440
+       *    sub-delims    = "!" / "$" / "&" / "'" / "(" / ")"
441
+       *                     / "*" / "+" / "," / ";" / "="
442
+       */
443
+      function encodeUriSegment(val) {
444
+        return encodeUriQuery(val, true).
445
+          replace(/%26/gi, '&').
446
+          replace(/%3D/gi, '=').
447
+          replace(/%2B/gi, '+');
448
+      }
449
+
450
+
451
+      /**
452
+       * This method is intended for encoding *key* or *value* parts of query component. We need a
453
+       * custom method because encodeURIComponent is too aggressive and encodes stuff that doesn't
454
+       * have to be encoded per http://tools.ietf.org/html/rfc3986:
455
+       *    query       = *( pchar / "/" / "?" )
456
+       *    pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
457
+       *    unreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~"
458
+       *    pct-encoded   = "%" HEXDIG HEXDIG
459
+       *    sub-delims    = "!" / "$" / "&" / "'" / "(" / ")"
460
+       *                     / "*" / "+" / "," / ";" / "="
461
+       */
462
+      function encodeUriQuery(val, pctEncodeSpaces) {
463
+        return encodeURIComponent(val).
464
+          replace(/%40/gi, '@').
465
+          replace(/%3A/gi, ':').
466
+          replace(/%24/g, '$').
467
+          replace(/%2C/gi, ',').
468
+          replace(/%20/g, (pctEncodeSpaces ? '%20' : '+'));
469
+      }
470
+
471
+      function Route(template, defaults) {
472
+        this.template = template;
473
+        this.defaults = extend({}, provider.defaults, defaults);
474
+        this.urlParams = {};
475
+      }
476
+
477
+      Route.prototype = {
478
+        setUrlParams: function(config, params, actionUrl) {
479
+          var self = this,
480
+            url = actionUrl || self.template,
481
+            val,
482
+            encodedVal,
483
+            protocolAndDomain = '';
484
+
485
+          var urlParams = self.urlParams = {};
486
+          forEach(url.split(/\W/), function(param) {
487
+            if (param === 'hasOwnProperty') {
488
+              throw $resourceMinErr('badname', "hasOwnProperty is not a valid parameter name.");
489
+            }
490
+            if (!(new RegExp("^\\d+$").test(param)) && param &&
491
+              (new RegExp("(^|[^\\\\]):" + param + "(\\W|$)").test(url))) {
492
+              urlParams[param] = {
493
+                isQueryParamValue: (new RegExp("\\?.*=:" + param + "(?:\\W|$)")).test(url)
494
+              };
495
+            }
496
+          });
497
+          url = url.replace(/\\:/g, ':');
498
+          url = url.replace(PROTOCOL_AND_DOMAIN_REGEX, function(match) {
499
+            protocolAndDomain = match;
500
+            return '';
501
+          });
502
+
503
+          params = params || {};
504
+          forEach(self.urlParams, function(paramInfo, urlParam) {
505
+            val = params.hasOwnProperty(urlParam) ? params[urlParam] : self.defaults[urlParam];
506
+            if (angular.isDefined(val) && val !== null) {
507
+              if (paramInfo.isQueryParamValue) {
508
+                encodedVal = encodeUriQuery(val, true);
509
+              } else {
510
+                encodedVal = encodeUriSegment(val);
511
+              }
512
+              url = url.replace(new RegExp(":" + urlParam + "(\\W|$)", "g"), function(match, p1) {
513
+                return encodedVal + p1;
514
+              });
515
+            } else {
516
+              url = url.replace(new RegExp("(\/?):" + urlParam + "(\\W|$)", "g"), function(match,
517
+                  leadingSlashes, tail) {
518
+                if (tail.charAt(0) == '/') {
519
+                  return tail;
520
+                } else {
521
+                  return leadingSlashes + tail;
522
+                }
523
+              });
524
+            }
525
+          });
526
+
527
+          // strip trailing slashes and set the url (unless this behavior is specifically disabled)
528
+          if (self.defaults.stripTrailingSlashes) {
529
+            url = url.replace(/\/+$/, '') || '/';
530
+          }
531
+
532
+          // then replace collapse `/.` if found in the last URL path segment before the query
533
+          // E.g. `http://url.com/id./format?q=x` becomes `http://url.com/id.format?q=x`
534
+          url = url.replace(/\/\.(?=\w+($|\?))/, '.');
535
+          // replace escaped `/\.` with `/.`
536
+          config.url = protocolAndDomain + url.replace(/\/\\\./, '/.');
537
+
538
+
539
+          // set params - delegate param encoding to $http
540
+          forEach(params, function(value, key) {
541
+            if (!self.urlParams[key]) {
542
+              config.params = config.params || {};
543
+              config.params[key] = value;
544
+            }
545
+          });
546
+        }
547
+      };
548
+
549
+
550
+      function resourceFactory(url, paramDefaults, actions, options) {
551
+        var route = new Route(url, options);
552
+
553
+        actions = extend({}, provider.defaults.actions, actions);
554
+
555
+        function extractParams(data, actionParams) {
556
+          var ids = {};
557
+          actionParams = extend({}, paramDefaults, actionParams);
558
+          forEach(actionParams, function(value, key) {
559
+            if (isFunction(value)) { value = value(); }
560
+            ids[key] = value && value.charAt && value.charAt(0) == '@' ?
561
+              lookupDottedPath(data, value.substr(1)) : value;
562
+          });
563
+          return ids;
564
+        }
565
+
566
+        function defaultResponseInterceptor(response) {
567
+          return response.resource;
568
+        }
569
+
570
+        function Resource(value) {
571
+          shallowClearAndCopy(value || {}, this);
572
+        }
573
+
574
+        Resource.prototype.toJSON = function() {
575
+          var data = extend({}, this);
576
+          delete data.$promise;
577
+          delete data.$resolved;
578
+          return data;
579
+        };
580
+
581
+        forEach(actions, function(action, name) {
582
+          var hasBody = /^(POST|PUT|PATCH)$/i.test(action.method);
583
+          var numericTimeout = action.timeout;
584
+          var cancellable = angular.isDefined(action.cancellable) ? action.cancellable :
585
+              (options && angular.isDefined(options.cancellable)) ? options.cancellable :
586
+              provider.defaults.cancellable;
587
+
588
+          if (numericTimeout && !angular.isNumber(numericTimeout)) {
589
+            $log.debug('ngResource:\n' +
590
+                       '  Only numeric values are allowed as `timeout`.\n' +
591
+                       '  Promises are not supported in $resource, because the same value would ' +
592
+                       'be used for multiple requests. If you are looking for a way to cancel ' +
593
+                       'requests, you should use the `cancellable` option.');
594
+            delete action.timeout;
595
+            numericTimeout = null;
596
+          }
597
+
598
+          Resource[name] = function(a1, a2, a3, a4) {
599
+            var params = {}, data, success, error;
600
+
601
+            /* jshint -W086 */ /* (purposefully fall through case statements) */
602
+            switch (arguments.length) {
603
+              case 4:
604
+                error = a4;
605
+                success = a3;
606
+              //fallthrough
607
+              case 3:
608
+              case 2:
609
+                if (isFunction(a2)) {
610
+                  if (isFunction(a1)) {
611
+                    success = a1;
612
+                    error = a2;
613
+                    break;
614
+                  }
615
+
616
+                  success = a2;
617
+                  error = a3;
618
+                  //fallthrough
619
+                } else {
620
+                  params = a1;
621
+                  data = a2;
622
+                  success = a3;
623
+                  break;
624
+                }
625
+              case 1:
626
+                if (isFunction(a1)) success = a1;
627
+                else if (hasBody) data = a1;
628
+                else params = a1;
629
+                break;
630
+              case 0: break;
631
+              default:
632
+                throw $resourceMinErr('badargs',
633
+                  "Expected up to 4 arguments [params, data, success, error], got {0} arguments",
634
+                  arguments.length);
635
+            }
636
+            /* jshint +W086 */ /* (purposefully fall through case statements) */
637
+
638
+            var isInstanceCall = this instanceof Resource;
639
+            var value = isInstanceCall ? data : (action.isArray ? [] : new Resource(data));
640
+            var httpConfig = {};
641
+            var responseInterceptor = action.interceptor && action.interceptor.response ||
642
+              defaultResponseInterceptor;
643
+            var responseErrorInterceptor = action.interceptor && action.interceptor.responseError ||
644
+              undefined;
645
+            var timeoutDeferred;
646
+            var numericTimeoutPromise;
647
+
648
+            forEach(action, function(value, key) {
649
+              switch (key) {
650
+                default:
651
+                  httpConfig[key] = copy(value);
652
+                  break;
653
+                case 'params':
654
+                case 'isArray':
655
+                case 'interceptor':
656
+                case 'cancellable':
657
+                  break;
658
+              }
659
+            });
660
+
661
+            if (!isInstanceCall && cancellable) {
662
+              timeoutDeferred = $q.defer();
663
+              httpConfig.timeout = timeoutDeferred.promise;
664
+
665
+              if (numericTimeout) {
666
+                numericTimeoutPromise = $timeout(timeoutDeferred.resolve, numericTimeout);
667
+              }
668
+            }
669
+
670
+            if (hasBody) httpConfig.data = data;
671
+            route.setUrlParams(httpConfig,
672
+              extend({}, extractParams(data, action.params || {}), params),
673
+              action.url);
674
+
675
+            var promise = $http(httpConfig).then(function(response) {
676
+              var data = response.data;
677
+
678
+              if (data) {
679
+                // Need to convert action.isArray to boolean in case it is undefined
680
+                // jshint -W018
681
+                if (angular.isArray(data) !== (!!action.isArray)) {
682
+                  throw $resourceMinErr('badcfg',
683
+                      'Error in resource configuration for action `{0}`. Expected response to ' +
684
+                      'contain an {1} but got an {2} (Request: {3} {4})', name, action.isArray ? 'array' : 'object',
685
+                    angular.isArray(data) ? 'array' : 'object', httpConfig.method, httpConfig.url);
686
+                }
687
+                // jshint +W018
688
+                if (action.isArray) {
689
+                  value.length = 0;
690
+                  forEach(data, function(item) {
691
+                    if (typeof item === "object") {
692
+                      value.push(new Resource(item));
693
+                    } else {
694
+                      // Valid JSON values may be string literals, and these should not be converted
695
+                      // into objects. These items will not have access to the Resource prototype
696
+                      // methods, but unfortunately there
697
+                      value.push(item);
698
+                    }
699
+                  });
700
+                } else {
701
+                  var promise = value.$promise;     // Save the promise
702
+                  shallowClearAndCopy(data, value);
703
+                  value.$promise = promise;         // Restore the promise
704
+                }
705
+              }
706
+              response.resource = value;
707
+
708
+              return response;
709
+            }, function(response) {
710
+              (error || noop)(response);
711
+              return $q.reject(response);
712
+            });
713
+
714
+            promise['finally'](function() {
715
+              value.$resolved = true;
716
+              if (!isInstanceCall && cancellable) {
717
+                value.$cancelRequest = angular.noop;
718
+                $timeout.cancel(numericTimeoutPromise);
719
+                timeoutDeferred = numericTimeoutPromise = httpConfig.timeout = null;
720
+              }
721
+            });
722
+
723
+            promise = promise.then(
724
+              function(response) {
725
+                var value = responseInterceptor(response);
726
+                (success || noop)(value, response.headers);
727
+                return value;
728
+              },
729
+              responseErrorInterceptor);
730
+
731
+            if (!isInstanceCall) {
732
+              // we are creating instance / collection
733
+              // - set the initial promise
734
+              // - return the instance / collection
735
+              value.$promise = promise;
736
+              value.$resolved = false;
737
+              if (cancellable) value.$cancelRequest = timeoutDeferred.resolve;
738
+
739
+              return value;
740
+            }
741
+
742
+            // instance call
743
+            return promise;
744
+          };
745
+
746
+
747
+          Resource.prototype['$' + name] = function(params, success, error) {
748
+            if (isFunction(params)) {
749
+              error = success; success = params; params = {};
750
+            }
751
+            var result = Resource[name].call(this, params, this, success, error);
752
+            return result.$promise || result;
753
+          };
754
+        });
755
+
756
+        Resource.bind = function(additionalParamDefaults) {
757
+          return resourceFactory(url, extend({}, paramDefaults, additionalParamDefaults), actions);
758
+        };
759
+
760
+        return Resource;
761
+      }
762
+
763
+      return resourceFactory;
764
+    }];
765
+  });
766
+
767
+
768
+})(window, window.angular);

+ 15
- 0
lib/ionic/js/angular/angular-resource.min.js Voir le fichier

@@ -0,0 +1,15 @@
1
+/*
2
+ AngularJS v1.5.3
3
+ (c) 2010-2016 Google, Inc. http://angularjs.org
4
+ License: MIT
5
+*/
6
+(function(Q,d,G){'use strict';function H(t,g){g=g||{};d.forEach(g,function(d,q){delete g[q]});for(var q in t)!t.hasOwnProperty(q)||"$"===q.charAt(0)&&"$"===q.charAt(1)||(g[q]=t[q]);return g}var z=d.$$minErr("$resource"),N=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;d.module("ngResource",["ng"]).provider("$resource",function(){var t=/^https?:\/\/[^\/]*/,g=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}};
7
+this.$get=["$http","$log","$q","$timeout",function(q,M,I,J){function A(d,h){return encodeURIComponent(d).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,h?"%20":"+")}function B(d,h){this.template=d;this.defaults=v({},g.defaults,h);this.urlParams={}}function K(e,h,n,k){function c(a,b){var c={};b=v({},h,b);u(b,function(b,h){x(b)&&(b=b());var f;if(b&&b.charAt&&"@"==b.charAt(0)){f=a;var l=b.substr(1);if(null==l||""===l||"hasOwnProperty"===l||!N.test("."+
8
+l))throw z("badmember",l);for(var l=l.split("."),m=0,k=l.length;m<k&&d.isDefined(f);m++){var r=l[m];f=null!==f?f[r]:G}}else f=b;c[h]=f});return c}function O(a){return a.resource}function m(a){H(a||{},this)}var t=new B(e,k);n=v({},g.defaults.actions,n);m.prototype.toJSON=function(){var a=v({},this);delete a.$promise;delete a.$resolved;return a};u(n,function(a,b){var h=/^(POST|PUT|PATCH)$/i.test(a.method),e=a.timeout,E=d.isDefined(a.cancellable)?a.cancellable:k&&d.isDefined(k.cancellable)?k.cancellable:
9
+g.defaults.cancellable;e&&!d.isNumber(e)&&(M.debug("ngResource:\n  Only numeric values are allowed as `timeout`.\n  Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete a.timeout,e=null);m[b]=function(f,l,k,g){var r={},n,w,C;switch(arguments.length){case 4:C=g,w=k;case 3:case 2:if(x(l)){if(x(f)){w=f;C=l;break}w=l;C=k}else{r=f;n=l;w=k;break}case 1:x(f)?
10
+w=f:h?n=f:r=f;break;case 0:break;default:throw z("badargs",arguments.length);}var D=this instanceof m,p=D?n:a.isArray?[]:new m(n),s={},A=a.interceptor&&a.interceptor.response||O,B=a.interceptor&&a.interceptor.responseError||G,y,F;u(a,function(a,b){switch(b){default:s[b]=P(a);case "params":case "isArray":case "interceptor":case "cancellable":}});!D&&E&&(y=I.defer(),s.timeout=y.promise,e&&(F=J(y.resolve,e)));h&&(s.data=n);t.setUrlParams(s,v({},c(n,a.params||{}),r),a.url);r=q(s).then(function(f){var c=
11
+f.data;if(c){if(d.isArray(c)!==!!a.isArray)throw z("badcfg",b,a.isArray?"array":"object",d.isArray(c)?"array":"object",s.method,s.url);if(a.isArray)p.length=0,u(c,function(b){"object"===typeof b?p.push(new m(b)):p.push(b)});else{var l=p.$promise;H(c,p);p.$promise=l}}f.resource=p;return f},function(b){(C||L)(b);return I.reject(b)});r["finally"](function(){p.$resolved=!0;!D&&E&&(p.$cancelRequest=d.noop,J.cancel(F),y=F=s.timeout=null)});r=r.then(function(b){var a=A(b);(w||L)(a,b.headers);return a},B);
12
+return D?r:(p.$promise=r,p.$resolved=!1,E&&(p.$cancelRequest=y.resolve),p)};m.prototype["$"+b]=function(a,c,d){x(a)&&(d=c,c=a,a={});a=m[b].call(this,a,this,c,d);return a.$promise||a}});m.bind=function(a){return K(e,v({},h,a),n)};return m}var L=d.noop,u=d.forEach,v=d.extend,P=d.copy,x=d.isFunction;B.prototype={setUrlParams:function(e,h,n){var k=this,c=n||k.template,g,m,q="",a=k.urlParams={};u(c.split(/\W/),function(b){if("hasOwnProperty"===b)throw z("badname");!/^\d+$/.test(b)&&b&&(new RegExp("(^|[^\\\\]):"+
13
+b+"(\\W|$)")).test(c)&&(a[b]={isQueryParamValue:(new RegExp("\\?.*=:"+b+"(?:\\W|$)")).test(c)})});c=c.replace(/\\:/g,":");c=c.replace(t,function(a){q=a;return""});h=h||{};u(k.urlParams,function(a,e){g=h.hasOwnProperty(e)?h[e]:k.defaults[e];d.isDefined(g)&&null!==g?(m=a.isQueryParamValue?A(g,!0):A(g,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+"),c=c.replace(new RegExp(":"+e+"(\\W|$)","g"),function(a,b){return m+b})):c=c.replace(new RegExp("(/?):"+e+"(\\W|$)","g"),function(a,b,c){return"/"==
14
+c.charAt(0)?c:b+c})});k.defaults.stripTrailingSlashes&&(c=c.replace(/\/+$/,"")||"/");c=c.replace(/\/\.(?=\w+($|\?))/,".");e.url=q+c.replace(/\/\\\./,"/.");u(h,function(a,c){k.urlParams[c]||(e.params=e.params||{},e.params[c]=a)})}};return K}]})})(window,window.angular);
15
+//# sourceMappingURL=angular-resource.min.js.map

+ 717
- 0
lib/ionic/js/angular/angular-sanitize.js Voir le fichier

@@ -0,0 +1,717 @@
1
+/**
2
+ * @license AngularJS v1.5.3
3
+ * (c) 2010-2016 Google, Inc. http://angularjs.org
4
+ * License: MIT
5
+ */
6
+(function(window, angular, undefined) {'use strict';
7
+
8
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
9
+ *     Any commits to this file should be reviewed with security in mind.  *
10
+ *   Changes to this file can potentially create security vulnerabilities. *
11
+ *          An approval from 2 Core members with history of modifying      *
12
+ *                         this file is required.                          *
13
+ *                                                                         *
14
+ *  Does the change somehow allow for arbitrary javascript to be executed? *
15
+ *    Or allows for someone to change the prototype of built-in objects?   *
16
+ *     Or gives undesired access to variables likes document or window?    *
17
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
18
+
19
+var $sanitizeMinErr = angular.$$minErr('$sanitize');
20
+
21
+/**
22
+ * @ngdoc module
23
+ * @name ngSanitize
24
+ * @description
25
+ *
26
+ * # ngSanitize
27
+ *
28
+ * The `ngSanitize` module provides functionality to sanitize HTML.
29
+ *
30
+ *
31
+ * <div doc-module-components="ngSanitize"></div>
32
+ *
33
+ * See {@link ngSanitize.$sanitize `$sanitize`} for usage.
34
+ */
35
+
36
+/**
37
+ * @ngdoc service
38
+ * @name $sanitize
39
+ * @kind function
40
+ *
41
+ * @description
42
+ *   Sanitizes an html string by stripping all potentially dangerous tokens.
43
+ *
44
+ *   The input is sanitized by parsing the HTML into tokens. All safe tokens (from a whitelist) are
45
+ *   then serialized back to properly escaped html string. This means that no unsafe input can make
46
+ *   it into the returned string.
47
+ *
48
+ *   The whitelist for URL sanitization of attribute values is configured using the functions
49
+ *   `aHrefSanitizationWhitelist` and `imgSrcSanitizationWhitelist` of {@link ng.$compileProvider
50
+ *   `$compileProvider`}.
51
+ *
52
+ *   The input may also contain SVG markup if this is enabled via {@link $sanitizeProvider}.
53
+ *
54
+ * @param {string} html HTML input.
55
+ * @returns {string} Sanitized HTML.
56
+ *
57
+ * @example
58
+   <example module="sanitizeExample" deps="angular-sanitize.js">
59
+   <file name="index.html">
60
+     <script>
61
+         angular.module('sanitizeExample', ['ngSanitize'])
62
+           .controller('ExampleController', ['$scope', '$sce', function($scope, $sce) {
63
+             $scope.snippet =
64
+               '<p style="color:blue">an html\n' +
65
+               '<em onmouseover="this.textContent=\'PWN3D!\'">click here</em>\n' +
66
+               'snippet</p>';
67
+             $scope.deliberatelyTrustDangerousSnippet = function() {
68
+               return $sce.trustAsHtml($scope.snippet);
69
+             };
70
+           }]);
71
+     </script>
72
+     <div ng-controller="ExampleController">
73
+        Snippet: <textarea ng-model="snippet" cols="60" rows="3"></textarea>
74
+       <table>
75
+         <tr>
76
+           <td>Directive</td>
77
+           <td>How</td>
78
+           <td>Source</td>
79
+           <td>Rendered</td>
80
+         </tr>
81
+         <tr id="bind-html-with-sanitize">
82
+           <td>ng-bind-html</td>
83
+           <td>Automatically uses $sanitize</td>
84
+           <td><pre>&lt;div ng-bind-html="snippet"&gt;<br/>&lt;/div&gt;</pre></td>
85
+           <td><div ng-bind-html="snippet"></div></td>
86
+         </tr>
87
+         <tr id="bind-html-with-trust">
88
+           <td>ng-bind-html</td>
89
+           <td>Bypass $sanitize by explicitly trusting the dangerous value</td>
90
+           <td>
91
+           <pre>&lt;div ng-bind-html="deliberatelyTrustDangerousSnippet()"&gt;
92
+&lt;/div&gt;</pre>
93
+           </td>
94
+           <td><div ng-bind-html="deliberatelyTrustDangerousSnippet()"></div></td>
95
+         </tr>
96
+         <tr id="bind-default">
97
+           <td>ng-bind</td>
98
+           <td>Automatically escapes</td>
99
+           <td><pre>&lt;div ng-bind="snippet"&gt;<br/>&lt;/div&gt;</pre></td>
100
+           <td><div ng-bind="snippet"></div></td>
101
+         </tr>
102
+       </table>
103
+       </div>
104
+   </file>
105
+   <file name="protractor.js" type="protractor">
106
+     it('should sanitize the html snippet by default', function() {
107
+       expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()).
108
+         toBe('<p>an html\n<em>click here</em>\nsnippet</p>');
109
+     });
110
+
111
+     it('should inline raw snippet if bound to a trusted value', function() {
112
+       expect(element(by.css('#bind-html-with-trust div')).getInnerHtml()).
113
+         toBe("<p style=\"color:blue\">an html\n" +
114
+              "<em onmouseover=\"this.textContent='PWN3D!'\">click here</em>\n" +
115
+              "snippet</p>");
116
+     });
117
+
118
+     it('should escape snippet without any filter', function() {
119
+       expect(element(by.css('#bind-default div')).getInnerHtml()).
120
+         toBe("&lt;p style=\"color:blue\"&gt;an html\n" +
121
+              "&lt;em onmouseover=\"this.textContent='PWN3D!'\"&gt;click here&lt;/em&gt;\n" +
122
+              "snippet&lt;/p&gt;");
123
+     });
124
+
125
+     it('should update', function() {
126
+       element(by.model('snippet')).clear();
127
+       element(by.model('snippet')).sendKeys('new <b onclick="alert(1)">text</b>');
128
+       expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()).
129
+         toBe('new <b>text</b>');
130
+       expect(element(by.css('#bind-html-with-trust div')).getInnerHtml()).toBe(
131
+         'new <b onclick="alert(1)">text</b>');
132
+       expect(element(by.css('#bind-default div')).getInnerHtml()).toBe(
133
+         "new &lt;b onclick=\"alert(1)\"&gt;text&lt;/b&gt;");
134
+     });
135
+   </file>
136
+   </example>
137
+ */
138
+
139
+
140
+/**
141
+ * @ngdoc provider
142
+ * @name $sanitizeProvider
143
+ *
144
+ * @description
145
+ * Creates and configures {@link $sanitize} instance.
146
+ */
147
+function $SanitizeProvider() {
148
+  var svgEnabled = false;
149
+
150
+  this.$get = ['$$sanitizeUri', function($$sanitizeUri) {
151
+    if (svgEnabled) {
152
+      angular.extend(validElements, svgElements);
153
+    }
154
+    return function(html) {
155
+      var buf = [];
156
+      htmlParser(html, htmlSanitizeWriter(buf, function(uri, isImage) {
157
+        return !/^unsafe:/.test($$sanitizeUri(uri, isImage));
158
+      }));
159
+      return buf.join('');
160
+    };
161
+  }];
162
+
163
+
164
+  /**
165
+   * @ngdoc method
166
+   * @name $sanitizeProvider#enableSvg
167
+   * @kind function
168
+   *
169
+   * @description
170
+   * Enables a subset of svg to be supported by the sanitizer.
171
+   *
172
+   * <div class="alert alert-warning">
173
+   *   <p>By enabling this setting without taking other precautions, you might expose your
174
+   *   application to click-hijacking attacks. In these attacks, sanitized svg elements could be positioned
175
+   *   outside of the containing element and be rendered over other elements on the page (e.g. a login
176
+   *   link). Such behavior can then result in phishing incidents.</p>
177
+   *
178
+   *   <p>To protect against these, explicitly setup `overflow: hidden` css rule for all potential svg
179
+   *   tags within the sanitized content:</p>
180
+   *
181
+   *   <br>
182
+   *
183
+   *   <pre><code>
184
+   *   .rootOfTheIncludedContent svg {
185
+   *     overflow: hidden !important;
186
+   *   }
187
+   *   </code></pre>
188
+   * </div>
189
+   *
190
+   * @param {boolean=} regexp New regexp to whitelist urls with.
191
+   * @returns {boolean|ng.$sanitizeProvider} Returns the currently configured value if called
192
+   *    without an argument or self for chaining otherwise.
193
+   */
194
+  this.enableSvg = function(enableSvg) {
195
+    if (angular.isDefined(enableSvg)) {
196
+      svgEnabled = enableSvg;
197
+      return this;
198
+    } else {
199
+      return svgEnabled;
200
+    }
201
+  };
202
+}
203
+
204
+function sanitizeText(chars) {
205
+  var buf = [];
206
+  var writer = htmlSanitizeWriter(buf, angular.noop);
207
+  writer.chars(chars);
208
+  return buf.join('');
209
+}
210
+
211
+
212
+// Regular Expressions for parsing tags and attributes
213
+var SURROGATE_PAIR_REGEXP = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g,
214
+  // Match everything outside of normal chars and " (quote character)
215
+  NON_ALPHANUMERIC_REGEXP = /([^\#-~ |!])/g;
216
+
217
+
218
+// Good source of info about elements and attributes
219
+// http://dev.w3.org/html5/spec/Overview.html#semantics
220
+// http://simon.html5.org/html-elements
221
+
222
+// Safe Void Elements - HTML5
223
+// http://dev.w3.org/html5/spec/Overview.html#void-elements
224
+var voidElements = toMap("area,br,col,hr,img,wbr");
225
+
226
+// Elements that you can, intentionally, leave open (and which close themselves)
227
+// http://dev.w3.org/html5/spec/Overview.html#optional-tags
228
+var optionalEndTagBlockElements = toMap("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),
229
+    optionalEndTagInlineElements = toMap("rp,rt"),
230
+    optionalEndTagElements = angular.extend({},
231
+                                            optionalEndTagInlineElements,
232
+                                            optionalEndTagBlockElements);
233
+
234
+// Safe Block Elements - HTML5
235
+var blockElements = angular.extend({}, optionalEndTagBlockElements, toMap("address,article," +
236
+        "aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5," +
237
+        "h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul"));
238
+
239
+// Inline Elements - HTML5
240
+var inlineElements = angular.extend({}, optionalEndTagInlineElements, toMap("a,abbr,acronym,b," +
241
+        "bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s," +
242
+        "samp,small,span,strike,strong,sub,sup,time,tt,u,var"));
243
+
244
+// SVG Elements
245
+// https://wiki.whatwg.org/wiki/Sanitization_rules#svg_Elements
246
+// Note: the elements animate,animateColor,animateMotion,animateTransform,set are intentionally omitted.
247
+// They can potentially allow for arbitrary javascript to be executed. See #11290
248
+var svgElements = toMap("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph," +
249
+        "hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline," +
250
+        "radialGradient,rect,stop,svg,switch,text,title,tspan");
251
+
252
+// Blocked Elements (will be stripped)
253
+var blockedElements = toMap("script,style");
254
+
255
+var validElements = angular.extend({},
256
+                                   voidElements,
257
+                                   blockElements,
258
+                                   inlineElements,
259
+                                   optionalEndTagElements);
260
+
261
+//Attributes that have href and hence need to be sanitized
262
+var uriAttrs = toMap("background,cite,href,longdesc,src,xlink:href");
263
+
264
+var htmlAttrs = toMap('abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,' +
265
+    'color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,' +
266
+    'ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,' +
267
+    'scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,' +
268
+    'valign,value,vspace,width');
269
+
270
+// SVG attributes (without "id" and "name" attributes)
271
+// https://wiki.whatwg.org/wiki/Sanitization_rules#svg_Attributes
272
+var svgAttrs = toMap('accent-height,accumulate,additive,alphabetic,arabic-form,ascent,' +
273
+    'baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,' +
274
+    'cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,' +
275
+    'font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,' +
276
+    'height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,' +
277
+    'marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,' +
278
+    'max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,' +
279
+    'path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,' +
280
+    'requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,' +
281
+    'stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,' +
282
+    'stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,' +
283
+    'stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,' +
284
+    'underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,' +
285
+    'width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,' +
286
+    'xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan', true);
287
+
288
+var validAttrs = angular.extend({},
289
+                                uriAttrs,
290
+                                svgAttrs,
291
+                                htmlAttrs);
292
+
293
+function toMap(str, lowercaseKeys) {
294
+  var obj = {}, items = str.split(','), i;
295
+  for (i = 0; i < items.length; i++) {
296
+    obj[lowercaseKeys ? angular.lowercase(items[i]) : items[i]] = true;
297
+  }
298
+  return obj;
299
+}
300
+
301
+var inertBodyElement;
302
+(function(window) {
303
+  var doc;
304
+  if (window.document && window.document.implementation) {
305
+    doc = window.document.implementation.createHTMLDocument("inert");
306
+  } else {
307
+    throw $sanitizeMinErr('noinert', "Can't create an inert html document");
308
+  }
309
+  var docElement = doc.documentElement || doc.getDocumentElement();
310
+  var bodyElements = docElement.getElementsByTagName('body');
311
+
312
+  // usually there should be only one body element in the document, but IE doesn't have any, so we need to create one
313
+  if (bodyElements.length === 1) {
314
+    inertBodyElement = bodyElements[0];
315
+  } else {
316
+    var html = doc.createElement('html');
317
+    inertBodyElement = doc.createElement('body');
318
+    html.appendChild(inertBodyElement);
319
+    doc.appendChild(html);
320
+  }
321
+})(window);
322
+
323
+/**
324
+ * @example
325
+ * htmlParser(htmlString, {
326
+ *     start: function(tag, attrs) {},
327
+ *     end: function(tag) {},
328
+ *     chars: function(text) {},
329
+ *     comment: function(text) {}
330
+ * });
331
+ *
332
+ * @param {string} html string
333
+ * @param {object} handler
334
+ */
335
+function htmlParser(html, handler) {
336
+  if (html === null || html === undefined) {
337
+    html = '';
338
+  } else if (typeof html !== 'string') {
339
+    html = '' + html;
340
+  }
341
+  inertBodyElement.innerHTML = html;
342
+
343
+  //mXSS protection
344
+  var mXSSAttempts = 5;
345
+  do {
346
+    if (mXSSAttempts === 0) {
347
+      throw $sanitizeMinErr('uinput', "Failed to sanitize html because the input is unstable");
348
+    }
349
+    mXSSAttempts--;
350
+
351
+    // strip custom-namespaced attributes on IE<=11
352
+    if (document.documentMode <= 11) {
353
+      stripCustomNsAttrs(inertBodyElement);
354
+    }
355
+    html = inertBodyElement.innerHTML; //trigger mXSS
356
+    inertBodyElement.innerHTML = html;
357
+  } while (html !== inertBodyElement.innerHTML);
358
+
359
+  var node = inertBodyElement.firstChild;
360
+  while (node) {
361
+    switch (node.nodeType) {
362
+      case 1: // ELEMENT_NODE
363
+        handler.start(node.nodeName.toLowerCase(), attrToMap(node.attributes));
364
+        break;
365
+      case 3: // TEXT NODE
366
+        handler.chars(node.textContent);
367
+        break;
368
+    }
369
+
370
+    var nextNode;
371
+    if (!(nextNode = node.firstChild)) {
372
+      if (node.nodeType == 1) {
373
+        handler.end(node.nodeName.toLowerCase());
374
+      }
375
+      nextNode = node.nextSibling;
376
+      if (!nextNode) {
377
+        while (nextNode == null) {
378
+          node = node.parentNode;
379
+          if (node === inertBodyElement) break;
380
+          nextNode = node.nextSibling;
381
+          if (node.nodeType == 1) {
382
+            handler.end(node.nodeName.toLowerCase());
383
+          }
384
+        }
385
+      }
386
+    }
387
+    node = nextNode;
388
+  }
389
+
390
+  while (node = inertBodyElement.firstChild) {
391
+    inertBodyElement.removeChild(node);
392
+  }
393
+}
394
+
395
+function attrToMap(attrs) {
396
+  var map = {};
397
+  for (var i = 0, ii = attrs.length; i < ii; i++) {
398
+    var attr = attrs[i];
399
+    map[attr.name] = attr.value;
400
+  }
401
+  return map;
402
+}
403
+
404
+
405
+/**
406
+ * Escapes all potentially dangerous characters, so that the
407
+ * resulting string can be safely inserted into attribute or
408
+ * element text.
409
+ * @param value
410
+ * @returns {string} escaped text
411
+ */
412
+function encodeEntities(value) {
413
+  return value.
414
+    replace(/&/g, '&amp;').
415
+    replace(SURROGATE_PAIR_REGEXP, function(value) {
416
+      var hi = value.charCodeAt(0);
417
+      var low = value.charCodeAt(1);
418
+      return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';';
419
+    }).
420
+    replace(NON_ALPHANUMERIC_REGEXP, function(value) {
421
+      return '&#' + value.charCodeAt(0) + ';';
422
+    }).
423
+    replace(/</g, '&lt;').
424
+    replace(/>/g, '&gt;');
425
+}
426
+
427
+/**
428
+ * create an HTML/XML writer which writes to buffer
429
+ * @param {Array} buf use buf.join('') to get out sanitized html string
430
+ * @returns {object} in the form of {
431
+ *     start: function(tag, attrs) {},
432
+ *     end: function(tag) {},
433
+ *     chars: function(text) {},
434
+ *     comment: function(text) {}
435
+ * }
436
+ */
437
+function htmlSanitizeWriter(buf, uriValidator) {
438
+  var ignoreCurrentElement = false;
439
+  var out = angular.bind(buf, buf.push);
440
+  return {
441
+    start: function(tag, attrs) {
442
+      tag = angular.lowercase(tag);
443
+      if (!ignoreCurrentElement && blockedElements[tag]) {
444
+        ignoreCurrentElement = tag;
445
+      }
446
+      if (!ignoreCurrentElement && validElements[tag] === true) {
447
+        out('<');
448
+        out(tag);
449
+        angular.forEach(attrs, function(value, key) {
450
+          var lkey=angular.lowercase(key);
451
+          var isImage = (tag === 'img' && lkey === 'src') || (lkey === 'background');
452
+          if (validAttrs[lkey] === true &&
453
+            (uriAttrs[lkey] !== true || uriValidator(value, isImage))) {
454
+            out(' ');
455
+            out(key);
456
+            out('="');
457
+            out(encodeEntities(value));
458
+            out('"');
459
+          }
460
+        });
461
+        out('>');
462
+      }
463
+    },
464
+    end: function(tag) {
465
+      tag = angular.lowercase(tag);
466
+      if (!ignoreCurrentElement && validElements[tag] === true && voidElements[tag] !== true) {
467
+        out('</');
468
+        out(tag);
469
+        out('>');
470
+      }
471
+      if (tag == ignoreCurrentElement) {
472
+        ignoreCurrentElement = false;
473
+      }
474
+    },
475
+    chars: function(chars) {
476
+      if (!ignoreCurrentElement) {
477
+        out(encodeEntities(chars));
478
+      }
479
+    }
480
+  };
481
+}
482
+
483
+
484
+/**
485
+ * When IE9-11 comes across an unknown namespaced attribute e.g. 'xlink:foo' it adds 'xmlns:ns1' attribute to declare
486
+ * ns1 namespace and prefixes the attribute with 'ns1' (e.g. 'ns1:xlink:foo'). This is undesirable since we don't want
487
+ * to allow any of these custom attributes. This method strips them all.
488
+ *
489
+ * @param node Root element to process
490
+ */
491
+function stripCustomNsAttrs(node) {
492
+  if (node.nodeType === Node.ELEMENT_NODE) {
493
+    var attrs = node.attributes;
494
+    for (var i = 0, l = attrs.length; i < l; i++) {
495
+      var attrNode = attrs[i];
496
+      var attrName = attrNode.name.toLowerCase();
497
+      if (attrName === 'xmlns:ns1' || attrName.indexOf('ns1:') === 0) {
498
+        node.removeAttributeNode(attrNode);
499
+        i--;
500
+        l--;
501
+      }
502
+    }
503
+  }
504
+
505
+  var nextNode = node.firstChild;
506
+  if (nextNode) {
507
+    stripCustomNsAttrs(nextNode);
508
+  }
509
+
510
+  nextNode = node.nextSibling;
511
+  if (nextNode) {
512
+    stripCustomNsAttrs(nextNode);
513
+  }
514
+}
515
+
516
+
517
+
518
+// define ngSanitize module and register $sanitize service
519
+angular.module('ngSanitize', []).provider('$sanitize', $SanitizeProvider);
520
+
521
+/* global sanitizeText: false */
522
+
523
+/**
524
+ * @ngdoc filter
525
+ * @name linky
526
+ * @kind function
527
+ *
528
+ * @description
529
+ * Finds links in text input and turns them into html links. Supports `http/https/ftp/mailto` and
530
+ * plain email address links.
531
+ *
532
+ * Requires the {@link ngSanitize `ngSanitize`} module to be installed.
533
+ *
534
+ * @param {string} text Input text.
535
+ * @param {string} target Window (`_blank|_self|_parent|_top`) or named frame to open links in.
536
+ * @param {object|function(url)} [attributes] Add custom attributes to the link element.
537
+ *
538
+ *    Can be one of:
539
+ *
540
+ *    - `object`: A map of attributes
541
+ *    - `function`: Takes the url as a parameter and returns a map of attributes
542
+ *
543
+ *    If the map of attributes contains a value for `target`, it overrides the value of
544
+ *    the target parameter.
545
+ *
546
+ *
547
+ * @returns {string} Html-linkified and {@link $sanitize sanitized} text.
548
+ *
549
+ * @usage
550
+   <span ng-bind-html="linky_expression | linky"></span>
551
+ *
552
+ * @example
553
+   <example module="linkyExample" deps="angular-sanitize.js">
554
+     <file name="index.html">
555
+       <div ng-controller="ExampleController">
556
+       Snippet: <textarea ng-model="snippet" cols="60" rows="3"></textarea>
557
+       <table>
558
+         <tr>
559
+           <th>Filter</th>
560
+           <th>Source</th>
561
+           <th>Rendered</th>
562
+         </tr>
563
+         <tr id="linky-filter">
564
+           <td>linky filter</td>
565
+           <td>
566
+             <pre>&lt;div ng-bind-html="snippet | linky"&gt;<br>&lt;/div&gt;</pre>
567
+           </td>
568
+           <td>
569
+             <div ng-bind-html="snippet | linky"></div>
570
+           </td>
571
+         </tr>
572
+         <tr id="linky-target">
573
+          <td>linky target</td>
574
+          <td>
575
+            <pre>&lt;div ng-bind-html="snippetWithSingleURL | linky:'_blank'"&gt;<br>&lt;/div&gt;</pre>
576
+          </td>
577
+          <td>
578
+            <div ng-bind-html="snippetWithSingleURL | linky:'_blank'"></div>
579
+          </td>
580
+         </tr>
581
+         <tr id="linky-custom-attributes">
582
+          <td>linky custom attributes</td>
583
+          <td>
584
+            <pre>&lt;div ng-bind-html="snippetWithSingleURL | linky:'_self':{rel: 'nofollow'}"&gt;<br>&lt;/div&gt;</pre>
585
+          </td>
586
+          <td>
587
+            <div ng-bind-html="snippetWithSingleURL | linky:'_self':{rel: 'nofollow'}"></div>
588
+          </td>
589
+         </tr>
590
+         <tr id="escaped-html">
591
+           <td>no filter</td>
592
+           <td><pre>&lt;div ng-bind="snippet"&gt;<br>&lt;/div&gt;</pre></td>
593
+           <td><div ng-bind="snippet"></div></td>
594
+         </tr>
595
+       </table>
596
+     </file>
597
+     <file name="script.js">
598
+       angular.module('linkyExample', ['ngSanitize'])
599
+         .controller('ExampleController', ['$scope', function($scope) {
600
+           $scope.snippet =
601
+             'Pretty text with some links:\n'+
602
+             'http://angularjs.org/,\n'+
603
+             'mailto:us@somewhere.org,\n'+
604
+             'another@somewhere.org,\n'+
605
+             'and one more: ftp://127.0.0.1/.';
606
+           $scope.snippetWithSingleURL = 'http://angularjs.org/';
607
+         }]);
608
+     </file>
609
+     <file name="protractor.js" type="protractor">
610
+       it('should linkify the snippet with urls', function() {
611
+         expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()).
612
+             toBe('Pretty text with some links: http://angularjs.org/, us@somewhere.org, ' +
613
+                  'another@somewhere.org, and one more: ftp://127.0.0.1/.');
614
+         expect(element.all(by.css('#linky-filter a')).count()).toEqual(4);
615
+       });
616
+
617
+       it('should not linkify snippet without the linky filter', function() {
618
+         expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText()).
619
+             toBe('Pretty text with some links: http://angularjs.org/, mailto:us@somewhere.org, ' +
620
+                  'another@somewhere.org, and one more: ftp://127.0.0.1/.');
621
+         expect(element.all(by.css('#escaped-html a')).count()).toEqual(0);
622
+       });
623
+
624
+       it('should update', function() {
625
+         element(by.model('snippet')).clear();
626
+         element(by.model('snippet')).sendKeys('new http://link.');
627
+         expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()).
628
+             toBe('new http://link.');
629
+         expect(element.all(by.css('#linky-filter a')).count()).toEqual(1);
630
+         expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText())
631
+             .toBe('new http://link.');
632
+       });
633
+
634
+       it('should work with the target property', function() {
635
+        expect(element(by.id('linky-target')).
636
+            element(by.binding("snippetWithSingleURL | linky:'_blank'")).getText()).
637
+            toBe('http://angularjs.org/');
638
+        expect(element(by.css('#linky-target a')).getAttribute('target')).toEqual('_blank');
639
+       });
640
+
641
+       it('should optionally add custom attributes', function() {
642
+        expect(element(by.id('linky-custom-attributes')).
643
+            element(by.binding("snippetWithSingleURL | linky:'_self':{rel: 'nofollow'}")).getText()).
644
+            toBe('http://angularjs.org/');
645
+        expect(element(by.css('#linky-custom-attributes a')).getAttribute('rel')).toEqual('nofollow');
646
+       });
647
+     </file>
648
+   </example>
649
+ */
650
+angular.module('ngSanitize').filter('linky', ['$sanitize', function($sanitize) {
651
+  var LINKY_URL_REGEXP =
652
+        /((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,
653
+      MAILTO_REGEXP = /^mailto:/i;
654
+
655
+  var linkyMinErr = angular.$$minErr('linky');
656
+  var isString = angular.isString;
657
+
658
+  return function(text, target, attributes) {
659
+    if (text == null || text === '') return text;
660
+    if (!isString(text)) throw linkyMinErr('notstring', 'Expected string but received: {0}', text);
661
+
662
+    var match;
663
+    var raw = text;
664
+    var html = [];
665
+    var url;
666
+    var i;
667
+    while ((match = raw.match(LINKY_URL_REGEXP))) {
668
+      // We can not end in these as they are sometimes found at the end of the sentence
669
+      url = match[0];
670
+      // if we did not match ftp/http/www/mailto then assume mailto
671
+      if (!match[2] && !match[4]) {
672
+        url = (match[3] ? 'http://' : 'mailto:') + url;
673
+      }
674
+      i = match.index;
675
+      addText(raw.substr(0, i));
676
+      addLink(url, match[0].replace(MAILTO_REGEXP, ''));
677
+      raw = raw.substring(i + match[0].length);
678
+    }
679
+    addText(raw);
680
+    return $sanitize(html.join(''));
681
+
682
+    function addText(text) {
683
+      if (!text) {
684
+        return;
685
+      }
686
+      html.push(sanitizeText(text));
687
+    }
688
+
689
+    function addLink(url, text) {
690
+      var key;
691
+      html.push('<a ');
692
+      if (angular.isFunction(attributes)) {
693
+        attributes = attributes(url);
694
+      }
695
+      if (angular.isObject(attributes)) {
696
+        for (key in attributes) {
697
+          html.push(key + '="' + attributes[key] + '" ');
698
+        }
699
+      } else {
700
+        attributes = {};
701
+      }
702
+      if (angular.isDefined(target) && !('target' in attributes)) {
703
+        html.push('target="',
704
+                  target,
705
+                  '" ');
706
+      }
707
+      html.push('href="',
708
+                url.replace(/"/g, '&quot;'),
709
+                '">');
710
+      addText(text);
711
+      html.push('</a>');
712
+    }
713
+  };
714
+}]);
715
+
716
+
717
+})(window, window.angular);

+ 15
- 0
lib/ionic/js/angular/angular-sanitize.min.js Voir le fichier

@@ -0,0 +1,15 @@
1
+/*
2
+ AngularJS v1.5.3
3
+ (c) 2010-2016 Google, Inc. http://angularjs.org
4
+ License: MIT
5
+*/
6
+(function(A,e,B){'use strict';function C(a){var c=[];v(c,e.noop).chars(a);return c.join("")}function h(a,c){var b={},d=a.split(","),l;for(l=0;l<d.length;l++)b[c?e.lowercase(d[l]):d[l]]=!0;return b}function D(a,c){null===a||a===B?a="":"string"!==typeof a&&(a=""+a);g.innerHTML=a;var b=5;do{if(0===b)throw w("uinput");b--;11>=document.documentMode&&n(g);a=g.innerHTML;g.innerHTML=a}while(a!==g.innerHTML);for(b=g.firstChild;b;){switch(b.nodeType){case 1:c.start(b.nodeName.toLowerCase(),E(b.attributes));
7
+break;case 3:c.chars(b.textContent)}var d;if(!(d=b.firstChild)&&(1==b.nodeType&&c.end(b.nodeName.toLowerCase()),d=b.nextSibling,!d))for(;null==d;){b=b.parentNode;if(b===g)break;d=b.nextSibling;1==b.nodeType&&c.end(b.nodeName.toLowerCase())}b=d}for(;b=g.firstChild;)g.removeChild(b)}function E(a){for(var c={},b=0,d=a.length;b<d;b++){var l=a[b];c[l.name]=l.value}return c}function x(a){return a.replace(/&/g,"&amp;").replace(F,function(a){var b=a.charCodeAt(0);a=a.charCodeAt(1);return"&#"+(1024*(b-55296)+
8
+(a-56320)+65536)+";"}).replace(G,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function v(a,c){var b=!1,d=e.bind(a,a.push);return{start:function(a,f){a=e.lowercase(a);!b&&H[a]&&(b=a);b||!0!==t[a]||(d("<"),d(a),e.forEach(f,function(b,f){var g=e.lowercase(f),h="img"===a&&"src"===g||"background"===g;!0!==I[g]||!0===y[g]&&!c(b,h)||(d(" "),d(f),d('="'),d(x(b)),d('"'))}),d(">"))},end:function(a){a=e.lowercase(a);b||!0!==t[a]||!0===z[a]||(d("</"),d(a),d(">"));a==
9
+b&&(b=!1)},chars:function(a){b||d(x(a))}}}function n(a){if(a.nodeType===Node.ELEMENT_NODE)for(var c=a.attributes,b=0,d=c.length;b<d;b++){var e=c[b],f=e.name.toLowerCase();if("xmlns:ns1"===f||0===f.indexOf("ns1:"))a.removeAttributeNode(e),b--,d--}(c=a.firstChild)&&n(c);(c=a.nextSibling)&&n(c)}var w=e.$$minErr("$sanitize"),F=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,G=/([^\#-~ |!])/g,z=h("area,br,col,hr,img,wbr"),q=h("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),k=h("rp,rt"),u=e.extend({},k,q),q=e.extend({},
10
+q,h("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),k=e.extend({},k,h("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),J=h("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),
11
+H=h("script,style"),t=e.extend({},z,q,k,u),y=h("background,cite,href,longdesc,src,xlink:href"),u=h("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),k=h("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",
12
+!0),I=e.extend({},y,k,u),g;(function(a){if(a.document&&a.document.implementation)a=a.document.implementation.createHTMLDocument("inert");else throw w("noinert");var c=(a.documentElement||a.getDocumentElement()).getElementsByTagName("body");1===c.length?g=c[0]:(c=a.createElement("html"),g=a.createElement("body"),c.appendChild(g),a.appendChild(c))})(A);e.module("ngSanitize",[]).provider("$sanitize",function(){var a=!1;this.$get=["$$sanitizeUri",function(c){a&&e.extend(t,J);return function(a){var d=
13
+[];D(a,v(d,function(a,b){return!/^unsafe:/.test(c(a,b))}));return d.join("")}}];this.enableSvg=function(c){return e.isDefined(c)?(a=c,this):a}});e.module("ngSanitize").filter("linky",["$sanitize",function(a){var c=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,b=/^mailto:/i,d=e.$$minErr("linky"),g=e.isString;return function(f,h,m){function k(a){a&&p.push(C(a))}function q(a,b){var c;p.push("<a ");e.isFunction(m)&&(m=m(a));if(e.isObject(m))for(c in m)p.push(c+
14
+'="'+m[c]+'" ');else m={};!e.isDefined(h)||"target"in m||p.push('target="',h,'" ');p.push('href="',a.replace(/"/g,"&quot;"),'">');k(b);p.push("</a>")}if(null==f||""===f)return f;if(!g(f))throw d("notstring",f);for(var r=f,p=[],s,n;f=r.match(c);)s=f[0],f[2]||f[4]||(s=(f[3]?"http://":"mailto:")+s),n=f.index,k(r.substr(0,n)),q(s,f[0].replace(b,"")),r=r.substring(n+f[0].length);k(r);return a(p.join(""))}}])})(window,window.angular);
15
+//# sourceMappingURL=angular-sanitize.min.js.map

+ 30714
- 0
lib/ionic/js/angular/angular.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 311
- 0
lib/ionic/js/angular/angular.min.js Voir le fichier

@@ -0,0 +1,311 @@
1
+/*
2
+ AngularJS v1.5.3
3
+ (c) 2010-2016 Google, Inc. http://angularjs.org
4
+ License: MIT
5
+*/
6
+(function(T,P,u){'use strict';function O(a){return function(){var b=arguments[0],d;d="["+(a?a+":":"")+b+"] http://errors.angularjs.org/1.5.3/"+(a?a+"/":"")+b;for(b=1;b<arguments.length;b++){d=d+(1==b?"?":"&")+"p"+(b-1)+"=";var c=encodeURIComponent,e;e=arguments[b];e="function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof e?"undefined":"string"!=typeof e?JSON.stringify(e):e;d+=c(e)}return Error(d)}}function za(a){if(null==a||Ya(a))return!1;if(M(a)||y(a)||H&&a instanceof H)return!0;
7
+var b="length"in Object(a)&&a.length;return R(b)&&(0<=b&&(b-1 in a||a instanceof Array)||"function"==typeof a.item)}function q(a,b,d){var c,e;if(a)if(D(a))for(c in a)"prototype"==c||"length"==c||"name"==c||a.hasOwnProperty&&!a.hasOwnProperty(c)||b.call(d,a[c],c,a);else if(M(a)||za(a)){var f="object"!==typeof a;c=0;for(e=a.length;c<e;c++)(f||c in a)&&b.call(d,a[c],c,a)}else if(a.forEach&&a.forEach!==q)a.forEach(b,d,a);else if(oc(a))for(c in a)b.call(d,a[c],c,a);else if("function"===typeof a.hasOwnProperty)for(c in a)a.hasOwnProperty(c)&&
8
+b.call(d,a[c],c,a);else for(c in a)va.call(a,c)&&b.call(d,a[c],c,a);return a}function pc(a,b,d){for(var c=Object.keys(a).sort(),e=0;e<c.length;e++)b.call(d,a[c[e]],c[e]);return c}function qc(a){return function(b,d){a(d,b)}}function Wd(){return++qb}function Ob(a,b,d){for(var c=a.$$hashKey,e=0,f=b.length;e<f;++e){var g=b[e];if(J(g)||D(g))for(var h=Object.keys(g),k=0,l=h.length;k<l;k++){var m=h[k],n=g[m];d&&J(n)?fa(n)?a[m]=new Date(n.valueOf()):Za(n)?a[m]=new RegExp(n):n.nodeName?a[m]=n.cloneNode(!0):
9
+Pb(n)?a[m]=n.clone():(J(a[m])||(a[m]=M(n)?[]:{}),Ob(a[m],[n],!0)):a[m]=n}}c?a.$$hashKey=c:delete a.$$hashKey;return a}function S(a){return Ob(a,Aa.call(arguments,1),!1)}function Xd(a){return Ob(a,Aa.call(arguments,1),!0)}function Y(a){return parseInt(a,10)}function Qb(a,b){return S(Object.create(a),b)}function E(){}function $a(a){return a}function da(a){return function(){return a}}function rc(a){return D(a.toString)&&a.toString!==ka}function z(a){return"undefined"===typeof a}function A(a){return"undefined"!==
10
+typeof a}function J(a){return null!==a&&"object"===typeof a}function oc(a){return null!==a&&"object"===typeof a&&!sc(a)}function y(a){return"string"===typeof a}function R(a){return"number"===typeof a}function fa(a){return"[object Date]"===ka.call(a)}function D(a){return"function"===typeof a}function Za(a){return"[object RegExp]"===ka.call(a)}function Ya(a){return a&&a.window===a}function ab(a){return a&&a.$evalAsync&&a.$watch}function Oa(a){return"boolean"===typeof a}function Yd(a){return a&&R(a.length)&&
11
+Zd.test(ka.call(a))}function Pb(a){return!(!a||!(a.nodeName||a.prop&&a.attr&&a.find))}function $d(a){var b={};a=a.split(",");var d;for(d=0;d<a.length;d++)b[a[d]]=!0;return b}function oa(a){return N(a.nodeName||a[0]&&a[0].nodeName)}function bb(a,b){var d=a.indexOf(b);0<=d&&a.splice(d,1);return d}function pa(a,b){function d(a,b){var d=b.$$hashKey,e;if(M(a)){e=0;for(var f=a.length;e<f;e++)b.push(c(a[e]))}else if(oc(a))for(e in a)b[e]=c(a[e]);else if(a&&"function"===typeof a.hasOwnProperty)for(e in a)a.hasOwnProperty(e)&&
12
+(b[e]=c(a[e]));else for(e in a)va.call(a,e)&&(b[e]=c(a[e]));d?b.$$hashKey=d:delete b.$$hashKey;return b}function c(a){if(!J(a))return a;var b=f.indexOf(a);if(-1!==b)return g[b];if(Ya(a)||ab(a))throw Ba("cpws");var b=!1,c=e(a);c===u&&(c=M(a)?[]:Object.create(sc(a)),b=!0);f.push(a);g.push(c);return b?d(a,c):c}function e(a){switch(ka.call(a)){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 a.constructor(c(a.buffer));
13
+case "[object ArrayBuffer]":if(!a.slice){var b=new ArrayBuffer(a.byteLength);(new Uint8Array(b)).set(new Uint8Array(a));return b}return a.slice(0);case "[object Boolean]":case "[object Number]":case "[object String]":case "[object Date]":return new a.constructor(a.valueOf());case "[object RegExp]":return b=new RegExp(a.source,a.toString().match(/[^\/]*$/)[0]),b.lastIndex=a.lastIndex,b;case "[object Blob]":return new a.constructor([a],{type:a.type})}if(D(a.cloneNode))return a.cloneNode(!0)}var f=[],
14
+g=[];if(b){if(Yd(b)||"[object ArrayBuffer]"===ka.call(b))throw Ba("cpta");if(a===b)throw Ba("cpi");M(b)?b.length=0:q(b,function(a,c){"$$hashKey"!==c&&delete b[c]});f.push(a);g.push(b);return d(a,b)}return c(a)}function ia(a,b){if(M(a)){b=b||[];for(var d=0,c=a.length;d<c;d++)b[d]=a[d]}else if(J(a))for(d in b=b||{},a)if("$"!==d.charAt(0)||"$"!==d.charAt(1))b[d]=a[d];return b||a}function na(a,b){if(a===b)return!0;if(null===a||null===b)return!1;if(a!==a&&b!==b)return!0;var d=typeof a,c;if(d==typeof b&&
15
+"object"==d)if(M(a)){if(!M(b))return!1;if((d=a.length)==b.length){for(c=0;c<d;c++)if(!na(a[c],b[c]))return!1;return!0}}else{if(fa(a))return fa(b)?na(a.getTime(),b.getTime()):!1;if(Za(a))return Za(b)?a.toString()==b.toString():!1;if(ab(a)||ab(b)||Ya(a)||Ya(b)||M(b)||fa(b)||Za(b))return!1;d=V();for(c in a)if("$"!==c.charAt(0)&&!D(a[c])){if(!na(a[c],b[c]))return!1;d[c]=!0}for(c in b)if(!(c in d)&&"$"!==c.charAt(0)&&A(b[c])&&!D(b[c]))return!1;return!0}return!1}function cb(a,b,d){return a.concat(Aa.call(b,
16
+d))}function tc(a,b){var d=2<arguments.length?Aa.call(arguments,2):[];return!D(b)||b instanceof RegExp?b:d.length?function(){return arguments.length?b.apply(a,cb(d,arguments,0)):b.apply(a,d)}:function(){return arguments.length?b.apply(a,arguments):b.call(a)}}function ae(a,b){var d=b;"string"===typeof a&&"$"===a.charAt(0)&&"$"===a.charAt(1)?d=u:Ya(b)?d="$WINDOW":b&&P===b?d="$DOCUMENT":ab(b)&&(d="$SCOPE");return d}function db(a,b){if(z(a))return u;R(b)||(b=b?2:null);return JSON.stringify(a,ae,b)}function uc(a){return y(a)?
17
+JSON.parse(a):a}function vc(a,b){a=a.replace(be,"");var d=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(d)?b:d}function Rb(a,b,d){d=d?-1:1;var c=a.getTimezoneOffset();b=vc(b,c);d*=b-c;a=new Date(a.getTime());a.setMinutes(a.getMinutes()+d);return a}function wa(a){a=H(a).clone();try{a.empty()}catch(b){}var d=H("<div>").append(a).html();try{return a[0].nodeType===Pa?N(d):d.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+N(b)})}catch(c){return N(d)}}function wc(a){try{return decodeURIComponent(a)}catch(b){}}
18
+function xc(a){var b={};q((a||"").split("&"),function(a){var c,e,f;a&&(e=a=a.replace(/\+/g,"%20"),c=a.indexOf("="),-1!==c&&(e=a.substring(0,c),f=a.substring(c+1)),e=wc(e),A(e)&&(f=A(f)?wc(f):!0,va.call(b,e)?M(b[e])?b[e].push(f):b[e]=[b[e],f]:b[e]=f))});return b}function Sb(a){var b=[];q(a,function(a,c){M(a)?q(a,function(a){b.push(ja(c,!0)+(!0===a?"":"="+ja(a,!0)))}):b.push(ja(c,!0)+(!0===a?"":"="+ja(a,!0)))});return b.length?b.join("&"):""}function rb(a){return ja(a,!0).replace(/%26/gi,"&").replace(/%3D/gi,
19
+"=").replace(/%2B/gi,"+")}function ja(a,b){return encodeURIComponent(a).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,b?"%20":"+")}function ce(a,b){var d,c,e=Qa.length;for(c=0;c<e;++c)if(d=Qa[c]+b,y(d=a.getAttribute(d)))return d;return null}function de(a,b){var d,c,e={};q(Qa,function(b){b+="app";!d&&a.hasAttribute&&a.hasAttribute(b)&&(d=a,c=a.getAttribute(b))});q(Qa,function(b){b+="app";var e;!d&&(e=a.querySelector("["+b.replace(":",
20
+"\\:")+"]"))&&(d=e,c=e.getAttribute(b))});d&&(e.strictDi=null!==ce(d,"strict-di"),b(d,c?[c]:[],e))}function yc(a,b,d){J(d)||(d={});d=S({strictDi:!1},d);var c=function(){a=H(a);if(a.injector()){var c=a[0]===P?"document":wa(a);throw Ba("btstrpd",c.replace(/</,"&lt;").replace(/>/,"&gt;"));}b=b||[];b.unshift(["$provide",function(b){b.value("$rootElement",a)}]);d.debugInfoEnabled&&b.push(["$compileProvider",function(a){a.debugInfoEnabled(!0)}]);b.unshift("ng");c=eb(b,d.strictDi);c.invoke(["$rootScope",
21
+"$rootElement","$compile","$injector",function(a,b,c,d){a.$apply(function(){b.data("$injector",d);c(b)(a)})}]);return c},e=/^NG_ENABLE_DEBUG_INFO!/,f=/^NG_DEFER_BOOTSTRAP!/;T&&e.test(T.name)&&(d.debugInfoEnabled=!0,T.name=T.name.replace(e,""));if(T&&!f.test(T.name))return c();T.name=T.name.replace(f,"");ea.resumeBootstrap=function(a){q(a,function(a){b.push(a)});return c()};D(ea.resumeDeferredBootstrap)&&ea.resumeDeferredBootstrap()}function ee(){T.name="NG_ENABLE_DEBUG_INFO!"+T.name;T.location.reload()}
22
+function fe(a){a=ea.element(a).injector();if(!a)throw Ba("test");return a.get("$$testability")}function zc(a,b){b=b||"_";return a.replace(ge,function(a,c){return(c?b:"")+a.toLowerCase()})}function he(){var a;if(!Ac){var b=sb();($=z(b)?T.jQuery:b?T[b]:u)&&$.fn.on?(H=$,S($.fn,{scope:Ra.scope,isolateScope:Ra.isolateScope,controller:Ra.controller,injector:Ra.injector,inheritedData:Ra.inheritedData}),a=$.cleanData,$.cleanData=function(b){for(var c,e=0,f;null!=(f=b[e]);e++)(c=$._data(f,"events"))&&c.$destroy&&
23
+$(f).triggerHandler("$destroy");a(b)}):H=U;ea.element=H;Ac=!0}}function tb(a,b,d){if(!a)throw Ba("areq",b||"?",d||"required");return a}function Sa(a,b,d){d&&M(a)&&(a=a[a.length-1]);tb(D(a),b,"not a function, got "+(a&&"object"===typeof a?a.constructor.name||"Object":typeof a));return a}function Ta(a,b){if("hasOwnProperty"===a)throw Ba("badname",b);}function Bc(a,b,d){if(!b)return a;b=b.split(".");for(var c,e=a,f=b.length,g=0;g<f;g++)c=b[g],a&&(a=(e=a)[c]);return!d&&D(a)?tc(e,a):a}function ub(a){for(var b=
24
+a[0],d=a[a.length-1],c,e=1;b!==d&&(b=b.nextSibling);e++)if(c||a[e]!==b)c||(c=H(Aa.call(a,0,e))),c.push(b);return c||a}function V(){return Object.create(null)}function ie(a){function b(a,b,c){return a[b]||(a[b]=c())}var d=O("$injector"),c=O("ng");a=b(a,"angular",Object);a.$$minErr=a.$$minErr||O;return b(a,"module",function(){var a={};return function(f,g,h){if("hasOwnProperty"===f)throw c("badname","module");g&&a.hasOwnProperty(f)&&(a[f]=null);return b(a,f,function(){function a(b,d,e,f){f||(f=c);return function(){f[e||
25
+"push"]([b,d,arguments]);return L}}function b(a,d){return function(b,e){e&&D(e)&&(e.$$moduleName=f);c.push([a,d,arguments]);return L}}if(!g)throw d("nomod",f);var c=[],e=[],p=[],F=a("$injector","invoke","push",e),L={_invokeQueue:c,_configBlocks:e,_runBlocks:p,requires:g,name:f,provider:b("$provide","provider"),factory:b("$provide","factory"),service:b("$provide","service"),value:a("$provide","value"),constant:a("$provide","constant","unshift"),decorator:b("$provide","decorator"),animation:b("$animateProvider",
26
+"register"),filter:b("$filterProvider","register"),controller:b("$controllerProvider","register"),directive:b("$compileProvider","directive"),component:b("$compileProvider","component"),config:F,run:function(a){p.push(a);return this}};h&&F(h);return L})}})}function je(a){S(a,{bootstrap:yc,copy:pa,extend:S,merge:Xd,equals:na,element:H,forEach:q,injector:eb,noop:E,bind:tc,toJson:db,fromJson:uc,identity:$a,isUndefined:z,isDefined:A,isString:y,isFunction:D,isObject:J,isNumber:R,isElement:Pb,isArray:M,
27
+version:ke,isDate:fa,lowercase:N,uppercase:vb,callbacks:{counter:0},getTestability:fe,$$minErr:O,$$csp:Ga,reloadWithDebugInfo:ee});Tb=ie(T);Tb("ng",["ngLocale"],["$provide",function(a){a.provider({$$sanitizeUri:le});a.provider("$compile",Cc).directive({a:me,input:Dc,textarea:Dc,form:ne,script:oe,select:pe,style:qe,option:re,ngBind:se,ngBindHtml:te,ngBindTemplate:ue,ngClass:ve,ngClassEven:we,ngClassOdd:xe,ngCloak:ye,ngController:ze,ngForm:Ae,ngHide:Be,ngIf:Ce,ngInclude:De,ngInit:Ee,ngNonBindable:Fe,
28
+ngPluralize:Ge,ngRepeat:He,ngShow:Ie,ngStyle:Je,ngSwitch:Ke,ngSwitchWhen:Le,ngSwitchDefault:Me,ngOptions:Ne,ngTransclude:Oe,ngModel:Pe,ngList:Qe,ngChange:Re,pattern:Ec,ngPattern:Ec,required:Fc,ngRequired:Fc,minlength:Gc,ngMinlength:Gc,maxlength:Hc,ngMaxlength:Hc,ngValue:Se,ngModelOptions:Te}).directive({ngInclude:Ue}).directive(wb).directive(Ic);a.provider({$anchorScroll:Ve,$animate:We,$animateCss:Xe,$$animateJs:Ye,$$animateQueue:Ze,$$AnimateRunner:$e,$$animateAsyncRun:af,$browser:bf,$cacheFactory:cf,
29
+$controller:df,$document:ef,$exceptionHandler:ff,$filter:Jc,$$forceReflow:gf,$interpolate:hf,$interval:jf,$http:kf,$httpParamSerializer:lf,$httpParamSerializerJQLike:mf,$httpBackend:nf,$xhrFactory:of,$location:pf,$log:qf,$parse:rf,$rootScope:sf,$q:tf,$$q:uf,$sce:vf,$sceDelegate:wf,$sniffer:xf,$templateCache:yf,$templateRequest:zf,$$testability:Af,$timeout:Bf,$window:Cf,$$rAF:Df,$$jqLite:Ef,$$HashMap:Ff,$$cookieReader:Gf})}])}function fb(a){return a.replace(Hf,function(a,d,c,e){return e?c.toUpperCase():
30
+c}).replace(If,"Moz$1")}function Kc(a){a=a.nodeType;return 1===a||!a||9===a}function Lc(a,b){var d,c,e=b.createDocumentFragment(),f=[];if(Ub.test(a)){d=d||e.appendChild(b.createElement("div"));c=(Jf.exec(a)||["",""])[1].toLowerCase();c=ha[c]||ha._default;d.innerHTML=c[1]+a.replace(Kf,"<$1></$2>")+c[2];for(c=c[0];c--;)d=d.lastChild;f=cb(f,d.childNodes);d=e.firstChild;d.textContent=""}else f.push(b.createTextNode(a));e.textContent="";e.innerHTML="";q(f,function(a){e.appendChild(a)});return e}function Mc(a,
31
+b){var d=a.parentNode;d&&d.replaceChild(b,a);b.appendChild(a)}function U(a){if(a instanceof U)return a;var b;y(a)&&(a=W(a),b=!0);if(!(this instanceof U)){if(b&&"<"!=a.charAt(0))throw Vb("nosel");return new U(a)}if(b){b=P;var d;a=(d=Lf.exec(a))?[b.createElement(d[1])]:(d=Lc(a,b))?d.childNodes:[]}Nc(this,a)}function Wb(a){return a.cloneNode(!0)}function xb(a,b){b||gb(a);if(a.querySelectorAll)for(var d=a.querySelectorAll("*"),c=0,e=d.length;c<e;c++)gb(d[c])}function Oc(a,b,d,c){if(A(c))throw Vb("offargs");
32
+var e=(c=yb(a))&&c.events,f=c&&c.handle;if(f)if(b){var g=function(b){var c=e[b];A(d)&&bb(c||[],d);A(d)&&c&&0<c.length||(a.removeEventListener(b,f,!1),delete e[b])};q(b.split(" "),function(a){g(a);zb[a]&&g(zb[a])})}else for(b in e)"$destroy"!==b&&a.removeEventListener(b,f,!1),delete e[b]}function gb(a,b){var d=a.ng339,c=d&&hb[d];c&&(b?delete c.data[b]:(c.handle&&(c.events.$destroy&&c.handle({},"$destroy"),Oc(a)),delete hb[d],a.ng339=u))}function yb(a,b){var d=a.ng339,d=d&&hb[d];b&&!d&&(a.ng339=d=++Mf,
33
+d=hb[d]={events:{},data:{},handle:u});return d}function Xb(a,b,d){if(Kc(a)){var c=A(d),e=!c&&b&&!J(b),f=!b;a=(a=yb(a,!e))&&a.data;if(c)a[b]=d;else{if(f)return a;if(e)return a&&a[b];S(a,b)}}}function Ab(a,b){return a.getAttribute?-1<(" "+(a.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+b+" "):!1}function Bb(a,b){b&&a.setAttribute&&q(b.split(" "),function(b){a.setAttribute("class",W((" "+(a.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+W(b)+" "," ")))})}function Cb(a,
34
+b){if(b&&a.setAttribute){var d=(" "+(a.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");q(b.split(" "),function(a){a=W(a);-1===d.indexOf(" "+a+" ")&&(d+=a+" ")});a.setAttribute("class",W(d))}}function Nc(a,b){if(b)if(b.nodeType)a[a.length++]=b;else{var d=b.length;if("number"===typeof d&&b.window!==b){if(d)for(var c=0;c<d;c++)a[a.length++]=b[c]}else a[a.length++]=b}}function Pc(a,b){return Db(a,"$"+(b||"ngController")+"Controller")}function Db(a,b,d){9==a.nodeType&&(a=a.documentElement);for(b=
35
+M(b)?b:[b];a;){for(var c=0,e=b.length;c<e;c++)if(A(d=H.data(a,b[c])))return d;a=a.parentNode||11===a.nodeType&&a.host}}function Qc(a){for(xb(a,!0);a.firstChild;)a.removeChild(a.firstChild)}function Yb(a,b){b||xb(a);var d=a.parentNode;d&&d.removeChild(a)}function Nf(a,b){b=b||T;if("complete"===b.document.readyState)b.setTimeout(a);else H(b).on("load",a)}function Rc(a,b){var d=Eb[b.toLowerCase()];return d&&Sc[oa(a)]&&d}function Of(a,b){var d=function(c,d){c.isDefaultPrevented=function(){return c.defaultPrevented};
36
+var f=b[d||c.type],g=f?f.length:0;if(g){if(z(c.immediatePropagationStopped)){var h=c.stopImmediatePropagation;c.stopImmediatePropagation=function(){c.immediatePropagationStopped=!0;c.stopPropagation&&c.stopPropagation();h&&h.call(c)}}c.isImmediatePropagationStopped=function(){return!0===c.immediatePropagationStopped};var k=f.specialHandlerWrapper||Pf;1<g&&(f=ia(f));for(var l=0;l<g;l++)c.isImmediatePropagationStopped()||k(a,c,f[l])}};d.elem=a;return d}function Pf(a,b,d){d.call(a,b)}function Qf(a,b,
37
+d){var c=b.relatedTarget;c&&(c===a||Rf.call(a,c))||d.call(a,b)}function Ef(){this.$get=function(){return S(U,{hasClass:function(a,b){a.attr&&(a=a[0]);return Ab(a,b)},addClass:function(a,b){a.attr&&(a=a[0]);return Cb(a,b)},removeClass:function(a,b){a.attr&&(a=a[0]);return Bb(a,b)}})}}function Ha(a,b){var d=a&&a.$$hashKey;if(d)return"function"===typeof d&&(d=a.$$hashKey()),d;d=typeof a;return d="function"==d||"object"==d&&null!==a?a.$$hashKey=d+":"+(b||Wd)():d+":"+a}function Ua(a,b){if(b){var d=0;this.nextUid=
38
+function(){return++d}}q(a,this.put,this)}function Tc(a){a=a.toString().replace(Sf,"");return a.match(Tf)||a.match(Uf)}function Vf(a){return(a=Tc(a))?"function("+(a[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function eb(a,b){function d(a){return function(b,c){if(J(b))q(b,qc(a));else return a(b,c)}}function c(a,b){Ta(a,"service");if(D(b)||M(b))b=p.instantiate(b);if(!b.$get)throw Ia("pget",a);return n[a+"Provider"]=b}function e(a,b){return function(){var c=x.invoke(b,this);if(z(c))throw Ia("undef",a);
39
+return c}}function f(a,b,d){return c(a,{$get:!1!==d?e(a,b):b})}function g(a){tb(z(a)||M(a),"modulesToLoad","not an array");var b=[],c;q(a,function(a){function d(a){var b,c;b=0;for(c=a.length;b<c;b++){var e=a[b],f=p.get(e[0]);f[e[1]].apply(f,e[2])}}if(!m.get(a)){m.put(a,!0);try{y(a)?(c=Tb(a),b=b.concat(g(c.requires)).concat(c._runBlocks),d(c._invokeQueue),d(c._configBlocks)):D(a)?b.push(p.invoke(a)):M(a)?b.push(p.invoke(a)):Sa(a,"module")}catch(e){throw M(a)&&(a=a[a.length-1]),e.message&&e.stack&&
40
+-1==e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Ia("modulerr",a,e.stack||e.message||e);}}});return b}function h(a,c){function d(b,e){if(a.hasOwnProperty(b)){if(a[b]===k)throw Ia("cdep",b+" <- "+l.join(" <- "));return a[b]}try{return l.unshift(b),a[b]=k,a[b]=c(b,e)}catch(f){throw a[b]===k&&delete a[b],f;}finally{l.shift()}}function e(a,c,f){var g=[];a=eb.$$annotate(a,b,f);for(var h=0,k=a.length;h<k;h++){var l=a[h];if("string"!==typeof l)throw Ia("itkn",l);g.push(c&&c.hasOwnProperty(l)?c[l]:
41
+d(l,f))}return g}return{invoke:function(a,b,c,d){"string"===typeof c&&(d=c,c=null);c=e(a,c,d);M(a)&&(a=a[a.length-1]);d=11>=Da?!1:"function"===typeof a&&/^(?:class\s|constructor\()/.test(Function.prototype.toString.call(a));return d?(c.unshift(null),new (Function.prototype.bind.apply(a,c))):a.apply(b,c)},instantiate:function(a,b,c){var d=M(a)?a[a.length-1]:a;a=e(a,b,c);a.unshift(null);return new (Function.prototype.bind.apply(d,a))},get:d,annotate:eb.$$annotate,has:function(b){return n.hasOwnProperty(b+
42
+"Provider")||a.hasOwnProperty(b)}}}b=!0===b;var k={},l=[],m=new Ua([],!0),n={$provide:{provider:d(c),factory:d(f),service:d(function(a,b){return f(a,["$injector",function(a){return a.instantiate(b)}])}),value:d(function(a,b){return f(a,da(b),!1)}),constant:d(function(a,b){Ta(a,"constant");n[a]=b;F[a]=b}),decorator:function(a,b){var c=p.get(a+"Provider"),d=c.$get;c.$get=function(){var a=x.invoke(d,c);return x.invoke(b,null,{$delegate:a})}}}},p=n.$injector=h(n,function(a,b){ea.isString(b)&&l.push(b);
43
+throw Ia("unpr",l.join(" <- "));}),F={},L=h(F,function(a,b){var c=p.get(a+"Provider",b);return x.invoke(c.$get,c,u,a)}),x=L;n.$injectorProvider={$get:da(L)};var r=g(a),x=L.get("$injector");x.strictDi=b;q(r,function(a){a&&x.invoke(a)});return x}function Ve(){var a=!0;this.disableAutoScrolling=function(){a=!1};this.$get=["$window","$location","$rootScope",function(b,d,c){function e(a){var b=null;Array.prototype.some.call(a,function(a){if("a"===oa(a))return b=a,!0});return b}function f(a){if(a){a.scrollIntoView();
44
+var c;c=g.yOffset;D(c)?c=c():Pb(c)?(c=c[0],c="fixed"!==b.getComputedStyle(c).position?0:c.getBoundingClientRect().bottom):R(c)||(c=0);c&&(a=a.getBoundingClientRect().top,b.scrollBy(0,a-c))}else b.scrollTo(0,0)}function g(a){a=y(a)?a:d.hash();var b;a?(b=h.getElementById(a))?f(b):(b=e(h.getElementsByName(a)))?f(b):"top"===a&&f(null):f(null)}var h=b.document;a&&c.$watch(function(){return d.hash()},function(a,b){a===b&&""===a||Nf(function(){c.$evalAsync(g)})});return g}]}function ib(a,b){if(!a&&!b)return"";
45
+if(!a)return b;if(!b)return a;M(a)&&(a=a.join(" "));M(b)&&(b=b.join(" "));return a+" "+b}function Wf(a){y(a)&&(a=a.split(" "));var b=V();q(a,function(a){a.length&&(b[a]=!0)});return b}function Ja(a){return J(a)?a:{}}function Xf(a,b,d,c){function e(a){try{a.apply(null,Aa.call(arguments,1))}finally{if(L--,0===L)for(;x.length;)try{x.pop()()}catch(b){d.error(b)}}}function f(){t=null;g();h()}function g(){r=G();r=z(r)?null:r;na(r,I)&&(r=I);I=r}function h(){if(v!==k.url()||w!==r)v=k.url(),w=r,q(C,function(a){a(k.url(),
46
+r)})}var k=this,l=a.location,m=a.history,n=a.setTimeout,p=a.clearTimeout,F={};k.isMock=!1;var L=0,x=[];k.$$completeOutstandingRequest=e;k.$$incOutstandingRequestCount=function(){L++};k.notifyWhenNoOutstandingRequests=function(a){0===L?a():x.push(a)};var r,w,v=l.href,Q=b.find("base"),t=null,G=c.history?function(){try{return m.state}catch(a){}}:E;g();w=r;k.url=function(b,d,e){z(e)&&(e=null);l!==a.location&&(l=a.location);m!==a.history&&(m=a.history);if(b){var f=w===e;if(v===b&&(!c.history||f))return k;
47
+var h=v&&Ka(v)===Ka(b);v=b;w=e;if(!c.history||h&&f){if(!h||t)t=b;d?l.replace(b):h?(d=l,e=b.indexOf("#"),e=-1===e?"":b.substr(e),d.hash=e):l.href=b;l.href!==b&&(t=b)}else m[d?"replaceState":"pushState"](e,"",b),g(),w=r;return k}return t||l.href.replace(/%27/g,"'")};k.state=function(){return r};var C=[],K=!1,I=null;k.onUrlChange=function(b){if(!K){if(c.history)H(a).on("popstate",f);H(a).on("hashchange",f);K=!0}C.push(b);return b};k.$$applicationDestroyed=function(){H(a).off("hashchange popstate",f)};
48
+k.$$checkUrlChange=h;k.baseHref=function(){var a=Q.attr("href");return a?a.replace(/^(https?\:)?\/\/[^\/]*/,""):""};k.defer=function(a,b){var c;L++;c=n(function(){delete F[c];e(a)},b||0);F[c]=!0;return c};k.defer.cancel=function(a){return F[a]?(delete F[a],p(a),e(E),!0):!1}}function bf(){this.$get=["$window","$log","$sniffer","$document",function(a,b,d,c){return new Xf(a,c,b,d)}]}function cf(){this.$get=function(){function a(a,c){function e(a){a!=n&&(p?p==a&&(p=a.n):p=a,f(a.n,a.p),f(a,n),n=a,n.n=
49
+null)}function f(a,b){a!=b&&(a&&(a.p=b),b&&(b.n=a))}if(a in b)throw O("$cacheFactory")("iid",a);var g=0,h=S({},c,{id:a}),k=V(),l=c&&c.capacity||Number.MAX_VALUE,m=V(),n=null,p=null;return b[a]={put:function(a,b){if(!z(b)){if(l<Number.MAX_VALUE){var c=m[a]||(m[a]={key:a});e(c)}a in k||g++;k[a]=b;g>l&&this.remove(p.key);return b}},get:function(a){if(l<Number.MAX_VALUE){var b=m[a];if(!b)return;e(b)}return k[a]},remove:function(a){if(l<Number.MAX_VALUE){var b=m[a];if(!b)return;b==n&&(n=b.p);b==p&&(p=
50
+b.n);f(b.n,b.p);delete m[a]}a in k&&(delete k[a],g--)},removeAll:function(){k=V();g=0;m=V();n=p=null},destroy:function(){m=h=k=null;delete b[a]},info:function(){return S({},h,{size:g})}}}var b={};a.info=function(){var a={};q(b,function(b,e){a[e]=b.info()});return a};a.get=function(a){return b[a]};return a}}function yf(){this.$get=["$cacheFactory",function(a){return a("templates")}]}function Cc(a,b){function d(a,b,c){var d=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,e={};q(a,function(a,f){if(a in m)e[f]=
51
+m[a];else{var g=a.match(d);if(!g)throw ga("iscp",b,f,a,c?"controller bindings definition":"isolate scope definition");e[f]={mode:g[1][0],collection:"*"===g[2],optional:"?"===g[3],attrName:g[4]||f};g[4]&&(m[a]=e[f])}});return e}function c(a){var b=a.charAt(0);if(!b||b!==N(b))throw ga("baddir",a);if(a!==a.trim())throw ga("baddir",a);}var e={},f=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,g=/(([\w\-]+)(?:\:([^;]+))?;?)/,h=$d("ngSrc,ngSrcset,src,srcset"),k=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,l=/^(on[a-z]+|formaction)$/,
52
+m=V();this.directive=function L(b,d){Ta(b,"directive");y(b)?(c(b),tb(d,"directiveFactory"),e.hasOwnProperty(b)||(e[b]=[],a.factory(b+"Directive",["$injector","$exceptionHandler",function(a,c){var d=[];q(e[b],function(e,f){try{var g=a.invoke(e);D(g)?g={compile:da(g)}:!g.compile&&g.link&&(g.compile=da(g.link));g.priority=g.priority||0;g.index=f;g.name=g.name||b;g.require=g.require||g.controller&&g.name;g.restrict=g.restrict||"EA";g.$$moduleName=e.$$moduleName;d.push(g)}catch(h){c(h)}});return d}])),
53
+e[b].push(d)):q(b,qc(L));return this};this.component=function(a,b){function c(a){function e(b){return D(b)||M(b)?function(c,d){return a.invoke(b,this,{$element:c,$attrs:d})}:b}var f=b.template||b.templateUrl?b.template:"";return{controller:d,controllerAs:Uc(b.controller)||b.controllerAs||"$ctrl",template:e(f),templateUrl:e(b.templateUrl),transclude:b.transclude,scope:{},bindToController:b.bindings||{},restrict:"E",require:b.require}}var d=b.controller||E;q(b,function(a,b){"$"===b.charAt(0)&&(c[b]=
54
+a,d[b]=a)});c.$inject=["$injector"];return this.directive(a,c)};this.aHrefSanitizationWhitelist=function(a){return A(a)?(b.aHrefSanitizationWhitelist(a),this):b.aHrefSanitizationWhitelist()};this.imgSrcSanitizationWhitelist=function(a){return A(a)?(b.imgSrcSanitizationWhitelist(a),this):b.imgSrcSanitizationWhitelist()};var n=!0;this.debugInfoEnabled=function(a){return A(a)?(n=a,this):n};var p=10;this.onChangesTtl=function(a){return arguments.length?(p=a,this):p};this.$get=["$injector","$interpolate",
55
+"$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(a,b,c,m,v,Q,t,G,C,K){function I(){try{if(!--pa)throw $=u,ga("infchng",p);t.$apply(function(){for(var a=0,b=$.length;a<b;++a)$[a]();$=u})}finally{pa++}}function qa(a,b){if(b){var c=Object.keys(b),d,e,f;d=0;for(e=c.length;d<e;d++)f=c[d],this[f]=b[f]}else this.$attr={};this.$$element=a}function Ca(a,b,c){la.innerHTML="<span "+b+">";b=la.firstChild.attributes;var d=b[0];b.removeNamedItem(d.name);
56
+d.value=c;a.attributes.setNamedItem(d)}function B(a,b){try{a.addClass(b)}catch(c){}}function ba(a,b,c,d,e){a instanceof H||(a=H(a));for(var f=/\S+/,g=0,h=a.length;g<h;g++){var k=a[g];k.nodeType===Pa&&k.nodeValue.match(f)&&Mc(k,a[g]=P.createElement("span"))}var l=xa(a,b,a,c,d,e);ba.$$addScopeClass(a);var m=null;return function(b,c,d){tb(b,"scope");e&&e.needsNewScope&&(b=b.$parent.$new());d=d||{};var f=d.parentBoundTranscludeFn,g=d.transcludeControllers;d=d.futureParentElement;f&&f.$$boundTransclude&&
57
+(f=f.$$boundTransclude);m||(m=(d=d&&d[0])?"foreignobject"!==oa(d)&&ka.call(d).match(/SVG/)?"svg":"html":"html");d="html"!==m?H(ca(m,H("<div>").append(a).html())):c?Ra.clone.call(a):a;if(g)for(var h in g)d.data("$"+h+"Controller",g[h].instance);ba.$$addScopeInfo(d,b);c&&c(d,b);l&&l(b,d,d,f);return d}}function xa(a,b,c,d,e,f){function g(a,c,d,e){var f,k,l,m,n,p,G;if(r)for(G=Array(c.length),m=0;m<h.length;m+=3)f=h[m],G[f]=c[f];else G=c;m=0;for(n=h.length;m<n;)k=G[h[m++]],c=h[m++],f=h[m++],c?(c.scope?
58
+(l=a.$new(),ba.$$addScopeInfo(H(k),l)):l=a,p=c.transcludeOnThisElement?s(a,c.transclude,e):!c.templateOnThisElement&&e?e:!e&&b?s(a,b):null,c(f,l,k,d,p)):f&&f(a,k.childNodes,u,e)}for(var h=[],k,l,m,n,r,p=0;p<a.length;p++){k=new qa;l=A(a[p],[],k,0===p?d:u,e);(f=l.length?ra(l,a[p],k,b,c,null,[],[],f):null)&&f.scope&&ba.$$addScopeClass(k.$$element);k=f&&f.terminal||!(m=a[p].childNodes)||!m.length?null:xa(m,f?(f.transcludeOnThisElement||!f.templateOnThisElement)&&f.transclude:b);if(f||k)h.push(p,f,k),
59
+n=!0,r=r||f;f=null}return n?g:null}function s(a,b,c){function d(e,f,g,h,k){e||(e=a.$new(!1,k),e.$$transcluded=!0);return b(e,f,{parentBoundTranscludeFn:c,transcludeControllers:g,futureParentElement:h})}var e=d.$$slots=V(),f;for(f in b.$$slots)e[f]=b.$$slots[f]?s(a,b.$$slots[f],c):null;return d}function A(a,b,c,d,e){var h=c.$attr,k;switch(a.nodeType){case 1:Fa(b,ya(oa(a)),"E",d,e);for(var l,m,n,r=a.attributes,p=0,G=r&&r.length;p<G;p++){var v=!1,C=!1;l=r[p];k=l.name;m=W(l.value);l=ya(k);if(n=za.test(l))k=
60
+k.replace(Vc,"").substr(8).replace(/_(.)/g,function(a,b){return b.toUpperCase()});(l=l.match(Ba))&&R(l[1])&&(v=k,C=k.substr(0,k.length-5)+"end",k=k.substr(0,k.length-6));l=ya(k.toLowerCase());h[l]=k;if(n||!c.hasOwnProperty(l))c[l]=m,Rc(a,l)&&(c[l]=!0);fa(a,b,m,l,n);Fa(b,l,"A",d,e,v,C)}a=a.className;J(a)&&(a=a.animVal);if(y(a)&&""!==a)for(;k=g.exec(a);)l=ya(k[2]),Fa(b,l,"C",d,e)&&(c[l]=W(k[3])),a=a.substr(k.index+k[0].length);break;case Pa:if(11===Da)for(;a.parentNode&&a.nextSibling&&a.nextSibling.nodeType===
61
+Pa;)a.nodeValue+=a.nextSibling.nodeValue,a.parentNode.removeChild(a.nextSibling);Y(b,a.nodeValue);break;case 8:try{if(k=f.exec(a.nodeValue))l=ya(k[1]),Fa(b,l,"M",d,e)&&(c[l]=W(k[2]))}catch(w){}}b.sort(Z);return b}function Wc(a,b,c){var d=[],e=0;if(b&&a.hasAttribute&&a.hasAttribute(b)){do{if(!a)throw ga("uterdir",b,c);1==a.nodeType&&(a.hasAttribute(b)&&e++,a.hasAttribute(c)&&e--);d.push(a);a=a.nextSibling}while(0<e)}else d.push(a);return H(d)}function O(a,b,c){return function(d,e,f,g,h){e=Wc(e[0],
62
+b,c);return a(d,e,f,g,h)}}function Zb(a,b,c,d,e,f){var g;return a?ba(b,c,d,e,f):function(){g||(g=ba(b,c,d,e,f),b=c=f=null);return g.apply(this,arguments)}}function ra(a,b,d,e,f,g,h,k,l){function m(a,b,c,d){if(a){c&&(a=O(a,c,d));a.require=B.require;a.directiveName=L;if(C===B||B.$$isolateScope)a=ia(a,{isolateScope:!0});h.push(a)}if(b){c&&(b=O(b,c,d));b.require=B.require;b.directiveName=L;if(C===B||B.$$isolateScope)b=ia(b,{isolateScope:!0});k.push(b)}}function n(a,c,e,f,g){function l(a,b,c,d){var e;
63
+ab(a)||(d=c,c=b,b=a,a=u);Ca&&(e=K);c||(c=Ca?t.parent():t);if(d){var f=g.$$slots[d];if(f)return f(a,b,e,c,s);if(z(f))throw ga("noslot",d,wa(t));}else return g(a,b,e,c,s)}var m,r,p,B,I,K,x,t;b===e?(f=d,t=d.$$element):(t=H(e),f=new qa(t,d));I=c;C?B=c.$new(!0):G&&(I=c.$parent);g&&(x=l,x.$$boundTransclude=g,x.isSlotFilled=function(a){return!!g.$$slots[a]});v&&(K=T(t,f,x,v,B,c,C));C&&(ba.$$addScopeInfo(t,B,!0,!(w&&(w===C||w===C.$$originalDirective))),ba.$$addScopeClass(t,!0),B.$$isolateBindings=C.$$isolateBindings,
64
+(p=ha(c,f,B,B.$$isolateBindings,C))&&B.$on("$destroy",p));for(r in K){p=v[r];var Va=K[r],Q=p.$$bindings.bindToController;Va.identifier&&Q&&(m=ha(I,f,Va.instance,Q,p));var L=Va();L!==Va.instance&&(Va.instance=L,t.data("$"+p.name+"Controller",L),m&&m(),m=ha(I,f,Va.instance,Q,p))}q(v,function(a,b){var c=a.require;a.bindToController&&!M(c)&&J(c)&&S(K[b].instance,jb(b,c,t,K))});q(K,function(a){var b=a.instance;D(b.$onInit)&&b.$onInit();D(b.$onDestroy)&&I.$on("$destroy",function(){b.$onDestroy()})});m=
65
+0;for(r=h.length;m<r;m++)p=h[m],ja(p,p.isolateScope?B:c,t,f,p.require&&jb(p.directiveName,p.require,t,K),x);var s=c;C&&(C.template||null===C.templateUrl)&&(s=B);a&&a(s,e.childNodes,u,g);for(m=k.length-1;0<=m;m--)p=k[m],ja(p,p.isolateScope?B:c,t,f,p.require&&jb(p.directiveName,p.require,t,K),x);q(K,function(a){a=a.instance;D(a.$postLink)&&a.$postLink()})}l=l||{};for(var p=-Number.MAX_VALUE,G=l.newScopeDirective,v=l.controllerDirectives,C=l.newIsolateScopeDirective,w=l.templateDirective,I=l.nonTlbTranscludeDirective,
66
+K=!1,x=!1,Ca=l.hasElementTranscludeDirective,t=d.$$element=H(b),B,L,Q,s=e,xa,Ea=!1,E=!1,y,ra=0,N=a.length;ra<N;ra++){B=a[ra];var R=B.$$start,Fa=B.$$end;R&&(t=Wc(b,R,Fa));Q=u;if(p>B.priority)break;if(y=B.scope)B.templateUrl||(J(y)?(X("new/isolated scope",C||G,B,t),C=B):X("new/isolated scope",C,B,t)),G=G||B;L=B.name;if(!Ea&&(B.replace&&(B.templateUrl||B.template)||B.transclude&&!B.$$tlb)){for(y=ra+1;Ea=a[y++];)if(Ea.transclude&&!Ea.$$tlb||Ea.replace&&(Ea.templateUrl||Ea.template)){E=!0;break}Ea=!0}!B.templateUrl&&
67
+B.controller&&(y=B.controller,v=v||V(),X("'"+L+"' controller",v[L],B,t),v[L]=B);if(y=B.transclude)if(K=!0,B.$$tlb||(X("transclusion",I,B,t),I=B),"element"==y)Ca=!0,p=B.priority,Q=t,t=d.$$element=H(ba.$$createComment(L,d[L])),b=t[0],da(f,Aa.call(Q,0),b),Q[0].$$parentNode=Q[0].parentNode,s=Zb(E,Q,e,p,g&&g.name,{nonTlbTranscludeDirective:I});else{var P=V();Q=H(Wb(b)).contents();if(J(y)){Q=[];var Z=V(),Y=V();q(y,function(a,b){var c="?"===a.charAt(0);a=c?a.substring(1):a;Z[a]=b;P[b]=null;Y[b]=c});q(t.contents(),
68
+function(a){var b=Z[ya(oa(a))];b?(Y[b]=!0,P[b]=P[b]||[],P[b].push(a)):Q.push(a)});q(Y,function(a,b){if(!a)throw ga("reqslot",b);});for(var $ in P)P[$]&&(P[$]=Zb(E,P[$],e))}t.empty();s=Zb(E,Q,e,u,u,{needsNewScope:B.$$isolateScope||B.$$newScope});s.$$slots=P}if(B.template)if(x=!0,X("template",w,B,t),w=B,y=D(B.template)?B.template(t,d):B.template,y=ua(y),B.replace){g=B;Q=Ub.test(y)?Xc(ca(B.templateNamespace,W(y))):[];b=Q[0];if(1!=Q.length||1!==b.nodeType)throw ga("tplrt",L,"");da(f,t,b);N={$attr:{}};
69
+y=A(b,[],N);var ea=a.splice(ra+1,a.length-(ra+1));(C||G)&&Yc(y,C,G);a=a.concat(y).concat(ea);U(d,N);N=a.length}else t.html(y);if(B.templateUrl)x=!0,X("template",w,B,t),w=B,B.replace&&(g=B),n=aa(a.splice(ra,a.length-ra),t,d,f,K&&s,h,k,{controllerDirectives:v,newScopeDirective:G!==B&&G,newIsolateScopeDirective:C,templateDirective:w,nonTlbTranscludeDirective:I}),N=a.length;else if(B.compile)try{xa=B.compile(t,d,s),D(xa)?m(null,xa,R,Fa):xa&&m(xa.pre,xa.post,R,Fa)}catch(fa){c(fa,wa(t))}B.terminal&&(n.terminal=
70
+!0,p=Math.max(p,B.priority))}n.scope=G&&!0===G.scope;n.transcludeOnThisElement=K;n.templateOnThisElement=x;n.transclude=s;l.hasElementTranscludeDirective=Ca;return n}function jb(a,b,c,d){var e;if(y(b)){var f=b.match(k);b=b.substring(f[0].length);var g=f[1]||f[3],f="?"===f[2];"^^"===g?c=c.parent():e=(e=d&&d[b])&&e.instance;if(!e){var h="$"+b+"Controller";e=g?c.inheritedData(h):c.data(h)}if(!e&&!f)throw ga("ctreq",b,a);}else if(M(b))for(e=[],g=0,f=b.length;g<f;g++)e[g]=jb(a,b[g],c,d);else J(b)&&(e=
71
+{},q(b,function(b,f){e[f]=jb(a,b,c,d)}));return e||null}function T(a,b,c,d,e,f,g){var h=V(),k;for(k in d){var l=d[k],m={$scope:l===g||l.$$isolateScope?e:f,$element:a,$attrs:b,$transclude:c},n=l.controller;"@"==n&&(n=b[l.name]);m=Q(n,m,!0,l.controllerAs);h[l.name]=m;a.data("$"+l.name+"Controller",m.instance)}return h}function Yc(a,b,c){for(var d=0,e=a.length;d<e;d++)a[d]=Qb(a[d],{$$isolateScope:b,$$newScope:c})}function Fa(b,f,g,h,k,l,m){if(f===k)return null;k=null;if(e.hasOwnProperty(f)){var n;f=
72
+a.get(f+"Directive");for(var p=0,G=f.length;p<G;p++)try{if(n=f[p],(z(h)||h>n.priority)&&-1!=n.restrict.indexOf(g)){l&&(n=Qb(n,{$$start:l,$$end:m}));if(!n.$$bindings){var v=n,C=n,w=n.name,B={isolateScope:null,bindToController:null};J(C.scope)&&(!0===C.bindToController?(B.bindToController=d(C.scope,w,!0),B.isolateScope={}):B.isolateScope=d(C.scope,w,!1));J(C.bindToController)&&(B.bindToController=d(C.bindToController,w,!0));if(J(B.bindToController)){var I=C.controller,K=C.controllerAs;if(!I)throw ga("noctrl",
73
+w);if(!Uc(I,K))throw ga("noident",w);}var x=v.$$bindings=B;J(x.isolateScope)&&(n.$$isolateBindings=x.isolateScope)}b.push(n);k=n}}catch(t){c(t)}}return k}function R(b){if(e.hasOwnProperty(b))for(var c=a.get(b+"Directive"),d=0,f=c.length;d<f;d++)if(b=c[d],b.multiElement)return!0;return!1}function U(a,b){var c=b.$attr,d=a.$attr,e=a.$$element;q(a,function(d,e){"$"!=e.charAt(0)&&(b[e]&&b[e]!==d&&(d+=("style"===e?";":" ")+b[e]),a.$set(e,d,!0,c[e]))});q(b,function(b,f){"class"==f?(B(e,b),a["class"]=(a["class"]?
74
+a["class"]+" ":"")+b):"style"==f?(e.attr("style",e.attr("style")+";"+b),a.style=(a.style?a.style+";":"")+b):"$"==f.charAt(0)||a.hasOwnProperty(f)||(a[f]=b,d[f]=c[f])})}function aa(a,b,c,d,e,f,g,h){var k=[],l,n,p=b[0],r=a.shift(),G=Qb(r,{templateUrl:null,transclude:null,replace:null,$$originalDirective:r}),v=D(r.templateUrl)?r.templateUrl(b,c):r.templateUrl,C=r.templateNamespace;b.empty();m(v).then(function(m){var w,I;m=ua(m);if(r.replace){m=Ub.test(m)?Xc(ca(C,W(m))):[];w=m[0];if(1!=m.length||1!==
75
+w.nodeType)throw ga("tplrt",r.name,v);m={$attr:{}};da(d,b,w);var K=A(w,[],m);J(r.scope)&&Yc(K,!0);a=K.concat(a);U(c,m)}else w=p,b.html(m);a.unshift(G);l=ra(a,w,c,e,b,r,f,g,h);q(d,function(a,c){a==w&&(d[c]=b[0])});for(n=xa(b[0].childNodes,e);k.length;){m=k.shift();I=k.shift();var x=k.shift(),t=k.shift(),K=b[0];if(!m.$$destroyed){if(I!==p){var qa=I.className;h.hasElementTranscludeDirective&&r.replace||(K=Wb(w));da(x,H(I),K);B(H(K),qa)}I=l.transcludeOnThisElement?s(m,l.transclude,t):t;l(n,m,K,d,I)}}k=
76
+null});return function(a,b,c,d,e){a=e;b.$$destroyed||(k?k.push(b,c,d,a):(l.transcludeOnThisElement&&(a=s(b,l.transclude,e)),l(n,b,c,d,a)))}}function Z(a,b){var c=b.priority-a.priority;return 0!==c?c:a.name!==b.name?a.name<b.name?-1:1:a.index-b.index}function X(a,b,c,d){function e(a){return a?" (module: "+a+")":""}if(b)throw ga("multidir",b.name,e(b.$$moduleName),c.name,e(c.$$moduleName),a,wa(d));}function Y(a,c){var d=b(c,!0);d&&a.push({priority:0,compile:function(a){a=a.parent();var b=!!a.length;
77
+b&&ba.$$addBindingClass(a);return function(a,c){var e=c.parent();b||ba.$$addBindingClass(e);ba.$$addBindingInfo(e,d.expressions);a.$watch(d,function(a){c[0].nodeValue=a})}}})}function ca(a,b){a=N(a||"html");switch(a){case "svg":case "math":var c=P.createElement("div");c.innerHTML="<"+a+">"+b+"</"+a+">";return c.childNodes[0].childNodes;default:return b}}function ea(a,b){if("srcdoc"==b)return G.HTML;var c=oa(a);if("xlinkHref"==b||"form"==c&&"action"==b||"img"!=c&&("src"==b||"ngSrc"==b))return G.RESOURCE_URL}
78
+function fa(a,c,d,e,f){var g=ea(a,e);f=h[e]||f;var k=b(d,!0,g,f);if(k){if("multiple"===e&&"select"===oa(a))throw ga("selmulti",wa(a));c.push({priority:100,compile:function(){return{pre:function(a,c,h){c=h.$$observers||(h.$$observers=V());if(l.test(e))throw ga("nodomevents");var m=h[e];m!==d&&(k=m&&b(m,!0,g,f),d=m);k&&(h[e]=k(a),(c[e]||(c[e]=[])).$$inter=!0,(h.$$observers&&h.$$observers[e].$$scope||a).$watch(k,function(a,b){"class"===e&&a!=b?h.$updateClass(a,b):h.$set(e,a)}))}}}})}}function da(a,b,
79
+c){var d=b[0],e=b.length,f=d.parentNode,g,h;if(a)for(g=0,h=a.length;g<h;g++)if(a[g]==d){a[g++]=c;h=g+e-1;for(var k=a.length;g<k;g++,h++)h<k?a[g]=a[h]:delete a[g];a.length-=e-1;a.context===d&&(a.context=c);break}f&&f.replaceChild(c,d);a=P.createDocumentFragment();for(g=0;g<e;g++)a.appendChild(b[g]);H.hasData(d)&&(H.data(c,H.data(d)),H(d).off("$destroy"));H.cleanData(a.querySelectorAll("*"));for(g=1;g<e;g++)delete b[g];b[0]=c;b.length=1}function ia(a,b){return S(function(){return a.apply(null,arguments)},
80
+a,b)}function ja(a,b,d,e,f,g){try{a(b,d,e,f,g)}catch(h){c(h,wa(d))}}function ha(a,c,d,e,f){function g(b,c,e){D(d.$onChanges)&&c!==e&&($||(a.$$postDigest(I),$=[]),l||(l={},$.push(h)),l[b]&&(e=l[b].previousValue),l[b]={previousValue:e,currentValue:c})}function h(){d.$onChanges(l);l=u}var k=[],l;q(e,function(e,h){var l=e.attrName,m=e.optional,n,r,p,G;switch(e.mode){case "@":m||va.call(c,l)||(d[h]=c[l]=void 0);c.$observe(l,function(a){y(a)&&(g(h,a,d[h]),d[h]=a)});c.$$observers[l].$$scope=a;n=c[l];y(n)?
81
+d[h]=b(n)(a):Oa(n)&&(d[h]=n);break;case "=":if(!va.call(c,l)){if(m)break;c[l]=void 0}if(m&&!c[l])break;r=v(c[l]);G=r.literal?na:function(a,b){return a===b||a!==a&&b!==b};p=r.assign||function(){n=d[h]=r(a);throw ga("nonassign",c[l],l,f.name);};n=d[h]=r(a);m=function(b){G(b,d[h])||(G(b,n)?p(a,b=d[h]):d[h]=b);return n=b};m.$stateful=!0;m=e.collection?a.$watchCollection(c[l],m):a.$watch(v(c[l],m),null,r.literal);k.push(m);break;case "<":if(!va.call(c,l)){if(m)break;c[l]=void 0}if(m&&!c[l])break;r=v(c[l]);
82
+d[h]=r(a);m=a.$watch(r,function(a){g(h,a,d[h]);d[h]=a},r.literal);k.push(m);break;case "&":r=c.hasOwnProperty(l)?v(c[l]):E;if(r===E&&m)break;d[h]=function(b){return r(a,b)}}});return k.length&&function(){for(var a=0,b=k.length;a<b;++a)k[a]()}}var ma=/^\w/,la=P.createElement("div"),pa=p,$;qa.prototype={$normalize:ya,$addClass:function(a){a&&0<a.length&&C.addClass(this.$$element,a)},$removeClass:function(a){a&&0<a.length&&C.removeClass(this.$$element,a)},$updateClass:function(a,b){var c=Zc(a,b);c&&
83
+c.length&&C.addClass(this.$$element,c);(c=Zc(b,a))&&c.length&&C.removeClass(this.$$element,c)},$set:function(a,b,d,e){var f=Rc(this.$$element[0],a),g=$c[a],h=a;f?(this.$$element.prop(a,b),e=f):g&&(this[g]=b,h=g);this[a]=b;e?this.$attr[a]=e:(e=this.$attr[a])||(this.$attr[a]=e=zc(a,"-"));f=oa(this.$$element);if("a"===f&&("href"===a||"xlinkHref"===a)||"img"===f&&"src"===a)this[a]=b=K(b,"src"===a);else if("img"===f&&"srcset"===a){for(var f="",g=W(b),k=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,k=/\s/.test(g)?
84
+k:/(,)/,g=g.split(k),k=Math.floor(g.length/2),l=0;l<k;l++)var m=2*l,f=f+K(W(g[m]),!0),f=f+(" "+W(g[m+1]));g=W(g[2*l]).split(/\s/);f+=K(W(g[0]),!0);2===g.length&&(f+=" "+W(g[1]));this[a]=b=f}!1!==d&&(null===b||z(b)?this.$$element.removeAttr(e):ma.test(e)?this.$$element.attr(e,b):Ca(this.$$element[0],e,b));(a=this.$$observers)&&q(a[h],function(a){try{a(b)}catch(d){c(d)}})},$observe:function(a,b){var c=this,d=c.$$observers||(c.$$observers=V()),e=d[a]||(d[a]=[]);e.push(b);t.$evalAsync(function(){e.$$inter||
85
+!c.hasOwnProperty(a)||z(c[a])||b(c[a])});return function(){bb(e,b)}}};var sa=b.startSymbol(),ta=b.endSymbol(),ua="{{"==sa&&"}}"==ta?$a:function(a){return a.replace(/\{\{/g,sa).replace(/}}/g,ta)},za=/^ngAttr[A-Z]/,Ba=/^(.+)Start$/;ba.$$addBindingInfo=n?function(a,b){var c=a.data("$binding")||[];M(b)?c=c.concat(b):c.push(b);a.data("$binding",c)}:E;ba.$$addBindingClass=n?function(a){B(a,"ng-binding")}:E;ba.$$addScopeInfo=n?function(a,b,c,d){a.data(c?d?"$isolateScopeNoTemplate":"$isolateScope":"$scope",
86
+b)}:E;ba.$$addScopeClass=n?function(a,b){B(a,b?"ng-isolate-scope":"ng-scope")}:E;ba.$$createComment=function(a,b){var c="";n&&(c=" "+(a||"")+": "+(b||"")+" ");return P.createComment(c)};return ba}]}function ya(a){return fb(a.replace(Vc,""))}function Zc(a,b){var d="",c=a.split(/\s+/),e=b.split(/\s+/),f=0;a:for(;f<c.length;f++){for(var g=c[f],h=0;h<e.length;h++)if(g==e[h])continue a;d+=(0<d.length?" ":"")+g}return d}function Xc(a){a=H(a);var b=a.length;if(1>=b)return a;for(;b--;)8===a[b].nodeType&&
87
+Yf.call(a,b,1);return a}function Uc(a,b){if(b&&y(b))return b;if(y(a)){var d=ad.exec(a);if(d)return d[3]}}function df(){var a={},b=!1;this.has=function(b){return a.hasOwnProperty(b)};this.register=function(b,c){Ta(b,"controller");J(b)?S(a,b):a[b]=c};this.allowGlobals=function(){b=!0};this.$get=["$injector","$window",function(d,c){function e(a,b,c,d){if(!a||!J(a.$scope))throw O("$controller")("noscp",d,b);a.$scope[b]=c}return function(f,g,h,k){var l,m,n;h=!0===h;k&&y(k)&&(n=k);if(y(f)){k=f.match(ad);
88
+if(!k)throw Zf("ctrlfmt",f);m=k[1];n=n||k[3];f=a.hasOwnProperty(m)?a[m]:Bc(g.$scope,m,!0)||(b?Bc(c,m,!0):u);Sa(f,m,!0)}if(h)return h=(M(f)?f[f.length-1]:f).prototype,l=Object.create(h||null),n&&e(g,n,l,m||f.name),S(function(){var a=d.invoke(f,l,g,m);a!==l&&(J(a)||D(a))&&(l=a,n&&e(g,n,l,m||f.name));return l},{instance:l,identifier:n});l=d.instantiate(f,g,m);n&&e(g,n,l,m||f.name);return l}}]}function ef(){this.$get=["$window",function(a){return H(a.document)}]}function ff(){this.$get=["$log",function(a){return function(b,
89
+d){a.error.apply(a,arguments)}}]}function $b(a){return J(a)?fa(a)?a.toISOString():db(a):a}function lf(){this.$get=function(){return function(a){if(!a)return"";var b=[];pc(a,function(a,c){null===a||z(a)||(M(a)?q(a,function(a){b.push(ja(c)+"="+ja($b(a)))}):b.push(ja(c)+"="+ja($b(a))))});return b.join("&")}}}function mf(){this.$get=function(){return function(a){function b(a,e,f){null===a||z(a)||(M(a)?q(a,function(a,c){b(a,e+"["+(J(a)?c:"")+"]")}):J(a)&&!fa(a)?pc(a,function(a,c){b(a,e+(f?"":"[")+c+(f?
90
+"":"]"))}):d.push(ja(e)+"="+ja($b(a))))}if(!a)return"";var d=[];b(a,"",!0);return d.join("&")}}}function ac(a,b){if(y(a)){var d=a.replace($f,"").trim();if(d){var c=b("Content-Type");(c=c&&0===c.indexOf(bd))||(c=(c=d.match(ag))&&bg[c[0]].test(d));c&&(a=uc(d))}}return a}function cd(a){var b=V(),d;y(a)?q(a.split("\n"),function(a){d=a.indexOf(":");var e=N(W(a.substr(0,d)));a=W(a.substr(d+1));e&&(b[e]=b[e]?b[e]+", "+a:a)}):J(a)&&q(a,function(a,d){var f=N(d),g=W(a);f&&(b[f]=b[f]?b[f]+", "+g:g)});return b}
91
+function dd(a){var b;return function(d){b||(b=cd(a));return d?(d=b[N(d)],void 0===d&&(d=null),d):b}}function ed(a,b,d,c){if(D(c))return c(a,b,d);q(c,function(c){a=c(a,b,d)});return a}function kf(){var a=this.defaults={transformResponse:[ac],transformRequest:[function(a){return J(a)&&"[object File]"!==ka.call(a)&&"[object Blob]"!==ka.call(a)&&"[object FormData]"!==ka.call(a)?db(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ia(bc),put:ia(bc),patch:ia(bc)},xsrfCookieName:"XSRF-TOKEN",
92
+xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},b=!1;this.useApplyAsync=function(a){return A(a)?(b=!!a,this):b};var d=!0;this.useLegacyPromiseExtensions=function(a){return A(a)?(d=!!a,this):d};var c=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(e,f,g,h,k,l){function m(b){function c(a){var b=S({},a);b.data=ed(a.data,a.headers,a.status,f.transformResponse);a=a.status;return 200<=a&&300>a?b:k.reject(b)}function e(a,
93
+b){var c,d={};q(a,function(a,e){D(a)?(c=a(b),null!=c&&(d[e]=c)):d[e]=a});return d}if(!J(b))throw O("$http")("badreq",b);if(!y(b.url))throw O("$http")("badreq",b.url);var f=S({method:"get",transformRequest:a.transformRequest,transformResponse:a.transformResponse,paramSerializer:a.paramSerializer},b);f.headers=function(b){var c=a.headers,d=S({},b.headers),f,g,h,c=S({},c.common,c[N(b.method)]);a:for(f in c){g=N(f);for(h in d)if(N(h)===g)continue a;d[f]=c[f]}return e(d,ia(b))}(b);f.method=vb(f.method);
94
+f.paramSerializer=y(f.paramSerializer)?l.get(f.paramSerializer):f.paramSerializer;var g=[function(b){var d=b.headers,e=ed(b.data,dd(d),u,b.transformRequest);z(e)&&q(d,function(a,b){"content-type"===N(b)&&delete d[b]});z(b.withCredentials)&&!z(a.withCredentials)&&(b.withCredentials=a.withCredentials);return n(b,e).then(c,c)},u],h=k.when(f);for(q(L,function(a){(a.request||a.requestError)&&g.unshift(a.request,a.requestError);(a.response||a.responseError)&&g.push(a.response,a.responseError)});g.length;){b=
95
+g.shift();var m=g.shift(),h=h.then(b,m)}d?(h.success=function(a){Sa(a,"fn");h.then(function(b){a(b.data,b.status,b.headers,f)});return h},h.error=function(a){Sa(a,"fn");h.then(null,function(b){a(b.data,b.status,b.headers,f)});return h}):(h.success=fd("success"),h.error=fd("error"));return h}function n(c,d){function g(a,c,d,e){function f(){l(c,a,d,e)}K&&(200<=a&&300>a?K.put(L,[a,c,cd(d),e]):K.remove(L));b?h.$applyAsync(f):(f(),h.$$phase||h.$apply())}function l(a,b,d,e){b=-1<=b?b:0;(200<=b&&300>b?G.resolve:
96
+G.reject)({data:a,status:b,headers:dd(d),config:c,statusText:e})}function n(a){l(a.data,a.status,ia(a.headers()),a.statusText)}function t(){var a=m.pendingRequests.indexOf(c);-1!==a&&m.pendingRequests.splice(a,1)}var G=k.defer(),C=G.promise,K,I,qa=c.headers,L=p(c.url,c.paramSerializer(c.params));m.pendingRequests.push(c);C.then(t,t);!c.cache&&!a.cache||!1===c.cache||"GET"!==c.method&&"JSONP"!==c.method||(K=J(c.cache)?c.cache:J(a.cache)?a.cache:F);K&&(I=K.get(L),A(I)?I&&D(I.then)?I.then(n,n):M(I)?
97
+l(I[1],I[0],ia(I[2]),I[3]):l(I,200,{},"OK"):K.put(L,C));z(I)&&((I=gd(c.url)?f()[c.xsrfCookieName||a.xsrfCookieName]:u)&&(qa[c.xsrfHeaderName||a.xsrfHeaderName]=I),e(c.method,L,d,g,qa,c.timeout,c.withCredentials,c.responseType));return C}function p(a,b){0<b.length&&(a+=(-1==a.indexOf("?")?"?":"&")+b);return a}var F=g("$http");a.paramSerializer=y(a.paramSerializer)?l.get(a.paramSerializer):a.paramSerializer;var L=[];q(c,function(a){L.unshift(y(a)?l.get(a):l.invoke(a))});m.pendingRequests=[];(function(a){q(arguments,
98
+function(a){m[a]=function(b,c){return m(S({},c||{},{method:a,url:b}))}})})("get","delete","head","jsonp");(function(a){q(arguments,function(a){m[a]=function(b,c,d){return m(S({},d||{},{method:a,url:b,data:c}))}})})("post","put","patch");m.defaults=a;return m}]}function of(){this.$get=function(){return function(){return new T.XMLHttpRequest}}}function nf(){this.$get=["$browser","$window","$document","$xhrFactory",function(a,b,d,c){return cg(a,c,a.defer,b.angular.callbacks,d[0])}]}function cg(a,b,d,
99
+c,e){function f(a,b,d){var f=e.createElement("script"),m=null;f.type="text/javascript";f.src=a;f.async=!0;m=function(a){f.removeEventListener("load",m,!1);f.removeEventListener("error",m,!1);e.body.removeChild(f);f=null;var g=-1,F="unknown";a&&("load"!==a.type||c[b].called||(a={type:"error"}),F=a.type,g="error"===a.type?404:200);d&&d(g,F)};f.addEventListener("load",m,!1);f.addEventListener("error",m,!1);e.body.appendChild(f);return m}return function(e,h,k,l,m,n,p,F){function L(){w&&w();v&&v.abort()}
100
+function x(b,c,e,f,g){A(t)&&d.cancel(t);w=v=null;b(c,e,f,g);a.$$completeOutstandingRequest(E)}a.$$incOutstandingRequestCount();h=h||a.url();if("jsonp"==N(e)){var r="_"+(c.counter++).toString(36);c[r]=function(a){c[r].data=a;c[r].called=!0};var w=f(h.replace("JSON_CALLBACK","angular.callbacks."+r),r,function(a,b){x(l,a,c[r].data,"",b);c[r]=E})}else{var v=b(e,h);v.open(e,h,!0);q(m,function(a,b){A(a)&&v.setRequestHeader(b,a)});v.onload=function(){var a=v.statusText||"",b="response"in v?v.response:v.responseText,
101
+c=1223===v.status?204:v.status;0===c&&(c=b?200:"file"==sa(h).protocol?404:0);x(l,c,b,v.getAllResponseHeaders(),a)};e=function(){x(l,-1,null,null,"")};v.onerror=e;v.onabort=e;p&&(v.withCredentials=!0);if(F)try{v.responseType=F}catch(Q){if("json"!==F)throw Q;}v.send(z(k)?null:k)}if(0<n)var t=d(L,n);else n&&D(n.then)&&n.then(L)}}function hf(){var a="{{",b="}}";this.startSymbol=function(b){return b?(a=b,this):a};this.endSymbol=function(a){return a?(b=a,this):b};this.$get=["$parse","$exceptionHandler",
102
+"$sce",function(d,c,e){function f(a){return"\\\\\\"+a}function g(c){return c.replace(n,a).replace(p,b)}function h(a,b,c,d){var e;return e=a.$watch(function(a){e();return d(a)},b,c)}function k(f,k,n,r){function p(a){try{var b=a;a=n?e.getTrusted(n,b):e.valueOf(b);var d;if(r&&!A(a))d=a;else if(null==a)d="";else{switch(typeof a){case "string":break;case "number":a=""+a;break;default:a=db(a)}d=a}return d}catch(g){c(La.interr(f,g))}}if(!f.length||-1===f.indexOf(a)){var v;k||(k=g(f),v=da(k),v.exp=f,v.expressions=
103
+[],v.$$watchDelegate=h);return v}r=!!r;var q,t,G=0,C=[],K=[];v=f.length;for(var I=[],qa=[];G<v;)if(-1!=(q=f.indexOf(a,G))&&-1!=(t=f.indexOf(b,q+l)))G!==q&&I.push(g(f.substring(G,q))),G=f.substring(q+l,t),C.push(G),K.push(d(G,p)),G=t+m,qa.push(I.length),I.push("");else{G!==v&&I.push(g(f.substring(G)));break}n&&1<I.length&&La.throwNoconcat(f);if(!k||C.length){var Ca=function(a){for(var b=0,c=C.length;b<c;b++){if(r&&z(a[b]))return;I[qa[b]]=a[b]}return I.join("")};return S(function(a){var b=0,d=C.length,
104
+e=Array(d);try{for(;b<d;b++)e[b]=K[b](a);return Ca(e)}catch(g){c(La.interr(f,g))}},{exp:f,expressions:C,$$watchDelegate:function(a,b){var c;return a.$watchGroup(K,function(d,e){var f=Ca(d);D(b)&&b.call(this,f,d!==e?c:f,a);c=f})}})}}var l=a.length,m=b.length,n=new RegExp(a.replace(/./g,f),"g"),p=new RegExp(b.replace(/./g,f),"g");k.startSymbol=function(){return a};k.endSymbol=function(){return b};return k}]}function jf(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(a,b,d,c,e){function f(f,
105
+k,l,m){function n(){p?f.apply(null,F):f(r)}var p=4<arguments.length,F=p?Aa.call(arguments,4):[],q=b.setInterval,x=b.clearInterval,r=0,w=A(m)&&!m,v=(w?c:d).defer(),Q=v.promise;l=A(l)?l:0;Q.$$intervalId=q(function(){w?e.defer(n):a.$evalAsync(n);v.notify(r++);0<l&&r>=l&&(v.resolve(r),x(Q.$$intervalId),delete g[Q.$$intervalId]);w||a.$apply()},k);g[Q.$$intervalId]=v;return Q}var g={};f.cancel=function(a){return a&&a.$$intervalId in g?(g[a.$$intervalId].reject("canceled"),b.clearInterval(a.$$intervalId),
106
+delete g[a.$$intervalId],!0):!1};return f}]}function cc(a){a=a.split("/");for(var b=a.length;b--;)a[b]=rb(a[b]);return a.join("/")}function hd(a,b){var d=sa(a);b.$$protocol=d.protocol;b.$$host=d.hostname;b.$$port=Y(d.port)||dg[d.protocol]||null}function id(a,b){var d="/"!==a.charAt(0);d&&(a="/"+a);var c=sa(a);b.$$path=decodeURIComponent(d&&"/"===c.pathname.charAt(0)?c.pathname.substring(1):c.pathname);b.$$search=xc(c.search);b.$$hash=decodeURIComponent(c.hash);b.$$path&&"/"!=b.$$path.charAt(0)&&(b.$$path=
107
+"/"+b.$$path)}function la(a,b){if(0===b.indexOf(a))return b.substr(a.length)}function Ka(a){var b=a.indexOf("#");return-1==b?a:a.substr(0,b)}function kb(a){return a.replace(/(#.+)|#$/,"$1")}function dc(a,b,d){this.$$html5=!0;d=d||"";hd(a,this);this.$$parse=function(a){var d=la(b,a);if(!y(d))throw Fb("ipthprfx",a,b);id(d,this);this.$$path||(this.$$path="/");this.$$compose()};this.$$compose=function(){var a=Sb(this.$$search),d=this.$$hash?"#"+rb(this.$$hash):"";this.$$url=cc(this.$$path)+(a?"?"+a:"")+
108
+d;this.$$absUrl=b+this.$$url.substr(1)};this.$$parseLinkUrl=function(c,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;var f,g;A(f=la(a,c))?(g=f,g=A(f=la(d,f))?b+(la("/",f)||f):a+g):A(f=la(b,c))?g=b+f:b==c+"/"&&(g=b);g&&this.$$parse(g);return!!g}}function ec(a,b,d){hd(a,this);this.$$parse=function(c){var e=la(a,c)||la(b,c),f;z(e)||"#"!==e.charAt(0)?this.$$html5?f=e:(f="",z(e)&&(a=c,this.replace())):(f=la(d,e),z(f)&&(f=e));id(f,this);c=this.$$path;var e=a,g=/^\/[A-Z]:(\/.*)/;0===f.indexOf(e)&&
109
+(f=f.replace(e,""));g.exec(f)||(c=(f=g.exec(c))?f[1]:c);this.$$path=c;this.$$compose()};this.$$compose=function(){var b=Sb(this.$$search),e=this.$$hash?"#"+rb(this.$$hash):"";this.$$url=cc(this.$$path)+(b?"?"+b:"")+e;this.$$absUrl=a+(this.$$url?d+this.$$url:"")};this.$$parseLinkUrl=function(b,d){return Ka(a)==Ka(b)?(this.$$parse(b),!0):!1}}function jd(a,b,d){this.$$html5=!0;ec.apply(this,arguments);this.$$parseLinkUrl=function(c,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;var f,g;a==Ka(c)?
110
+f=c:(g=la(b,c))?f=a+d+g:b===c+"/"&&(f=b);f&&this.$$parse(f);return!!f};this.$$compose=function(){var b=Sb(this.$$search),e=this.$$hash?"#"+rb(this.$$hash):"";this.$$url=cc(this.$$path)+(b?"?"+b:"")+e;this.$$absUrl=a+d+this.$$url}}function Gb(a){return function(){return this[a]}}function kd(a,b){return function(d){if(z(d))return this[a];this[a]=b(d);this.$$compose();return this}}function pf(){var a="",b={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(b){return A(b)?(a=b,this):
111
+a};this.html5Mode=function(a){return Oa(a)?(b.enabled=a,this):J(a)?(Oa(a.enabled)&&(b.enabled=a.enabled),Oa(a.requireBase)&&(b.requireBase=a.requireBase),Oa(a.rewriteLinks)&&(b.rewriteLinks=a.rewriteLinks),this):b};this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(d,c,e,f,g){function h(a,b,d){var e=l.url(),f=l.$$state;try{c.url(a,b,d),l.$$state=c.state()}catch(g){throw l.url(e),l.$$state=f,g;}}function k(a,b){d.$broadcast("$locationChangeSuccess",l.absUrl(),a,l.$$state,
112
+b)}var l,m;m=c.baseHref();var n=c.url(),p;if(b.enabled){if(!m&&b.requireBase)throw Fb("nobase");p=n.substring(0,n.indexOf("/",n.indexOf("//")+2))+(m||"/");m=e.history?dc:jd}else p=Ka(n),m=ec;var F=p.substr(0,Ka(p).lastIndexOf("/")+1);l=new m(p,F,"#"+a);l.$$parseLinkUrl(n,n);l.$$state=c.state();var q=/^\s*(javascript|mailto):/i;f.on("click",function(a){if(b.rewriteLinks&&!a.ctrlKey&&!a.metaKey&&!a.shiftKey&&2!=a.which&&2!=a.button){for(var e=H(a.target);"a"!==oa(e[0]);)if(e[0]===f[0]||!(e=e.parent())[0])return;
113
+var h=e.prop("href"),k=e.attr("href")||e.attr("xlink:href");J(h)&&"[object SVGAnimatedString]"===h.toString()&&(h=sa(h.animVal).href);q.test(h)||!h||e.attr("target")||a.isDefaultPrevented()||!l.$$parseLinkUrl(h,k)||(a.preventDefault(),l.absUrl()!=c.url()&&(d.$apply(),g.angular["ff-684208-preventDefault"]=!0))}});kb(l.absUrl())!=kb(n)&&c.url(l.absUrl(),!0);var x=!0;c.onUrlChange(function(a,b){z(la(F,a))?g.location.href=a:(d.$evalAsync(function(){var c=l.absUrl(),e=l.$$state,f;a=kb(a);l.$$parse(a);
114
+l.$$state=b;f=d.$broadcast("$locationChangeStart",a,c,b,e).defaultPrevented;l.absUrl()===a&&(f?(l.$$parse(c),l.$$state=e,h(c,!1,e)):(x=!1,k(c,e)))}),d.$$phase||d.$digest())});d.$watch(function(){var a=kb(c.url()),b=kb(l.absUrl()),f=c.state(),g=l.$$replace,m=a!==b||l.$$html5&&e.history&&f!==l.$$state;if(x||m)x=!1,d.$evalAsync(function(){var b=l.absUrl(),c=d.$broadcast("$locationChangeStart",b,a,l.$$state,f).defaultPrevented;l.absUrl()===b&&(c?(l.$$parse(a),l.$$state=f):(m&&h(b,g,f===l.$$state?null:
115
+l.$$state),k(a,f)))});l.$$replace=!1});return l}]}function qf(){var a=!0,b=this;this.debugEnabled=function(b){return A(b)?(a=b,this):a};this.$get=["$window",function(d){function c(a){a instanceof Error&&(a.stack?a=a.message&&-1===a.stack.indexOf(a.message)?"Error: "+a.message+"\n"+a.stack:a.stack:a.sourceURL&&(a=a.message+"\n"+a.sourceURL+":"+a.line));return a}function e(a){var b=d.console||{},e=b[a]||b.log||E;a=!1;try{a=!!e.apply}catch(k){}return a?function(){var a=[];q(arguments,function(b){a.push(c(b))});
116
+return e.apply(b,a)}:function(a,b){e(a,null==b?"":b)}}return{log:e("log"),info:e("info"),warn:e("warn"),error:e("error"),debug:function(){var c=e("debug");return function(){a&&c.apply(b,arguments)}}()}}]}function Wa(a,b){if("__defineGetter__"===a||"__defineSetter__"===a||"__lookupGetter__"===a||"__lookupSetter__"===a||"__proto__"===a)throw ca("isecfld",b);return a}function eg(a){return a+""}function ta(a,b){if(a){if(a.constructor===a)throw ca("isecfn",b);if(a.window===a)throw ca("isecwindow",b);if(a.children&&
117
+(a.nodeName||a.prop&&a.attr&&a.find))throw ca("isecdom",b);if(a===Object)throw ca("isecobj",b);}return a}function ld(a,b){if(a){if(a.constructor===a)throw ca("isecfn",b);if(a===fg||a===gg||a===hg)throw ca("isecff",b);}}function Hb(a,b){if(a&&(a===(0).constructor||a===(!1).constructor||a==="".constructor||a==={}.constructor||a===[].constructor||a===Function.constructor))throw ca("isecaf",b);}function ig(a,b){return"undefined"!==typeof a?a:b}function md(a,b){return"undefined"===typeof a?b:"undefined"===
118
+typeof b?a:a+b}function aa(a,b){var d,c;switch(a.type){case s.Program:d=!0;q(a.body,function(a){aa(a.expression,b);d=d&&a.expression.constant});a.constant=d;break;case s.Literal:a.constant=!0;a.toWatch=[];break;case s.UnaryExpression:aa(a.argument,b);a.constant=a.argument.constant;a.toWatch=a.argument.toWatch;break;case s.BinaryExpression:aa(a.left,b);aa(a.right,b);a.constant=a.left.constant&&a.right.constant;a.toWatch=a.left.toWatch.concat(a.right.toWatch);break;case s.LogicalExpression:aa(a.left,
119
+b);aa(a.right,b);a.constant=a.left.constant&&a.right.constant;a.toWatch=a.constant?[]:[a];break;case s.ConditionalExpression:aa(a.test,b);aa(a.alternate,b);aa(a.consequent,b);a.constant=a.test.constant&&a.alternate.constant&&a.consequent.constant;a.toWatch=a.constant?[]:[a];break;case s.Identifier:a.constant=!1;a.toWatch=[a];break;case s.MemberExpression:aa(a.object,b);a.computed&&aa(a.property,b);a.constant=a.object.constant&&(!a.computed||a.property.constant);a.toWatch=[a];break;case s.CallExpression:d=
120
+a.filter?!b(a.callee.name).$stateful:!1;c=[];q(a.arguments,function(a){aa(a,b);d=d&&a.constant;a.constant||c.push.apply(c,a.toWatch)});a.constant=d;a.toWatch=a.filter&&!b(a.callee.name).$stateful?c:[a];break;case s.AssignmentExpression:aa(a.left,b);aa(a.right,b);a.constant=a.left.constant&&a.right.constant;a.toWatch=[a];break;case s.ArrayExpression:d=!0;c=[];q(a.elements,function(a){aa(a,b);d=d&&a.constant;a.constant||c.push.apply(c,a.toWatch)});a.constant=d;a.toWatch=c;break;case s.ObjectExpression:d=
121
+!0;c=[];q(a.properties,function(a){aa(a.value,b);d=d&&a.value.constant;a.value.constant||c.push.apply(c,a.value.toWatch)});a.constant=d;a.toWatch=c;break;case s.ThisExpression:a.constant=!1;a.toWatch=[];break;case s.LocalsExpression:a.constant=!1,a.toWatch=[]}}function nd(a){if(1==a.length){a=a[0].expression;var b=a.toWatch;return 1!==b.length?b:b[0]!==a?b:u}}function od(a){return a.type===s.Identifier||a.type===s.MemberExpression}function pd(a){if(1===a.body.length&&od(a.body[0].expression))return{type:s.AssignmentExpression,
122
+left:a.body[0].expression,right:{type:s.NGValueParameter},operator:"="}}function qd(a){return 0===a.body.length||1===a.body.length&&(a.body[0].expression.type===s.Literal||a.body[0].expression.type===s.ArrayExpression||a.body[0].expression.type===s.ObjectExpression)}function rd(a,b){this.astBuilder=a;this.$filter=b}function sd(a,b){this.astBuilder=a;this.$filter=b}function Ib(a){return"constructor"==a}function fc(a){return D(a.valueOf)?a.valueOf():jg.call(a)}function rf(){var a=V(),b=V(),d={"true":!0,
123
+"false":!1,"null":null,undefined:u};this.addLiteral=function(a,b){d[a]=b};this.$get=["$filter",function(c){function e(d,e,g){var p,t,G;g=g||x;switch(typeof d){case "string":G=d=d.trim();var C=g?b:a;p=C[G];if(!p){":"===d.charAt(0)&&":"===d.charAt(1)&&(t=!0,d=d.substring(2));p=g?L:F;var K=new gc(p);p=(new hc(K,c,p)).parse(d);p.constant?p.$$watchDelegate=m:t?p.$$watchDelegate=p.literal?l:k:p.inputs&&(p.$$watchDelegate=h);g&&(p=f(p));C[G]=p}return n(p,e);case "function":return n(d,e);default:return n(E,
124
+e)}}function f(a){function b(c,d,e,f){var g=x;x=!0;try{return a(c,d,e,f)}finally{x=g}}if(!a)return a;b.$$watchDelegate=a.$$watchDelegate;b.assign=f(a.assign);b.constant=a.constant;b.literal=a.literal;for(var c=0;a.inputs&&c<a.inputs.length;++c)a.inputs[c]=f(a.inputs[c]);b.inputs=a.inputs;return b}function g(a,b){return null==a||null==b?a===b:"object"===typeof a&&(a=fc(a),"object"===typeof a)?!1:a===b||a!==a&&b!==b}function h(a,b,c,d,e){var f=d.inputs,h;if(1===f.length){var k=g,f=f[0];return a.$watch(function(a){var b=
125
+f(a);g(b,k)||(h=d(a,u,u,[b]),k=b&&fc(b));return h},b,c,e)}for(var l=[],m=[],n=0,p=f.length;n<p;n++)l[n]=g,m[n]=null;return a.$watch(function(a){for(var b=!1,c=0,e=f.length;c<e;c++){var k=f[c](a);if(b||(b=!g(k,l[c])))m[c]=k,l[c]=k&&fc(k)}b&&(h=d(a,u,u,m));return h},b,c,e)}function k(a,b,c,d){var e,f;return e=a.$watch(function(a){return d(a)},function(a,c,d){f=a;D(b)&&b.apply(this,arguments);A(a)&&d.$$postDigest(function(){A(f)&&e()})},c)}function l(a,b,c,d){function e(a){var b=!0;q(a,function(a){A(a)||
126
+(b=!1)});return b}var f,g;return f=a.$watch(function(a){return d(a)},function(a,c,d){g=a;D(b)&&b.call(this,a,c,d);e(a)&&d.$$postDigest(function(){e(g)&&f()})},c)}function m(a,b,c,d){var e;return e=a.$watch(function(a){e();return d(a)},b,c)}function n(a,b){if(!b)return a;var c=a.$$watchDelegate,d=!1,c=c!==l&&c!==k?function(c,e,f,g){f=d&&g?g[0]:a(c,e,f,g);return b(f,c,e)}:function(c,d,e,f){e=a(c,d,e,f);c=b(e,c,d);return A(e)?c:e};a.$$watchDelegate&&a.$$watchDelegate!==h?c.$$watchDelegate=a.$$watchDelegate:
127
+b.$stateful||(c.$$watchDelegate=h,d=!a.inputs,c.inputs=a.inputs?a.inputs:[a]);return c}var p=Ga().noUnsafeEval,F={csp:p,expensiveChecks:!1,literals:pa(d)},L={csp:p,expensiveChecks:!0,literals:pa(d)},x=!1;e.$$runningExpensiveChecks=function(){return x};return e}]}function tf(){this.$get=["$rootScope","$exceptionHandler",function(a,b){return td(function(b){a.$evalAsync(b)},b)}]}function uf(){this.$get=["$browser","$exceptionHandler",function(a,b){return td(function(b){a.defer(b)},b)}]}function td(a,
128
+b){function d(){this.$$state={status:0}}function c(a,b){return function(c){b.call(a,c)}}function e(c){!c.processScheduled&&c.pending&&(c.processScheduled=!0,a(function(){var a,d,e;e=c.pending;c.processScheduled=!1;c.pending=u;for(var f=0,g=e.length;f<g;++f){d=e[f][0];a=e[f][c.status];try{D(a)?d.resolve(a(c.value)):1===c.status?d.resolve(c.value):d.reject(c.value)}catch(h){d.reject(h),b(h)}}}))}function f(){this.promise=new d}var g=O("$q",TypeError);S(d.prototype,{then:function(a,b,c){if(z(a)&&z(b)&&
129
+z(c))return this;var d=new f;this.$$state.pending=this.$$state.pending||[];this.$$state.pending.push([d,a,b,c]);0<this.$$state.status&&e(this.$$state);return d.promise},"catch":function(a){return this.then(null,a)},"finally":function(a,b){return this.then(function(b){return k(b,!0,a)},function(b){return k(b,!1,a)},b)}});S(f.prototype,{resolve:function(a){this.promise.$$state.status||(a===this.promise?this.$$reject(g("qcycle",a)):this.$$resolve(a))},$$resolve:function(a){function d(a){k||(k=!0,h.$$resolve(a))}
130
+function f(a){k||(k=!0,h.$$reject(a))}var g,h=this,k=!1;try{if(J(a)||D(a))g=a&&a.then;D(g)?(this.promise.$$state.status=-1,g.call(a,d,f,c(this,this.notify))):(this.promise.$$state.value=a,this.promise.$$state.status=1,e(this.promise.$$state))}catch(l){f(l),b(l)}},reject:function(a){this.promise.$$state.status||this.$$reject(a)},$$reject:function(a){this.promise.$$state.value=a;this.promise.$$state.status=2;e(this.promise.$$state)},notify:function(c){var d=this.promise.$$state.pending;0>=this.promise.$$state.status&&
131
+d&&d.length&&a(function(){for(var a,e,f=0,g=d.length;f<g;f++){e=d[f][0];a=d[f][3];try{e.notify(D(a)?a(c):c)}catch(h){b(h)}}})}});var h=function(a,b){var c=new f;b?c.resolve(a):c.reject(a);return c.promise},k=function(a,b,c){var d=null;try{D(c)&&(d=c())}catch(e){return h(e,!1)}return d&&D(d.then)?d.then(function(){return h(a,b)},function(a){return h(a,!1)}):h(a,b)},l=function(a,b,c,d){var e=new f;e.resolve(a);return e.promise.then(b,c,d)},m=function(a){if(!D(a))throw g("norslvr",a);var b=new f;a(function(a){b.resolve(a)},
132
+function(a){b.reject(a)});return b.promise};m.prototype=d.prototype;m.defer=function(){var a=new f;a.resolve=c(a,a.resolve);a.reject=c(a,a.reject);a.notify=c(a,a.notify);return a};m.reject=function(a){var b=new f;b.reject(a);return b.promise};m.when=l;m.resolve=l;m.all=function(a){var b=new f,c=0,d=M(a)?[]:{};q(a,function(a,e){c++;l(a).then(function(a){d.hasOwnProperty(e)||(d[e]=a,--c||b.resolve(d))},function(a){d.hasOwnProperty(e)||b.reject(a)})});0===c&&b.resolve(d);return b.promise};return m}function Df(){this.$get=
133
+["$window","$timeout",function(a,b){var d=a.requestAnimationFrame||a.webkitRequestAnimationFrame,c=a.cancelAnimationFrame||a.webkitCancelAnimationFrame||a.webkitCancelRequestAnimationFrame,e=!!d,f=e?function(a){var b=d(a);return function(){c(b)}}:function(a){var c=b(a,16.66,!1);return function(){b.cancel(c)}};f.supported=e;return f}]}function sf(){function a(a){function b(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null;this.$$listeners={};this.$$listenerCount={};this.$$watchersCount=
134
+0;this.$id=++qb;this.$$ChildScope=null}b.prototype=a;return b}var b=10,d=O("$rootScope"),c=null,e=null;this.digestTtl=function(a){arguments.length&&(b=a);return b};this.$get=["$exceptionHandler","$parse","$browser",function(f,g,h){function k(a){a.currentScope.$$destroyed=!0}function l(a){9===Da&&(a.$$childHead&&l(a.$$childHead),a.$$nextSibling&&l(a.$$nextSibling));a.$parent=a.$$nextSibling=a.$$prevSibling=a.$$childHead=a.$$childTail=a.$root=a.$$watchers=null}function m(){this.$id=++qb;this.$$phase=
135
+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 n(a){if(w.$$phase)throw d("inprog",w.$$phase);w.$$phase=a}function p(a,b){do a.$$watchersCount+=b;while(a=a.$parent)}function F(a,b,c){do a.$$listenerCount[c]-=b,0===a.$$listenerCount[c]&&delete a.$$listenerCount[c];while(a=a.$parent)}function s(){}function x(){for(;t.length;)try{t.shift()()}catch(a){f(a)}e=
136
+null}function r(){null===e&&(e=h.defer(function(){w.$apply(x)}))}m.prototype={constructor:m,$new:function(b,c){var d;c=c||this;b?(d=new m,d.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=a(this)),d=new this.$$ChildScope);d.$parent=c;d.$$prevSibling=c.$$childTail;c.$$childHead?(c.$$childTail.$$nextSibling=d,c.$$childTail=d):c.$$childHead=c.$$childTail=d;(b||c!=this)&&d.$on("$destroy",k);return d},$watch:function(a,b,d,e){var f=g(a);if(f.$$watchDelegate)return f.$$watchDelegate(this,b,d,f,
137
+a);var h=this,k=h.$$watchers,l={fn:b,last:s,get:f,exp:e||a,eq:!!d};c=null;D(b)||(l.fn=E);k||(k=h.$$watchers=[]);k.unshift(l);p(this,1);return function(){0<=bb(k,l)&&p(h,-1);c=null}},$watchGroup:function(a,b){function c(){h=!1;k?(k=!1,b(e,e,g)):b(e,d,g)}var d=Array(a.length),e=Array(a.length),f=[],g=this,h=!1,k=!0;if(!a.length){var l=!0;g.$evalAsync(function(){l&&b(e,e,g)});return function(){l=!1}}if(1===a.length)return this.$watch(a[0],function(a,c,f){e[0]=a;d[0]=c;b(e,a===c?e:d,f)});q(a,function(a,
138
+b){var k=g.$watch(a,function(a,f){e[b]=a;d[b]=f;h||(h=!0,g.$evalAsync(c))});f.push(k)});return function(){for(;f.length;)f.shift()()}},$watchCollection:function(a,b){function c(a){e=a;var b,d,g,h;if(!z(e)){if(J(e))if(za(e))for(f!==n&&(f=n,v=f.length=0,l++),a=e.length,v!==a&&(l++,f.length=v=a),b=0;b<a;b++)h=f[b],g=e[b],d=h!==h&&g!==g,d||h===g||(l++,f[b]=g);else{f!==p&&(f=p={},v=0,l++);a=0;for(b in e)va.call(e,b)&&(a++,g=e[b],h=f[b],b in f?(d=h!==h&&g!==g,d||h===g||(l++,f[b]=g)):(v++,f[b]=g,l++));if(v>
139
+a)for(b in l++,f)va.call(e,b)||(v--,delete f[b])}else f!==e&&(f=e,l++);return l}}c.$stateful=!0;var d=this,e,f,h,k=1<b.length,l=0,m=g(a,c),n=[],p={},r=!0,v=0;return this.$watch(m,function(){r?(r=!1,b(e,e,d)):b(e,h,d);if(k)if(J(e))if(za(e)){h=Array(e.length);for(var a=0;a<e.length;a++)h[a]=e[a]}else for(a in h={},e)va.call(e,a)&&(h[a]=e[a]);else h=e})},$digest:function(){var a,g,k,l,m,p,r,q,t=b,F,A=[],z,y;n("$digest");h.$$checkUrlChange();this===w&&null!==e&&(h.defer.cancel(e),x());c=null;do{q=!1;
140
+for(F=this;v.length;){try{y=v.shift(),y.scope.$eval(y.expression,y.locals)}catch(E){f(E)}c=null}a:do{if(p=F.$$watchers)for(r=p.length;r--;)try{if(a=p[r])if(m=a.get,(g=m(F))!==(k=a.last)&&!(a.eq?na(g,k):"number"===typeof g&&"number"===typeof k&&isNaN(g)&&isNaN(k)))q=!0,c=a,a.last=a.eq?pa(g,null):g,l=a.fn,l(g,k===s?g:k,F),5>t&&(z=4-t,A[z]||(A[z]=[]),A[z].push({msg:D(a.exp)?"fn: "+(a.exp.name||a.exp.toString()):a.exp,newVal:g,oldVal:k}));else if(a===c){q=!1;break a}}catch(H){f(H)}if(!(p=F.$$watchersCount&&
141
+F.$$childHead||F!==this&&F.$$nextSibling))for(;F!==this&&!(p=F.$$nextSibling);)F=F.$parent}while(F=p);if((q||v.length)&&!t--)throw w.$$phase=null,d("infdig",b,A);}while(q||v.length);for(w.$$phase=null;u.length;)try{u.shift()()}catch(J){f(J)}},$destroy:function(){if(!this.$$destroyed){var a=this.$parent;this.$broadcast("$destroy");this.$$destroyed=!0;this===w&&h.$$applicationDestroyed();p(this,-this.$$watchersCount);for(var b in this.$$listenerCount)F(this,this.$$listenerCount[b],b);a&&a.$$childHead==
142
+this&&(a.$$childHead=this.$$nextSibling);a&&a.$$childTail==this&&(a.$$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=E;this.$on=this.$watch=this.$watchGroup=function(){return E};this.$$listeners={};this.$$nextSibling=null;l(this)}},$eval:function(a,b){return g(a)(this,b)},$evalAsync:function(a,b){w.$$phase||
143
+v.length||h.defer(function(){v.length&&w.$digest()});v.push({scope:this,expression:g(a),locals:b})},$$postDigest:function(a){u.push(a)},$apply:function(a){try{n("$apply");try{return this.$eval(a)}finally{w.$$phase=null}}catch(b){f(b)}finally{try{w.$digest()}catch(c){throw f(c),c;}}},$applyAsync:function(a){function b(){c.$eval(a)}var c=this;a&&t.push(b);a=g(a);r()},$on:function(a,b){var c=this.$$listeners[a];c||(this.$$listeners[a]=c=[]);c.push(b);var d=this;do d.$$listenerCount[a]||(d.$$listenerCount[a]=
144
+0),d.$$listenerCount[a]++;while(d=d.$parent);var e=this;return function(){var d=c.indexOf(b);-1!==d&&(c[d]=null,F(e,1,a))}},$emit:function(a,b){var c=[],d,e=this,g=!1,h={name:a,targetScope:e,stopPropagation:function(){g=!0},preventDefault:function(){h.defaultPrevented=!0},defaultPrevented:!1},k=cb([h],arguments,1),l,m;do{d=e.$$listeners[a]||c;h.currentScope=e;l=0;for(m=d.length;l<m;l++)if(d[l])try{d[l].apply(null,k)}catch(n){f(n)}else d.splice(l,1),l--,m--;if(g)return h.currentScope=null,h;e=e.$parent}while(e);
145
+h.currentScope=null;return h},$broadcast:function(a,b){var c=this,d=this,e={name:a,targetScope:this,preventDefault:function(){e.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[a])return e;for(var g=cb([e],arguments,1),h,k;c=d;){e.currentScope=c;d=c.$$listeners[a]||[];h=0;for(k=d.length;h<k;h++)if(d[h])try{d[h].apply(null,g)}catch(l){f(l)}else d.splice(h,1),h--,k--;if(!(d=c.$$listenerCount[a]&&c.$$childHead||c!==this&&c.$$nextSibling))for(;c!==this&&!(d=c.$$nextSibling);)c=c.$parent}e.currentScope=
146
+null;return e}};var w=new m,v=w.$$asyncQueue=[],u=w.$$postDigestQueue=[],t=w.$$applyAsyncQueue=[];return w}]}function le(){var a=/^\s*(https?|ftp|mailto|tel|file):/,b=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(b){return A(b)?(a=b,this):a};this.imgSrcSanitizationWhitelist=function(a){return A(a)?(b=a,this):b};this.$get=function(){return function(d,c){var e=c?b:a,f;f=sa(d).href;return""===f||f.match(e)?d:"unsafe:"+f}}}function kg(a){if("self"===a)return a;
147
+if(y(a)){if(-1<a.indexOf("***"))throw ua("iwcard",a);a=ud(a).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*");return new RegExp("^"+a+"$")}if(Za(a))return new RegExp("^"+a.source+"$");throw ua("imatcher");}function vd(a){var b=[];A(a)&&q(a,function(a){b.push(kg(a))});return b}function wf(){this.SCE_CONTEXTS=ma;var a=["self"],b=[];this.resourceUrlWhitelist=function(b){arguments.length&&(a=vd(b));return a};this.resourceUrlBlacklist=function(a){arguments.length&&(b=vd(a));return b};this.$get=["$injector",
148
+function(d){function c(a,b){return"self"===a?gd(b):!!a.exec(b.href)}function e(a){var b=function(a){this.$$unwrapTrustedValue=function(){return a}};a&&(b.prototype=new a);b.prototype.valueOf=function(){return this.$$unwrapTrustedValue()};b.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()};return b}var f=function(a){throw ua("unsafe");};d.has("$sanitize")&&(f=d.get("$sanitize"));var g=e(),h={};h[ma.HTML]=e(g);h[ma.CSS]=e(g);h[ma.URL]=e(g);h[ma.JS]=e(g);h[ma.RESOURCE_URL]=
149
+e(h[ma.URL]);return{trustAs:function(a,b){var c=h.hasOwnProperty(a)?h[a]:null;if(!c)throw ua("icontext",a,b);if(null===b||z(b)||""===b)return b;if("string"!==typeof b)throw ua("itype",a);return new c(b)},getTrusted:function(d,e){if(null===e||z(e)||""===e)return e;var g=h.hasOwnProperty(d)?h[d]:null;if(g&&e instanceof g)return e.$$unwrapTrustedValue();if(d===ma.RESOURCE_URL){var g=sa(e.toString()),n,p,q=!1;n=0;for(p=a.length;n<p;n++)if(c(a[n],g)){q=!0;break}if(q)for(n=0,p=b.length;n<p;n++)if(c(b[n],
150
+g)){q=!1;break}if(q)return e;throw ua("insecurl",e.toString());}if(d===ma.HTML)return f(e);throw ua("unsafe");},valueOf:function(a){return a instanceof g?a.$$unwrapTrustedValue():a}}}]}function vf(){var a=!0;this.enabled=function(b){arguments.length&&(a=!!b);return a};this.$get=["$parse","$sceDelegate",function(b,d){if(a&&8>Da)throw ua("iequirks");var c=ia(ma);c.isEnabled=function(){return a};c.trustAs=d.trustAs;c.getTrusted=d.getTrusted;c.valueOf=d.valueOf;a||(c.trustAs=c.getTrusted=function(a,b){return b},
151
+c.valueOf=$a);c.parseAs=function(a,d){var e=b(d);return e.literal&&e.constant?e:b(d,function(b){return c.getTrusted(a,b)})};var e=c.parseAs,f=c.getTrusted,g=c.trustAs;q(ma,function(a,b){var d=N(b);c[fb("parse_as_"+d)]=function(b){return e(a,b)};c[fb("get_trusted_"+d)]=function(b){return f(a,b)};c[fb("trust_as_"+d)]=function(b){return g(a,b)}});return c}]}function xf(){this.$get=["$window","$document",function(a,b){var d={},c=!(a.chrome&&a.chrome.app&&a.chrome.app.runtime)&&a.history&&a.history.pushState,
152
+e=Y((/android (\d+)/.exec(N((a.navigator||{}).userAgent))||[])[1]),f=/Boxee/i.test((a.navigator||{}).userAgent),g=b[0]||{},h,k=/^(Moz|webkit|ms)(?=[A-Z])/,l=g.body&&g.body.style,m=!1,n=!1;if(l){for(var p in l)if(m=k.exec(p)){h=m[0];h=h.substr(0,1).toUpperCase()+h.substr(1);break}h||(h="WebkitOpacity"in l&&"webkit");m=!!("transition"in l||h+"Transition"in l);n=!!("animation"in l||h+"Animation"in l);!e||m&&n||(m=y(l.webkitTransition),n=y(l.webkitAnimation))}return{history:!(!c||4>e||f),hasEvent:function(a){if("input"===
153
+a&&11>=Da)return!1;if(z(d[a])){var b=g.createElement("div");d[a]="on"+a in b}return d[a]},csp:Ga(),vendorPrefix:h,transitions:m,animations:n,android:e}}]}function zf(){var a;this.httpOptions=function(b){return b?(a=b,this):a};this.$get=["$templateCache","$http","$q","$sce",function(b,d,c,e){function f(g,h){f.totalPendingRequests++;y(g)&&b.get(g)||(g=e.getTrustedResourceUrl(g));var k=d.defaults&&d.defaults.transformResponse;M(k)?k=k.filter(function(a){return a!==ac}):k===ac&&(k=null);return d.get(g,
154
+S({cache:b,transformResponse:k},a))["finally"](function(){f.totalPendingRequests--}).then(function(a){b.put(g,a.data);return a.data},function(a){if(!h)throw lg("tpload",g,a.status,a.statusText);return c.reject(a)})}f.totalPendingRequests=0;return f}]}function Af(){this.$get=["$rootScope","$browser","$location",function(a,b,d){return{findBindings:function(a,b,d){a=a.getElementsByClassName("ng-binding");var g=[];q(a,function(a){var c=ea.element(a).data("$binding");c&&q(c,function(c){d?(new RegExp("(^|\\s)"+
155
+ud(b)+"(\\s|\\||$)")).test(c)&&g.push(a):-1!=c.indexOf(b)&&g.push(a)})});return g},findModels:function(a,b,d){for(var g=["ng-","data-ng-","ng\\:"],h=0;h<g.length;++h){var k=a.querySelectorAll("["+g[h]+"model"+(d?"=":"*=")+'"'+b+'"]');if(k.length)return k}},getLocation:function(){return d.url()},setLocation:function(b){b!==d.url()&&(d.url(b),a.$digest())},whenStable:function(a){b.notifyWhenNoOutstandingRequests(a)}}}]}function Bf(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",
156
+function(a,b,d,c,e){function f(f,k,l){D(f)||(l=k,k=f,f=E);var m=Aa.call(arguments,3),n=A(l)&&!l,p=(n?c:d).defer(),q=p.promise,s;s=b.defer(function(){try{p.resolve(f.apply(null,m))}catch(b){p.reject(b),e(b)}finally{delete g[q.$$timeoutId]}n||a.$apply()},k);q.$$timeoutId=s;g[s]=p;return q}var g={};f.cancel=function(a){return a&&a.$$timeoutId in g?(g[a.$$timeoutId].reject("canceled"),delete g[a.$$timeoutId],b.defer.cancel(a.$$timeoutId)):!1};return f}]}function sa(a){Da&&(Z.setAttribute("href",a),a=
157
+Z.href);Z.setAttribute("href",a);return{href:Z.href,protocol:Z.protocol?Z.protocol.replace(/:$/,""):"",host:Z.host,search:Z.search?Z.search.replace(/^\?/,""):"",hash:Z.hash?Z.hash.replace(/^#/,""):"",hostname:Z.hostname,port:Z.port,pathname:"/"===Z.pathname.charAt(0)?Z.pathname:"/"+Z.pathname}}function gd(a){a=y(a)?sa(a):a;return a.protocol===wd.protocol&&a.host===wd.host}function Cf(){this.$get=da(T)}function xd(a){function b(a){try{return decodeURIComponent(a)}catch(b){return a}}var d=a[0]||{},
158
+c={},e="";return function(){var a,g,h,k,l;a=d.cookie||"";if(a!==e)for(e=a,a=e.split("; "),c={},h=0;h<a.length;h++)g=a[h],k=g.indexOf("="),0<k&&(l=b(g.substring(0,k)),z(c[l])&&(c[l]=b(g.substring(k+1))));return c}}function Gf(){this.$get=xd}function Jc(a){function b(d,c){if(J(d)){var e={};q(d,function(a,c){e[c]=b(c,a)});return e}return a.factory(d+"Filter",c)}this.register=b;this.$get=["$injector",function(a){return function(b){return a.get(b+"Filter")}}];b("currency",yd);b("date",zd);b("filter",mg);
159
+b("json",ng);b("limitTo",og);b("lowercase",pg);b("number",Ad);b("orderBy",Bd);b("uppercase",qg)}function mg(){return function(a,b,d){if(!za(a)){if(null==a)return a;throw O("filter")("notarray",a);}var c;switch(ic(b)){case "function":break;case "boolean":case "null":case "number":case "string":c=!0;case "object":b=rg(b,d,c);break;default:return a}return Array.prototype.filter.call(a,b)}}function rg(a,b,d){var c=J(a)&&"$"in a;!0===b?b=na:D(b)||(b=function(a,b){if(z(a))return!1;if(null===a||null===b)return a===
160
+b;if(J(b)||J(a)&&!rc(a))return!1;a=N(""+a);b=N(""+b);return-1!==a.indexOf(b)});return function(e){return c&&!J(e)?Ma(e,a.$,b,!1):Ma(e,a,b,d)}}function Ma(a,b,d,c,e){var f=ic(a),g=ic(b);if("string"===g&&"!"===b.charAt(0))return!Ma(a,b.substring(1),d,c);if(M(a))return a.some(function(a){return Ma(a,b,d,c)});switch(f){case "object":var h;if(c){for(h in a)if("$"!==h.charAt(0)&&Ma(a[h],b,d,!0))return!0;return e?!1:Ma(a,b,d,!1)}if("object"===g){for(h in b)if(e=b[h],!D(e)&&!z(e)&&(f="$"===h,!Ma(f?a:a[h],
161
+e,d,f,f)))return!1;return!0}return d(a,b);case "function":return!1;default:return d(a,b)}}function ic(a){return null===a?"null":typeof a}function yd(a){var b=a.NUMBER_FORMATS;return function(a,c,e){z(c)&&(c=b.CURRENCY_SYM);z(e)&&(e=b.PATTERNS[1].maxFrac);return null==a?a:Cd(a,b.PATTERNS[1],b.GROUP_SEP,b.DECIMAL_SEP,e).replace(/\u00A4/g,c)}}function Ad(a){var b=a.NUMBER_FORMATS;return function(a,c){return null==a?a:Cd(a,b.PATTERNS[0],b.GROUP_SEP,b.DECIMAL_SEP,c)}}function sg(a){var b=0,d,c,e,f,g;-1<
162
+(c=a.indexOf(Dd))&&(a=a.replace(Dd,""));0<(e=a.search(/e/i))?(0>c&&(c=e),c+=+a.slice(e+1),a=a.substring(0,e)):0>c&&(c=a.length);for(e=0;a.charAt(e)==jc;e++);if(e==(g=a.length))d=[0],c=1;else{for(g--;a.charAt(g)==jc;)g--;c-=e;d=[];for(f=0;e<=g;e++,f++)d[f]=+a.charAt(e)}c>Ed&&(d=d.splice(0,Ed-1),b=c-1,c=1);return{d:d,e:b,i:c}}function tg(a,b,d,c){var e=a.d,f=e.length-a.i;b=z(b)?Math.min(Math.max(d,f),c):+b;d=b+a.i;c=e[d];if(0<d){e.splice(Math.max(a.i,d));for(var g=d;g<e.length;g++)e[g]=0}else for(f=
163
+Math.max(0,f),a.i=1,e.length=Math.max(1,d=b+1),e[0]=0,g=1;g<d;g++)e[g]=0;if(5<=c)if(0>d-1){for(c=0;c>d;c--)e.unshift(0),a.i++;e.unshift(1);a.i++}else e[d-1]++;for(;f<Math.max(0,b);f++)e.push(0);if(b=e.reduceRight(function(a,b,c,d){b+=a;d[c]=b%10;return Math.floor(b/10)},0))e.unshift(b),a.i++}function Cd(a,b,d,c,e){if(!y(a)&&!R(a)||isNaN(a))return"";var f=!isFinite(a),g=!1,h=Math.abs(a)+"",k="";if(f)k="\u221e";else{g=sg(h);tg(g,e,b.minFrac,b.maxFrac);k=g.d;h=g.i;e=g.e;f=[];for(g=k.reduce(function(a,
164
+b){return a&&!b},!0);0>h;)k.unshift(0),h++;0<h?f=k.splice(h):(f=k,k=[0]);h=[];for(k.length>=b.lgSize&&h.unshift(k.splice(-b.lgSize).join(""));k.length>b.gSize;)h.unshift(k.splice(-b.gSize).join(""));k.length&&h.unshift(k.join(""));k=h.join(d);f.length&&(k+=c+f.join(""));e&&(k+="e+"+e)}return 0>a&&!g?b.negPre+k+b.negSuf:b.posPre+k+b.posSuf}function Jb(a,b,d,c){var e="";if(0>a||c&&0>=a)c?a=-a+1:(a=-a,e="-");for(a=""+a;a.length<b;)a=jc+a;d&&(a=a.substr(a.length-b));return e+a}function X(a,b,d,c,e){d=
165
+d||0;return function(f){f=f["get"+a]();if(0<d||f>-d)f+=d;0===f&&-12==d&&(f=12);return Jb(f,b,c,e)}}function lb(a,b,d){return function(c,e){var f=c["get"+a](),g=vb((d?"STANDALONE":"")+(b?"SHORT":"")+a);return e[g][f]}}function Fd(a){var b=(new Date(a,0,1)).getDay();return new Date(a,0,(4>=b?5:12)-b)}function Gd(a){return function(b){var d=Fd(b.getFullYear());b=+new Date(b.getFullYear(),b.getMonth(),b.getDate()+(4-b.getDay()))-+d;b=1+Math.round(b/6048E5);return Jb(b,a)}}function kc(a,b){return 0>=a.getFullYear()?
166
+b.ERAS[0]:b.ERAS[1]}function zd(a){function b(a){var b;if(b=a.match(d)){a=new Date(0);var f=0,g=0,h=b[8]?a.setUTCFullYear:a.setFullYear,k=b[8]?a.setUTCHours:a.setHours;b[9]&&(f=Y(b[9]+b[10]),g=Y(b[9]+b[11]));h.call(a,Y(b[1]),Y(b[2])-1,Y(b[3]));f=Y(b[4]||0)-f;g=Y(b[5]||0)-g;h=Y(b[6]||0);b=Math.round(1E3*parseFloat("0."+(b[7]||0)));k.call(a,f,g,h,b)}return a}var d=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(c,d,f){var g="",h=
167
+[],k,l;d=d||"mediumDate";d=a.DATETIME_FORMATS[d]||d;y(c)&&(c=ug.test(c)?Y(c):b(c));R(c)&&(c=new Date(c));if(!fa(c)||!isFinite(c.getTime()))return c;for(;d;)(l=vg.exec(d))?(h=cb(h,l,1),d=h.pop()):(h.push(d),d=null);var m=c.getTimezoneOffset();f&&(m=vc(f,m),c=Rb(c,f,!0));q(h,function(b){k=wg[b];g+=k?k(c,a.DATETIME_FORMATS,m):"''"===b?"'":b.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return g}}function ng(){return function(a,b){z(b)&&(b=2);return db(a,b)}}function og(){return function(a,b,d){b=Infinity===
168
+Math.abs(Number(b))?Number(b):Y(b);if(isNaN(b))return a;R(a)&&(a=a.toString());if(!M(a)&&!y(a))return a;d=!d||isNaN(d)?0:Y(d);d=0>d?Math.max(0,a.length+d):d;return 0<=b?a.slice(d,d+b):0===d?a.slice(b,a.length):a.slice(Math.max(0,d+b),d)}}function Bd(a){function b(b,d){d=d?-1:1;return b.map(function(b){var c=1,h=$a;if(D(b))h=b;else if(y(b)){if("+"==b.charAt(0)||"-"==b.charAt(0))c="-"==b.charAt(0)?-1:1,b=b.substring(1);if(""!==b&&(h=a(b),h.constant))var k=h(),h=function(a){return a[k]}}return{get:h,
169
+descending:c*d}})}function d(a){switch(typeof a){case "number":case "boolean":case "string":return!0;default:return!1}}return function(a,e,f){if(null==a)return a;if(!za(a))throw O("orderBy")("notarray",a);M(e)||(e=[e]);0===e.length&&(e=["+"]);var g=b(e,f);g.push({get:function(){return{}},descending:f?-1:1});a=Array.prototype.map.call(a,function(a,b){return{value:a,predicateValues:g.map(function(c){var e=c.get(a);c=typeof e;if(null===e)c="string",e="null";else if("string"===c)e=e.toLowerCase();else if("object"===
170
+c)a:{if("function"===typeof e.valueOf&&(e=e.valueOf(),d(e)))break a;if(rc(e)&&(e=e.toString(),d(e)))break a;e=b}return{value:e,type:c}})}});a.sort(function(a,b){for(var c=0,d=0,e=g.length;d<e;++d){var c=a.predicateValues[d],f=b.predicateValues[d],q=0;c.type===f.type?c.value!==f.value&&(q=c.value<f.value?-1:1):q=c.type<f.type?-1:1;if(c=q*g[d].descending)break}return c});return a=a.map(function(a){return a.value})}}function Na(a){D(a)&&(a={link:a});a.restrict=a.restrict||"AC";return da(a)}function Hd(a,
171
+b,d,c,e){var f=this,g=[];f.$error={};f.$$success={};f.$pending=u;f.$name=e(b.name||b.ngForm||"")(d);f.$dirty=!1;f.$pristine=!0;f.$valid=!0;f.$invalid=!1;f.$submitted=!1;f.$$parentForm=Kb;f.$rollbackViewValue=function(){q(g,function(a){a.$rollbackViewValue()})};f.$commitViewValue=function(){q(g,function(a){a.$commitViewValue()})};f.$addControl=function(a){Ta(a.$name,"input");g.push(a);a.$name&&(f[a.$name]=a);a.$$parentForm=f};f.$$renameControl=function(a,b){var c=a.$name;f[c]===a&&delete f[c];f[b]=
172
+a;a.$name=b};f.$removeControl=function(a){a.$name&&f[a.$name]===a&&delete f[a.$name];q(f.$pending,function(b,c){f.$setValidity(c,null,a)});q(f.$error,function(b,c){f.$setValidity(c,null,a)});q(f.$$success,function(b,c){f.$setValidity(c,null,a)});bb(g,a);a.$$parentForm=Kb};Id({ctrl:this,$element:a,set:function(a,b,c){var d=a[b];d?-1===d.indexOf(c)&&d.push(c):a[b]=[c]},unset:function(a,b,c){var d=a[b];d&&(bb(d,c),0===d.length&&delete a[b])},$animate:c});f.$setDirty=function(){c.removeClass(a,Xa);c.addClass(a,
173
+Lb);f.$dirty=!0;f.$pristine=!1;f.$$parentForm.$setDirty()};f.$setPristine=function(){c.setClass(a,Xa,Lb+" ng-submitted");f.$dirty=!1;f.$pristine=!0;f.$submitted=!1;q(g,function(a){a.$setPristine()})};f.$setUntouched=function(){q(g,function(a){a.$setUntouched()})};f.$setSubmitted=function(){c.addClass(a,"ng-submitted");f.$submitted=!0;f.$$parentForm.$setSubmitted()}}function lc(a){a.$formatters.push(function(b){return a.$isEmpty(b)?b:b.toString()})}function mb(a,b,d,c,e,f){var g=N(b[0].type);if(!e.android){var h=
174
+!1;b.on("compositionstart",function(){h=!0});b.on("compositionend",function(){h=!1;l()})}var k,l=function(a){k&&(f.defer.cancel(k),k=null);if(!h){var e=b.val();a=a&&a.type;"password"===g||d.ngTrim&&"false"===d.ngTrim||(e=W(e));(c.$viewValue!==e||""===e&&c.$$hasNativeValidators)&&c.$setViewValue(e,a)}};if(e.hasEvent("input"))b.on("input",l);else{var m=function(a,b,c){k||(k=f.defer(function(){k=null;b&&b.value===c||l(a)}))};b.on("keydown",function(a){var b=a.keyCode;91===b||15<b&&19>b||37<=b&&40>=b||
175
+m(a,this,this.value)});if(e.hasEvent("paste"))b.on("paste cut",m)}b.on("change",l);if(Jd[g]&&c.$$hasNativeValidators&&g===d.type)b.on("keydown wheel mousedown",function(a){if(!k){var b=this.validity,c=b.badInput,d=b.typeMismatch;k=f.defer(function(){k=null;b.badInput===c&&b.typeMismatch===d||l(a)})}});c.$render=function(){var a=c.$isEmpty(c.$viewValue)?"":c.$viewValue;b.val()!==a&&b.val(a)}}function Mb(a,b){return function(d,c){var e,f;if(fa(d))return d;if(y(d)){'"'==d.charAt(0)&&'"'==d.charAt(d.length-
176
+1)&&(d=d.substring(1,d.length-1));if(xg.test(d))return new Date(d);a.lastIndex=0;if(e=a.exec(d))return e.shift(),f=c?{yyyy:c.getFullYear(),MM:c.getMonth()+1,dd:c.getDate(),HH:c.getHours(),mm:c.getMinutes(),ss:c.getSeconds(),sss:c.getMilliseconds()/1E3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},q(e,function(a,c){c<b.length&&(f[b[c]]=+a)}),new Date(f.yyyy,f.MM-1,f.dd,f.HH,f.mm,f.ss||0,1E3*f.sss||0)}return NaN}}function nb(a,b,d,c){return function(e,f,g,h,k,l,m){function n(a){return a&&!(a.getTime&&
177
+a.getTime()!==a.getTime())}function p(a){return A(a)&&!fa(a)?d(a)||u:a}Kd(e,f,g,h);mb(e,f,g,h,k,l);var q=h&&h.$options&&h.$options.timezone,s;h.$$parserName=a;h.$parsers.push(function(a){return h.$isEmpty(a)?null:b.test(a)?(a=d(a,s),q&&(a=Rb(a,q)),a):u});h.$formatters.push(function(a){if(a&&!fa(a))throw ob("datefmt",a);if(n(a))return(s=a)&&q&&(s=Rb(s,q,!0)),m("date")(a,c,q);s=null;return""});if(A(g.min)||g.ngMin){var x;h.$validators.min=function(a){return!n(a)||z(x)||d(a)>=x};g.$observe("min",function(a){x=
178
+p(a);h.$validate()})}if(A(g.max)||g.ngMax){var r;h.$validators.max=function(a){return!n(a)||z(r)||d(a)<=r};g.$observe("max",function(a){r=p(a);h.$validate()})}}}function Kd(a,b,d,c){(c.$$hasNativeValidators=J(b[0].validity))&&c.$parsers.push(function(a){var c=b.prop("validity")||{};return c.badInput||c.typeMismatch?u:a})}function Ld(a,b,d,c,e){if(A(c)){a=a(c);if(!a.constant)throw ob("constexpr",d,c);return a(b)}return e}function mc(a,b){a="ngClass"+a;return["$animate",function(d){function c(a,b){var c=
179
+[],d=0;a:for(;d<a.length;d++){for(var e=a[d],m=0;m<b.length;m++)if(e==b[m])continue a;c.push(e)}return c}function e(a){var b=[];return M(a)?(q(a,function(a){b=b.concat(e(a))}),b):y(a)?a.split(" "):J(a)?(q(a,function(a,c){a&&(b=b.concat(c.split(" ")))}),b):a}return{restrict:"AC",link:function(f,g,h){function k(a,b){var c=g.data("$classCounts")||V(),d=[];q(a,function(a){if(0<b||c[a])c[a]=(c[a]||0)+b,c[a]===+(0<b)&&d.push(a)});g.data("$classCounts",c);return d.join(" ")}function l(a){if(!0===b||f.$index%
180
+2===b){var l=e(a||[]);if(!m){var q=k(l,1);h.$addClass(q)}else if(!na(a,m)){var s=e(m),q=c(l,s),l=c(s,l),q=k(q,1),l=k(l,-1);q&&q.length&&d.addClass(g,q);l&&l.length&&d.removeClass(g,l)}}m=ia(a)}var m;f.$watch(h[a],l,!0);h.$observe("class",function(b){l(f.$eval(h[a]))});"ngClass"!==a&&f.$watch("$index",function(c,d){var g=c&1;if(g!==(d&1)){var l=e(f.$eval(h[a]));g===b?(g=k(l,1),h.$addClass(g)):(g=k(l,-1),h.$removeClass(g))}})}}}]}function Id(a){function b(a,b){b&&!f[a]?(k.addClass(e,a),f[a]=!0):!b&&
181
+f[a]&&(k.removeClass(e,a),f[a]=!1)}function d(a,c){a=a?"-"+zc(a,"-"):"";b(pb+a,!0===c);b(Md+a,!1===c)}var c=a.ctrl,e=a.$element,f={},g=a.set,h=a.unset,k=a.$animate;f[Md]=!(f[pb]=e.hasClass(pb));c.$setValidity=function(a,e,f){z(e)?(c.$pending||(c.$pending={}),g(c.$pending,a,f)):(c.$pending&&h(c.$pending,a,f),Nd(c.$pending)&&(c.$pending=u));Oa(e)?e?(h(c.$error,a,f),g(c.$$success,a,f)):(g(c.$error,a,f),h(c.$$success,a,f)):(h(c.$error,a,f),h(c.$$success,a,f));c.$pending?(b(Od,!0),c.$valid=c.$invalid=
182
+u,d("",null)):(b(Od,!1),c.$valid=Nd(c.$error),c.$invalid=!c.$valid,d("",c.$valid));e=c.$pending&&c.$pending[a]?u:c.$error[a]?!1:c.$$success[a]?!0:null;d(a,e);c.$$parentForm.$setValidity(a,e,c)}}function Nd(a){if(a)for(var b in a)if(a.hasOwnProperty(b))return!1;return!0}var yg=/^\/(.+)\/([a-z]*)$/,va=Object.prototype.hasOwnProperty,N=function(a){return y(a)?a.toLowerCase():a},vb=function(a){return y(a)?a.toUpperCase():a},Da,H,$,Aa=[].slice,Yf=[].splice,zg=[].push,ka=Object.prototype.toString,sc=Object.getPrototypeOf,
183
+Ba=O("ng"),ea=T.angular||(T.angular={}),Tb,qb=0;Da=P.documentMode;E.$inject=[];$a.$inject=[];var M=Array.isArray,Zd=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,W=function(a){return y(a)?a.trim():a},ud=function(a){return a.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Ga=function(){if(!A(Ga.rules)){var a=P.querySelector("[ng-csp]")||P.querySelector("[data-ng-csp]");if(a){var b=a.getAttribute("ng-csp")||a.getAttribute("data-ng-csp");
184
+Ga.rules={noUnsafeEval:!b||-1!==b.indexOf("no-unsafe-eval"),noInlineStyle:!b||-1!==b.indexOf("no-inline-style")}}else{a=Ga;try{new Function(""),b=!1}catch(d){b=!0}a.rules={noUnsafeEval:b,noInlineStyle:!1}}}return Ga.rules},sb=function(){if(A(sb.name_))return sb.name_;var a,b,d=Qa.length,c,e;for(b=0;b<d;++b)if(c=Qa[b],a=P.querySelector("["+c.replace(":","\\:")+"jq]")){e=a.getAttribute(c+"jq");break}return sb.name_=e},be=/:/g,Qa=["ng-","data-ng-","ng:","x-ng-"],ge=/[A-Z]/g,Ac=!1,Pa=3,ke={full:"1.5.3",
185
+major:1,minor:5,dot:3,codeName:"diplohaplontic-meiosis"};U.expando="ng339";var hb=U.cache={},Mf=1;U._data=function(a){return this.cache[a[this.expando]]||{}};var Hf=/([\:\-\_]+(.))/g,If=/^moz([A-Z])/,zb={mouseleave:"mouseout",mouseenter:"mouseover"},Vb=O("jqLite"),Lf=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ub=/<|&#?\w+;/,Jf=/<([\w:-]+)/,Kf=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ha={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,
186
+"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ha.optgroup=ha.option;ha.tbody=ha.tfoot=ha.colgroup=ha.caption=ha.thead;ha.th=ha.td;var Rf=Node.prototype.contains||function(a){return!!(this.compareDocumentPosition(a)&16)},Ra=U.prototype={ready:function(a){function b(){d||(d=!0,a())}var d=!1;"complete"===P.readyState?setTimeout(b):(this.on("DOMContentLoaded",b),U(T).on("load",b))},toString:function(){var a=
187
+[];q(this,function(b){a.push(""+b)});return"["+a.join(", ")+"]"},eq:function(a){return 0<=a?H(this[a]):H(this[this.length+a])},length:0,push:zg,sort:[].sort,splice:[].splice},Eb={};q("multiple selected checked disabled readOnly required open".split(" "),function(a){Eb[N(a)]=a});var Sc={};q("input select option textarea button form details".split(" "),function(a){Sc[a]=!0});var $c={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};q({data:Xb,removeData:gb,
188
+hasData:function(a){for(var b in hb[a.ng339])return!0;return!1},cleanData:function(a){for(var b=0,d=a.length;b<d;b++)gb(a[b])}},function(a,b){U[b]=a});q({data:Xb,inheritedData:Db,scope:function(a){return H.data(a,"$scope")||Db(a.parentNode||a,["$isolateScope","$scope"])},isolateScope:function(a){return H.data(a,"$isolateScope")||H.data(a,"$isolateScopeNoTemplate")},controller:Pc,injector:function(a){return Db(a,"$injector")},removeAttr:function(a,b){a.removeAttribute(b)},hasClass:Ab,css:function(a,
189
+b,d){b=fb(b);if(A(d))a.style[b]=d;else return a.style[b]},attr:function(a,b,d){var c=a.nodeType;if(c!==Pa&&2!==c&&8!==c)if(c=N(b),Eb[c])if(A(d))d?(a[b]=!0,a.setAttribute(b,c)):(a[b]=!1,a.removeAttribute(c));else return a[b]||(a.attributes.getNamedItem(b)||E).specified?c:u;else if(A(d))a.setAttribute(b,d);else if(a.getAttribute)return a=a.getAttribute(b,2),null===a?u:a},prop:function(a,b,d){if(A(d))a[b]=d;else return a[b]},text:function(){function a(a,d){if(z(d)){var c=a.nodeType;return 1===c||c===
190
+Pa?a.textContent:""}a.textContent=d}a.$dv="";return a}(),val:function(a,b){if(z(b)){if(a.multiple&&"select"===oa(a)){var d=[];q(a.options,function(a){a.selected&&d.push(a.value||a.text)});return 0===d.length?null:d}return a.value}a.value=b},html:function(a,b){if(z(b))return a.innerHTML;xb(a,!0);a.innerHTML=b},empty:Qc},function(a,b){U.prototype[b]=function(b,c){var e,f,g=this.length;if(a!==Qc&&z(2==a.length&&a!==Ab&&a!==Pc?b:c)){if(J(b)){for(e=0;e<g;e++)if(a===Xb)a(this[e],b);else for(f in b)a(this[e],
191
+f,b[f]);return this}e=a.$dv;g=z(e)?Math.min(g,1):g;for(f=0;f<g;f++){var h=a(this[f],b,c);e=e?e+h:h}return e}for(e=0;e<g;e++)a(this[e],b,c);return this}});q({removeData:gb,on:function(a,b,d,c){if(A(c))throw Vb("onargs");if(Kc(a)){c=yb(a,!0);var e=c.events,f=c.handle;f||(f=c.handle=Of(a,e));c=0<=b.indexOf(" ")?b.split(" "):[b];for(var g=c.length,h=function(b,c,g){var h=e[b];h||(h=e[b]=[],h.specialHandlerWrapper=c,"$destroy"===b||g||a.addEventListener(b,f,!1));h.push(d)};g--;)b=c[g],zb[b]?(h(zb[b],Qf),
192
+h(b,u,!0)):h(b)}},off:Oc,one:function(a,b,d){a=H(a);a.on(b,function e(){a.off(b,d);a.off(b,e)});a.on(b,d)},replaceWith:function(a,b){var d,c=a.parentNode;xb(a);q(new U(b),function(b){d?c.insertBefore(b,d.nextSibling):c.replaceChild(b,a);d=b})},children:function(a){var b=[];q(a.childNodes,function(a){1===a.nodeType&&b.push(a)});return b},contents:function(a){return a.contentDocument||a.childNodes||[]},append:function(a,b){var d=a.nodeType;if(1===d||11===d){b=new U(b);for(var d=0,c=b.length;d<c;d++)a.appendChild(b[d])}},
193
+prepend:function(a,b){if(1===a.nodeType){var d=a.firstChild;q(new U(b),function(b){a.insertBefore(b,d)})}},wrap:function(a,b){Mc(a,H(b).eq(0).clone()[0])},remove:Yb,detach:function(a){Yb(a,!0)},after:function(a,b){var d=a,c=a.parentNode;b=new U(b);for(var e=0,f=b.length;e<f;e++){var g=b[e];c.insertBefore(g,d.nextSibling);d=g}},addClass:Cb,removeClass:Bb,toggleClass:function(a,b,d){b&&q(b.split(" "),function(b){var e=d;z(e)&&(e=!Ab(a,b));(e?Cb:Bb)(a,b)})},parent:function(a){return(a=a.parentNode)&&
194
+11!==a.nodeType?a:null},next:function(a){return a.nextElementSibling},find:function(a,b){return a.getElementsByTagName?a.getElementsByTagName(b):[]},clone:Wb,triggerHandler:function(a,b,d){var c,e,f=b.type||b,g=yb(a);if(g=(g=g&&g.events)&&g[f])c={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},
195
+stopPropagation:E,type:f,target:a},b.type&&(c=S(c,b)),b=ia(g),e=d?[c].concat(d):[c],q(b,function(b){c.isImmediatePropagationStopped()||b.apply(a,e)})}},function(a,b){U.prototype[b]=function(b,c,e){for(var f,g=0,h=this.length;g<h;g++)z(f)?(f=a(this[g],b,c,e),A(f)&&(f=H(f))):Nc(f,a(this[g],b,c,e));return A(f)?f:this};U.prototype.bind=U.prototype.on;U.prototype.unbind=U.prototype.off});Ua.prototype={put:function(a,b){this[Ha(a,this.nextUid)]=b},get:function(a){return this[Ha(a,this.nextUid)]},remove:function(a){var b=
196
+this[a=Ha(a,this.nextUid)];delete this[a];return b}};var Ff=[function(){this.$get=[function(){return Ua}]}],Tf=/^([^\(]+?)=>/,Uf=/^[^\(]*\(\s*([^\)]*)\)/m,Ag=/,/,Bg=/^\s*(_?)(\S+?)\1\s*$/,Sf=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Ia=O("$injector");eb.$$annotate=function(a,b,d){var c;if("function"===typeof a){if(!(c=a.$inject)){c=[];if(a.length){if(b)throw y(d)&&d||(d=a.name||Vf(a)),Ia("strictdi",d);b=Tc(a);q(b[1].split(Ag),function(a){a.replace(Bg,function(a,b,d){c.push(d)})})}a.$inject=c}}else M(a)?
197
+(b=a.length-1,Sa(a[b],"fn"),c=a.slice(0,b)):Sa(a,"fn",!0);return c};var Pd=O("$animate"),Ye=function(){this.$get=E},Ze=function(){var a=new Ua,b=[];this.$get=["$$AnimateRunner","$rootScope",function(d,c){function e(a,b,c){var d=!1;b&&(b=y(b)?b.split(" "):M(b)?b:[],q(b,function(b){b&&(d=!0,a[b]=c)}));return d}function f(){q(b,function(b){var c=a.get(b);if(c){var d=Wf(b.attr("class")),e="",f="";q(c,function(a,b){a!==!!d[b]&&(a?e+=(e.length?" ":"")+b:f+=(f.length?" ":"")+b)});q(b,function(a){e&&Cb(a,
198
+e);f&&Bb(a,f)});a.remove(b)}});b.length=0}return{enabled:E,on:E,off:E,pin:E,push:function(g,h,k,l){l&&l();k=k||{};k.from&&g.css(k.from);k.to&&g.css(k.to);if(k.addClass||k.removeClass)if(h=k.addClass,l=k.removeClass,k=a.get(g)||{},h=e(k,h,!0),l=e(k,l,!1),h||l)a.put(g,k),b.push(g),1===b.length&&c.$$postDigest(f);g=new d;g.complete();return g}}}]},We=["$provide",function(a){var b=this;this.$$registeredAnimations=Object.create(null);this.register=function(d,c){if(d&&"."!==d.charAt(0))throw Pd("notcsel",
199
+d);var e=d+"-animation";b.$$registeredAnimations[d.substr(1)]=e;a.factory(e,c)};this.classNameFilter=function(a){if(1===arguments.length&&(this.$$classNameFilter=a instanceof RegExp?a:null)&&/(\s+|\/)ng-animate(\s+|\/)/.test(this.$$classNameFilter.toString()))throw Pd("nongcls","ng-animate");return this.$$classNameFilter};this.$get=["$$animateQueue",function(a){function b(a,c,d){if(d){var h;a:{for(h=0;h<d.length;h++){var k=d[h];if(1===k.nodeType){h=k;break a}}h=void 0}!h||h.parentNode||h.previousElementSibling||
200
+(d=null)}d?d.after(a):c.prepend(a)}return{on:a.on,off:a.off,pin:a.pin,enabled:a.enabled,cancel:function(a){a.end&&a.end()},enter:function(e,f,g,h){f=f&&H(f);g=g&&H(g);f=f||g.parent();b(e,f,g);return a.push(e,"enter",Ja(h))},move:function(e,f,g,h){f=f&&H(f);g=g&&H(g);f=f||g.parent();b(e,f,g);return a.push(e,"move",Ja(h))},leave:function(b,c){return a.push(b,"leave",Ja(c),function(){b.remove()})},addClass:function(b,c,g){g=Ja(g);g.addClass=ib(g.addclass,c);return a.push(b,"addClass",g)},removeClass:function(b,
201
+c,g){g=Ja(g);g.removeClass=ib(g.removeClass,c);return a.push(b,"removeClass",g)},setClass:function(b,c,g,h){h=Ja(h);h.addClass=ib(h.addClass,c);h.removeClass=ib(h.removeClass,g);return a.push(b,"setClass",h)},animate:function(b,c,g,h,k){k=Ja(k);k.from=k.from?S(k.from,c):c;k.to=k.to?S(k.to,g):g;k.tempClasses=ib(k.tempClasses,h||"ng-inline-animate");return a.push(b,"animate",k)}}}]}],af=function(){this.$get=["$$rAF",function(a){function b(b){d.push(b);1<d.length||a(function(){for(var a=0;a<d.length;a++)d[a]();
202
+d=[]})}var d=[];return function(){var a=!1;b(function(){a=!0});return function(d){a?d():b(d)}}}]},$e=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$document","$timeout",function(a,b,d,c,e){function f(a){this.setHost(a);var b=d();this._doneCallbacks=[];this._tick=function(a){var d=c[0];d&&d.hidden?e(a,0,!1):b(a)};this._state=0}f.chain=function(a,b){function c(){if(d===a.length)b(!0);else a[d](function(a){!1===a?b(!1):(d++,c())})}var d=0;c()};f.all=function(a,b){function c(f){e=e&&f;++d===
203
+a.length&&b(e)}var d=0,e=!0;q(a,function(a){a.done(c)})};f.prototype={setHost:function(a){this.host=a||{}},done:function(a){2===this._state?a():this._doneCallbacks.push(a)},progress:E,getPromise:function(){if(!this.promise){var b=this;this.promise=a(function(a,c){b.done(function(b){!1===b?c():a()})})}return this.promise},then:function(a,b){return this.getPromise().then(a,b)},"catch":function(a){return this.getPromise()["catch"](a)},"finally":function(a){return this.getPromise()["finally"](a)},pause:function(){this.host.pause&&
204
+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(a){var b=this;0===b._state&&(b._state=1,b._tick(function(){b._resolve(a)}))},_resolve:function(a){2!==this._state&&(q(this._doneCallbacks,function(b){b(a)}),this._doneCallbacks.length=0,this._state=2)}};return f}]},Xe=function(){this.$get=["$$rAF","$q","$$AnimateRunner",
205
+function(a,b,d){return function(b,e){function f(){a(function(){g.addClass&&(b.addClass(g.addClass),g.addClass=null);g.removeClass&&(b.removeClass(g.removeClass),g.removeClass=null);g.to&&(b.css(g.to),g.to=null);h||k.complete();h=!0});return k}var g=e||{};g.$$prepared||(g=pa(g));g.cleanupStyles&&(g.from=g.to=null);g.from&&(b.css(g.from),g.from=null);var h,k=new d;return{start:f,end:f}}}]},ga=O("$compile");Cc.$inject=["$provide","$$sanitizeUriProvider"];var Vc=/^((?:x|data)[\:\-_])/i,Zf=O("$controller"),
206
+ad=/^(\S+)(\s+as\s+([\w$]+))?$/,gf=function(){this.$get=["$document",function(a){return function(b){b?!b.nodeType&&b instanceof H&&(b=b[0]):b=a[0].body;return b.offsetWidth+1}}]},bd="application/json",bc={"Content-Type":bd+";charset=utf-8"},ag=/^\[|^\{(?!\{)/,bg={"[":/]$/,"{":/}$/},$f=/^\)\]\}',?\n/,Cg=O("$http"),fd=function(a){return function(){throw Cg("legacy",a);}},La=ea.$interpolateMinErr=O("$interpolate");La.throwNoconcat=function(a){throw La("noconcat",a);};La.interr=function(a,b){return La("interr",
207
+a,b.toString())};var Dg=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,dg={http:80,https:443,ftp:21},Fb=O("$location"),Eg={$$html5:!1,$$replace:!1,absUrl:Gb("$$absUrl"),url:function(a){if(z(a))return this.$$url;var b=Dg.exec(a);(b[1]||""===a)&&this.path(decodeURIComponent(b[1]));(b[2]||b[1]||""===a)&&this.search(b[3]||"");this.hash(b[5]||"");return this},protocol:Gb("$$protocol"),host:Gb("$$host"),port:Gb("$$port"),path:kd("$$path",function(a){a=null!==a?a.toString():"";return"/"==a.charAt(0)?a:"/"+a}),search:function(a,
208
+b){switch(arguments.length){case 0:return this.$$search;case 1:if(y(a)||R(a))a=a.toString(),this.$$search=xc(a);else if(J(a))a=pa(a,{}),q(a,function(b,c){null==b&&delete a[c]}),this.$$search=a;else throw Fb("isrcharg");break;default:z(b)||null===b?delete this.$$search[a]:this.$$search[a]=b}this.$$compose();return this},hash:kd("$$hash",function(a){return null!==a?a.toString():""}),replace:function(){this.$$replace=!0;return this}};q([jd,ec,dc],function(a){a.prototype=Object.create(Eg);a.prototype.state=
209
+function(b){if(!arguments.length)return this.$$state;if(a!==dc||!this.$$html5)throw Fb("nostate");this.$$state=z(b)?null:b;return this}});var ca=O("$parse"),fg=Function.prototype.call,gg=Function.prototype.apply,hg=Function.prototype.bind,Nb=V();q("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(a){Nb[a]=!0});var Fg={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},gc=function(a){this.options=a};gc.prototype={constructor:gc,lex:function(a){this.text=a;this.index=0;for(this.tokens=
210
+[];this.index<this.text.length;)if(a=this.text.charAt(this.index),'"'===a||"'"===a)this.readString(a);else if(this.isNumber(a)||"."===a&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(a))this.readIdent();else if(this.is(a,"(){}[].,;:?"))this.tokens.push({index:this.index,text:a}),this.index++;else if(this.isWhitespace(a))this.index++;else{var b=a+this.peek(),d=b+this.peek(2),c=Nb[b],e=Nb[d];Nb[a]||c||e?(a=e?d:c?b:a,this.tokens.push({index:this.index,text:a,operator:!0}),this.index+=
211
+a.length):this.throwError("Unexpected next character ",this.index,this.index+1)}return this.tokens},is:function(a,b){return-1!==b.indexOf(a)},peek:function(a){a=a||1;return this.index+a<this.text.length?this.text.charAt(this.index+a):!1},isNumber:function(a){return"0"<=a&&"9">=a&&"string"===typeof a},isWhitespace:function(a){return" "===a||"\r"===a||"\t"===a||"\n"===a||"\v"===a||"\u00a0"===a},isIdent:function(a){return"a"<=a&&"z">=a||"A"<=a&&"Z">=a||"_"===a||"$"===a},isExpOperator:function(a){return"-"===
212
+a||"+"===a||this.isNumber(a)},throwError:function(a,b,d){d=d||this.index;b=A(b)?"s "+b+"-"+this.index+" ["+this.text.substring(b,d)+"]":" "+d;throw ca("lexerr",a,b,this.text);},readNumber:function(){for(var a="",b=this.index;this.index<this.text.length;){var d=N(this.text.charAt(this.index));if("."==d||this.isNumber(d))a+=d;else{var c=this.peek();if("e"==d&&this.isExpOperator(c))a+=d;else if(this.isExpOperator(d)&&c&&this.isNumber(c)&&"e"==a.charAt(a.length-1))a+=d;else if(!this.isExpOperator(d)||
213
+c&&this.isNumber(c)||"e"!=a.charAt(a.length-1))break;else this.throwError("Invalid exponent")}this.index++}this.tokens.push({index:b,text:a,constant:!0,value:Number(a)})},readIdent:function(){for(var a=this.index;this.index<this.text.length;){var b=this.text.charAt(this.index);if(!this.isIdent(b)&&!this.isNumber(b))break;this.index++}this.tokens.push({index:a,text:this.text.slice(a,this.index),identifier:!0})},readString:function(a){var b=this.index;this.index++;for(var d="",c=a,e=!1;this.index<this.text.length;){var f=
214
+this.text.charAt(this.index),c=c+f;if(e)"u"===f?(e=this.text.substring(this.index+1,this.index+5),e.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+e+"]"),this.index+=4,d+=String.fromCharCode(parseInt(e,16))):d+=Fg[f]||f,e=!1;else if("\\"===f)e=!0;else{if(f===a){this.index++;this.tokens.push({index:b,text:c,constant:!0,value:d});return}d+=f}this.index++}this.throwError("Unterminated quote",b)}};var s=function(a,b){this.lexer=a;this.options=b};s.Program="Program";s.ExpressionStatement=
215
+"ExpressionStatement";s.AssignmentExpression="AssignmentExpression";s.ConditionalExpression="ConditionalExpression";s.LogicalExpression="LogicalExpression";s.BinaryExpression="BinaryExpression";s.UnaryExpression="UnaryExpression";s.CallExpression="CallExpression";s.MemberExpression="MemberExpression";s.Identifier="Identifier";s.Literal="Literal";s.ArrayExpression="ArrayExpression";s.Property="Property";s.ObjectExpression="ObjectExpression";s.ThisExpression="ThisExpression";s.LocalsExpression="LocalsExpression";
216
+s.NGValueParameter="NGValueParameter";s.prototype={ast:function(a){this.text=a;this.tokens=this.lexer.lex(a);a=this.program();0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]);return a},program:function(){for(var a=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&a.push(this.expressionStatement()),!this.expect(";"))return{type:s.Program,body:a}},expressionStatement:function(){return{type:s.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var a=
217
+this.expression();this.expect("|");)a=this.filter(a);return a},expression:function(){return this.assignment()},assignment:function(){var a=this.ternary();this.expect("=")&&(a={type:s.AssignmentExpression,left:a,right:this.assignment(),operator:"="});return a},ternary:function(){var a=this.logicalOR(),b,d;return this.expect("?")&&(b=this.expression(),this.consume(":"))?(d=this.expression(),{type:s.ConditionalExpression,test:a,alternate:b,consequent:d}):a},logicalOR:function(){for(var a=this.logicalAND();this.expect("||");)a=
218
+{type:s.LogicalExpression,operator:"||",left:a,right:this.logicalAND()};return a},logicalAND:function(){for(var a=this.equality();this.expect("&&");)a={type:s.LogicalExpression,operator:"&&",left:a,right:this.equality()};return a},equality:function(){for(var a=this.relational(),b;b=this.expect("==","!=","===","!==");)a={type:s.BinaryExpression,operator:b.text,left:a,right:this.relational()};return a},relational:function(){for(var a=this.additive(),b;b=this.expect("<",">","<=",">=");)a={type:s.BinaryExpression,
219
+operator:b.text,left:a,right:this.additive()};return a},additive:function(){for(var a=this.multiplicative(),b;b=this.expect("+","-");)a={type:s.BinaryExpression,operator:b.text,left:a,right:this.multiplicative()};return a},multiplicative:function(){for(var a=this.unary(),b;b=this.expect("*","/","%");)a={type:s.BinaryExpression,operator:b.text,left:a,right:this.unary()};return a},unary:function(){var a;return(a=this.expect("+","-","!"))?{type:s.UnaryExpression,operator:a.text,prefix:!0,argument:this.unary()}:
220
+this.primary()},primary:function(){var a;this.expect("(")?(a=this.filterChain(),this.consume(")")):this.expect("[")?a=this.arrayDeclaration():this.expect("{")?a=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?a=pa(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?a={type:s.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?a=this.identifier():this.peek().constant?a=this.constant():this.throwError("not a primary expression",
221
+this.peek());for(var b;b=this.expect("(","[",".");)"("===b.text?(a={type:s.CallExpression,callee:a,arguments:this.parseArguments()},this.consume(")")):"["===b.text?(a={type:s.MemberExpression,object:a,property:this.expression(),computed:!0},this.consume("]")):"."===b.text?a={type:s.MemberExpression,object:a,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return a},filter:function(a){a=[a];for(var b={type:s.CallExpression,callee:this.identifier(),arguments:a,filter:!0};this.expect(":");)a.push(this.expression());
222
+return b},parseArguments:function(){var a=[];if(")"!==this.peekToken().text){do a.push(this.expression());while(this.expect(","))}return a},identifier:function(){var a=this.consume();a.identifier||this.throwError("is not a valid identifier",a);return{type:s.Identifier,name:a.text}},constant:function(){return{type:s.Literal,value:this.consume().value}},arrayDeclaration:function(){var a=[];if("]"!==this.peekToken().text){do{if(this.peek("]"))break;a.push(this.expression())}while(this.expect(","))}this.consume("]");
223
+return{type:s.ArrayExpression,elements:a}},object:function(){var a=[],b;if("}"!==this.peekToken().text){do{if(this.peek("}"))break;b={type:s.Property,kind:"init"};this.peek().constant?b.key=this.constant():this.peek().identifier?b.key=this.identifier():this.throwError("invalid key",this.peek());this.consume(":");b.value=this.expression();a.push(b)}while(this.expect(","))}this.consume("}");return{type:s.ObjectExpression,properties:a}},throwError:function(a,b){throw ca("syntax",b.text,a,b.index+1,this.text,
224
+this.text.substring(b.index));},consume:function(a){if(0===this.tokens.length)throw ca("ueoe",this.text);var b=this.expect(a);b||this.throwError("is unexpected, expecting ["+a+"]",this.peek());return b},peekToken:function(){if(0===this.tokens.length)throw ca("ueoe",this.text);return this.tokens[0]},peek:function(a,b,d,c){return this.peekAhead(0,a,b,d,c)},peekAhead:function(a,b,d,c,e){if(this.tokens.length>a){a=this.tokens[a];var f=a.text;if(f===b||f===d||f===c||f===e||!(b||d||c||e))return a}return!1},
225
+expect:function(a,b,d,c){return(a=this.peek(a,b,d,c))?(this.tokens.shift(),a):!1},selfReferential:{"this":{type:s.ThisExpression},$locals:{type:s.LocalsExpression}}};rd.prototype={compile:function(a,b){var d=this,c=this.astBuilder.ast(a);this.state={nextId:0,filters:{},expensiveChecks:b,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]};aa(c,d.$filter);var e="",f;this.stage="assign";if(f=pd(c))this.state.computing="assign",e=this.nextId(),this.recurse(f,e),this.return_(e),e="fn.assign="+
226
+this.generateFunction("assign","s,v,l");f=nd(c.body);d.stage="inputs";q(f,function(a,b){var c="fn"+b;d.state[c]={vars:[],body:[],own:{}};d.state.computing=c;var e=d.nextId();d.recurse(a,e);d.return_(e);d.state.inputs.push(c);a.watchId=b});this.state.computing="fn";this.stage="main";this.recurse(c);e='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+e+this.watchFns()+"return fn;";e=(new Function("$filter","ensureSafeMemberName","ensureSafeObject",
227
+"ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",e))(this.$filter,Wa,ta,ld,eg,Hb,ig,md,a);this.state=this.stage=u;e.literal=qd(c);e.constant=c.constant;return e},USE:"use",STRICT:"strict",watchFns:function(){var a=[],b=this.state.inputs,d=this;q(b,function(b){a.push("var "+b+"="+d.generateFunction(b,"s"))});b.length&&a.push("fn.inputs=["+b.join(",")+"];");return a.join("")},generateFunction:function(a,b){return"function("+b+"){"+this.varsPrefix(a)+this.body(a)+
228
+"};"},filterPrefix:function(){var a=[],b=this;q(this.state.filters,function(d,c){a.push(d+"=$filter("+b.escape(c)+")")});return a.length?"var "+a.join(",")+";":""},varsPrefix:function(a){return this.state[a].vars.length?"var "+this.state[a].vars.join(",")+";":""},body:function(a){return this.state[a].body.join("")},recurse:function(a,b,d,c,e,f){var g,h,k=this,l,m;c=c||E;if(!f&&A(a.watchId))b=b||this.nextId(),this.if_("i",this.lazyAssign(b,this.computedMember("i",a.watchId)),this.lazyRecurse(a,b,d,
229
+c,e,!0));else switch(a.type){case s.Program:q(a.body,function(b,c){k.recurse(b.expression,u,u,function(a){h=a});c!==a.body.length-1?k.current().body.push(h,";"):k.return_(h)});break;case s.Literal:m=this.escape(a.value);this.assign(b,m);c(m);break;case s.UnaryExpression:this.recurse(a.argument,u,u,function(a){h=a});m=a.operator+"("+this.ifDefined(h,0)+")";this.assign(b,m);c(m);break;case s.BinaryExpression:this.recurse(a.left,u,u,function(a){g=a});this.recurse(a.right,u,u,function(a){h=a});m="+"===
230
+a.operator?this.plus(g,h):"-"===a.operator?this.ifDefined(g,0)+a.operator+this.ifDefined(h,0):"("+g+")"+a.operator+"("+h+")";this.assign(b,m);c(m);break;case s.LogicalExpression:b=b||this.nextId();k.recurse(a.left,b);k.if_("&&"===a.operator?b:k.not(b),k.lazyRecurse(a.right,b));c(b);break;case s.ConditionalExpression:b=b||this.nextId();k.recurse(a.test,b);k.if_(b,k.lazyRecurse(a.alternate,b),k.lazyRecurse(a.consequent,b));c(b);break;case s.Identifier:b=b||this.nextId();d&&(d.context="inputs"===k.stage?
231
+"s":this.assign(this.nextId(),this.getHasOwnProperty("l",a.name)+"?l:s"),d.computed=!1,d.name=a.name);Wa(a.name);k.if_("inputs"===k.stage||k.not(k.getHasOwnProperty("l",a.name)),function(){k.if_("inputs"===k.stage||"s",function(){e&&1!==e&&k.if_(k.not(k.nonComputedMember("s",a.name)),k.lazyAssign(k.nonComputedMember("s",a.name),"{}"));k.assign(b,k.nonComputedMember("s",a.name))})},b&&k.lazyAssign(b,k.nonComputedMember("l",a.name)));(k.state.expensiveChecks||Ib(a.name))&&k.addEnsureSafeObject(b);c(b);
232
+break;case s.MemberExpression:g=d&&(d.context=this.nextId())||this.nextId();b=b||this.nextId();k.recurse(a.object,g,u,function(){k.if_(k.notNull(g),function(){e&&1!==e&&k.addEnsureSafeAssignContext(g);if(a.computed)h=k.nextId(),k.recurse(a.property,h),k.getStringValue(h),k.addEnsureSafeMemberName(h),e&&1!==e&&k.if_(k.not(k.computedMember(g,h)),k.lazyAssign(k.computedMember(g,h),"{}")),m=k.ensureSafeObject(k.computedMember(g,h)),k.assign(b,m),d&&(d.computed=!0,d.name=h);else{Wa(a.property.name);e&&
233
+1!==e&&k.if_(k.not(k.nonComputedMember(g,a.property.name)),k.lazyAssign(k.nonComputedMember(g,a.property.name),"{}"));m=k.nonComputedMember(g,a.property.name);if(k.state.expensiveChecks||Ib(a.property.name))m=k.ensureSafeObject(m);k.assign(b,m);d&&(d.computed=!1,d.name=a.property.name)}},function(){k.assign(b,"undefined")});c(b)},!!e);break;case s.CallExpression:b=b||this.nextId();a.filter?(h=k.filter(a.callee.name),l=[],q(a.arguments,function(a){var b=k.nextId();k.recurse(a,b);l.push(b)}),m=h+"("+
234
+l.join(",")+")",k.assign(b,m),c(b)):(h=k.nextId(),g={},l=[],k.recurse(a.callee,h,g,function(){k.if_(k.notNull(h),function(){k.addEnsureSafeFunction(h);q(a.arguments,function(a){k.recurse(a,k.nextId(),u,function(a){l.push(k.ensureSafeObject(a))})});g.name?(k.state.expensiveChecks||k.addEnsureSafeObject(g.context),m=k.member(g.context,g.name,g.computed)+"("+l.join(",")+")"):m=h+"("+l.join(",")+")";m=k.ensureSafeObject(m);k.assign(b,m)},function(){k.assign(b,"undefined")});c(b)}));break;case s.AssignmentExpression:h=
235
+this.nextId();g={};if(!od(a.left))throw ca("lval");this.recurse(a.left,u,g,function(){k.if_(k.notNull(g.context),function(){k.recurse(a.right,h);k.addEnsureSafeObject(k.member(g.context,g.name,g.computed));k.addEnsureSafeAssignContext(g.context);m=k.member(g.context,g.name,g.computed)+a.operator+h;k.assign(b,m);c(b||m)})},1);break;case s.ArrayExpression:l=[];q(a.elements,function(a){k.recurse(a,k.nextId(),u,function(a){l.push(a)})});m="["+l.join(",")+"]";this.assign(b,m);c(m);break;case s.ObjectExpression:l=
236
+[];q(a.properties,function(a){k.recurse(a.value,k.nextId(),u,function(b){l.push(k.escape(a.key.type===s.Identifier?a.key.name:""+a.key.value)+":"+b)})});m="{"+l.join(",")+"}";this.assign(b,m);c(m);break;case s.ThisExpression:this.assign(b,"s");c("s");break;case s.LocalsExpression:this.assign(b,"l");c("l");break;case s.NGValueParameter:this.assign(b,"v"),c("v")}},getHasOwnProperty:function(a,b){var d=a+"."+b,c=this.current().own;c.hasOwnProperty(d)||(c[d]=this.nextId(!1,a+"&&("+this.escape(b)+" in "+
237
+a+")"));return c[d]},assign:function(a,b){if(a)return this.current().body.push(a,"=",b,";"),a},filter:function(a){this.state.filters.hasOwnProperty(a)||(this.state.filters[a]=this.nextId(!0));return this.state.filters[a]},ifDefined:function(a,b){return"ifDefined("+a+","+this.escape(b)+")"},plus:function(a,b){return"plus("+a+","+b+")"},return_:function(a){this.current().body.push("return ",a,";")},if_:function(a,b,d){if(!0===a)b();else{var c=this.current().body;c.push("if(",a,"){");b();c.push("}");
238
+d&&(c.push("else{"),d(),c.push("}"))}},not:function(a){return"!("+a+")"},notNull:function(a){return a+"!=null"},nonComputedMember:function(a,b){return a+"."+b},computedMember:function(a,b){return a+"["+b+"]"},member:function(a,b,d){return d?this.computedMember(a,b):this.nonComputedMember(a,b)},addEnsureSafeObject:function(a){this.current().body.push(this.ensureSafeObject(a),";")},addEnsureSafeMemberName:function(a){this.current().body.push(this.ensureSafeMemberName(a),";")},addEnsureSafeFunction:function(a){this.current().body.push(this.ensureSafeFunction(a),
239
+";")},addEnsureSafeAssignContext:function(a){this.current().body.push(this.ensureSafeAssignContext(a),";")},ensureSafeObject:function(a){return"ensureSafeObject("+a+",text)"},ensureSafeMemberName:function(a){return"ensureSafeMemberName("+a+",text)"},ensureSafeFunction:function(a){return"ensureSafeFunction("+a+",text)"},getStringValue:function(a){this.assign(a,"getStringValue("+a+")")},ensureSafeAssignContext:function(a){return"ensureSafeAssignContext("+a+",text)"},lazyRecurse:function(a,b,d,c,e,f){var g=
240
+this;return function(){g.recurse(a,b,d,c,e,f)}},lazyAssign:function(a,b){var d=this;return function(){d.assign(a,b)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)},escape:function(a){if(y(a))return"'"+a.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(R(a))return a.toString();if(!0===a)return"true";if(!1===a)return"false";if(null===a)return"null";if("undefined"===typeof a)return"undefined";throw ca("esc");},nextId:function(a,
241
+b){var d="v"+this.state.nextId++;a||this.current().vars.push(d+(b?"="+b:""));return d},current:function(){return this.state[this.state.computing]}};sd.prototype={compile:function(a,b){var d=this,c=this.astBuilder.ast(a);this.expression=a;this.expensiveChecks=b;aa(c,d.$filter);var e,f;if(e=pd(c))f=this.recurse(e);e=nd(c.body);var g;e&&(g=[],q(e,function(a,b){var c=d.recurse(a);a.input=c;g.push(c);a.watchId=b}));var h=[];q(c.body,function(a){h.push(d.recurse(a.expression))});e=0===c.body.length?E:1===
242
+c.body.length?h[0]:function(a,b){var c;q(h,function(d){c=d(a,b)});return c};f&&(e.assign=function(a,b,c){return f(a,c,b)});g&&(e.inputs=g);e.literal=qd(c);e.constant=c.constant;return e},recurse:function(a,b,d){var c,e,f=this,g;if(a.input)return this.inputs(a.input,a.watchId);switch(a.type){case s.Literal:return this.value(a.value,b);case s.UnaryExpression:return e=this.recurse(a.argument),this["unary"+a.operator](e,b);case s.BinaryExpression:return c=this.recurse(a.left),e=this.recurse(a.right),
243
+this["binary"+a.operator](c,e,b);case s.LogicalExpression:return c=this.recurse(a.left),e=this.recurse(a.right),this["binary"+a.operator](c,e,b);case s.ConditionalExpression:return this["ternary?:"](this.recurse(a.test),this.recurse(a.alternate),this.recurse(a.consequent),b);case s.Identifier:return Wa(a.name,f.expression),f.identifier(a.name,f.expensiveChecks||Ib(a.name),b,d,f.expression);case s.MemberExpression:return c=this.recurse(a.object,!1,!!d),a.computed||(Wa(a.property.name,f.expression),
244
+e=a.property.name),a.computed&&(e=this.recurse(a.property)),a.computed?this.computedMember(c,e,b,d,f.expression):this.nonComputedMember(c,e,f.expensiveChecks,b,d,f.expression);case s.CallExpression:return g=[],q(a.arguments,function(a){g.push(f.recurse(a))}),a.filter&&(e=this.$filter(a.callee.name)),a.filter||(e=this.recurse(a.callee,!0)),a.filter?function(a,c,d,f){for(var n=[],p=0;p<g.length;++p)n.push(g[p](a,c,d,f));a=e.apply(u,n,f);return b?{context:u,name:u,value:a}:a}:function(a,c,d,m){var n=
245
+e(a,c,d,m),p;if(null!=n.value){ta(n.context,f.expression);ld(n.value,f.expression);p=[];for(var q=0;q<g.length;++q)p.push(ta(g[q](a,c,d,m),f.expression));p=ta(n.value.apply(n.context,p),f.expression)}return b?{value:p}:p};case s.AssignmentExpression:return c=this.recurse(a.left,!0,1),e=this.recurse(a.right),function(a,d,g,m){var n=c(a,d,g,m);a=e(a,d,g,m);ta(n.value,f.expression);Hb(n.context);n.context[n.name]=a;return b?{value:a}:a};case s.ArrayExpression:return g=[],q(a.elements,function(a){g.push(f.recurse(a))}),
246
+function(a,c,d,e){for(var f=[],p=0;p<g.length;++p)f.push(g[p](a,c,d,e));return b?{value:f}:f};case s.ObjectExpression:return g=[],q(a.properties,function(a){g.push({key:a.key.type===s.Identifier?a.key.name:""+a.key.value,value:f.recurse(a.value)})}),function(a,c,d,e){for(var f={},p=0;p<g.length;++p)f[g[p].key]=g[p].value(a,c,d,e);return b?{value:f}:f};case s.ThisExpression:return function(a){return b?{value:a}:a};case s.LocalsExpression:return function(a,c){return b?{value:c}:c};case s.NGValueParameter:return function(a,
247
+c,d){return b?{value:d}:d}}},"unary+":function(a,b){return function(d,c,e,f){d=a(d,c,e,f);d=A(d)?+d:0;return b?{value:d}:d}},"unary-":function(a,b){return function(d,c,e,f){d=a(d,c,e,f);d=A(d)?-d:0;return b?{value:d}:d}},"unary!":function(a,b){return function(d,c,e,f){d=!a(d,c,e,f);return b?{value:d}:d}},"binary+":function(a,b,d){return function(c,e,f,g){var h=a(c,e,f,g);c=b(c,e,f,g);h=md(h,c);return d?{value:h}:h}},"binary-":function(a,b,d){return function(c,e,f,g){var h=a(c,e,f,g);c=b(c,e,f,g);
248
+h=(A(h)?h:0)-(A(c)?c:0);return d?{value:h}:h}},"binary*":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)*b(c,e,f,g);return d?{value:c}:c}},"binary/":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)/b(c,e,f,g);return d?{value:c}:c}},"binary%":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)%b(c,e,f,g);return d?{value:c}:c}},"binary===":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)===b(c,e,f,g);return d?{value:c}:c}},"binary!==":function(a,b,d){return function(c,e,f,g){c=a(c,
249
+e,f,g)!==b(c,e,f,g);return d?{value:c}:c}},"binary==":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)==b(c,e,f,g);return d?{value:c}:c}},"binary!=":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)!=b(c,e,f,g);return d?{value:c}:c}},"binary<":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)<b(c,e,f,g);return d?{value:c}:c}},"binary>":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)>b(c,e,f,g);return d?{value:c}:c}},"binary<=":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,
250
+g)<=b(c,e,f,g);return d?{value:c}:c}},"binary>=":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)>=b(c,e,f,g);return d?{value:c}:c}},"binary&&":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)&&b(c,e,f,g);return d?{value:c}:c}},"binary||":function(a,b,d){return function(c,e,f,g){c=a(c,e,f,g)||b(c,e,f,g);return d?{value:c}:c}},"ternary?:":function(a,b,d,c){return function(e,f,g,h){e=a(e,f,g,h)?b(e,f,g,h):d(e,f,g,h);return c?{value:e}:e}},value:function(a,b){return function(){return b?{context:u,
251
+name:u,value:a}:a}},identifier:function(a,b,d,c,e){return function(f,g,h,k){f=g&&a in g?g:f;c&&1!==c&&f&&!f[a]&&(f[a]={});g=f?f[a]:u;b&&ta(g,e);return d?{context:f,name:a,value:g}:g}},computedMember:function(a,b,d,c,e){return function(f,g,h,k){var l=a(f,g,h,k),m,n;null!=l&&(m=b(f,g,h,k),m+="",Wa(m,e),c&&1!==c&&(Hb(l),l&&!l[m]&&(l[m]={})),n=l[m],ta(n,e));return d?{context:l,name:m,value:n}:n}},nonComputedMember:function(a,b,d,c,e,f){return function(g,h,k,l){g=a(g,h,k,l);e&&1!==e&&(Hb(g),g&&!g[b]&&
252
+(g[b]={}));h=null!=g?g[b]:u;(d||Ib(b))&&ta(h,f);return c?{context:g,name:b,value:h}:h}},inputs:function(a,b){return function(d,c,e,f){return f?f[b]:a(d,c,e)}}};var hc=function(a,b,d){this.lexer=a;this.$filter=b;this.options=d;this.ast=new s(a,d);this.astCompiler=d.csp?new sd(this.ast,b):new rd(this.ast,b)};hc.prototype={constructor:hc,parse:function(a){return this.astCompiler.compile(a,this.options.expensiveChecks)}};var jg=Object.prototype.valueOf,ua=O("$sce"),ma={HTML:"html",CSS:"css",URL:"url",
253
+RESOURCE_URL:"resourceUrl",JS:"js"},lg=O("$compile"),Z=P.createElement("a"),wd=sa(T.location.href);xd.$inject=["$document"];Jc.$inject=["$provide"];var Ed=22,Dd=".",jc="0";yd.$inject=["$locale"];Ad.$inject=["$locale"];var wg={yyyy:X("FullYear",4,0,!1,!0),yy:X("FullYear",2,0,!0,!0),y:X("FullYear",1,0,!1,!0),MMMM:lb("Month"),MMM:lb("Month",!0),MM:X("Month",2,1),M:X("Month",1,1),LLLL:lb("Month",!1,!0),dd:X("Date",2),d:X("Date",1),HH:X("Hours",2),H:X("Hours",1),hh:X("Hours",2,-12),h:X("Hours",1,-12),
254
+mm:X("Minutes",2),m:X("Minutes",1),ss:X("Seconds",2),s:X("Seconds",1),sss:X("Milliseconds",3),EEEE:lb("Day"),EEE:lb("Day",!0),a:function(a,b){return 12>a.getHours()?b.AMPMS[0]:b.AMPMS[1]},Z:function(a,b,d){a=-1*d;return a=(0<=a?"+":"")+(Jb(Math[0<a?"floor":"ceil"](a/60),2)+Jb(Math.abs(a%60),2))},ww:Gd(2),w:Gd(1),G:kc,GG:kc,GGG:kc,GGGG:function(a,b){return 0>=a.getFullYear()?b.ERANAMES[0]:b.ERANAMES[1]}},vg=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,
255
+ug=/^\-?\d+$/;zd.$inject=["$locale"];var pg=da(N),qg=da(vb);Bd.$inject=["$parse"];var me=da({restrict:"E",compile:function(a,b){if(!b.href&&!b.xlinkHref)return function(a,b){if("a"===b[0].nodeName.toLowerCase()){var e="[object SVGAnimatedString]"===ka.call(b.prop("href"))?"xlink:href":"href";b.on("click",function(a){b.attr(e)||a.preventDefault()})}}}}),wb={};q(Eb,function(a,b){function d(a,d,e){a.$watch(e[c],function(a){e.$set(b,!!a)})}if("multiple"!=a){var c=ya("ng-"+b),e=d;"checked"===a&&(e=function(a,
256
+b,e){e.ngModel!==e[c]&&d(a,b,e)});wb[c]=function(){return{restrict:"A",priority:100,link:e}}}});q($c,function(a,b){wb[b]=function(){return{priority:100,link:function(a,c,e){if("ngPattern"===b&&"/"==e.ngPattern.charAt(0)&&(c=e.ngPattern.match(yg))){e.$set("ngPattern",new RegExp(c[1],c[2]));return}a.$watch(e[b],function(a){e.$set(b,a)})}}}});q(["src","srcset","href"],function(a){var b=ya("ng-"+a);wb[b]=function(){return{priority:99,link:function(d,c,e){var f=a,g=a;"href"===a&&"[object SVGAnimatedString]"===
257
+ka.call(c.prop("href"))&&(g="xlinkHref",e.$attr[g]="xlink:href",f=null);e.$observe(b,function(b){b?(e.$set(g,b),Da&&f&&c.prop(f,e[g])):"href"===a&&e.$set(g,null)})}}}});var Kb={$addControl:E,$$renameControl:function(a,b){a.$name=b},$removeControl:E,$setValidity:E,$setDirty:E,$setPristine:E,$setSubmitted:E};Hd.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Qd=function(a){return["$timeout","$parse",function(b,d){function c(a){return""===a?d('this[""]').assign:d(a).assign||E}return{name:"form",
258
+restrict:a?"EAC":"E",require:["form","^^?form"],controller:Hd,compile:function(d,f){d.addClass(Xa).addClass(pb);var g=f.name?"name":a&&f.ngForm?"ngForm":!1;return{pre:function(a,d,e,f){var n=f[0];if(!("action"in e)){var p=function(b){a.$apply(function(){n.$commitViewValue();n.$setSubmitted()});b.preventDefault()};d[0].addEventListener("submit",p,!1);d.on("$destroy",function(){b(function(){d[0].removeEventListener("submit",p,!1)},0,!1)})}(f[1]||n.$$parentForm).$addControl(n);var q=g?c(n.$name):E;g&&
259
+(q(a,n),e.$observe(g,function(b){n.$name!==b&&(q(a,u),n.$$parentForm.$$renameControl(n,b),q=c(n.$name),q(a,n))}));d.on("$destroy",function(){n.$$parentForm.$removeControl(n);q(a,u);S(n,Kb)})}}}}}]},ne=Qd(),Ae=Qd(!0),xg=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Gg=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Hg=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,
260
+Ig=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Rd=/^(\d{4,})-(\d{2})-(\d{2})$/,Sd=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,nc=/^(\d{4,})-W(\d\d)$/,Td=/^(\d{4,})-(\d\d)$/,Ud=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Jd=V();q(["date","datetime-local","month","time","week"],function(a){Jd[a]=!0});var Vd={text:function(a,b,d,c,e,f){mb(a,b,d,c,e,f);lc(c)},date:nb("date",Rd,Mb(Rd,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":nb("datetimelocal",Sd,Mb(Sd,"yyyy MM dd HH mm ss sss".split(" ")),
261
+"yyyy-MM-ddTHH:mm:ss.sss"),time:nb("time",Ud,Mb(Ud,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:nb("week",nc,function(a,b){if(fa(a))return a;if(y(a)){nc.lastIndex=0;var d=nc.exec(a);if(d){var c=+d[1],e=+d[2],f=d=0,g=0,h=0,k=Fd(c),e=7*(e-1);b&&(d=b.getHours(),f=b.getMinutes(),g=b.getSeconds(),h=b.getMilliseconds());return new Date(c,0,k.getDate()+e,d,f,g,h)}}return NaN},"yyyy-Www"),month:nb("month",Td,Mb(Td,["yyyy","MM"]),"yyyy-MM"),number:function(a,b,d,c,e,f){Kd(a,b,d,c);mb(a,b,d,c,e,f);c.$$parserName=
262
+"number";c.$parsers.push(function(a){return c.$isEmpty(a)?null:Ig.test(a)?parseFloat(a):u});c.$formatters.push(function(a){if(!c.$isEmpty(a)){if(!R(a))throw ob("numfmt",a);a=a.toString()}return a});if(A(d.min)||d.ngMin){var g;c.$validators.min=function(a){return c.$isEmpty(a)||z(g)||a>=g};d.$observe("min",function(a){A(a)&&!R(a)&&(a=parseFloat(a,10));g=R(a)&&!isNaN(a)?a:u;c.$validate()})}if(A(d.max)||d.ngMax){var h;c.$validators.max=function(a){return c.$isEmpty(a)||z(h)||a<=h};d.$observe("max",function(a){A(a)&&
263
+!R(a)&&(a=parseFloat(a,10));h=R(a)&&!isNaN(a)?a:u;c.$validate()})}},url:function(a,b,d,c,e,f){mb(a,b,d,c,e,f);lc(c);c.$$parserName="url";c.$validators.url=function(a,b){var d=a||b;return c.$isEmpty(d)||Gg.test(d)}},email:function(a,b,d,c,e,f){mb(a,b,d,c,e,f);lc(c);c.$$parserName="email";c.$validators.email=function(a,b){var d=a||b;return c.$isEmpty(d)||Hg.test(d)}},radio:function(a,b,d,c){z(d.name)&&b.attr("name",++qb);b.on("click",function(a){b[0].checked&&c.$setViewValue(d.value,a&&a.type)});c.$render=
264
+function(){b[0].checked=d.value==c.$viewValue};d.$observe("value",c.$render)},checkbox:function(a,b,d,c,e,f,g,h){var k=Ld(h,a,"ngTrueValue",d.ngTrueValue,!0),l=Ld(h,a,"ngFalseValue",d.ngFalseValue,!1);b.on("click",function(a){c.$setViewValue(b[0].checked,a&&a.type)});c.$render=function(){b[0].checked=c.$viewValue};c.$isEmpty=function(a){return!1===a};c.$formatters.push(function(a){return na(a,k)});c.$parsers.push(function(a){return a?k:l})},hidden:E,button:E,submit:E,reset:E,file:E},Dc=["$browser",
265
+"$sniffer","$filter","$parse",function(a,b,d,c){return{restrict:"E",require:["?ngModel"],link:{pre:function(e,f,g,h){h[0]&&(Vd[N(g.type)]||Vd.text)(e,f,g,h[0],b,a,d,c)}}}}],Jg=/^(true|false|\d+)$/,Se=function(){return{restrict:"A",priority:100,compile:function(a,b){return Jg.test(b.ngValue)?function(a,b,e){e.$set("value",a.$eval(e.ngValue))}:function(a,b,e){a.$watch(e.ngValue,function(a){e.$set("value",a)})}}}},se=["$compile",function(a){return{restrict:"AC",compile:function(b){a.$$addBindingClass(b);
266
+return function(b,c,e){a.$$addBindingInfo(c,e.ngBind);c=c[0];b.$watch(e.ngBind,function(a){c.textContent=z(a)?"":a})}}}}],ue=["$interpolate","$compile",function(a,b){return{compile:function(d){b.$$addBindingClass(d);return function(c,d,f){c=a(d.attr(f.$attr.ngBindTemplate));b.$$addBindingInfo(d,c.expressions);d=d[0];f.$observe("ngBindTemplate",function(a){d.textContent=z(a)?"":a})}}}}],te=["$sce","$parse","$compile",function(a,b,d){return{restrict:"A",compile:function(c,e){var f=b(e.ngBindHtml),g=
267
+b(e.ngBindHtml,function(a){return(a||"").toString()});d.$$addBindingClass(c);return function(b,c,e){d.$$addBindingInfo(c,e.ngBindHtml);b.$watch(g,function(){c.html(a.getTrustedHtml(f(b))||"")})}}}}],Re=da({restrict:"A",require:"ngModel",link:function(a,b,d,c){c.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),ve=mc("",!0),xe=mc("Odd",0),we=mc("Even",1),ye=Na({compile:function(a,b){b.$set("ngCloak",u);a.removeClass("ng-cloak")}}),ze=[function(){return{restrict:"A",scope:!0,controller:"@",
268
+priority:500}}],Ic={},Kg={blur:!0,focus:!0};q("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(a){var b=ya("ng-"+a);Ic[b]=["$parse","$rootScope",function(d,c){return{restrict:"A",compile:function(e,f){var g=d(f[b],null,!0);return function(b,d){d.on(a,function(d){var e=function(){g(b,{$event:d})};Kg[a]&&c.$$phase?b.$evalAsync(e):b.$apply(e)})}}}}]});var Ce=["$animate","$compile",function(a,
269
+b){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(d,c,e,f,g){var h,k,l;d.$watch(e.ngIf,function(d){d?k||g(function(d,f){k=f;d[d.length++]=b.$$createComment("end ngIf",e.ngIf);h={clone:d};a.enter(d,c.parent(),c)}):(l&&(l.remove(),l=null),k&&(k.$destroy(),k=null),h&&(l=ub(h.clone),a.leave(l).then(function(){l=null}),h=null))})}}}],De=["$templateRequest","$anchorScroll","$animate",function(a,b,d){return{restrict:"ECA",priority:400,terminal:!0,
270
+transclude:"element",controller:ea.noop,compile:function(c,e){var f=e.ngInclude||e.src,g=e.onload||"",h=e.autoscroll;return function(c,e,m,n,p){var q=0,s,x,r,w=function(){x&&(x.remove(),x=null);s&&(s.$destroy(),s=null);r&&(d.leave(r).then(function(){x=null}),x=r,r=null)};c.$watch(f,function(f){var m=function(){!A(h)||h&&!c.$eval(h)||b()},t=++q;f?(a(f,!0).then(function(a){if(!c.$$destroyed&&t===q){var b=c.$new();n.template=a;a=p(b,function(a){w();d.enter(a,null,e).then(m)});s=b;r=a;s.$emit("$includeContentLoaded",
271
+f);c.$eval(g)}},function(){c.$$destroyed||t!==q||(w(),c.$emit("$includeContentError",f))}),c.$emit("$includeContentRequested",f)):(w(),n.template=null)})}}}}],Ue=["$compile",function(a){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(b,d,c,e){ka.call(d[0]).match(/SVG/)?(d.empty(),a(Lc(e.template,P).childNodes)(b,function(a){d.append(a)},{futureParentElement:d})):(d.html(e.template),a(d.contents())(b))}}}],Ee=Na({priority:450,compile:function(){return{pre:function(a,b,d){a.$eval(d.ngInit)}}}}),
272
+Qe=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(a,b,d,c){var e=b.attr(d.$attr.ngList)||", ",f="false"!==d.ngTrim,g=f?W(e):e;c.$parsers.push(function(a){if(!z(a)){var b=[];a&&q(a.split(g),function(a){a&&b.push(f?W(a):a)});return b}});c.$formatters.push(function(a){return M(a)?a.join(e):u});c.$isEmpty=function(a){return!a||!a.length}}}},pb="ng-valid",Md="ng-invalid",Xa="ng-pristine",Lb="ng-dirty",Od="ng-pending",ob=O("ngModel"),Lg=["$scope","$exceptionHandler","$attrs",
273
+"$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(a,b,d,c,e,f,g,h,k,l){this.$modelValue=this.$viewValue=Number.NaN;this.$$rawModelValue=u;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=u;this.$name=l(d.name||"",!1)(a);this.$$parentForm=Kb;var m=e(d.ngModel),
274
+n=m.assign,p=m,s=n,y=null,x,r=this;this.$$setOptions=function(a){if((r.$options=a)&&a.getterSetter){var b=e(d.ngModel+"()"),f=e(d.ngModel+"($$$p)");p=function(a){var c=m(a);D(c)&&(c=b(a));return c};s=function(a,b){D(m(a))?f(a,{$$$p:b}):n(a,b)}}else if(!m.assign)throw ob("nonassign",d.ngModel,wa(c));};this.$render=E;this.$isEmpty=function(a){return z(a)||""===a||null===a||a!==a};this.$$updateEmptyClasses=function(a){r.$isEmpty(a)?(f.removeClass(c,"ng-not-empty"),f.addClass(c,"ng-empty")):(f.removeClass(c,
275
+"ng-empty"),f.addClass(c,"ng-not-empty"))};var w=0;Id({ctrl:this,$element:c,set:function(a,b){a[b]=!0},unset:function(a,b){delete a[b]},$animate:f});this.$setPristine=function(){r.$dirty=!1;r.$pristine=!0;f.removeClass(c,Lb);f.addClass(c,Xa)};this.$setDirty=function(){r.$dirty=!0;r.$pristine=!1;f.removeClass(c,Xa);f.addClass(c,Lb);r.$$parentForm.$setDirty()};this.$setUntouched=function(){r.$touched=!1;r.$untouched=!0;f.setClass(c,"ng-untouched","ng-touched")};this.$setTouched=function(){r.$touched=
276
+!0;r.$untouched=!1;f.setClass(c,"ng-touched","ng-untouched")};this.$rollbackViewValue=function(){g.cancel(y);r.$viewValue=r.$$lastCommittedViewValue;r.$render()};this.$validate=function(){if(!R(r.$modelValue)||!isNaN(r.$modelValue)){var a=r.$$rawModelValue,b=r.$valid,c=r.$modelValue,d=r.$options&&r.$options.allowInvalid;r.$$runValidators(a,r.$$lastCommittedViewValue,function(e){d||b===e||(r.$modelValue=e?a:u,r.$modelValue!==c&&r.$$writeModelToScope())})}};this.$$runValidators=function(a,b,c){function d(){var c=
277
+!0;q(r.$validators,function(d,e){var g=d(a,b);c=c&&g;f(e,g)});return c?!0:(q(r.$asyncValidators,function(a,b){f(b,null)}),!1)}function e(){var c=[],d=!0;q(r.$asyncValidators,function(e,g){var h=e(a,b);if(!h||!D(h.then))throw ob("nopromise",h);f(g,u);c.push(h.then(function(){f(g,!0)},function(){d=!1;f(g,!1)}))});c.length?k.all(c).then(function(){g(d)},E):g(!0)}function f(a,b){h===w&&r.$setValidity(a,b)}function g(a){h===w&&c(a)}w++;var h=w;(function(){var a=r.$$parserName||"parse";if(z(x))f(a,null);
278
+else return x||(q(r.$validators,function(a,b){f(b,null)}),q(r.$asyncValidators,function(a,b){f(b,null)})),f(a,x),x;return!0})()?d()?e():g(!1):g(!1)};this.$commitViewValue=function(){var a=r.$viewValue;g.cancel(y);if(r.$$lastCommittedViewValue!==a||""===a&&r.$$hasNativeValidators)r.$$updateEmptyClasses(a),r.$$lastCommittedViewValue=a,r.$pristine&&this.$setDirty(),this.$$parseAndValidate()};this.$$parseAndValidate=function(){var b=r.$$lastCommittedViewValue;if(x=z(b)?u:!0)for(var c=0;c<r.$parsers.length;c++)if(b=
279
+r.$parsers[c](b),z(b)){x=!1;break}R(r.$modelValue)&&isNaN(r.$modelValue)&&(r.$modelValue=p(a));var d=r.$modelValue,e=r.$options&&r.$options.allowInvalid;r.$$rawModelValue=b;e&&(r.$modelValue=b,r.$modelValue!==d&&r.$$writeModelToScope());r.$$runValidators(b,r.$$lastCommittedViewValue,function(a){e||(r.$modelValue=a?b:u,r.$modelValue!==d&&r.$$writeModelToScope())})};this.$$writeModelToScope=function(){s(a,r.$modelValue);q(r.$viewChangeListeners,function(a){try{a()}catch(c){b(c)}})};this.$setViewValue=
280
+function(a,b){r.$viewValue=a;r.$options&&!r.$options.updateOnDefault||r.$$debounceViewValueCommit(b)};this.$$debounceViewValueCommit=function(b){var c=0,d=r.$options;d&&A(d.debounce)&&(d=d.debounce,R(d)?c=d:R(d[b])?c=d[b]:R(d["default"])&&(c=d["default"]));g.cancel(y);c?y=g(function(){r.$commitViewValue()},c):h.$$phase?r.$commitViewValue():a.$apply(function(){r.$commitViewValue()})};a.$watch(function(){var b=p(a);if(b!==r.$modelValue&&(r.$modelValue===r.$modelValue||b===b)){r.$modelValue=r.$$rawModelValue=
281
+b;x=u;for(var c=r.$formatters,d=c.length,e=b;d--;)e=c[d](e);r.$viewValue!==e&&(r.$$updateEmptyClasses(e),r.$viewValue=r.$$lastCommittedViewValue=e,r.$render(),r.$$runValidators(b,e,E))}return b})}],Pe=["$rootScope",function(a){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Lg,priority:1,compile:function(b){b.addClass(Xa).addClass("ng-untouched").addClass(pb);return{pre:function(a,b,e,f){var g=f[0];b=f[1]||g.$$parentForm;g.$$setOptions(f[2]&&f[2].$options);b.$addControl(g);
282
+e.$observe("name",function(a){g.$name!==a&&g.$$parentForm.$$renameControl(g,a)});a.$on("$destroy",function(){g.$$parentForm.$removeControl(g)})},post:function(b,c,e,f){var g=f[0];if(g.$options&&g.$options.updateOn)c.on(g.$options.updateOn,function(a){g.$$debounceViewValueCommit(a&&a.type)});c.on("blur",function(){g.$touched||(a.$$phase?b.$evalAsync(g.$setTouched):b.$apply(g.$setTouched))})}}}}}],Mg=/(\s+|^)default(\s+|$)/,Te=function(){return{restrict:"A",controller:["$scope","$attrs",function(a,
283
+b){var d=this;this.$options=pa(a.$eval(b.ngModelOptions));A(this.$options.updateOn)?(this.$options.updateOnDefault=!1,this.$options.updateOn=W(this.$options.updateOn.replace(Mg,function(){d.$options.updateOnDefault=!0;return" "}))):this.$options.updateOnDefault=!0}]}},Fe=Na({terminal:!0,priority:1E3}),Ng=O("ngOptions"),Og=/^\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]+?))?$/,
284
+Ne=["$compile","$parse",function(a,b){function d(a,c,d){function e(a,b,c,d,f){this.selectValue=a;this.viewValue=b;this.label=c;this.group=d;this.disabled=f}function l(a){var b;if(!p&&za(a))b=a;else{b=[];for(var c in a)a.hasOwnProperty(c)&&"$"!==c.charAt(0)&&b.push(c)}return b}var m=a.match(Og);if(!m)throw Ng("iexp",a,wa(c));var n=m[5]||m[7],p=m[6];a=/ as /.test(m[0])&&m[1];var q=m[9];c=b(m[2]?m[1]:n);var s=a&&b(a)||c,x=q&&b(q),r=q?function(a,b){return x(d,b)}:function(a){return Ha(a)},w=function(a,
285
+b){return r(a,y(a,b))},v=b(m[2]||m[1]),u=b(m[3]||""),t=b(m[4]||""),G=b(m[8]),C={},y=p?function(a,b){C[p]=b;C[n]=a;return C}:function(a){C[n]=a;return C};return{trackBy:q,getTrackByValue:w,getWatchables:b(G,function(a){var b=[];a=a||[];for(var c=l(a),e=c.length,f=0;f<e;f++){var g=a===c?f:c[f],k=a[g],g=y(k,g),k=r(k,g);b.push(k);if(m[2]||m[1])k=v(d,g),b.push(k);m[4]&&(g=t(d,g),b.push(g))}return b}),getOptions:function(){for(var a=[],b={},c=G(d)||[],f=l(c),g=f.length,m=0;m<g;m++){var n=c===f?m:f[m],p=
286
+y(c[n],n),x=s(d,p),n=r(x,p),C=v(d,p),A=u(d,p),p=t(d,p),x=new e(n,x,C,A,p);a.push(x);b[n]=x}return{items:a,selectValueMap:b,getOptionFromViewValue:function(a){return b[w(a)]},getViewValueFromOption:function(a){return q?ea.copy(a.viewValue):a.viewValue}}}}}var c=P.createElement("option"),e=P.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(a,b,c,d){d[0].registerOption=E},post:function(b,g,h,k){function l(a,b){a.element=b;b.disabled=a.disabled;
287
+a.label!==b.label&&(b.label=a.label,b.textContent=a.label);a.value!==b.value&&(b.value=a.selectValue)}function m(a,b,c,d){b&&N(b.nodeName)===c?c=b:(c=d.cloneNode(!1),b?a.insertBefore(c,b):a.appendChild(c));return c}function n(a){for(var b;a;)b=a.nextSibling,Yb(a),a=b}function p(a){var b=w&&w[0],c=G&&G[0];if(b||c)for(;a&&(a===b||a===c||8===a.nodeType||"option"===oa(a)&&""===a.value);)a=a.nextSibling;return a}function s(){var a=C&&u.readValue();C=z.getOptions();var b={},d=g[0].firstChild;t&&g.prepend(w);
288
+d=p(d);C.items.forEach(function(a){var f,h;A(a.group)?(f=b[a.group],f||(f=m(g[0],d,"optgroup",e),d=f.nextSibling,f.label=a.group,f=b[a.group]={groupElement:f,currentOptionElement:f.firstChild}),h=m(f.groupElement,f.currentOptionElement,"option",c),l(a,h),f.currentOptionElement=h.nextSibling):(h=m(g[0],d,"option",c),l(a,h),d=h.nextSibling)});Object.keys(b).forEach(function(a){n(b[a].currentOptionElement)});n(d);x.$render();if(!x.$isEmpty(a)){var f=u.readValue();(z.trackBy||r?na(a,f):a===f)||(x.$setViewValue(f),
289
+x.$render())}}var u=k[0],x=k[1],r=h.multiple,w;k=0;for(var v=g.children(),y=v.length;k<y;k++)if(""===v[k].value){w=v.eq(k);break}var t=!!w,G=H(c.cloneNode(!1));G.val("?");var C,z=d(h.ngOptions,g,b);r?(x.$isEmpty=function(a){return!a||0===a.length},u.writeValue=function(a){C.items.forEach(function(a){a.element.selected=!1});a&&a.forEach(function(a){(a=C.getOptionFromViewValue(a))&&!a.disabled&&(a.element.selected=!0)})},u.readValue=function(){var a=g.val()||[],b=[];q(a,function(a){(a=C.selectValueMap[a])&&
290
+!a.disabled&&b.push(C.getViewValueFromOption(a))});return b},z.trackBy&&b.$watchCollection(function(){if(M(x.$viewValue))return x.$viewValue.map(function(a){return z.getTrackByValue(a)})},function(){x.$render()})):(u.writeValue=function(a){var b=C.getOptionFromViewValue(a);b&&!b.disabled?(g[0].value!==b.selectValue&&(G.remove(),t||w.remove(),g[0].value=b.selectValue,b.element.selected=!0),b.element.setAttribute("selected","selected")):null===a||t?(G.remove(),t||g.prepend(w),g.val(""),w.prop("selected",
291
+!0),w.attr("selected",!0)):(t||w.remove(),g.prepend(G),g.val("?"),G.prop("selected",!0),G.attr("selected",!0))},u.readValue=function(){var a=C.selectValueMap[g.val()];return a&&!a.disabled?(t||w.remove(),G.remove(),C.getViewValueFromOption(a)):null},z.trackBy&&b.$watch(function(){return z.getTrackByValue(x.$viewValue)},function(){x.$render()}));t?(w.remove(),a(w)(b),w.removeClass("ng-scope")):w=H(c.cloneNode(!1));s();b.$watchCollection(z.getWatchables,s)}}}}],Ge=["$locale","$interpolate","$log",function(a,
292
+b,d){var c=/{}/g,e=/^when(Minus)?(.+)$/;return{link:function(f,g,h){function k(a){g.text(a||"")}var l=h.count,m=h.$attr.when&&g.attr(h.$attr.when),n=h.offset||0,p=f.$eval(m)||{},s={},u=b.startSymbol(),x=b.endSymbol(),r=u+l+"-"+n+x,w=ea.noop,v;q(h,function(a,b){var c=e.exec(b);c&&(c=(c[1]?"-":"")+N(c[2]),p[c]=g.attr(h.$attr[b]))});q(p,function(a,d){s[d]=b(a.replace(c,r))});f.$watch(l,function(b){var c=parseFloat(b),e=isNaN(c);e||c in p||(c=a.pluralCat(c-n));c===v||e&&R(v)&&isNaN(v)||(w(),e=s[c],z(e)?
293
+(null!=b&&d.debug("ngPluralize: no rule defined for '"+c+"' in "+m),w=E,k()):w=f.$watch(e,k),v=c)})}}}],He=["$parse","$animate","$compile",function(a,b,d){var c=O("ngRepeat"),e=function(a,b,c,d,e,m,n){a[c]=d;e&&(a[e]=m);a.$index=b;a.$first=0===b;a.$last=b===n-1;a.$middle=!(a.$first||a.$last);a.$odd=!(a.$even=0===(b&1))};return{restrict:"A",multiElement:!0,transclude:"element",priority:1E3,terminal:!0,$$tlb:!0,compile:function(f,g){var h=g.ngRepeat,k=d.$$createComment("end ngRepeat",h),l=h.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);
294
+if(!l)throw c("iexp",h);var m=l[1],n=l[2],p=l[3],s=l[4],l=m.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/);if(!l)throw c("iidexp",m);var y=l[3]||l[1],x=l[2];if(p&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(p)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(p)))throw c("badident",p);var r,w,v,z,t={$id:Ha};s?r=a(s):(v=function(a,b){return Ha(b)},z=function(a){return a});return function(a,d,f,g,l){r&&(w=function(b,c,d){x&&(t[x]=b);t[y]=c;t.$index=
295
+d;return r(a,t)});var m=V();a.$watchCollection(n,function(f){var g,n,r=d[0],s,t=V(),A,E,H,D,I,F,J;p&&(a[p]=f);if(za(f))I=f,n=w||v;else for(J in n=w||z,I=[],f)va.call(f,J)&&"$"!==J.charAt(0)&&I.push(J);A=I.length;J=Array(A);for(g=0;g<A;g++)if(E=f===I?g:I[g],H=f[E],D=n(E,H,g),m[D])F=m[D],delete m[D],t[D]=F,J[g]=F;else{if(t[D])throw q(J,function(a){a&&a.scope&&(m[a.id]=a)}),c("dupes",h,D,H);J[g]={id:D,scope:u,clone:u};t[D]=!0}for(s in m){F=m[s];D=ub(F.clone);b.leave(D);if(D[0].parentNode)for(g=0,n=D.length;g<
296
+n;g++)D[g].$$NG_REMOVED=!0;F.scope.$destroy()}for(g=0;g<A;g++)if(E=f===I?g:I[g],H=f[E],F=J[g],F.scope){s=r;do s=s.nextSibling;while(s&&s.$$NG_REMOVED);F.clone[0]!=s&&b.move(ub(F.clone),null,r);r=F.clone[F.clone.length-1];e(F.scope,g,y,H,x,E,A)}else l(function(a,c){F.scope=c;var d=k.cloneNode(!1);a[a.length++]=d;b.enter(a,null,r);r=d;F.clone=a;t[F.id]=F;e(F.scope,g,y,H,x,E,A)});m=t})}}}}],Ie=["$animate",function(a){return{restrict:"A",multiElement:!0,link:function(b,d,c){b.$watch(c.ngShow,function(b){a[b?
297
+"removeClass":"addClass"](d,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Be=["$animate",function(a){return{restrict:"A",multiElement:!0,link:function(b,d,c){b.$watch(c.ngHide,function(b){a[b?"addClass":"removeClass"](d,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Je=Na(function(a,b,d){a.$watch(d.ngStyle,function(a,d){d&&a!==d&&q(d,function(a,c){b.css(c,"")});a&&b.css(a)},!0)}),Ke=["$animate","$compile",function(a,b){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],
298
+link:function(d,c,e,f){var g=[],h=[],k=[],l=[],m=function(a,b){return function(){a.splice(b,1)}};d.$watch(e.ngSwitch||e.on,function(c){var d,e;d=0;for(e=k.length;d<e;++d)a.cancel(k[d]);d=k.length=0;for(e=l.length;d<e;++d){var s=ub(h[d].clone);l[d].$destroy();(k[d]=a.leave(s)).then(m(k,d))}h.length=0;l.length=0;(g=f.cases["!"+c]||f.cases["?"])&&q(g,function(c){c.transclude(function(d,e){l.push(e);var f=c.element;d[d.length++]=b.$$createComment("end ngSwitchWhen");h.push({clone:d});a.enter(d,f.parent(),
299
+f)})})})}}}],Le=Na({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(a,b,d,c,e){c.cases["!"+d.ngSwitchWhen]=c.cases["!"+d.ngSwitchWhen]||[];c.cases["!"+d.ngSwitchWhen].push({transclude:e,element:b})}}),Me=Na({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(a,b,d,c,e){c.cases["?"]=c.cases["?"]||[];c.cases["?"].push({transclude:e,element:b})}}),Pg=O("ngTransclude"),Oe=Na({restrict:"EAC",link:function(a,b,d,c,e){d.ngTransclude===
300
+d.$attr.ngTransclude&&(d.ngTransclude="");if(!e)throw Pg("orphan",wa(b));e(function(a){a.length&&(b.empty(),b.append(a))},null,d.ngTransclude||d.ngTranscludeSlot)}}),oe=["$templateCache",function(a){return{restrict:"E",terminal:!0,compile:function(b,d){"text/ng-template"==d.type&&a.put(d.id,b[0].text)}}}],Qg={$setViewValue:E,$render:E},Rg=["$element","$scope",function(a,b){var d=this,c=new Ua;d.ngModelCtrl=Qg;d.unknownOption=H(P.createElement("option"));d.renderUnknownOption=function(b){b="? "+Ha(b)+
301
+" ?";d.unknownOption.val(b);a.prepend(d.unknownOption);a.val(b)};b.$on("$destroy",function(){d.renderUnknownOption=E});d.removeUnknownOption=function(){d.unknownOption.parent()&&d.unknownOption.remove()};d.readValue=function(){d.removeUnknownOption();return a.val()};d.writeValue=function(b){d.hasOption(b)?(d.removeUnknownOption(),a.val(b),""===b&&d.emptyOption.prop("selected",!0)):null==b&&d.emptyOption?(d.removeUnknownOption(),a.val("")):d.renderUnknownOption(b)};d.addOption=function(a,b){if(8!==
302
+b[0].nodeType){Ta(a,'"option value"');""===a&&(d.emptyOption=b);var g=c.get(a)||0;c.put(a,g+1);d.ngModelCtrl.$render();b[0].hasAttribute("selected")&&(b[0].selected=!0)}};d.removeOption=function(a){var b=c.get(a);b&&(1===b?(c.remove(a),""===a&&(d.emptyOption=u)):c.put(a,b-1))};d.hasOption=function(a){return!!c.get(a)};d.registerOption=function(a,b,c,h,k){if(h){var l;c.$observe("value",function(a){A(l)&&d.removeOption(l);l=a;d.addOption(a,b)})}else k?a.$watch(k,function(a,e){c.$set("value",a);e!==
303
+a&&d.removeOption(e);d.addOption(a,b)}):d.addOption(c.value,b);b.on("$destroy",function(){d.removeOption(c.value);d.ngModelCtrl.$render()})}}],pe=function(){return{restrict:"E",require:["select","?ngModel"],controller:Rg,priority:1,link:{pre:function(a,b,d,c){var e=c[1];if(e){var f=c[0];f.ngModelCtrl=e;b.on("change",function(){a.$apply(function(){e.$setViewValue(f.readValue())})});if(d.multiple){f.readValue=function(){var a=[];q(b.find("option"),function(b){b.selected&&a.push(b.value)});return a};
304
+f.writeValue=function(a){var c=new Ua(a);q(b.find("option"),function(a){a.selected=A(c.get(a.value))})};var g,h=NaN;a.$watch(function(){h!==e.$viewValue||na(g,e.$viewValue)||(g=ia(e.$viewValue),e.$render());h=e.$viewValue});e.$isEmpty=function(a){return!a||0===a.length}}}},post:function(a,b,d,c){var e=c[1];if(e){var f=c[0];e.$render=function(){f.writeValue(e.$viewValue)}}}}}},re=["$interpolate",function(a){return{restrict:"E",priority:100,compile:function(b,d){if(A(d.value))var c=a(d.value,!0);else{var e=
305
+a(b.text(),!0);e||d.$set("value",b.text())}return function(a,b,d){var k=b.parent();(k=k.data("$selectController")||k.parent().data("$selectController"))&&k.registerOption(a,b,d,c,e)}}}}],qe=da({restrict:"E",terminal:!1}),Fc=function(){return{restrict:"A",require:"?ngModel",link:function(a,b,d,c){c&&(d.required=!0,c.$validators.required=function(a,b){return!d.required||!c.$isEmpty(b)},d.$observe("required",function(){c.$validate()}))}}},Ec=function(){return{restrict:"A",require:"?ngModel",link:function(a,
306
+b,d,c){if(c){var e,f=d.ngPattern||d.pattern;d.$observe("pattern",function(a){y(a)&&0<a.length&&(a=new RegExp("^"+a+"$"));if(a&&!a.test)throw O("ngPattern")("noregexp",f,a,wa(b));e=a||u;c.$validate()});c.$validators.pattern=function(a,b){return c.$isEmpty(b)||z(e)||e.test(b)}}}}},Hc=function(){return{restrict:"A",require:"?ngModel",link:function(a,b,d,c){if(c){var e=-1;d.$observe("maxlength",function(a){a=Y(a);e=isNaN(a)?-1:a;c.$validate()});c.$validators.maxlength=function(a,b){return 0>e||c.$isEmpty(b)||
307
+b.length<=e}}}}},Gc=function(){return{restrict:"A",require:"?ngModel",link:function(a,b,d,c){if(c){var e=0;d.$observe("minlength",function(a){e=Y(a)||0;c.$validate()});c.$validators.minlength=function(a,b){return c.$isEmpty(b)||b.length>=e}}}}};T.angular.bootstrap?T.console&&console.log("WARNING: Tried to load angular more than once."):(he(),je(ea),ea.module("ngLocale",[],["$provide",function(a){function b(a){a+="";var b=a.indexOf(".");return-1==b?0:a.length-b-1}a.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM",
308
+"PM"],DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:"January February March April May June July August September October November December".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),STANDALONEMONTH:"January February March April May June July August September October November December".split(" "),WEEKENDRANGE:[5,
309
+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:"-\u00a4",negSuf:"",posPre:"\u00a4",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(a,
310
+c){var e=a|0,f=c;u===f&&(f=Math.min(b(a),3));Math.pow(10,f);return 1==e&&0==f?"one":"other"}})}]),H(P).ready(function(){de(P,yc)}))})(window,document);!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>');
311
+//# sourceMappingURL=angular.min.js.map

+ 14399
- 0
lib/ionic/js/ionic-angular.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 18
- 0
lib/ionic/js/ionic-angular.min.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 67582
- 0
lib/ionic/js/ionic.bundle.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 472
- 0
lib/ionic/js/ionic.bundle.min.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 13361
- 0
lib/ionic/js/ionic.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 20
- 0
lib/ionic/js/ionic.min.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 170
- 0
lib/ionic/scss/_action-sheet.scss Voir le fichier

@@ -0,0 +1,170 @@
1
+/**
2
+ * Action Sheets
3
+ * --------------------------------------------------
4
+ */
5
+
6
+.action-sheet-backdrop {
7
+  @include transition(background-color 150ms ease-in-out);
8
+  position: fixed;
9
+  top: 0;
10
+  left: 0;
11
+  z-index: $z-index-action-sheet;
12
+  width: 100%;
13
+  height: 100%;
14
+  background-color: rgba(0,0,0,0);
15
+
16
+  &.active {
17
+    background-color: rgba(0,0,0,0.4);
18
+  }
19
+}
20
+
21
+.action-sheet-wrapper {
22
+  @include translate3d(0, 100%, 0);
23
+  @include transition(all cubic-bezier(.36, .66, .04, 1) 500ms);
24
+  position: absolute;
25
+  bottom: 0;
26
+  left: 0;
27
+  right: 0;
28
+  width: 100%;
29
+  max-width: 500px;
30
+  margin: auto;
31
+}
32
+
33
+.action-sheet-up {
34
+  @include translate3d(0, 0, 0);
35
+}
36
+
37
+.action-sheet {
38
+  margin-left: $sheet-margin;
39
+  margin-right: $sheet-margin;
40
+  width: auto;
41
+  z-index: $z-index-action-sheet;
42
+  overflow: hidden;
43
+
44
+  .button {
45
+    display: block;
46
+    padding: 1px;
47
+    width: 100%;
48
+    border-radius: 0;
49
+    border-color: $sheet-options-border-color;
50
+    background-color: transparent;
51
+
52
+    color: $sheet-options-text-color;
53
+    font-size: 21px;
54
+
55
+    &:hover {
56
+      color: $sheet-options-text-color;
57
+    }
58
+    &.destructive {
59
+      color: #ff3b30;
60
+      &:hover {
61
+        color: #ff3b30;
62
+      }
63
+    }
64
+  }
65
+
66
+  .button.active, .button.activated {
67
+    box-shadow: none;
68
+    border-color: $sheet-options-border-color;
69
+    color: $sheet-options-text-color;
70
+    background: $sheet-options-bg-active-color;
71
+  }
72
+}
73
+
74
+.action-sheet-has-icons .icon {
75
+  position: absolute;
76
+  left: 16px;
77
+}
78
+
79
+.action-sheet-title {
80
+  padding: $sheet-margin * 2;
81
+  color: #8f8f8f;
82
+  text-align: center;
83
+  font-size: 13px;
84
+}
85
+
86
+.action-sheet-group {
87
+  margin-bottom: $sheet-margin;
88
+  border-radius: $sheet-border-radius;
89
+  background-color: #fff;
90
+  overflow: hidden;
91
+
92
+  .button {
93
+    border-width: 1px 0px 0px 0px;
94
+  }
95
+  .button:first-child:last-child {
96
+    border-width: 0;
97
+  }
98
+}
99
+
100
+.action-sheet-options {
101
+  background: $sheet-options-bg-color;
102
+}
103
+
104
+.action-sheet-cancel {
105
+  .button {
106
+    font-weight: 500;
107
+  }
108
+}
109
+
110
+.action-sheet-open {
111
+  pointer-events: none;
112
+
113
+  &.modal-open .modal {
114
+    pointer-events: none;
115
+  }
116
+
117
+  .action-sheet-backdrop {
118
+    pointer-events: auto;
119
+  }
120
+}
121
+
122
+
123
+.platform-android {
124
+
125
+  .action-sheet-backdrop.active {
126
+    background-color: rgba(0,0,0,0.2);
127
+  }
128
+
129
+  .action-sheet {
130
+    margin: 0;
131
+
132
+    .action-sheet-title,
133
+    .button {
134
+      text-align: left;
135
+      border-color: transparent;
136
+      font-size: 16px;
137
+      color: inherit;
138
+    }
139
+
140
+    .action-sheet-title {
141
+      font-size: 14px;
142
+      padding: 16px;
143
+      color: #666;
144
+    }
145
+
146
+    .button.active,
147
+    .button.activated {
148
+      background: #e8e8e8;
149
+    }
150
+  }
151
+
152
+  .action-sheet-group {
153
+    margin: 0;
154
+    border-radius: 0;
155
+    background-color: #fafafa;
156
+  }
157
+
158
+  .action-sheet-cancel {
159
+    display: none;
160
+  }
161
+
162
+  .action-sheet-has-icons {
163
+
164
+    .button {
165
+      padding-left: 56px;
166
+    }
167
+
168
+  }
169
+
170
+}

+ 48
- 0
lib/ionic/scss/_animations.scss Voir le fichier

@@ -0,0 +1,48 @@
1
+
2
+// Slide up from the bottom, used for modals
3
+// -------------------------------
4
+
5
+.slide-in-up {
6
+  @include translate3d(0, 100%, 0);
7
+}
8
+.slide-in-up.ng-enter,
9
+.slide-in-up > .ng-enter {
10
+  @include transition(all cubic-bezier(.1, .7, .1, 1) 400ms);
11
+}
12
+.slide-in-up.ng-enter-active,
13
+.slide-in-up > .ng-enter-active {
14
+  @include translate3d(0, 0, 0);
15
+}
16
+
17
+.slide-in-up.ng-leave,
18
+.slide-in-up > .ng-leave {
19
+  @include transition(all ease-in-out 250ms);
20
+}
21
+
22
+
23
+// Scale Out
24
+// Scale from hero (1 in this case) to zero
25
+// -------------------------------
26
+
27
+@-webkit-keyframes scaleOut {
28
+  from { -webkit-transform: scale(1); opacity: 1; }
29
+  to { -webkit-transform: scale(0.8); opacity: 0; }
30
+}
31
+@keyframes scaleOut {
32
+  from { transform: scale(1); opacity: 1; }
33
+  to { transform: scale(0.8); opacity: 0; }
34
+}
35
+
36
+
37
+// Super Scale In
38
+// Scale from super (1.x) to duper (1 in this case)
39
+// -------------------------------
40
+
41
+@-webkit-keyframes superScaleIn {
42
+  from { -webkit-transform: scale(1.2); opacity: 0; }
43
+  to { -webkit-transform: scale(1); opacity: 1 }
44
+}
45
+@keyframes superScaleIn {
46
+  from { transform: scale(1.2); opacity: 0; }
47
+  to { transform: scale(1); opacity: 1; }
48
+}

+ 24
- 0
lib/ionic/scss/_backdrop.scss Voir le fichier

@@ -0,0 +1,24 @@
1
+
2
+.backdrop {
3
+  position: fixed;
4
+  top: 0;
5
+  left: 0;
6
+  z-index: $z-index-backdrop;
7
+
8
+  width: 100%;
9
+  height: 100%;
10
+
11
+  background-color: $loading-backdrop-bg-color;
12
+
13
+  visibility: hidden;
14
+  opacity: 0;
15
+
16
+  &.visible {
17
+    visibility: visible;
18
+  }
19
+  &.active {
20
+    opacity: 1;
21
+  }
22
+
23
+  @include transition($loading-backdrop-fadein-duration opacity linear);
24
+}

+ 62
- 0
lib/ionic/scss/_badge.scss Voir le fichier

@@ -0,0 +1,62 @@
1
+
2
+/**
3
+ * Badges
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.badge {
8
+  @include badge-style($badge-default-bg, $badge-default-text);
9
+  z-index: $z-index-badge;
10
+  display: inline-block;
11
+  padding: 3px 8px;
12
+  min-width: 10px;
13
+  border-radius: $badge-border-radius;
14
+  vertical-align: baseline;
15
+  text-align: center;
16
+  white-space: nowrap;
17
+  font-weight: $badge-font-weight;
18
+  font-size: $badge-font-size;
19
+  line-height: $badge-line-height;
20
+
21
+  &:empty {
22
+    display: none;
23
+  }
24
+}
25
+
26
+//Be sure to override specificity of rule that 'badge color matches tab color by default'
27
+.tabs .tab-item .badge,
28
+.badge {
29
+  &.badge-light {
30
+    @include badge-style($badge-light-bg, $badge-light-text);
31
+  }
32
+  &.badge-stable {
33
+    @include badge-style($badge-stable-bg, $badge-stable-text);
34
+  }
35
+  &.badge-positive {
36
+    @include badge-style($badge-positive-bg, $badge-positive-text);
37
+  }
38
+  &.badge-calm {
39
+    @include badge-style($badge-calm-bg, $badge-calm-text);
40
+  }
41
+  &.badge-assertive {
42
+    @include badge-style($badge-assertive-bg, $badge-assertive-text);
43
+  }
44
+  &.badge-balanced {
45
+    @include badge-style($badge-balanced-bg, $badge-balanced-text);
46
+  }
47
+  &.badge-energized {
48
+    @include badge-style($badge-energized-bg, $badge-energized-text);
49
+  }
50
+  &.badge-royal {
51
+    @include badge-style($badge-royal-bg, $badge-royal-text);
52
+  }
53
+  &.badge-dark {
54
+    @include badge-style($badge-dark-bg, $badge-dark-text);
55
+  }
56
+}
57
+
58
+// Quick fix for labels/badges in buttons
59
+.button .badge {
60
+  position: relative;
61
+  top: -1px;
62
+}

+ 417
- 0
lib/ionic/scss/_bar.scss Voir le fichier

@@ -0,0 +1,417 @@
1
+
2
+/**
3
+ * Bar (Headers and Footers)
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.bar {
8
+  @include display-flex();
9
+  @include translate3d(0,0,0);
10
+  @include user-select(none);
11
+  position: absolute;
12
+  right: 0;
13
+  left: 0;
14
+  z-index: $z-index-bar;
15
+
16
+  @include box-sizing(border-box);
17
+  padding: $bar-padding-portrait;
18
+
19
+  width: 100%;
20
+  height: $bar-height;
21
+  border-width: 0;
22
+  border-style: solid;
23
+  border-top: 1px solid transparent;
24
+  border-bottom: 1px solid $bar-default-border;
25
+
26
+  background-color: $bar-default-bg;
27
+
28
+  /* border-width: 1px will actually create 2 device pixels on retina */
29
+  /* this nifty trick sets an actual 1px border on hi-res displays */
30
+  background-size: 0;
31
+  @media (min--moz-device-pixel-ratio: 1.5),
32
+         (-webkit-min-device-pixel-ratio: 1.5),
33
+         (min-device-pixel-ratio: 1.5),
34
+         (min-resolution: 144dpi),
35
+         (min-resolution: 1.5dppx) {
36
+    border: none;
37
+    background-image: linear-gradient(0deg, $bar-default-border, $bar-default-border 50%, transparent 50%);
38
+    background-position: bottom;
39
+    background-size: 100% 1px;
40
+    background-repeat: no-repeat;
41
+  }
42
+
43
+  &.bar-clear {
44
+    border: none;
45
+    background: none;
46
+    color: #fff;
47
+
48
+    .button {
49
+      color: #fff;
50
+    }
51
+    .title {
52
+      color: #fff;
53
+    }
54
+  }
55
+
56
+  &.item-input-inset {
57
+    .item-input-wrapper {
58
+      margin-top: -1px;
59
+
60
+      input {
61
+        padding-left: 8px;
62
+        width: 94%;
63
+        height: 28px;
64
+        background: transparent;
65
+      }
66
+    }
67
+  }
68
+
69
+  &.bar-light {
70
+    @include bar-style($bar-light-bg, $bar-light-border, $bar-light-text);
71
+    &.bar-footer{
72
+      background-image: linear-gradient(180deg, $bar-light-border, $bar-light-border 50%, transparent 50%);
73
+    }
74
+  }
75
+  &.bar-stable {
76
+    @include bar-style($bar-stable-bg, $bar-stable-border, $bar-stable-text);
77
+    &.bar-footer{
78
+      background-image: linear-gradient(180deg, $bar-stable-border, $bar-stable-border 50%, transparent 50%);
79
+    }
80
+  }
81
+  &.bar-positive {
82
+    @include bar-style($bar-positive-bg, $bar-positive-border, $bar-positive-text);
83
+    &.bar-footer{
84
+      background-image: linear-gradient(180deg, $bar-positive-border, $bar-positive-border 50%, transparent 50%);
85
+    }
86
+  }
87
+  &.bar-calm {
88
+    @include bar-style($bar-calm-bg, $bar-calm-border, $bar-calm-text);
89
+    &.bar-footer{
90
+      background-image: linear-gradient(180deg, $bar-calm-border, $bar-calm-border 50%, transparent 50%);
91
+    }
92
+  }
93
+  &.bar-assertive {
94
+    @include bar-style($bar-assertive-bg, $bar-assertive-border, $bar-assertive-text);
95
+    &.bar-footer{
96
+      background-image: linear-gradient(180deg, $bar-assertive-border, $bar-assertive-border 50%, transparent 50%);
97
+    }
98
+  }
99
+  &.bar-balanced {
100
+    @include bar-style($bar-balanced-bg, $bar-balanced-border, $bar-balanced-text);
101
+    &.bar-footer{
102
+      background-image: linear-gradient(180deg, $bar-balanced-border, $bar-balanced-border 50%, transparent 50%);
103
+    }
104
+  }
105
+  &.bar-energized {
106
+    @include bar-style($bar-energized-bg, $bar-energized-border, $bar-energized-text);
107
+    &.bar-footer{
108
+      background-image: linear-gradient(180deg, $bar-energized-border, $bar-energized-border 50%, transparent 50%);
109
+    }
110
+  }
111
+  &.bar-royal {
112
+    @include bar-style($bar-royal-bg, $bar-royal-border, $bar-royal-text);
113
+    &.bar-footer{
114
+      background-image: linear-gradient(180deg, $bar-royal-border, $bar-royal-border 50%, transparent 50%);
115
+    }
116
+  }
117
+  &.bar-dark {
118
+    @include bar-style($bar-dark-bg, $bar-dark-border, $bar-dark-text);
119
+    &.bar-footer{
120
+      background-image: linear-gradient(180deg, $bar-dark-border, $bar-dark-border 50%, transparent 50%);
121
+    }
122
+  }
123
+
124
+  // Title inside of a bar is centered
125
+  .title {
126
+    display: block;
127
+    position: absolute;
128
+
129
+    top: 0;
130
+    right: 0;
131
+    left: 0;
132
+    z-index: $z-index-bar-title;
133
+    overflow: hidden;
134
+
135
+    margin: 0 10px;
136
+
137
+    min-width: 30px;
138
+    height: $bar-height - 1;
139
+
140
+    text-align: center;
141
+
142
+    // Go into ellipsis if too small
143
+    text-overflow: ellipsis;
144
+    white-space: nowrap;
145
+
146
+    font-size: $bar-title-font-size;
147
+    font-weight: $headings-font-weight;
148
+
149
+    line-height: $bar-height;
150
+
151
+    &.title-left {
152
+      text-align: left;
153
+    }
154
+    &.title-right {
155
+      text-align: right;
156
+    }
157
+  }
158
+
159
+  .title a {
160
+    color: inherit;
161
+  }
162
+
163
+  .button, button {
164
+    z-index: $z-index-bar-button;
165
+    padding: 0 $button-bar-button-padding;
166
+    min-width: initial;
167
+    min-height: $button-bar-button-height - 1;
168
+    font-weight: 400;
169
+    font-size: $button-bar-button-font-size;
170
+    line-height: $button-bar-button-height;
171
+
172
+    &.button-icon:before,
173
+    .icon:before,
174
+    &.icon:before,
175
+    &.icon-left:before,
176
+    &.icon-right:before {
177
+      padding-right: 2px;
178
+      padding-left: 2px;
179
+      font-size: $button-bar-button-icon-size;
180
+      line-height: $button-bar-button-height;
181
+    }
182
+
183
+    &.button-icon {
184
+      font-size: $bar-title-font-size;
185
+      .icon:before,
186
+      &:before,
187
+      &.icon-left:before,
188
+      &.icon-right:before {
189
+        vertical-align: top;
190
+        font-size: $button-large-icon-size;
191
+        line-height: $button-bar-button-height;
192
+      }
193
+    }
194
+    &.button-clear {
195
+      padding-right: 2px;
196
+      padding-left: 2px;
197
+      font-weight: 300;
198
+      font-size: $bar-title-font-size;
199
+
200
+      .icon:before,
201
+      &.icon:before,
202
+      &.icon-left:before,
203
+      &.icon-right:before {
204
+        font-size: $button-large-icon-size;
205
+        line-height: $button-bar-button-height;
206
+      }
207
+    }
208
+
209
+    &.back-button {
210
+      display: block;
211
+      margin-right: 5px;
212
+      padding: 0;
213
+      white-space: nowrap;
214
+      font-weight: 400;
215
+    }
216
+
217
+    &.back-button.active,
218
+    &.back-button.activated {
219
+      opacity: 0.2;
220
+    }
221
+  }
222
+
223
+  .button-bar > .button,
224
+  .buttons > .button {
225
+    min-height: $button-bar-button-height - 1;
226
+    line-height: $button-bar-button-height;
227
+  }
228
+
229
+  .button-bar + .button,
230
+  .button + .button-bar {
231
+    margin-left: 5px;
232
+  }
233
+
234
+  // Android 4.4 messes with the display property
235
+  .buttons,
236
+  .buttons.primary-buttons,
237
+  .buttons.secondary-buttons {
238
+    display: inherit;
239
+  }
240
+  .buttons span {
241
+    display: inline-block;
242
+  }
243
+  .buttons-left span {
244
+    margin-right: 5px;
245
+    display: inherit;
246
+  }
247
+  .buttons-right span {
248
+    margin-left: 5px;
249
+    display: inherit;
250
+  }
251
+
252
+  // Place the last button in a bar on the right of the bar
253
+  .title + .button:last-child,
254
+  > .button + .button:last-child,
255
+  > .button.pull-right,
256
+  .buttons.pull-right,
257
+  .title + .buttons {
258
+    position: absolute;
259
+    top: 5px;
260
+    right: 5px;
261
+    bottom: 5px;
262
+  }
263
+
264
+}
265
+
266
+.platform-android {
267
+
268
+  .nav-bar-has-subheader .bar {
269
+    background-image: none;
270
+  }
271
+
272
+  .bar {
273
+
274
+    .back-button .icon:before {
275
+      font-size: 24px;
276
+    }
277
+
278
+    .title {
279
+      font-size: 19px;
280
+      line-height: $bar-height;
281
+    }
282
+  }
283
+
284
+}
285
+
286
+// Default styles for buttons inside of styled bars
287
+.bar-light {
288
+  .button {
289
+    @include button-style($bar-light-bg, $bar-light-border, $bar-light-active-bg, $bar-light-active-border, $bar-light-text);
290
+    @include button-clear($bar-light-text, $bar-title-font-size);
291
+  }
292
+}
293
+.bar-stable {
294
+  .button {
295
+    @include button-style($bar-stable-bg, $bar-stable-border, $bar-stable-active-bg, $bar-stable-active-border, $bar-stable-text);
296
+    @include button-clear($bar-stable-text, $bar-title-font-size);
297
+  }
298
+}
299
+.bar-positive {
300
+  .button {
301
+    @include button-style($bar-positive-bg, $bar-positive-border, $bar-positive-active-bg, $bar-positive-active-border, $bar-positive-text);
302
+    @include button-clear(#fff, $bar-title-font-size);
303
+  }
304
+}
305
+.bar-calm {
306
+  .button {
307
+    @include button-style($bar-calm-bg, $bar-calm-border, $bar-calm-active-bg, $bar-calm-active-border, $bar-calm-text);
308
+    @include button-clear(#fff, $bar-title-font-size);
309
+  }
310
+}
311
+.bar-assertive {
312
+  .button {
313
+    @include button-style($bar-assertive-bg, $bar-assertive-border, $bar-assertive-active-bg, $bar-assertive-active-border, $bar-assertive-text);
314
+    @include button-clear(#fff, $bar-title-font-size);
315
+  }
316
+}
317
+.bar-balanced {
318
+  .button {
319
+    @include button-style($bar-balanced-bg, $bar-balanced-border, $bar-balanced-active-bg, $bar-balanced-active-border, $bar-balanced-text);
320
+    @include button-clear(#fff, $bar-title-font-size);
321
+  }
322
+}
323
+.bar-energized {
324
+  .button {
325
+    @include button-style($bar-energized-bg, $bar-energized-border, $bar-energized-active-bg, $bar-energized-active-border, $bar-energized-text);
326
+    @include button-clear(#fff, $bar-title-font-size);
327
+  }
328
+}
329
+.bar-royal {
330
+  .button {
331
+    @include button-style($bar-royal-bg, $bar-royal-border, $bar-royal-active-bg, $bar-royal-active-border, $bar-royal-text);
332
+    @include button-clear(#fff, $bar-title-font-size);
333
+  }
334
+}
335
+.bar-dark {
336
+  .button {
337
+    @include button-style($bar-dark-bg, $bar-dark-border, $bar-dark-active-bg, $bar-dark-active-border, $bar-dark-text);
338
+    @include button-clear(#fff, $bar-title-font-size);
339
+  }
340
+}
341
+
342
+// Header at top
343
+.bar-header {
344
+  top: 0;
345
+  border-top-width: 0;
346
+  border-bottom-width: 1px;
347
+  &.has-tabs-top{
348
+    border-bottom-width: 0px;
349
+    background-image: none;
350
+  }
351
+}
352
+.tabs-top .bar-header{
353
+  border-bottom-width: 0px;
354
+  background-image: none;
355
+}
356
+
357
+// Footer at bottom
358
+.bar-footer {
359
+  bottom: 0;
360
+  border-top-width: 1px;
361
+  border-bottom-width: 0;
362
+  background-position: top;
363
+
364
+  height: $bar-footer-height;
365
+
366
+  &.item-input-inset {
367
+    position: absolute;
368
+  }
369
+
370
+  .title {
371
+    height: $bar-footer-height - 1;
372
+    line-height: $bar-footer-height;
373
+  }
374
+}
375
+
376
+// Don't render padding if the bar is just for tabs
377
+.bar-tabs {
378
+  padding: 0;
379
+}
380
+
381
+.bar-subheader {
382
+  top: $bar-height;
383
+
384
+  height: $bar-subheader-height;
385
+
386
+  .title {
387
+    height: $bar-subheader-height - 1;
388
+    line-height: $bar-subheader-height;
389
+  }
390
+}
391
+.bar-subfooter {
392
+  bottom: $bar-footer-height;
393
+
394
+  height: $bar-subfooter-height;
395
+
396
+  .title {
397
+    height: $bar-subfooter-height - 1;
398
+    line-height: $bar-subfooter-height;
399
+  }
400
+}
401
+
402
+.nav-bar-block {
403
+  position: absolute;
404
+  top: 0;
405
+  right: 0;
406
+  left: 0;
407
+  z-index: $z-index-bar;
408
+}
409
+
410
+.bar .back-button.hide,
411
+.bar .buttons .hide {
412
+  display: none;
413
+}
414
+
415
+.nav-bar-tabs-top .bar {
416
+  background-image: none;
417
+}

+ 92
- 0
lib/ionic/scss/_button-bar.scss Voir le fichier

@@ -0,0 +1,92 @@
1
+
2
+/**
3
+ * Button Bar
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.button-bar {
8
+  @include display-flex();
9
+  @include flex(1);
10
+  width: 100%;
11
+
12
+  &.button-bar-inline {
13
+    display: block;
14
+    width: auto;
15
+
16
+    @include clearfix();
17
+
18
+    > .button {
19
+      width: auto;
20
+      display: inline-block;
21
+      float: left;
22
+    }
23
+  }
24
+
25
+  &.bar-light > .button {
26
+    border-color: $button-light-border;
27
+  }
28
+  &.bar-stable > .button {
29
+    border-color: $button-stable-border;
30
+  }
31
+  &.bar-positive > .button {
32
+    border-color: $button-positive-border;
33
+  }
34
+  &.bar-calm > .button {
35
+    border-color: $button-calm-border;
36
+  }
37
+  &.bar-assertive > .button {
38
+    border-color: $button-assertive-border;
39
+  }
40
+  &.bar-balanced > .button {
41
+    border-color: $button-balanced-border;
42
+  }
43
+  &.bar-energized > .button {
44
+    border-color: $button-energized-border;
45
+  }
46
+  &.bar-royal > .button {
47
+    border-color: $button-royal-border;
48
+  }
49
+  &.bar-dark > .button {
50
+    border-color: $button-dark-border;
51
+  }
52
+}
53
+
54
+.button-bar > .button {
55
+  @include flex(1);
56
+  display: block;
57
+
58
+  overflow: hidden;
59
+
60
+  padding: 0 16px;
61
+
62
+  width: 0;
63
+
64
+  border-width: 1px 0px 1px 1px;
65
+  border-radius: 0;
66
+  text-align: center;
67
+  text-overflow: ellipsis;
68
+  white-space: nowrap;
69
+
70
+  &:before,
71
+  .icon:before {
72
+    line-height: 44px;
73
+  }
74
+
75
+  &:first-child {
76
+    border-radius: $button-border-radius 0px 0px $button-border-radius;
77
+  }
78
+  &:last-child {
79
+    border-right-width: 1px;
80
+    border-radius: 0px $button-border-radius $button-border-radius 0px;
81
+  }
82
+  &:only-child {
83
+    border-radius: $button-border-radius;
84
+  }
85
+}
86
+
87
+.button-bar > .button-small {
88
+  &:before,
89
+  .icon:before {
90
+    line-height: 28px;
91
+  }
92
+}

+ 252
- 0
lib/ionic/scss/_button.scss Voir le fichier

@@ -0,0 +1,252 @@
1
+
2
+/**
3
+ * Buttons
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.button {
8
+  // set the color defaults
9
+  @include button-style($button-default-bg, $button-default-border, $button-default-active-bg, $button-default-active-border, $button-default-text);
10
+
11
+  position: relative;
12
+  display: inline-block;
13
+  margin: 0;
14
+  padding: 0 $button-padding;
15
+
16
+  min-width: ($button-padding * 3) + $button-font-size;
17
+  min-height: $button-height + 5px;
18
+
19
+  border-width: $button-border-width;
20
+  border-style: solid;
21
+  border-radius: $button-border-radius;
22
+
23
+  vertical-align: top;
24
+  text-align: center;
25
+
26
+  text-overflow: ellipsis;
27
+  font-size: $button-font-size;
28
+  line-height: $button-height - $button-border-width + 1px;
29
+
30
+  cursor: pointer;
31
+
32
+  &:after {
33
+    // used to create a larger button "hit" area
34
+    position: absolute;
35
+    top: -6px;
36
+    right: -6px;
37
+    bottom: -6px;
38
+    left: -6px;
39
+    content: ' ';
40
+  }
41
+
42
+  .icon {
43
+    vertical-align: top;
44
+    pointer-events: none;
45
+  }
46
+
47
+  .icon:before,
48
+  &.icon:before,
49
+  &.icon-left:before,
50
+  &.icon-right:before {
51
+    display: inline-block;
52
+    padding: 0 0 $button-border-width 0;
53
+    vertical-align: inherit;
54
+    font-size: $button-icon-size;
55
+    line-height: $button-height - $button-border-width;
56
+    pointer-events: none;
57
+  }
58
+  &.icon-left:before {
59
+    float: left;
60
+    padding-right: .2em;
61
+    padding-left: 0;
62
+  }
63
+  &.icon-right:before {
64
+    float: right;
65
+    padding-right: 0;
66
+    padding-left: .2em;
67
+  }
68
+
69
+  &.button-block, &.button-full {
70
+    margin-top: $button-block-margin;
71
+    margin-bottom: $button-block-margin;
72
+  }
73
+
74
+  &.button-light {
75
+    @include button-style($button-light-bg, $button-default-border, $button-light-active-bg, $button-default-active-border, $button-light-text);
76
+    @include button-clear($button-light-border);
77
+    @include button-outline($button-light-border);
78
+  }
79
+
80
+  &.button-stable {
81
+    @include button-style($button-stable-bg, $button-default-border, $button-stable-active-bg, $button-default-active-border, $button-stable-text);
82
+    @include button-clear($button-stable-border);
83
+    @include button-outline($button-stable-border);
84
+  }
85
+
86
+  &.button-positive {
87
+    @include button-style($button-positive-bg, $button-default-border, $button-positive-active-bg, $button-default-active-border, $button-positive-text);
88
+    @include button-clear($button-positive-bg);
89
+    @include button-outline($button-positive-bg);
90
+  }
91
+
92
+  &.button-calm {
93
+    @include button-style($button-calm-bg, $button-default-border, $button-calm-active-bg, $button-default-active-border, $button-calm-text);
94
+    @include button-clear($button-calm-bg);
95
+    @include button-outline($button-calm-bg);
96
+  }
97
+
98
+  &.button-assertive {
99
+    @include button-style($button-assertive-bg, $button-default-border, $button-assertive-active-bg, $button-default-active-border, $button-assertive-text);
100
+    @include button-clear($button-assertive-bg);
101
+    @include button-outline($button-assertive-bg);
102
+  }
103
+
104
+  &.button-balanced {
105
+    @include button-style($button-balanced-bg, $button-default-border, $button-balanced-active-bg, $button-default-active-border, $button-balanced-text);
106
+    @include button-clear($button-balanced-bg);
107
+    @include button-outline($button-balanced-bg);
108
+  }
109
+
110
+  &.button-energized {
111
+    @include button-style($button-energized-bg, $button-default-border, $button-energized-active-bg, $button-default-active-border, $button-energized-text);
112
+    @include button-clear($button-energized-bg);
113
+    @include button-outline($button-energized-bg);
114
+  }
115
+
116
+  &.button-royal {
117
+    @include button-style($button-royal-bg, $button-default-border, $button-royal-active-bg, $button-default-active-border, $button-royal-text);
118
+    @include button-clear($button-royal-bg);
119
+    @include button-outline($button-royal-bg);
120
+  }
121
+
122
+  &.button-dark {
123
+    @include button-style($button-dark-bg, $button-default-border, $button-dark-active-bg, $button-default-active-border, $button-dark-text);
124
+    @include button-clear($button-dark-bg);
125
+    @include button-outline($button-dark-bg);
126
+  }
127
+}
128
+
129
+.button-small {
130
+  padding: 2px $button-small-padding 1px;
131
+  min-width: $button-small-height;
132
+  min-height: $button-small-height + 2;
133
+  font-size: $button-small-font-size;
134
+  line-height: $button-small-height - $button-border-width - 1;
135
+
136
+  .icon:before,
137
+  &.icon:before,
138
+  &.icon-left:before,
139
+  &.icon-right:before {
140
+    font-size: $button-small-icon-size;
141
+    line-height: $button-small-icon-size + 3;
142
+    margin-top: 3px;
143
+  }
144
+}
145
+
146
+.button-large {
147
+  padding: 0 $button-large-padding;
148
+  min-width: ($button-large-padding * 3) + $button-large-font-size;
149
+  min-height: $button-large-height + 5;
150
+  font-size: $button-large-font-size;
151
+  line-height: $button-large-height - $button-border-width;
152
+
153
+  .icon:before,
154
+  &.icon:before,
155
+  &.icon-left:before,
156
+  &.icon-right:before {
157
+    padding-bottom: ($button-border-width * 2);
158
+    font-size: $button-large-icon-size;
159
+    line-height: $button-large-height - ($button-border-width * 2) - 1;
160
+  }
161
+}
162
+
163
+.button-icon {
164
+  @include transition(opacity .1s);
165
+  padding: 0 6px;
166
+  min-width: initial;
167
+  border-color: transparent;
168
+  background: none;
169
+
170
+  &.button.active,
171
+  &.button.activated {
172
+    border-color: transparent;
173
+    background: none;
174
+    box-shadow: none;
175
+    opacity: 0.3;
176
+  }
177
+
178
+  .icon:before,
179
+  &.icon:before {
180
+    font-size: $button-large-icon-size;
181
+  }
182
+}
183
+
184
+.button-clear {
185
+  @include button-clear($button-default-border);
186
+  @include transition(opacity .1s);
187
+  padding: 0 $button-clear-padding;
188
+  max-height: $button-height;
189
+  border-color: transparent;
190
+  background: none;
191
+  box-shadow: none;
192
+
193
+  &.active,
194
+  &.activated {
195
+    opacity: 0.3;
196
+  }
197
+}
198
+
199
+.button-outline {
200
+  @include button-outline($button-default-border);
201
+  @include transition(opacity .1s);
202
+  background: none;
203
+  box-shadow: none;
204
+}
205
+
206
+.padding > .button.button-block:first-child {
207
+  margin-top: 0;
208
+}
209
+
210
+.button-block {
211
+  display: block;
212
+  clear: both;
213
+
214
+  &:after {
215
+    clear: both;
216
+  }
217
+}
218
+
219
+.button-full,
220
+.button-full > .button {
221
+  display: block;
222
+  margin-right: 0;
223
+  margin-left: 0;
224
+  border-right-width: 0;
225
+  border-left-width: 0;
226
+  border-radius: 0;
227
+}
228
+
229
+button.button-block,
230
+button.button-full,
231
+.button-full > button.button,
232
+input.button.button-block  {
233
+  width: 100%;
234
+}
235
+
236
+a.button {
237
+  text-decoration: none;
238
+
239
+  .icon:before,
240
+  &.icon:before,
241
+  &.icon-left:before,
242
+  &.icon-right:before {
243
+    margin-top: 2px;
244
+  }
245
+}
246
+
247
+.button.disabled,
248
+.button[disabled] {
249
+  opacity: .4;
250
+  cursor: default !important;
251
+  pointer-events: none;
252
+}

+ 180
- 0
lib/ionic/scss/_checkbox.scss Voir le fichier

@@ -0,0 +1,180 @@
1
+
2
+/**
3
+ * Checkbox
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.checkbox {
8
+  // set the color defaults
9
+  @include checkbox-style($checkbox-off-border-default, $checkbox-on-bg-default, $checkbox-on-border-default);
10
+
11
+  position: relative;
12
+  display: inline-block;
13
+  padding: ($checkbox-height / 4) ($checkbox-width / 4);
14
+  cursor: pointer;
15
+}
16
+.checkbox-light  {
17
+  @include checkbox-style($checkbox-off-border-light, $checkbox-on-bg-light, $checkbox-off-border-light);
18
+}
19
+.checkbox-stable  {
20
+  @include checkbox-style($checkbox-off-border-stable, $checkbox-on-bg-stable, $checkbox-off-border-stable);
21
+}
22
+.checkbox-positive  {
23
+  @include checkbox-style($checkbox-off-border-positive, $checkbox-on-bg-positive, $checkbox-off-border-positive);
24
+}
25
+.checkbox-calm  {
26
+  @include checkbox-style($checkbox-off-border-calm, $checkbox-on-bg-calm, $checkbox-off-border-calm);
27
+}
28
+.checkbox-assertive  {
29
+  @include checkbox-style($checkbox-off-border-assertive, $checkbox-on-bg-assertive, $checkbox-off-border-assertive);
30
+}
31
+.checkbox-balanced  {
32
+  @include checkbox-style($checkbox-off-border-balanced, $checkbox-on-bg-balanced, $checkbox-off-border-balanced);
33
+}
34
+.checkbox-energized{
35
+  @include checkbox-style($checkbox-off-border-energized, $checkbox-on-bg-energized, $checkbox-off-border-energized);
36
+}
37
+.checkbox-royal  {
38
+  @include checkbox-style($checkbox-off-border-royal, $checkbox-on-bg-royal, $checkbox-off-border-royal);
39
+}
40
+.checkbox-dark  {
41
+  @include checkbox-style($checkbox-off-border-dark, $checkbox-on-bg-dark, $checkbox-off-border-dark);
42
+}
43
+
44
+.checkbox input:disabled:before,
45
+.checkbox input:disabled + .checkbox-icon:before {
46
+  border-color: $checkbox-off-border-light;
47
+}
48
+
49
+.checkbox input:disabled:checked:before,
50
+.checkbox input:disabled:checked + .checkbox-icon:before {
51
+  background: $checkbox-on-bg-light;
52
+}
53
+
54
+
55
+.checkbox.checkbox-input-hidden input {
56
+  display: none !important;
57
+}
58
+
59
+.checkbox input,
60
+.checkbox-icon {
61
+  position: relative;
62
+  width: $checkbox-width;
63
+  height: $checkbox-height;
64
+  display: block;
65
+  border: 0;
66
+  background: transparent;
67
+  cursor: pointer;
68
+  -webkit-appearance: none;
69
+
70
+  &:before {
71
+    // what the checkbox looks like when its not checked
72
+    display: table;
73
+    width: 100%;
74
+    height: 100%;
75
+    border-width: $checkbox-border-width;
76
+    border-style: solid;
77
+    border-radius: $checkbox-border-radius;
78
+    background: $checkbox-off-bg-color;
79
+    content: ' ';
80
+    @include transition(background-color 20ms ease-in-out);
81
+  }
82
+}
83
+
84
+.checkbox input:checked:before,
85
+input:checked + .checkbox-icon:before {
86
+  border-width: $checkbox-border-width + 1;
87
+}
88
+
89
+// the checkmark within the box
90
+.checkbox input:after,
91
+.checkbox-icon:after {
92
+  @include transition(opacity .05s ease-in-out);
93
+  @include rotate(-45deg);
94
+  position: absolute;
95
+  top: 33%;
96
+  left: 25%;
97
+  display: table;
98
+  width: ($checkbox-width / 2);
99
+  height: ($checkbox-width / 4) - 1;
100
+  border: $checkbox-check-width solid $checkbox-check-color;
101
+  border-top: 0;
102
+  border-right: 0;
103
+  content: ' ';
104
+  opacity: 0;
105
+}
106
+
107
+.platform-android .checkbox-platform input:before,
108
+.platform-android .checkbox-platform .checkbox-icon:before,
109
+.checkbox-square input:before,
110
+.checkbox-square .checkbox-icon:before {
111
+  border-radius: 2px;
112
+  width: 72%;
113
+  height: 72%;
114
+  margin-top: 14%;
115
+  margin-left: 14%;
116
+  border-width: 2px;
117
+}
118
+
119
+.platform-android .checkbox-platform input:after,
120
+.platform-android .checkbox-platform .checkbox-icon:after,
121
+.checkbox-square input:after,
122
+.checkbox-square .checkbox-icon:after {
123
+  border-width: 2px;
124
+  top: 19%;
125
+  left: 25%;
126
+  width: ($checkbox-width / 2) - 1;
127
+  height: 7px;
128
+}
129
+
130
+.platform-android .item-checkbox-right .checkbox-square .checkbox-icon::after {
131
+  top: 31%;
132
+}
133
+
134
+.grade-c .checkbox input:after,
135
+.grade-c .checkbox-icon:after {
136
+  @include rotate(0);
137
+  top: 3px;
138
+  left: 4px;
139
+  border: none;
140
+  color: $checkbox-check-color;
141
+  content: '\2713';
142
+  font-weight: bold;
143
+  font-size: 20px;
144
+}
145
+
146
+// what the checkmark looks like when its checked
147
+.checkbox input:checked:after,
148
+input:checked + .checkbox-icon:after {
149
+  opacity: 1;
150
+}
151
+
152
+// make sure item content have enough padding on left to fit the checkbox
153
+.item-checkbox {
154
+  padding-left: ($item-padding * 2) + $checkbox-width;
155
+
156
+  &.active {
157
+    box-shadow: none;
158
+  }
159
+}
160
+
161
+// position the checkbox to the left within an item
162
+.item-checkbox .checkbox {
163
+  position: absolute;
164
+  top: 50%;
165
+  right: $item-padding / 2;
166
+  left: $item-padding / 2;
167
+  z-index: $z-index-item-checkbox;
168
+  margin-top: (($checkbox-height + ($checkbox-height / 2)) / 2) * -1;
169
+}
170
+
171
+
172
+.item-checkbox.item-checkbox-right {
173
+  padding-right: ($item-padding * 2) + $checkbox-width;
174
+  padding-left: $item-padding;
175
+}
176
+
177
+.item-checkbox-right .checkbox input,
178
+.item-checkbox-right .checkbox-icon {
179
+  float: right;
180
+}

+ 327
- 0
lib/ionic/scss/_form.scss Voir le fichier

@@ -0,0 +1,327 @@
1
+/**
2
+ * Forms
3
+ * --------------------------------------------------
4
+ */
5
+
6
+// Make all forms have space below them
7
+form {
8
+  margin: 0 0 $line-height-base;
9
+}
10
+
11
+// Groups of fields with labels on top (legends)
12
+legend {
13
+  display: block;
14
+  margin-bottom: $line-height-base;
15
+  padding: 0;
16
+  width: 100%;
17
+  border: $input-border-width solid $input-border;
18
+  color: $dark;
19
+  font-size: $font-size-base * 1.5;
20
+  line-height: $line-height-base * 2;
21
+
22
+  small {
23
+    color: $stable;
24
+    font-size: $line-height-base * .75;
25
+  }
26
+}
27
+
28
+// Set font for forms
29
+label,
30
+input,
31
+button,
32
+select,
33
+textarea {
34
+  @include font-shorthand($font-size-base, normal, $line-height-base); // Set size, weight, line-height here
35
+}
36
+input,
37
+button,
38
+select,
39
+textarea {
40
+  font-family: $font-family-base; // And only set font-family here for those that need it (note the missing label element)
41
+}
42
+
43
+
44
+// Input List
45
+// -------------------------------
46
+
47
+.item-input {
48
+  @include display-flex();
49
+  @include align-items(center);
50
+  position: relative;
51
+  overflow: hidden;
52
+  padding: 6px 0 5px 16px;
53
+
54
+  input {
55
+    @include border-radius(0);
56
+    @include flex(1, 220px);
57
+    @include appearance(none);
58
+    margin: 0;
59
+    padding-right: 24px;
60
+    background-color: transparent;
61
+  }
62
+
63
+  .button .icon {
64
+    @include flex(0, 0, 24px);
65
+    position: static;
66
+    display: inline-block;
67
+    height: auto;
68
+    text-align: center;
69
+    font-size: 16px;
70
+  }
71
+
72
+  .button-bar {
73
+    @include border-radius(0);
74
+    @include flex(1, 0, 220px);
75
+    @include appearance(none);
76
+  }
77
+
78
+  .icon {
79
+    min-width: 14px;
80
+  }
81
+}
82
+// prevent flex-shrink on WP
83
+.platform-windowsphone .item-input input{
84
+  flex-shrink: 1;
85
+}
86
+
87
+.item-input-inset {
88
+  @include display-flex();
89
+  @include align-items(center);
90
+  position: relative;
91
+  overflow: hidden;
92
+  padding: ($item-padding / 3) * 2;
93
+}
94
+
95
+.item-input-wrapper {
96
+  @include display-flex();
97
+  @include flex(1, 0);
98
+  @include align-items(center);
99
+  @include border-radius(4px);
100
+  padding-right: 8px;
101
+  padding-left: 8px;
102
+  background: #eee;
103
+}
104
+
105
+.item-input-inset .item-input-wrapper input {
106
+  padding-left: 4px;
107
+  height: 29px;
108
+  background: transparent;
109
+  line-height: 18px;
110
+}
111
+
112
+.item-input-wrapper ~ .button {
113
+  margin-left: ($item-padding / 3) * 2;
114
+}
115
+
116
+.input-label {
117
+  display: table;
118
+  padding: 7px 10px 7px 0px;
119
+  max-width: 200px;
120
+  width: 35%;
121
+  color: $input-label-color;
122
+  font-size: 16px;
123
+}
124
+
125
+.placeholder-icon {
126
+  color: #aaa;
127
+  &:first-child {
128
+    padding-right: 6px;
129
+  }
130
+  &:last-child {
131
+    padding-left: 6px;
132
+  }
133
+}
134
+
135
+.item-stacked-label {
136
+  display: block;
137
+  background-color: transparent;
138
+  box-shadow: none;
139
+
140
+  .input-label, .icon {
141
+    display: inline-block;
142
+    padding: 4px 0 0 0px;
143
+    vertical-align: middle;
144
+  }
145
+}
146
+
147
+.item-stacked-label input,
148
+.item-stacked-label textarea {
149
+  @include border-radius(2px);
150
+  padding: 4px 8px 3px 0;
151
+  border: none;
152
+  background-color: $input-bg;
153
+}
154
+.item-stacked-label input {
155
+  overflow: hidden;
156
+  height: $line-height-computed + $font-size-base + 12px;
157
+}
158
+
159
+.item-select.item-stacked-label select {
160
+  position: relative;
161
+  padding: 0px;
162
+  max-width: 90%;
163
+  direction:ltr;
164
+  white-space: pre-wrap;
165
+  margin: -3px;
166
+}
167
+
168
+.item-floating-label {
169
+  display: block;
170
+  background-color: transparent;
171
+  box-shadow: none;
172
+
173
+  .input-label {
174
+    position: relative;
175
+    padding: 5px 0 0 0;
176
+    opacity: 0;
177
+    top: 10px;
178
+    @include transition(opacity .15s ease-in, top .2s linear);
179
+
180
+    &.has-input {
181
+      opacity: 1;
182
+      top: 0;
183
+      @include transition(opacity .15s ease-in, top .2s linear);
184
+    }
185
+  }
186
+}
187
+
188
+
189
+// Form Controls
190
+// -------------------------------
191
+
192
+// Shared size and type resets
193
+textarea,
194
+input[type="text"],
195
+input[type="password"],
196
+input[type="datetime"],
197
+input[type="datetime-local"],
198
+input[type="date"],
199
+input[type="month"],
200
+input[type="time"],
201
+input[type="week"],
202
+input[type="number"],
203
+input[type="email"],
204
+input[type="url"],
205
+input[type="search"],
206
+input[type="tel"],
207
+input[type="color"] {
208
+  display: block;
209
+  padding-top: 2px;
210
+  padding-left: 0;
211
+  height: $line-height-computed + $font-size-base;
212
+  color: $input-color;
213
+  vertical-align: middle;
214
+  font-size: $font-size-base;
215
+  line-height: $font-size-base + 2;
216
+}
217
+
218
+.platform-ios,
219
+.platform-android {
220
+  input[type="datetime-local"],
221
+  input[type="date"],
222
+  input[type="month"],
223
+  input[type="time"],
224
+  input[type="week"] {
225
+    padding-top: 8px;
226
+  }
227
+}
228
+
229
+.item-input {
230
+  input,
231
+  textarea {
232
+    width: 100%;
233
+  }
234
+}
235
+
236
+textarea {
237
+  padding-left: 0;
238
+  @include placeholder($input-color-placeholder, -3px);
239
+}
240
+
241
+// Reset height since textareas have rows
242
+textarea {
243
+  height: auto;
244
+}
245
+
246
+// Everything else
247
+textarea,
248
+input[type="text"],
249
+input[type="password"],
250
+input[type="datetime"],
251
+input[type="datetime-local"],
252
+input[type="date"],
253
+input[type="month"],
254
+input[type="time"],
255
+input[type="week"],
256
+input[type="number"],
257
+input[type="email"],
258
+input[type="url"],
259
+input[type="search"],
260
+input[type="tel"],
261
+input[type="color"] {
262
+  border: 0;
263
+}
264
+
265
+// Position radios and checkboxes better
266
+input[type="radio"],
267
+input[type="checkbox"] {
268
+  margin: 0;
269
+  line-height: normal;
270
+}
271
+
272
+// Reset width of input images, buttons, radios, checkboxes
273
+.item-input {
274
+  input[type="file"],
275
+  input[type="image"],
276
+  input[type="submit"],
277
+  input[type="reset"],
278
+  input[type="button"],
279
+  input[type="radio"],
280
+  input[type="checkbox"] {
281
+    width: auto; // Override of generic input selector
282
+  }
283
+}
284
+
285
+// Set the height of file to match text inputs
286
+input[type="file"] {
287
+  line-height: $input-height-base;
288
+}
289
+
290
+// Text input classes to hide text caret during scroll
291
+.previous-input-focus,
292
+.cloned-text-input + input,
293
+.cloned-text-input + textarea {
294
+  position: absolute !important;
295
+  left: -9999px;
296
+  width: 200px;
297
+}
298
+
299
+
300
+// Placeholder
301
+// -------------------------------
302
+input,
303
+textarea {
304
+  @include placeholder();
305
+}
306
+
307
+
308
+// DISABLED STATE
309
+// -------------------------------
310
+
311
+// Disabled and read-only inputs
312
+input[disabled],
313
+select[disabled],
314
+textarea[disabled],
315
+input[readonly]:not(.cloned-text-input),
316
+textarea[readonly]:not(.cloned-text-input),
317
+select[readonly] {
318
+  background-color: $input-bg-disabled;
319
+  cursor: not-allowed;
320
+}
321
+// Explicitly reset the colors here
322
+input[type="radio"][disabled],
323
+input[type="checkbox"][disabled],
324
+input[type="radio"][readonly],
325
+input[type="checkbox"][readonly] {
326
+  background-color: transparent;
327
+}

+ 159
- 0
lib/ionic/scss/_grid.scss Voir le fichier

@@ -0,0 +1,159 @@
1
+/**
2
+ * Grid
3
+ * --------------------------------------------------
4
+ * Using flexbox for the grid, inspired by Philip Walton:
5
+ * http://philipwalton.github.io/solved-by-flexbox/demos/grids/
6
+ * By default each .col within a .row will evenly take up
7
+ * available width, and the height of each .col with take
8
+ * up the height of the tallest .col in the same .row.
9
+ */
10
+
11
+.row {
12
+  @include display-flex();
13
+  padding: ($grid-padding-width / 2);
14
+  width: 100%;
15
+}
16
+
17
+.row-wrap {
18
+  @include flex-wrap(wrap);
19
+}
20
+
21
+.row-no-padding {
22
+  padding: 0;
23
+
24
+  > .col {
25
+    padding: 0;
26
+  }
27
+}
28
+
29
+.row + .row {
30
+  margin-top: ($grid-padding-width / 2) * -1;
31
+  padding-top: 0;
32
+}
33
+
34
+.col {
35
+  @include flex(1);
36
+  display: block;
37
+  padding: ($grid-padding-width / 2);
38
+  width: 100%;
39
+}
40
+
41
+
42
+/* Vertically Align Columns */
43
+/* .row-* vertically aligns every .col in the .row */
44
+.row-top {
45
+  @include align-items(flex-start);
46
+}
47
+.row-bottom {
48
+  @include align-items(flex-end);
49
+}
50
+.row-center {
51
+  @include align-items(center);
52
+}
53
+.row-stretch {
54
+  @include align-items(stretch);
55
+}
56
+.row-baseline {
57
+  @include align-items(baseline);
58
+}
59
+
60
+/* .col-* vertically aligns an individual .col */
61
+.col-top {
62
+  @include align-self(flex-start);
63
+}
64
+.col-bottom {
65
+  @include align-self(flex-end);
66
+}
67
+.col-center {
68
+  @include align-self(center);
69
+}
70
+
71
+/* Column Offsets */
72
+.col-offset-10 {
73
+  margin-left: 10%;
74
+}
75
+.col-offset-20 {
76
+  margin-left: 20%;
77
+}
78
+.col-offset-25 {
79
+  margin-left: 25%;
80
+}
81
+.col-offset-33, .col-offset-34 {
82
+  margin-left: 33.3333%;
83
+}
84
+.col-offset-50 {
85
+  margin-left: 50%;
86
+}
87
+.col-offset-66, .col-offset-67 {
88
+  margin-left: 66.6666%;
89
+}
90
+.col-offset-75 {
91
+  margin-left: 75%;
92
+}
93
+.col-offset-80 {
94
+  margin-left: 80%;
95
+}
96
+.col-offset-90 {
97
+  margin-left: 90%;
98
+}
99
+
100
+
101
+/* Explicit Column Percent Sizes */
102
+/* By default each grid column will evenly distribute */
103
+/* across the grid. However, you can specify individual */
104
+/* columns to take up a certain size of the available area */
105
+.col-10 {
106
+  @include flex(0, 0, 10%);
107
+  max-width: 10%;
108
+}
109
+.col-20 {
110
+  @include flex(0, 0, 20%);
111
+  max-width: 20%;
112
+}
113
+.col-25 {
114
+  @include flex(0, 0, 25%);
115
+  max-width: 25%;
116
+}
117
+.col-33, .col-34 {
118
+  @include flex(0, 0, 33.3333%);
119
+  max-width: 33.3333%;
120
+}
121
+.col-40 {
122
+  @include flex(0, 0, 40%);
123
+  max-width: 40%;
124
+}
125
+.col-50 {
126
+  @include flex(0, 0, 50%);
127
+  max-width: 50%;
128
+}
129
+.col-60 {
130
+  @include flex(0, 0, 60%);
131
+  max-width: 60%;
132
+}
133
+.col-66, .col-67 {
134
+  @include flex(0, 0, 66.6666%);
135
+  max-width: 66.6666%;
136
+}
137
+.col-75 {
138
+  @include flex(0, 0, 75%);
139
+  max-width: 75%;
140
+}
141
+.col-80 {
142
+  @include flex(0, 0, 80%);
143
+  max-width: 80%;
144
+}
145
+.col-90 {
146
+  @include flex(0, 0, 90%);
147
+  max-width: 90%;
148
+}
149
+
150
+
151
+/* Responsive Grid Classes */
152
+/* Adding a class of responsive-X to a row */
153
+/* will trigger the flex-direction to */
154
+/* change to column and add some margin */
155
+/* to any columns in the row for clearity */
156
+
157
+@include responsive-grid-break('.responsive-sm', $grid-responsive-sm-break);
158
+@include responsive-grid-break('.responsive-md', $grid-responsive-md-break);
159
+@include responsive-grid-break('.responsive-lg', $grid-responsive-lg-break);

+ 825
- 0
lib/ionic/scss/_items.scss Voir le fichier

@@ -0,0 +1,825 @@
1
+/**
2
+ * Items
3
+ * --------------------------------------------------
4
+ */
5
+
6
+.item {
7
+  @include item-style($item-default-bg, $item-default-border, $item-default-text);
8
+
9
+  position: relative;
10
+  z-index: $z-index-item; // Make sure the borders and stuff don't get hidden by children
11
+  display: block;
12
+
13
+  margin: $item-border-width * -1;
14
+  padding: $item-padding;
15
+
16
+  border-width: $item-border-width;
17
+  border-style: solid;
18
+  font-size: $item-font-size;
19
+
20
+  h2 {
21
+    margin: 0 0 2px 0;
22
+    font-size: 16px;
23
+    font-weight: normal;
24
+  }
25
+  h3 {
26
+    margin: 0 0 4px 0;
27
+    font-size: 14px;
28
+  }
29
+  h4 {
30
+    margin: 0 0 4px 0;
31
+    font-size: 12px;
32
+  }
33
+  h5, h6 {
34
+    margin: 0 0 3px 0;
35
+    font-size: 10px;
36
+  }
37
+  p {
38
+    color: #666;
39
+    font-size: 14px;
40
+    margin-bottom: 2px;
41
+  }
42
+
43
+  h1:last-child,
44
+  h2:last-child,
45
+  h3:last-child,
46
+  h4:last-child,
47
+  h5:last-child,
48
+  h6:last-child,
49
+  p:last-child {
50
+    margin-bottom: 0;
51
+  }
52
+
53
+  // Align badges within items
54
+  .badge {
55
+    @include display-flex();
56
+    position: absolute;
57
+    top: $item-padding;
58
+    right: ($item-padding * 2);
59
+  }
60
+  &.item-button-right .badge {
61
+    right: ($item-padding * 2) + 35;
62
+  }
63
+  &.item-divider .badge {
64
+    top: ceil($item-padding / 2);
65
+  }
66
+  .badge + .badge {
67
+    margin-right: 5px;
68
+  }
69
+
70
+  // Different themes for items
71
+  &.item-light {
72
+    @include item-style($item-light-bg, $item-light-border, $item-light-text);
73
+  }
74
+  &.item-stable {
75
+    @include item-style($item-stable-bg, $item-stable-border, $item-stable-text);
76
+  }
77
+  &.item-positive {
78
+    @include item-style($item-positive-bg, $item-positive-border, $item-positive-text);
79
+  }
80
+  &.item-calm {
81
+    @include item-style($item-calm-bg, $item-calm-border, $item-calm-text);
82
+  }
83
+  &.item-assertive {
84
+    @include item-style($item-assertive-bg, $item-assertive-border, $item-assertive-text);
85
+  }
86
+  &.item-balanced {
87
+    @include item-style($item-balanced-bg, $item-balanced-border, $item-balanced-text);
88
+  }
89
+  &.item-energized {
90
+    @include item-style($item-energized-bg, $item-energized-border, $item-energized-text);
91
+  }
92
+  &.item-royal {
93
+    @include item-style($item-royal-bg, $item-royal-border, $item-royal-text);
94
+  }
95
+  &.item-dark {
96
+    @include item-style($item-dark-bg, $item-dark-border, $item-dark-text);
97
+  }
98
+
99
+  &[ng-click]:hover {
100
+    cursor: pointer;
101
+  }
102
+
103
+}
104
+
105
+.list-borderless .item,
106
+.item-borderless {
107
+  border-width: 0;
108
+}
109
+
110
+// Link and Button Active States
111
+.item.active,
112
+.item.activated,
113
+.item-complex.active .item-content,
114
+.item-complex.activated .item-content,
115
+.item .item-content.active,
116
+.item .item-content.activated {
117
+  @include item-active-style($item-default-active-bg, $item-default-active-border);
118
+
119
+  // Different active themes for <a> and <button> items
120
+  &.item-light {
121
+    @include item-active-style($item-light-active-bg, $item-light-active-border);
122
+  }
123
+  &.item-stable {
124
+    @include item-active-style($item-stable-active-bg, $item-stable-active-border);
125
+  }
126
+  &.item-positive {
127
+    @include item-active-style($item-positive-active-bg, $item-positive-active-border);
128
+  }
129
+  &.item-calm {
130
+    @include item-active-style($item-calm-active-bg, $item-calm-active-border);
131
+  }
132
+  &.item-assertive {
133
+    @include item-active-style($item-assertive-active-bg, $item-assertive-active-border);
134
+  }
135
+  &.item-balanced {
136
+    @include item-active-style($item-balanced-active-bg, $item-balanced-active-border);
137
+  }
138
+  &.item-energized {
139
+    @include item-active-style($item-energized-active-bg, $item-energized-active-border);
140
+  }
141
+  &.item-royal {
142
+    @include item-active-style($item-royal-active-bg, $item-royal-active-border);
143
+  }
144
+  &.item-dark {
145
+    @include item-active-style($item-dark-active-bg, $item-dark-active-border);
146
+  }
147
+}
148
+
149
+// Handle text overflow
150
+.item,
151
+.item h1,
152
+.item h2,
153
+.item h3,
154
+.item h4,
155
+.item h5,
156
+.item h6,
157
+.item p,
158
+.item-content,
159
+.item-content h1,
160
+.item-content h2,
161
+.item-content h3,
162
+.item-content h4,
163
+.item-content h5,
164
+.item-content h6,
165
+.item-content p {
166
+  overflow: hidden;
167
+  text-overflow: ellipsis;
168
+  white-space: nowrap;
169
+}
170
+
171
+// Linked list items
172
+a.item {
173
+  color: inherit;
174
+  text-decoration: none;
175
+
176
+  &:hover,
177
+  &:focus {
178
+    text-decoration: none;
179
+  }
180
+}
181
+
182
+
183
+/**
184
+ * Complex Items
185
+ * --------------------------------------------------
186
+ * Adding .item-complex allows the .item to be slidable and
187
+ * have options underneath the button, but also requires an
188
+ * additional .item-content element inside .item.
189
+ * Basically .item-complex removes any default settings which
190
+ * .item added, so that .item-content looks them as just .item.
191
+ */
192
+
193
+.item-complex,
194
+a.item.item-complex,
195
+button.item.item-complex {
196
+  padding: 0;
197
+}
198
+.item-complex .item-content,
199
+.item-radio .item-content {
200
+  position: relative;
201
+  z-index: $z-index-item;
202
+  padding: $item-padding (ceil( ($item-padding * 3) + ($item-padding / 3) ) - 5) $item-padding $item-padding;
203
+  border: none;
204
+  background-color: $item-default-bg;
205
+}
206
+
207
+a.item-content {
208
+  display: block;
209
+  color: inherit;
210
+  text-decoration: none;
211
+}
212
+
213
+.item-text-wrap .item,
214
+.item-text-wrap .item-content,
215
+.item-text-wrap,
216
+.item-text-wrap h1,
217
+.item-text-wrap h2,
218
+.item-text-wrap h3,
219
+.item-text-wrap h4,
220
+.item-text-wrap h5,
221
+.item-text-wrap h6,
222
+.item-text-wrap p,
223
+.item-complex.item-text-wrap .item-content,
224
+.item-body h1,
225
+.item-body h2,
226
+.item-body h3,
227
+.item-body h4,
228
+.item-body h5,
229
+.item-body h6,
230
+.item-body p {
231
+  overflow: visible;
232
+  white-space: normal;
233
+}
234
+.item-complex.item-text-wrap,
235
+.item-complex.item-text-wrap h1,
236
+.item-complex.item-text-wrap h2,
237
+.item-complex.item-text-wrap h3,
238
+.item-complex.item-text-wrap h4,
239
+.item-complex.item-text-wrap h5,
240
+.item-complex.item-text-wrap h6,
241
+.item-complex.item-text-wrap p {
242
+  overflow: visible;
243
+  white-space: normal;
244
+}
245
+
246
+// Link and Button Active States
247
+
248
+.item-complex{
249
+  // Stylized items
250
+  &.item-light > .item-content{
251
+    @include item-style($item-light-bg, $item-light-border, $item-light-text);
252
+    &.active, &:active {
253
+      @include item-active-style($item-light-active-bg, $item-light-active-border);
254
+    }
255
+  }
256
+  &.item-stable > .item-content{
257
+    @include item-style($item-stable-bg, $item-stable-border, $item-stable-text);
258
+    &.active, &:active {
259
+      @include item-active-style($item-stable-active-bg, $item-stable-active-border);
260
+    }
261
+  }
262
+  &.item-positive > .item-content{
263
+    @include item-style($item-positive-bg, $item-positive-border, $item-positive-text);
264
+    &.active, &:active {
265
+      @include item-active-style($item-positive-active-bg, $item-positive-active-border);
266
+    }
267
+  }
268
+  &.item-calm > .item-content{
269
+    @include item-style($item-calm-bg, $item-calm-border, $item-calm-text);
270
+    &.active, &:active {
271
+      @include item-active-style($item-calm-active-bg, $item-calm-active-border);
272
+    }
273
+  }
274
+  &.item-assertive > .item-content{
275
+    @include item-style($item-assertive-bg, $item-assertive-border, $item-assertive-text);
276
+    &.active, &:active {
277
+      @include item-active-style($item-assertive-active-bg, $item-assertive-active-border);
278
+    }
279
+  }
280
+  &.item-balanced > .item-content{
281
+    @include item-style($item-balanced-bg, $item-balanced-border, $item-balanced-text);
282
+    &.active, &:active {
283
+      @include item-active-style($item-balanced-active-bg, $item-balanced-active-border);
284
+    }
285
+  }
286
+  &.item-energized > .item-content{
287
+    @include item-style($item-energized-bg, $item-energized-border, $item-energized-text);
288
+    &.active, &:active {
289
+      @include item-active-style($item-energized-active-bg, $item-energized-active-border);
290
+    }
291
+  }
292
+  &.item-royal > .item-content{
293
+    @include item-style($item-royal-bg, $item-royal-border, $item-royal-text);
294
+    &.active, &:active {
295
+      @include item-active-style($item-royal-active-bg, $item-royal-active-border);
296
+    }
297
+  }
298
+  &.item-dark > .item-content{
299
+    @include item-style($item-dark-bg, $item-dark-border, $item-dark-text);
300
+    &.active, &:active {
301
+      @include item-active-style($item-dark-active-bg, $item-dark-active-border);
302
+    }
303
+  }
304
+}
305
+
306
+
307
+/**
308
+ * Item Icons
309
+ * --------------------------------------------------
310
+ */
311
+
312
+.item-icon-left .icon,
313
+.item-icon-right .icon {
314
+  @include display-flex();
315
+  @include align-items(center);
316
+  position: absolute;
317
+  top: 0;
318
+  height: 100%;
319
+  font-size: $item-icon-font-size;
320
+
321
+  &:before {
322
+    display: block;
323
+    width: $item-icon-font-size;
324
+    text-align: center;
325
+  }
326
+}
327
+
328
+.item .fill-icon {
329
+  min-width: $item-icon-fill-font-size + 2;
330
+  min-height: $item-icon-fill-font-size + 2;
331
+  font-size: $item-icon-fill-font-size;
332
+}
333
+
334
+.item-icon-left {
335
+  padding-left: ceil( ($item-padding * 3) + ($item-padding / 3) );
336
+
337
+  .icon {
338
+    left: ceil( ($item-padding / 3) * 2);
339
+  }
340
+}
341
+.item-complex.item-icon-left {
342
+  padding-left: 0;
343
+
344
+  .item-content {
345
+    padding-left: ceil( ($item-padding * 3) + ($item-padding / 3) );
346
+  }
347
+}
348
+
349
+.item-icon-right {
350
+  padding-right: ceil( ($item-padding * 3) + ($item-padding / 3) );
351
+
352
+  .icon {
353
+    right: ceil( ($item-padding / 3) * 2);
354
+  }
355
+}
356
+.item-complex.item-icon-right {
357
+  padding-right: 0;
358
+
359
+  .item-content {
360
+    padding-right: ceil( ($item-padding * 3) + ($item-padding / 3) );
361
+  }
362
+}
363
+
364
+.item-icon-left.item-icon-right .icon:first-child {
365
+  right: auto;
366
+}
367
+.item-icon-left.item-icon-right .icon:last-child,
368
+.item-icon-left .item-delete .icon {
369
+  left: auto;
370
+}
371
+
372
+.item-icon-left .icon-accessory,
373
+.item-icon-right .icon-accessory {
374
+  color: $item-icon-accessory-color;
375
+  font-size: $item-icon-accessory-font-size;
376
+}
377
+.item-icon-left .icon-accessory {
378
+  left: floor($item-padding / 5);
379
+}
380
+.item-icon-right .icon-accessory {
381
+  right: floor($item-padding / 5);
382
+}
383
+
384
+
385
+/**
386
+ * Item Button
387
+ * --------------------------------------------------
388
+ * An item button is a child button inside an .item (not the entire .item)
389
+ */
390
+
391
+.item-button-left {
392
+  padding-left: ceil($item-padding * 4.5);
393
+}
394
+
395
+.item-button-left > .button,
396
+.item-button-left .item-content > .button {
397
+  @include display-flex();
398
+  @include align-items(center);
399
+  position: absolute;
400
+  top: ceil($item-padding / 2);
401
+  left: ceil( ($item-padding / 3) * 2);
402
+  min-width: $item-icon-font-size + ($button-border-width * 2);
403
+  min-height: $item-icon-font-size + ($button-border-width * 2);
404
+  font-size: $item-button-font-size;
405
+  line-height: $item-button-line-height;
406
+
407
+  .icon:before {
408
+    position: relative;
409
+    left: auto;
410
+    width: auto;
411
+    line-height: $item-icon-font-size - 1;
412
+  }
413
+
414
+  > .button {
415
+    margin: 0px 2px;
416
+    min-height: $item-icon-font-size + ($button-border-width * 2);
417
+    font-size: $item-button-font-size;
418
+    line-height: $item-button-line-height;
419
+  }
420
+}
421
+
422
+.item-button-right,
423
+a.item.item-button-right,
424
+button.item.item-button-right {
425
+  padding-right: $item-padding * 5;
426
+}
427
+
428
+.item-button-right > .button,
429
+.item-button-right .item-content > .button,
430
+.item-button-right > .buttons,
431
+.item-button-right .item-content > .buttons {
432
+  @include display-flex();
433
+  @include align-items(center);
434
+  position: absolute;
435
+  top: ceil($item-padding / 2);
436
+  right: $item-padding;
437
+  min-width: $item-icon-font-size + ($button-border-width * 2);
438
+  min-height: $item-icon-font-size + ($button-border-width * 2);
439
+  font-size: $item-button-font-size;
440
+  line-height: $item-button-line-height;
441
+
442
+  .icon:before {
443
+    position: relative;
444
+    left: auto;
445
+    width: auto;
446
+    line-height: $item-icon-font-size - 1;
447
+  }
448
+
449
+  > .button {
450
+    margin: 0px 2px;
451
+    min-width: $item-icon-font-size + ($button-border-width * 2);
452
+    min-height: $item-icon-font-size + ($button-border-width * 2);
453
+    font-size: $item-button-font-size;
454
+    line-height: $item-button-line-height;
455
+  }
456
+}
457
+
458
+.item-button-left.item-button-right{
459
+   .button{
460
+     &:first-child {
461
+      right: auto;
462
+    }
463
+     &:last-child {
464
+      left: auto;
465
+    }
466
+   }
467
+}
468
+
469
+// Item Avatar
470
+// -------------------------------
471
+
472
+.item-avatar,
473
+.item-avatar .item-content,
474
+.item-avatar-left,
475
+.item-avatar-left .item-content {
476
+  padding-left: $item-avatar-width + ($item-padding * 2);
477
+  min-height: $item-avatar-width + ($item-padding * 2);
478
+
479
+  > img:first-child,
480
+  .item-image {
481
+    position: absolute;
482
+    top: $item-padding;
483
+    left: $item-padding;
484
+    max-width: $item-avatar-width;
485
+    max-height: $item-avatar-height;
486
+    width: 100%;
487
+    height: 100%;
488
+    border-radius: $item-avatar-border-radius;
489
+  }
490
+}
491
+
492
+.item-avatar-right,
493
+.item-avatar-right .item-content {
494
+  padding-right: $item-avatar-width + ($item-padding * 2);
495
+  min-height: $item-avatar-width + ($item-padding * 2);
496
+
497
+  > img:first-child,
498
+  .item-image {
499
+    position: absolute;
500
+    top: $item-padding;
501
+    right: $item-padding;
502
+    max-width: $item-avatar-width;
503
+    max-height: $item-avatar-height;
504
+    width: 100%;
505
+    height: 100%;
506
+    border-radius: $item-avatar-border-radius;
507
+  }
508
+}
509
+
510
+
511
+// Item Thumbnails
512
+// -------------------------------
513
+
514
+.item-thumbnail-left,
515
+.item-thumbnail-left .item-content {
516
+  padding-top: $item-padding / 2;
517
+  padding-left: $item-thumbnail-width + $item-thumbnail-margin + $item-padding;
518
+  min-height: $item-thumbnail-height + ($item-thumbnail-margin * 2);
519
+
520
+  > img:first-child,
521
+  .item-image {
522
+    position: absolute;
523
+    top: $item-thumbnail-margin;
524
+    left: $item-thumbnail-margin;
525
+    max-width: $item-thumbnail-width;
526
+    max-height: $item-thumbnail-height;
527
+    width: 100%;
528
+    height: 100%;
529
+  }
530
+}
531
+.item-avatar.item-complex,
532
+.item-avatar-left.item-complex,
533
+.item-thumbnail-left.item-complex {
534
+  padding-top: 0;
535
+  padding-left: 0;
536
+}
537
+
538
+.item-thumbnail-right,
539
+.item-thumbnail-right .item-content {
540
+  padding-top: $item-padding / 2;
541
+  padding-right: $item-thumbnail-width + $item-thumbnail-margin + $item-padding;
542
+  min-height: $item-thumbnail-height + ($item-thumbnail-margin * 2);
543
+
544
+  > img:first-child,
545
+  .item-image {
546
+    position: absolute;
547
+    top: $item-thumbnail-margin;
548
+    right: $item-thumbnail-margin;
549
+    max-width: $item-thumbnail-width;
550
+    max-height: $item-thumbnail-height;
551
+    width: 100%;
552
+    height: 100%;
553
+  }
554
+}
555
+.item-avatar-right.item-complex,
556
+.item-thumbnail-right.item-complex {
557
+  padding-top: 0;
558
+  padding-right: 0;
559
+}
560
+
561
+
562
+// Item Image
563
+// -------------------------------
564
+
565
+.item-image {
566
+  padding: 0;
567
+  text-align: center;
568
+
569
+  img:first-child, .list-img {
570
+    width: 100%;
571
+    vertical-align: middle;
572
+  }
573
+}
574
+
575
+
576
+// Item Body
577
+// -------------------------------
578
+
579
+.item-body {
580
+  overflow: auto;
581
+  padding: $item-padding;
582
+  text-overflow: inherit;
583
+  white-space: normal;
584
+
585
+  h1, h2, h3, h4, h5, h6, p {
586
+    margin-top: $item-padding;
587
+    margin-bottom: $item-padding;
588
+  }
589
+}
590
+
591
+
592
+// Item Divider
593
+// -------------------------------
594
+
595
+.item-divider {
596
+  padding-top: ceil($item-padding / 2);
597
+  padding-bottom: ceil($item-padding / 2);
598
+  min-height: 30px;
599
+  background-color: $item-divider-bg;
600
+  color: $item-divider-color;
601
+  font-weight: 500;
602
+}
603
+
604
+.platform-ios .item-divider-platform,
605
+.item-divider-ios {
606
+  padding-top: 26px;
607
+  text-transform: uppercase;
608
+  font-weight: 300;
609
+  font-size: 13px;
610
+  background-color: #efeff4;
611
+  color: #555;
612
+}
613
+
614
+.platform-android .item-divider-platform,
615
+.item-divider-android {
616
+  font-weight: 300;
617
+  font-size: 13px;
618
+}
619
+
620
+
621
+// Item Note
622
+// -------------------------------
623
+
624
+.item-note {
625
+  float: right;
626
+  color: #aaa;
627
+  font-size: 14px;
628
+}
629
+
630
+
631
+// Item Editing
632
+// -------------------------------
633
+
634
+.item-left-editable .item-content,
635
+.item-right-editable .item-content {
636
+  // setup standard transition settings
637
+  @include transition-duration( $item-edit-transition-duration );
638
+  @include transition-timing-function( $item-edit-transition-function );
639
+  -webkit-transition-property: -webkit-transform;
640
+     -moz-transition-property: -moz-transform;
641
+          transition-property: transform;
642
+}
643
+
644
+.list-left-editing .item-left-editable .item-content,
645
+.item-left-editing.item-left-editable .item-content {
646
+  // actively editing the left side of the item
647
+  @include translate3d($item-left-edit-open-width, 0, 0);
648
+}
649
+
650
+.item-remove-animate {
651
+  &.ng-leave {
652
+    @include transition-duration( $item-remove-transition-duration );
653
+  }
654
+  &.ng-leave .item-content,
655
+  &.ng-leave:last-of-type {
656
+    @include transition-duration( $item-remove-transition-duration );
657
+    @include transition-timing-function( $item-remove-transition-function );
658
+    @include transition-property( all );
659
+  }
660
+
661
+  &.ng-leave.ng-leave-active .item-content {
662
+    opacity:0;
663
+    -webkit-transform: translate3d(-100%, 0, 0) !important;
664
+    transform: translate3d(-100%, 0, 0) !important;
665
+  }
666
+  &.ng-leave.ng-leave-active:last-of-type {
667
+    opacity: 0;
668
+  }
669
+
670
+  &.ng-leave.ng-leave-active ~ ion-item:not(.ng-leave) {
671
+    -webkit-transform: translate3d(0, unquote('-webkit-calc(-100% + 1px)'), 0);
672
+    transform: translate3d(0, calc(-100% + 1px), 0);
673
+    @include transition-duration( $item-remove-transition-duration );
674
+    @include transition-timing-function( $item-remove-descendents-transition-function );
675
+    @include transition-property( all );
676
+  }
677
+}
678
+
679
+
680
+
681
+// Item Left Edit Button
682
+// -------------------------------
683
+
684
+.item-left-edit {
685
+  @include transition(all $item-edit-transition-function $item-edit-transition-duration / 2);
686
+  position: absolute;
687
+  top: 0;
688
+  left: 0;
689
+  z-index: $z-index-item-edit;
690
+  width: $item-left-edit-open-width;
691
+  height: 100%;
692
+  line-height: 100%;
693
+
694
+  .button {
695
+    height: 100%;
696
+
697
+    &.icon {
698
+      @include display-flex();
699
+      @include align-items(center);
700
+      position: absolute;
701
+      top: 0;
702
+      height: 100%;
703
+    }
704
+  }
705
+
706
+  display: none;
707
+  opacity: 0;
708
+  @include translate3d( ($item-left-edit-left - $item-left-edit-open-width) / 2, 0, 0);
709
+  &.visible {
710
+    display: block;
711
+    &.active {
712
+      opacity: 1;
713
+      @include translate3d($item-left-edit-left, 0, 0);
714
+    }
715
+  }
716
+}
717
+.list-left-editing .item-left-edit {
718
+  @include transition-delay($item-edit-transition-duration / 2);
719
+}
720
+
721
+// Item Delete (Left side edit button)
722
+// -------------------------------
723
+
724
+.item-delete .button.icon {
725
+  color: $item-delete-icon-color;
726
+  font-size: $item-delete-icon-size;
727
+
728
+  &:hover {
729
+    opacity: .7;
730
+  }
731
+}
732
+
733
+
734
+// Item Right Edit Button
735
+// -------------------------------
736
+
737
+.item-right-edit {
738
+  @include transition(all $item-edit-transition-function $item-edit-transition-duration);
739
+  position: absolute;
740
+  top: 0;
741
+  right: 0;
742
+  z-index: $z-index-item-reorder;
743
+  width: $item-right-edit-open-width *  1.5;
744
+  height: 100%;
745
+  background: inherit;
746
+  padding-left: 20px;
747
+
748
+  .button {
749
+    min-width: $item-right-edit-open-width;
750
+    height: 100%;
751
+
752
+    &.icon {
753
+      @include display-flex();
754
+      @include align-items(center);
755
+      position: absolute;
756
+      top: 0;
757
+      height: 100%;
758
+      font-size: $item-reorder-icon-size;
759
+    }
760
+  }
761
+
762
+  display: block;
763
+  opacity: 0;
764
+  @include translate3d($item-right-edit-open-width *  1.5, 0, 0);
765
+  &.visible {
766
+    display: block;
767
+    &.active {
768
+      opacity: 1;
769
+      @include translate3d(0, 0, 0);
770
+    }
771
+  }
772
+}
773
+
774
+
775
+// Item Reordering (Right side edit button)
776
+// -------------------------------
777
+
778
+.item-reorder .button.icon {
779
+  color: $item-reorder-icon-color;
780
+  font-size: $item-reorder-icon-size;
781
+}
782
+
783
+.item-reordering {
784
+  // item is actively being reordered
785
+  position: absolute;
786
+  left: 0;
787
+  top: 0;
788
+  z-index: $z-index-item-reordering;
789
+  width: 100%;
790
+  box-shadow: 0px 0px 10px 0px #aaa;
791
+
792
+  .item-reorder {
793
+    z-index: $z-index-item-reordering;
794
+  }
795
+}
796
+
797
+.item-placeholder {
798
+  // placeholder for the item that's being reordered
799
+  opacity: 0.7;
800
+}
801
+
802
+
803
+/**
804
+ * The hidden right-side buttons that can be exposed under a list item
805
+ * with dragging.
806
+ */
807
+.item-options {
808
+  position: absolute;
809
+  top: 0;
810
+  right: 0;
811
+  z-index: $z-index-item-options;
812
+  height: 100%;
813
+
814
+  .button {
815
+    height: 100%;
816
+    border: none;
817
+    border-radius: 0;
818
+    @include display-inline-flex();
819
+    @include align-items(center);
820
+
821
+    &:before{
822
+      margin: 0 auto;
823
+    }
824
+  }
825
+}

+ 125
- 0
lib/ionic/scss/_list.scss Voir le fichier

@@ -0,0 +1,125 @@
1
+
2
+/**
3
+ * Lists
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.list {
8
+  position: relative;
9
+  padding-top: $item-border-width;
10
+  padding-bottom: $item-border-width;
11
+  padding-left: 0; // reset padding because ul and ol
12
+  margin-bottom: 20px;
13
+}
14
+.list:last-child {
15
+  margin-bottom: 0px;
16
+  &.card{
17
+    margin-bottom:40px;
18
+  }
19
+}
20
+
21
+
22
+/**
23
+ * List Header
24
+ * --------------------------------------------------
25
+ */
26
+
27
+.list-header {
28
+  margin-top: $list-header-margin-top;
29
+  padding: $list-header-padding;
30
+  background-color: $list-header-bg;
31
+  color: $list-header-color;
32
+  font-weight: bold;
33
+}
34
+
35
+// when its a card make sure it doesn't duplicate top and bottom borders
36
+.card.list .list-item {
37
+  padding-right: 1px;
38
+  padding-left: 1px;
39
+}
40
+
41
+
42
+/**
43
+ * Cards and Inset Lists
44
+ * --------------------------------------------------
45
+ * A card and list-inset are close to the same thing, except a card as a box shadow.
46
+ */
47
+
48
+.card,
49
+.list-inset {
50
+  overflow: hidden;
51
+  margin: ($content-padding * 2) $content-padding;
52
+  border-radius: $card-border-radius;
53
+  background-color: $card-body-bg;
54
+}
55
+
56
+.card {
57
+  padding-top: $item-border-width;
58
+  padding-bottom: $item-border-width;
59
+  box-shadow: $card-box-shadow;
60
+
61
+  .item {
62
+    border-left: 0;
63
+    border-right: 0;
64
+  }
65
+  .item:first-child {
66
+    border-top: 0;
67
+  }
68
+  .item:last-child {
69
+    border-bottom: 0;
70
+  }
71
+}
72
+
73
+.padding {
74
+  .card, .list-inset {
75
+    margin-left: 0;
76
+    margin-right: 0;
77
+  }
78
+}
79
+
80
+.card .item,
81
+.list-inset .item,
82
+.padding > .list .item
83
+{
84
+  &:first-child {
85
+    border-top-left-radius: $card-border-radius;
86
+    border-top-right-radius: $card-border-radius;
87
+
88
+    .item-content {
89
+      border-top-left-radius: $card-border-radius;
90
+      border-top-right-radius: $card-border-radius;
91
+    }
92
+  }
93
+  &:last-child {
94
+    border-bottom-right-radius: $card-border-radius;
95
+    border-bottom-left-radius: $card-border-radius;
96
+
97
+    .item-content {
98
+      border-bottom-right-radius: $card-border-radius;
99
+      border-bottom-left-radius: $card-border-radius;
100
+    }
101
+  }
102
+}
103
+
104
+.card .item:last-child,
105
+.list-inset .item:last-child {
106
+  margin-bottom: $item-border-width * -1;
107
+}
108
+
109
+.card .item,
110
+.list-inset .item,
111
+.padding > .list .item,
112
+.padding-horizontal > .list .item {
113
+  margin-right: 0;
114
+  margin-left: 0;
115
+
116
+  &.item-input input {
117
+    padding-right: 44px;
118
+  }
119
+}
120
+.padding-left > .list .item {
121
+  margin-left: 0;
122
+}
123
+.padding-right > .list .item {
124
+  margin-right: 0;
125
+}

+ 51
- 0
lib/ionic/scss/_loading.scss Voir le fichier

@@ -0,0 +1,51 @@
1
+
2
+/**
3
+ * Loading
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.loading-container {
8
+  position: absolute;
9
+  left: 0;
10
+  top: 0;
11
+  right: 0;
12
+  bottom: 0;
13
+
14
+  z-index: $z-index-loading;
15
+
16
+  @include display-flex();
17
+  @include justify-content(center);
18
+  @include align-items(center);
19
+
20
+  @include transition(0.2s opacity linear);
21
+  visibility: hidden;
22
+  opacity: 0;
23
+
24
+  &:not(.visible) .icon,
25
+  &:not(.visible) .spinner{
26
+    display: none;
27
+  }
28
+  &.visible {
29
+    visibility: visible;
30
+  }
31
+  &.active {
32
+    opacity: 1;
33
+  }
34
+
35
+  .loading {
36
+    padding: $loading-padding;
37
+
38
+    border-radius: $loading-border-radius;
39
+    background-color: $loading-bg-color;
40
+
41
+    color: $loading-text-color;
42
+
43
+    text-align: center;
44
+    text-overflow: ellipsis;
45
+    font-size: $loading-font-size;
46
+
47
+    h1, h2, h3, h4, h5, h6 {
48
+      color: $loading-text-color;
49
+    }
50
+  }
51
+}

+ 70
- 0
lib/ionic/scss/_menu.scss Voir le fichier

@@ -0,0 +1,70 @@
1
+
2
+/**
3
+ * Menus
4
+ * --------------------------------------------------
5
+ * Side panel structure
6
+ */
7
+
8
+.menu {
9
+  position: absolute;
10
+  top: 0;
11
+  bottom: 0;
12
+  z-index: $z-index-menu;
13
+  overflow: hidden;
14
+
15
+  min-height: 100%;
16
+  max-height: 100%;
17
+  width: $menu-width;
18
+
19
+  background-color: $menu-bg;
20
+
21
+  .scroll-content {
22
+    z-index: $z-index-menu-scroll-content;
23
+  }
24
+
25
+  .bar-header {
26
+    z-index: $z-index-menu-bar-header;
27
+  }
28
+}
29
+
30
+.menu-content {
31
+  @include transform(none);
32
+  box-shadow: $menu-side-shadow;
33
+}
34
+
35
+.menu-open .menu-content .pane,
36
+.menu-open .menu-content .scroll-content {
37
+  pointer-events: none;
38
+}
39
+.menu-open .menu-content .scroll-content .scroll {
40
+  pointer-events: none;
41
+}
42
+.menu-open .menu-content .scroll-content:not(.overflow-scroll) {
43
+  overflow: hidden;
44
+}
45
+
46
+.grade-b .menu-content,
47
+.grade-c .menu-content {
48
+  @include box-sizing(content-box);
49
+  right: -1px;
50
+  left: -1px;
51
+  border-right: 1px solid #ccc;
52
+  border-left: 1px solid #ccc;
53
+  box-shadow: none;
54
+}
55
+
56
+.menu-left {
57
+  left: 0;
58
+}
59
+
60
+.menu-right {
61
+  right: 0;
62
+}
63
+
64
+.aside-open.aside-resizing .menu-right {
65
+  display: none;
66
+}
67
+
68
+.menu-animated {
69
+  @include transition-transform($menu-animation-speed ease);
70
+}

+ 642
- 0
lib/ionic/scss/_mixins.scss Voir le fichier

@@ -0,0 +1,642 @@
1
+
2
+// Button Mixins
3
+// --------------------------------------------------
4
+
5
+@mixin button-style($bg-color, $border-color, $active-bg-color, $active-border-color, $color) {
6
+  border-color: $border-color;
7
+  background-color: $bg-color;
8
+  color: $color;
9
+
10
+  // Give desktop users something to play with
11
+  &:hover {
12
+    color: $color;
13
+    text-decoration: none;
14
+  }
15
+  &.active,
16
+  &.activated {
17
+    @if $active-border-color != ""{
18
+      border-color: $active-border-color;
19
+    }
20
+    background-color: $active-bg-color;
21
+    //box-shadow: inset 0 1px 4px rgba(0,0,0,0.1);
22
+  }
23
+}
24
+
25
+@mixin button-clear($color, $font-size:"") {
26
+  &.button-clear {
27
+    border-color: transparent;
28
+    background: none;
29
+    box-shadow: none;
30
+    color: $color;
31
+
32
+    @if $font-size != "" {
33
+      font-size: $font-size;
34
+    }
35
+  }
36
+  &.button-icon {
37
+    border-color: transparent;
38
+    background: none;
39
+  }
40
+}
41
+
42
+@mixin button-outline($color, $text-color:"") {
43
+  &.button-outline {
44
+    border-color: $color;
45
+    background: transparent;
46
+    @if $text-color == "" {
47
+      $text-color: $color;
48
+    }
49
+    color: $text-color;
50
+    &.active,
51
+    &.activated {
52
+      background-color: $color;
53
+      box-shadow: none;
54
+      color: #fff;
55
+    }
56
+  }
57
+}
58
+
59
+
60
+// Bar Mixins
61
+// --------------------------------------------------
62
+
63
+@mixin bar-style($bg-color, $border-color, $color) {
64
+  border-color: $border-color;
65
+  background-color: $bg-color;
66
+  background-image: linear-gradient(0deg, $border-color, $border-color 50%, transparent 50%);
67
+  color: $color;
68
+
69
+  .title {
70
+    color: $color;
71
+  }
72
+}
73
+
74
+
75
+// Tab Mixins
76
+// --------------------------------------------------
77
+
78
+@mixin tab-style($bg-color, $border-color, $color) {
79
+  border-color: $border-color;
80
+  background-color: $bg-color;
81
+  background-image: linear-gradient(0deg, $border-color, $border-color 50%, transparent 50%);
82
+  color: $color;
83
+}
84
+
85
+@mixin tab-badge-style($bg-color, $color) {
86
+  .tab-item .badge {
87
+    background-color: $bg-color;
88
+    color: $color;
89
+  }
90
+}
91
+
92
+
93
+// Item Mixins
94
+// --------------------------------------------------
95
+
96
+@mixin item-style($bg-color, $border-color, $color) {
97
+  border-color: $border-color;
98
+  background-color: $bg-color;
99
+  color: $color;
100
+}
101
+
102
+@mixin item-active-style($active-bg-color, $active-border-color) {
103
+  border-color: $active-border-color;
104
+  background-color: $active-bg-color;
105
+  &.item-complex > .item-content {
106
+    border-color: $active-border-color;
107
+    background-color: $active-bg-color;
108
+  }
109
+}
110
+
111
+
112
+// Badge Mixins
113
+// --------------------------------------------------
114
+
115
+@mixin badge-style($bg-color, $color) {
116
+  background-color: $bg-color;
117
+  color: $color;
118
+}
119
+
120
+
121
+// Range Mixins
122
+// --------------------------------------------------
123
+
124
+@mixin range-style($track-bg-color) {
125
+  &::-webkit-slider-thumb:before {
126
+    background: $track-bg-color;
127
+  }
128
+  &::-ms-fill-lower{
129
+    background: $track-bg-color;
130
+  }
131
+}
132
+
133
+
134
+// Checkbox Mixins
135
+// --------------------------------------------------
136
+
137
+@mixin checkbox-style($off-border-color, $on-bg-color, $on-border-color) {
138
+  & input:before,
139
+  & .checkbox-icon:before {
140
+    border-color: $off-border-color;
141
+  }
142
+
143
+  // what the background looks like when its checked
144
+  & input:checked:before,
145
+  & input:checked + .checkbox-icon:before {
146
+    background: $on-bg-color;
147
+    border-color: $on-border-color;
148
+  }
149
+}
150
+
151
+
152
+// Toggle Mixins
153
+// --------------------------------------------------
154
+
155
+@mixin toggle-style($on-border-color, $on-bg-color) {
156
+  // the track when the toggle is "on"
157
+  & input:checked + .track {
158
+    border-color: $on-border-color;
159
+    background-color: $on-bg-color;
160
+  }
161
+}
162
+@mixin toggle-small-style($on-bg-color) {
163
+  // the track when the toggle is "on"
164
+  & input:checked + .track {
165
+    background-color: rgba($on-bg-color, .5);
166
+  }
167
+  & input:checked + .track .handle {
168
+    background-color: $on-bg-color;
169
+  }
170
+}
171
+
172
+
173
+// Clearfix
174
+// --------------------------------------------------
175
+
176
+@mixin clearfix {
177
+  *zoom: 1;
178
+  &:before,
179
+  &:after {
180
+    display: table;
181
+    content: "";
182
+    line-height: 0;
183
+  }
184
+  &:after {
185
+    clear: both;
186
+  }
187
+}
188
+
189
+
190
+// Placeholder text
191
+// --------------------------------------------------
192
+
193
+@mixin placeholder($color: $input-color-placeholder, $text-indent: 0) {
194
+  &::-moz-placeholder { // Firefox 19+
195
+    color: $color;
196
+  }
197
+  &:-ms-input-placeholder {
198
+    color: $color;
199
+  }
200
+  &::-webkit-input-placeholder {
201
+    color: $color;
202
+    // Safari placeholder margin issue
203
+    text-indent: $text-indent;
204
+  }
205
+}
206
+
207
+
208
+// Text Mixins
209
+// --------------------------------------------------
210
+
211
+@mixin text-size-adjust($value: none) {
212
+  -webkit-text-size-adjust: $value;
213
+     -moz-text-size-adjust: $value;
214
+          text-size-adjust: $value;
215
+}
216
+@mixin tap-highlight-transparent() {
217
+  -webkit-tap-highlight-color: rgba(0,0,0,0);
218
+  -webkit-tap-highlight-color: transparent; // For some Androids
219
+}
220
+@mixin touch-callout($value: none) {
221
+  -webkit-touch-callout: $value;
222
+}
223
+
224
+
225
+// Font Mixins
226
+// --------------------------------------------------
227
+
228
+@mixin font-family-serif() {
229
+  font-family: $serif-font-family;
230
+}
231
+@mixin font-family-sans-serif() {
232
+  font-family: $sans-font-family;
233
+}
234
+@mixin font-family-monospace() {
235
+  font-family: $mono-font-family;
236
+}
237
+@mixin font-shorthand($size: $base-font-size, $weight: normal, $line-height: $base-line-height) {
238
+  font-weight: $weight;
239
+  font-size: $size;
240
+  line-height: $line-height;
241
+}
242
+@mixin font-serif($size: $base-font-size, $weight: normal, $line-height: $base-line-height) {
243
+  @include font-family-serif();
244
+  @include font-shorthand($size, $weight, $line-height);
245
+}
246
+@mixin font-sans-serif($size: $base-font-size, $weight: normal, $line-height: $base-line-height) {
247
+  @include font-family-sans-serif();
248
+  @include font-shorthand($size, $weight, $line-height);
249
+}
250
+@mixin font-monospace($size: $base-font-size, $weight: normal, $line-height: $base-line-height) {
251
+  @include font-family-monospace();
252
+  @include font-shorthand($size, $weight, $line-height);
253
+}
254
+@mixin font-smoothing($font-smoothing) {
255
+  -webkit-font-smoothing: $font-smoothing;
256
+          font-smoothing: $font-smoothing;
257
+}
258
+
259
+
260
+// Appearance
261
+// --------------------------------------------------
262
+
263
+@mixin appearance($val) {
264
+  -webkit-appearance: $val;
265
+     -moz-appearance: $val;
266
+          appearance: $val;
267
+}
268
+
269
+
270
+// Border Radius Mixins
271
+// --------------------------------------------------
272
+
273
+@mixin border-radius($radius) {
274
+  -webkit-border-radius: $radius;
275
+          border-radius: $radius;
276
+}
277
+
278
+// Single Corner Border Radius
279
+@mixin border-top-left-radius($radius) {
280
+  -webkit-border-top-left-radius: $radius;
281
+          border-top-left-radius: $radius;
282
+}
283
+@mixin border-top-right-radius($radius) {
284
+  -webkit-border-top-right-radius: $radius;
285
+          border-top-right-radius: $radius;
286
+}
287
+@mixin border-bottom-right-radius($radius) {
288
+  -webkit-border-bottom-right-radius: $radius;
289
+          border-bottom-right-radius: $radius;
290
+}
291
+@mixin border-bottom-left-radius($radius) {
292
+  -webkit-border-bottom-left-radius: $radius;
293
+          border-bottom-left-radius: $radius;
294
+}
295
+
296
+// Single Side Border Radius
297
+@mixin border-top-radius($radius) {
298
+  @include border-top-right-radius($radius);
299
+  @include border-top-left-radius($radius);
300
+}
301
+@mixin border-right-radius($radius) {
302
+  @include border-top-right-radius($radius);
303
+  @include border-bottom-right-radius($radius);
304
+}
305
+@mixin border-bottom-radius($radius) {
306
+  @include border-bottom-right-radius($radius);
307
+  @include border-bottom-left-radius($radius);
308
+}
309
+@mixin border-left-radius($radius) {
310
+  @include border-top-left-radius($radius);
311
+  @include border-bottom-left-radius($radius);
312
+}
313
+
314
+
315
+// Box shadows
316
+// --------------------------------------------------
317
+
318
+@mixin box-shadow($shadow...) {
319
+  -webkit-box-shadow: $shadow;
320
+          box-shadow: $shadow;
321
+}
322
+
323
+
324
+// Transition Mixins
325
+// --------------------------------------------------
326
+
327
+@mixin transition($transition...) {
328
+  -webkit-transition: $transition;
329
+          transition: $transition;
330
+}
331
+@mixin transition-delay($transition-delay) {
332
+  -webkit-transition-delay: $transition-delay;
333
+          transition-delay: $transition-delay;
334
+}
335
+@mixin transition-duration($transition-duration) {
336
+  -webkit-transition-duration: $transition-duration;
337
+          transition-duration: $transition-duration;
338
+}
339
+@mixin transition-timing-function($transition-timing) {
340
+   -webkit-transition-timing-function: $transition-timing;
341
+           transition-timing-function: $transition-timing;
342
+ }
343
+ @mixin transition-property($property) {
344
+  -webkit-transition-property: $property;
345
+          transition-property: $property;
346
+}
347
+@mixin transition-transform($properties...) {
348
+  // special case cuz of transform vendor prefixes
349
+  -webkit-transition: -webkit-transform $properties;
350
+          transition: transform $properties;
351
+}
352
+
353
+
354
+// Animation Mixins
355
+// --------------------------------------------------
356
+
357
+@mixin animation($animation) {
358
+ -webkit-animation: $animation;
359
+         animation: $animation;
360
+}
361
+@mixin animation-duration($duration) {
362
+ -webkit-animation-duration: $duration;
363
+         animation-duration: $duration;
364
+}
365
+@mixin animation-direction($direction) {
366
+ -webkit-animation-direction: $direction;
367
+         animation-direction: $direction;
368
+}
369
+@mixin animation-timing-function($animation-timing) {
370
+ -webkit-animation-timing-function: $animation-timing;
371
+         animation-timing-function: $animation-timing;
372
+}
373
+@mixin animation-fill-mode($fill-mode) {
374
+ -webkit-animation-fill-mode: $fill-mode;
375
+         animation-fill-mode: $fill-mode;
376
+}
377
+@mixin animation-name($name...) {
378
+ -webkit-animation-name: $name;
379
+         animation-name: $name;
380
+}
381
+@mixin animation-iteration-count($count) {
382
+ -webkit-animation-iteration-count: $count;
383
+         animation-iteration-count: $count;
384
+}
385
+
386
+
387
+// Transformation Mixins
388
+// --------------------------------------------------
389
+
390
+@mixin rotate($degrees) {
391
+  @include transform( rotate($degrees) );
392
+}
393
+@mixin scale($ratio) {
394
+  @include transform( scale($ratio) );
395
+}
396
+@mixin translate($x, $y) {
397
+  @include transform( translate($x, $y) );
398
+}
399
+@mixin skew($x, $y) {
400
+  @include transform( skew($x, $y) );
401
+  -webkit-backface-visibility: hidden;
402
+}
403
+@mixin translate3d($x, $y, $z) {
404
+  @include transform( translate3d($x, $y, $z) );
405
+}
406
+@mixin translateZ($z) {
407
+  @include transform( translateZ($z) );
408
+}
409
+@mixin transform($val) {
410
+  -webkit-transform: $val;
411
+          transform: $val;
412
+}
413
+
414
+@mixin transform-origin($left, $top) {
415
+  -webkit-transform-origin: $left $top;
416
+          transform-origin: $left $top;
417
+}
418
+
419
+
420
+// Backface visibility
421
+// --------------------------------------------------
422
+// Prevent browsers from flickering when using CSS 3D transforms.
423
+// Default value is `visible`, but can be changed to `hidden
424
+
425
+@mixin backface-visibility($visibility){
426
+  -webkit-backface-visibility: $visibility;
427
+          backface-visibility: $visibility;
428
+}
429
+
430
+
431
+// Background clipping
432
+// --------------------------------------------------
433
+
434
+@mixin background-clip($clip) {
435
+  -webkit-background-clip: $clip;
436
+          background-clip: $clip;
437
+}
438
+
439
+
440
+// Background sizing
441
+// --------------------------------------------------
442
+
443
+@mixin background-size($size) {
444
+  -webkit-background-size: $size;
445
+          background-size: $size;
446
+}
447
+
448
+
449
+// Box sizing
450
+// --------------------------------------------------
451
+
452
+@mixin box-sizing($boxmodel) {
453
+  -webkit-box-sizing: $boxmodel;
454
+     -moz-box-sizing: $boxmodel;
455
+          box-sizing: $boxmodel;
456
+}
457
+
458
+
459
+// User select
460
+// --------------------------------------------------
461
+
462
+@mixin user-select($select) {
463
+  -webkit-user-select: $select;
464
+     -moz-user-select: $select;
465
+      -ms-user-select: $select;
466
+          user-select: $select;
467
+}
468
+
469
+
470
+// Content Columns
471
+// --------------------------------------------------
472
+
473
+@mixin content-columns($columnCount, $columnGap: $grid-gutter-width) {
474
+  -webkit-column-count: $columnCount;
475
+     -moz-column-count: $columnCount;
476
+          column-count: $columnCount;
477
+  -webkit-column-gap: $columnGap;
478
+     -moz-column-gap: $columnGap;
479
+          column-gap: $columnGap;
480
+}
481
+
482
+
483
+// Flexbox Mixins
484
+// --------------------------------------------------
485
+// http://philipwalton.github.io/solved-by-flexbox/
486
+// https://github.com/philipwalton/solved-by-flexbox
487
+
488
+@mixin display-flex {
489
+  display: -webkit-box;
490
+  display: -webkit-flex;
491
+  display: -moz-box;
492
+  display: -moz-flex;
493
+  display: -ms-flexbox;
494
+  display: flex;
495
+}
496
+
497
+@mixin display-inline-flex {
498
+  display: -webkit-inline-box;
499
+  display: -webkit-inline-flex;
500
+  display: -moz-inline-flex;
501
+  display: -ms-inline-flexbox;
502
+  display: inline-flex;
503
+}
504
+
505
+@mixin flex-direction($value: row) {
506
+  @if $value == row-reverse {
507
+    -webkit-box-direction: reverse;
508
+    -webkit-box-orient: horizontal;
509
+  } @else if $value == column {
510
+    -webkit-box-direction: normal;
511
+    -webkit-box-orient: vertical;
512
+  } @else if $value == column-reverse {
513
+    -webkit-box-direction: reverse;
514
+    -webkit-box-orient: vertical;
515
+  } @else {
516
+    -webkit-box-direction: normal;
517
+    -webkit-box-orient: horizontal;
518
+  }
519
+  -webkit-flex-direction: $value;
520
+  -moz-flex-direction: $value;
521
+  -ms-flex-direction: $value;
522
+  flex-direction: $value;
523
+}
524
+
525
+@mixin flex-wrap($value: nowrap) {
526
+  // No Webkit Box fallback.
527
+  -webkit-flex-wrap: $value;
528
+  -moz-flex-wrap: $value;
529
+  @if $value == nowrap {
530
+      -ms-flex-wrap: none;
531
+  } @else {
532
+      -ms-flex-wrap: $value;
533
+  }
534
+  flex-wrap: $value;
535
+}
536
+
537
+@mixin flex($fg: 1, $fs: null, $fb: null) {
538
+  -webkit-box-flex: $fg;
539
+  -webkit-flex: $fg $fs $fb;
540
+  -moz-box-flex: $fg;
541
+  -moz-flex: $fg $fs $fb;
542
+  -ms-flex: $fg $fs $fb;
543
+  flex: $fg $fs $fb;
544
+}
545
+
546
+@mixin flex-flow($values: (row nowrap)) {
547
+  // No Webkit Box fallback.
548
+  -webkit-flex-flow: $values;
549
+  -moz-flex-flow: $values;
550
+  -ms-flex-flow: $values;
551
+  flex-flow: $values;
552
+}
553
+
554
+@mixin align-items($value: stretch) {
555
+  @if $value == flex-start {
556
+    -webkit-box-align: start;
557
+    -ms-flex-align: start;
558
+  } @else if $value == flex-end {
559
+    -webkit-box-align: end;
560
+    -ms-flex-align: end;
561
+  } @else {
562
+    -webkit-box-align: $value;
563
+    -ms-flex-align: $value;
564
+  }
565
+  -webkit-align-items: $value;
566
+  -moz-align-items: $value;
567
+  align-items: $value;
568
+}
569
+
570
+@mixin align-self($value: auto) {
571
+  -webkit-align-self: $value;
572
+  -moz-align-self: $value;
573
+  @if $value == flex-start {
574
+    -ms-flex-item-align: start;
575
+  } @else if $value == flex-end {
576
+    -ms-flex-item-align: end;
577
+  } @else {
578
+    -ms-flex-item-align: $value;
579
+  }
580
+  align-self: $value;
581
+}
582
+
583
+@mixin align-content($value: stretch) {
584
+  -webkit-align-content: $value;
585
+  -moz-align-content: $value;
586
+  @if $value == flex-start {
587
+    -ms-flex-line-pack: start;
588
+  } @else if $value == flex-end {
589
+    -ms-flex-line-pack: end;
590
+  } @else {
591
+    -ms-flex-line-pack: $value;
592
+  }
593
+  align-content: $value;
594
+}
595
+
596
+@mixin justify-content($value: stretch) {
597
+  @if $value == flex-start {
598
+    -webkit-box-pack: start;
599
+    -ms-flex-pack: start;
600
+  } @else if $value == flex-end {
601
+    -webkit-box-pack: end;
602
+    -ms-flex-pack: end;
603
+  } @else if $value == space-between {
604
+    -webkit-box-pack: justify;
605
+    -ms-flex-pack: justify;
606
+  } @else {
607
+    -webkit-box-pack: $value;
608
+    -ms-flex-pack: $value;
609
+  }
610
+  -webkit-justify-content: $value;
611
+  -moz-justify-content: $value;
612
+  justify-content: $value;
613
+}
614
+
615
+@mixin flex-order($n) {
616
+  -webkit-order: $n;
617
+  -ms-flex-order: $n;
618
+  order: $n;
619
+  -webkit-box-ordinal-group: $n;
620
+}
621
+
622
+@mixin responsive-grid-break($selector, $max-width) {
623
+  @media (max-width: $max-width) {
624
+    #{$selector} {
625
+      -webkit-box-direction: normal;
626
+      -moz-box-direction: normal;
627
+      -webkit-box-orient: vertical;
628
+      -moz-box-orient: vertical;
629
+      -webkit-flex-direction: column;
630
+      -ms-flex-direction: column;
631
+      flex-direction: column;
632
+
633
+      .col, .col-10, .col-20, .col-25, .col-33, .col-34, .col-50, .col-66, .col-67, .col-75, .col-80, .col-90 {
634
+        @include flex(1);
635
+        margin-bottom: ($grid-padding-width * 3) / 2;
636
+        margin-left: 0;
637
+        max-width: 100%;
638
+        width: 100%;
639
+      }
640
+    }
641
+  }
642
+}

+ 102
- 0
lib/ionic/scss/_modal.scss Voir le fichier

@@ -0,0 +1,102 @@
1
+
2
+/**
3
+ * Modals
4
+ * --------------------------------------------------
5
+ * Modals are independent windows that slide in from off-screen.
6
+ */
7
+
8
+.modal-backdrop,
9
+.modal-backdrop-bg {
10
+  position: fixed;
11
+  top: 0;
12
+  left: 0;
13
+  z-index: $z-index-modal;
14
+  width: 100%;
15
+  height: 100%;
16
+}
17
+
18
+.modal-backdrop-bg {
19
+  pointer-events: none;
20
+}
21
+
22
+.modal {
23
+  display: block;
24
+  position: absolute;
25
+  top: 0;
26
+  z-index: $z-index-modal;
27
+  overflow: hidden;
28
+  min-height: 100%;
29
+  width: 100%;
30
+  background-color: $modal-bg-color;
31
+}
32
+
33
+@media (min-width: $modal-inset-mode-break-point) {
34
+  // inset mode is when the modal doesn't fill the entire
35
+  // display but instead is centered within a large display
36
+  .modal {
37
+    top: $modal-inset-mode-top;
38
+    right: $modal-inset-mode-right;
39
+    bottom: $modal-inset-mode-bottom;
40
+    left: $modal-inset-mode-left;
41
+    min-height: $modal-inset-mode-min-height;
42
+    width: (100% - $modal-inset-mode-left - $modal-inset-mode-right);
43
+  }
44
+
45
+  .modal.ng-leave-active {
46
+    bottom: 0;
47
+  }
48
+
49
+  // remove ios header padding from inset header
50
+  .platform-ios.platform-cordova .modal-wrapper .modal {
51
+    .bar-header:not(.bar-subheader) {
52
+      height: $bar-height;
53
+      > * {
54
+        margin-top: 0;
55
+      }
56
+    }
57
+    .tabs-top > .tabs,
58
+    .tabs.tabs-top {
59
+      top: $bar-height;
60
+    }
61
+    .has-header,
62
+    .bar-subheader {
63
+      top: $bar-height;
64
+    }
65
+    .has-subheader {
66
+      top: $bar-height + $bar-subheader-height;
67
+    }
68
+    .has-header.has-tabs-top {
69
+      top: $bar-height + $tabs-height;
70
+    }
71
+    .has-header.has-subheader.has-tabs-top {
72
+      top: $bar-height + $bar-subheader-height + $tabs-height;
73
+    }
74
+  }
75
+
76
+  .modal-backdrop-bg {
77
+    @include transition(opacity 300ms ease-in-out);
78
+    background-color: $modal-backdrop-bg-active;
79
+    opacity: 0;
80
+  }
81
+
82
+  .active .modal-backdrop-bg {
83
+    opacity: 0.5;
84
+  }
85
+}
86
+
87
+// disable clicks on all but the modal
88
+.modal-open {
89
+  pointer-events: none;
90
+
91
+  .modal,
92
+  .modal-backdrop {
93
+    pointer-events: auto;
94
+  }
95
+  // prevent clicks on modal when loading overlay is active though
96
+  &.loading-active {
97
+    .modal,
98
+    .modal-backdrop {
99
+      pointer-events: none;
100
+    }
101
+  }
102
+}

+ 77
- 0
lib/ionic/scss/_platform.scss Voir le fichier

@@ -0,0 +1,77 @@
1
+
2
+/**
3
+ * Platform
4
+ * --------------------------------------------------
5
+ * Platform specific tweaks
6
+ */
7
+
8
+.platform-ios.platform-cordova {
9
+  // iOS has a status bar which sits on top of the header.
10
+  // Bump down everything to make room for it. However, if
11
+  // if its in Cordova, and set to fullscreen, then disregard the bump.
12
+  &:not(.fullscreen) {
13
+    .bar-header:not(.bar-subheader) {
14
+      height: $bar-height + $ios-statusbar-height;
15
+
16
+      &.item-input-inset .item-input-wrapper {
17
+        margin-top: 19px !important;
18
+      }
19
+
20
+      > * {
21
+        margin-top: $ios-statusbar-height;
22
+      }
23
+    }
24
+    .tabs-top > .tabs,
25
+    .tabs.tabs-top {
26
+      top: $bar-height + $ios-statusbar-height;
27
+    }
28
+
29
+    .has-header,
30
+    .bar-subheader {
31
+      top: $bar-height + $ios-statusbar-height;
32
+    }
33
+    .has-subheader {
34
+      top: $bar-height + $bar-subheader-height + $ios-statusbar-height;
35
+    }
36
+    .has-header.has-tabs-top {
37
+      top: $bar-height + $tabs-height + $ios-statusbar-height;
38
+    }
39
+    .has-header.has-subheader.has-tabs-top {
40
+      top: $bar-height + $bar-subheader-height + $tabs-height + $ios-statusbar-height;
41
+    }
42
+  }
43
+  .popover{
44
+    .bar-header:not(.bar-subheader) {
45
+      height: $bar-height;
46
+      &.item-input-inset .item-input-wrapper {
47
+        margin-top: -1px;
48
+      }
49
+      > * {
50
+        margin-top: 0;
51
+      }
52
+    }
53
+    .has-header,
54
+    .bar-subheader {
55
+      top: $bar-height;
56
+    }
57
+    .has-subheader {
58
+      top: $bar-height + $bar-subheader-height;
59
+    }
60
+  }
61
+  &.status-bar-hide {
62
+    // Cordova doesn't adjust the body height correctly, this makes up for it
63
+    margin-bottom: 20px;
64
+  }
65
+}
66
+
67
+@media (orientation:landscape) {
68
+  .platform-ios.platform-browser.platform-ipad {
69
+    position: fixed; // required for iPad 7 Safari
70
+  }
71
+}
72
+
73
+.platform-c:not(.enable-transitions) * {
74
+  // disable transitions on grade-c devices (Android 2)
75
+  -webkit-transition: none !important;
76
+  transition: none !important;
77
+}

+ 168
- 0
lib/ionic/scss/_popover.scss Voir le fichier

@@ -0,0 +1,168 @@
1
+
2
+/**
3
+ * Popovers
4
+ * --------------------------------------------------
5
+ * Popovers are independent views which float over content
6
+ */
7
+
8
+.popover-backdrop {
9
+  position: fixed;
10
+  top: 0;
11
+  left: 0;
12
+  z-index: $z-index-popover;
13
+  width: 100%;
14
+  height: 100%;
15
+  background-color: $popover-backdrop-bg-inactive;
16
+
17
+  &.active {
18
+    background-color: $popover-backdrop-bg-active;
19
+  }
20
+}
21
+
22
+.popover {
23
+  position: absolute;
24
+  top: 25%;
25
+  left: 50%;
26
+  z-index: $z-index-popover;
27
+  display: block;
28
+  margin-top: 12px;
29
+  margin-left: -$popover-width / 2;
30
+  height: $popover-height;
31
+  width: $popover-width;
32
+  background-color: $popover-bg-color;
33
+  box-shadow: $popover-box-shadow;
34
+  opacity: 0;
35
+
36
+  .item:first-child {
37
+    border-top: 0;
38
+  }
39
+
40
+  .item:last-child {
41
+    border-bottom: 0;
42
+  }
43
+
44
+  &.popover-bottom {
45
+    margin-top: -12px;
46
+  }
47
+}
48
+
49
+
50
+// Set popover border-radius
51
+.popover,
52
+.popover .bar-header {
53
+  border-radius: $popover-border-radius;
54
+}
55
+.popover .scroll-content {
56
+  z-index: 1;
57
+  margin: 2px 0;
58
+}
59
+.popover .bar-header {
60
+  border-bottom-right-radius: 0;
61
+  border-bottom-left-radius: 0;
62
+}
63
+.popover .has-header {
64
+  border-top-right-radius: 0;
65
+  border-top-left-radius: 0;
66
+}
67
+.popover-arrow {
68
+  display: none;
69
+}
70
+
71
+
72
+// iOS Popover
73
+.platform-ios {
74
+
75
+  .popover {
76
+    box-shadow: $popover-box-shadow-ios;
77
+    border-radius: $popover-border-radius-ios;
78
+  }
79
+  .popover .bar-header {
80
+    @include border-top-radius($popover-border-radius-ios);
81
+  }
82
+  .popover .scroll-content {
83
+    margin: 8px 0;
84
+    border-radius: $popover-border-radius-ios;
85
+  }
86
+  .popover .scroll-content.has-header {
87
+    margin-top: 0;
88
+  }
89
+  .popover-arrow {
90
+    position: absolute;
91
+    display: block;
92
+    top: -17px;
93
+    width: 30px;
94
+    height: 19px;
95
+    overflow: hidden;
96
+
97
+    &:after {
98
+      position: absolute;
99
+      top: 12px;
100
+      left: 5px;
101
+      width: 20px;
102
+      height: 20px;
103
+      background-color: $popover-bg-color;
104
+      border-radius: 3px;
105
+      content: '';
106
+      @include rotate(-45deg);
107
+    }
108
+  }
109
+  .popover-bottom .popover-arrow {
110
+    top: auto;
111
+    bottom: -10px;
112
+    &:after {
113
+      top: -6px;
114
+    }
115
+  }
116
+}
117
+
118
+
119
+// Android Popover
120
+.platform-android {
121
+
122
+  .popover {
123
+    margin-top: -32px;
124
+    background-color: $popover-bg-color-android;
125
+    box-shadow: $popover-box-shadow-android;
126
+
127
+    .item {
128
+      border-color: $popover-bg-color-android;
129
+      background-color: $popover-bg-color-android;
130
+      color: #4d4d4d;
131
+    }
132
+    &.popover-bottom {
133
+      margin-top: 32px;
134
+    }
135
+  }
136
+
137
+  .popover-backdrop,
138
+  .popover-backdrop.active {
139
+    background-color: transparent;
140
+  }
141
+}
142
+
143
+
144
+// disable clicks on all but the popover
145
+.popover-open {
146
+  pointer-events: none;
147
+
148
+  .popover,
149
+  .popover-backdrop {
150
+    pointer-events: auto;
151
+  }
152
+  // prevent clicks on popover when loading overlay is active though
153
+  &.loading-active {
154
+    .popover,
155
+    .popover-backdrop {
156
+      pointer-events: none;
157
+    }
158
+  }
159
+}
160
+
161
+
162
+// wider popover on larger viewports
163
+@media (min-width: $popover-large-break-point) {
164
+  .popover {
165
+    width: $popover-large-width;
166
+    margin-left: -$popover-large-width / 2;
167
+  }
168
+}

+ 110
- 0
lib/ionic/scss/_popup.scss Voir le fichier

@@ -0,0 +1,110 @@
1
+
2
+/**
3
+ * Popups
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.popup-container {
8
+  position: absolute;
9
+  top: 0;
10
+  left: 0;
11
+  bottom: 0;
12
+  right: 0;
13
+  background: rgba(0,0,0,0);
14
+
15
+  @include display-flex();
16
+  @include justify-content(center);
17
+  @include align-items(center);
18
+
19
+  z-index: $z-index-popup;
20
+
21
+  // Start hidden
22
+  visibility: hidden;
23
+  &.popup-showing {
24
+    visibility: visible;
25
+  }
26
+
27
+  &.popup-hidden .popup {
28
+    @include animation-name(scaleOut);
29
+    @include animation-duration($popup-leave-animation-duration);
30
+    @include animation-timing-function(ease-in-out);
31
+    @include animation-fill-mode(both);
32
+  }
33
+
34
+  &.active .popup {
35
+    @include animation-name(superScaleIn);
36
+    @include animation-duration($popup-enter-animation-duration);
37
+    @include animation-timing-function(ease-in-out);
38
+    @include animation-fill-mode(both);
39
+  }
40
+
41
+  .popup {
42
+    width: $popup-width;
43
+    max-width: 100%;
44
+    max-height: 90%;
45
+
46
+    border-radius: $popup-border-radius;
47
+    background-color: $popup-background-color;
48
+
49
+    @include display-flex();
50
+    @include flex-direction(column);
51
+  }
52
+
53
+  input,
54
+  textarea {
55
+    width: 100%;
56
+  }
57
+}
58
+
59
+.popup-head {
60
+  padding: 15px 10px;
61
+  border-bottom: 1px solid #eee;
62
+  text-align: center;
63
+}
64
+.popup-title {
65
+  margin: 0;
66
+  padding: 0;
67
+  font-size: 15px;
68
+}
69
+.popup-sub-title {
70
+  margin: 5px 0 0 0;
71
+  padding: 0;
72
+  font-weight: normal;
73
+  font-size: 11px;
74
+}
75
+.popup-body {
76
+  padding: 10px;
77
+  overflow: auto;
78
+}
79
+
80
+.popup-buttons {
81
+  @include display-flex();
82
+  @include flex-direction(row);
83
+  padding: 10px;
84
+  min-height: $popup-button-min-height + 20;
85
+
86
+  .button {
87
+    @include flex(1);
88
+    display: block;
89
+    min-height: $popup-button-min-height;
90
+    border-radius: $popup-button-border-radius;
91
+    line-height: $popup-button-line-height;
92
+
93
+    margin-right: 5px;
94
+    &:last-child {
95
+      margin-right: 0px;
96
+    }
97
+  }
98
+}
99
+
100
+.popup-open {
101
+  pointer-events: none;
102
+
103
+  &.modal-open .modal {
104
+    pointer-events: none;
105
+  }
106
+
107
+  .popup-backdrop, .popup {
108
+    pointer-events: auto;
109
+  }
110
+}

+ 11
- 0
lib/ionic/scss/_progress.scss Voir le fichier

@@ -0,0 +1,11 @@
1
+
2
+/**
3
+ * Progress
4
+ * --------------------------------------------------
5
+ */
6
+
7
+progress {
8
+  display: block;
9
+  margin: $progress-margin;
10
+  width: $progress-width;
11
+}

+ 47
- 0
lib/ionic/scss/_radio.scss Voir le fichier

@@ -0,0 +1,47 @@
1
+
2
+/**
3
+ * Radio Button Inputs
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.item-radio {
8
+  padding: 0;
9
+
10
+  &:hover {
11
+    cursor: pointer;
12
+  }
13
+}
14
+
15
+.item-radio .item-content {
16
+  /* give some room to the right for the checkmark icon */
17
+  padding-right: $item-padding * 4;
18
+}
19
+
20
+.item-radio .radio-icon {
21
+  /* checkmark icon will be hidden by default */
22
+  position: absolute;
23
+  top: 0;
24
+  right: 0;
25
+  z-index: $z-index-item-radio;
26
+  visibility: hidden;
27
+  padding: $item-padding - 2;
28
+  height: 100%;
29
+  font-size: 24px;
30
+}
31
+
32
+.item-radio input {
33
+  /* hide any radio button inputs elements (the ugly circles) */
34
+  position: absolute;
35
+  left: -9999px;
36
+
37
+  &:checked + .radio-content .item-content {
38
+    /* style the item content when its checked */
39
+    background: #f7f7f7;
40
+  }
41
+
42
+  &:checked + .radio-content .radio-icon {
43
+    /* show the checkmark icon when its checked */
44
+    visibility: visible;
45
+  }
46
+}
47
+

+ 160
- 0
lib/ionic/scss/_range.scss Voir le fichier

@@ -0,0 +1,160 @@
1
+
2
+/**
3
+ * Range
4
+ * --------------------------------------------------
5
+ */
6
+
7
+ .range input{
8
+  display: inline-block;
9
+  overflow: hidden;
10
+  margin-top: 5px;
11
+  margin-bottom: 5px;
12
+  padding-right: 2px;
13
+  padding-left: 1px;
14
+  width: auto;
15
+  height: $range-slider-height + 15;
16
+  outline: none;
17
+  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, $range-default-track-bg), color-stop(100%, $range-default-track-bg));
18
+  background: linear-gradient(to right, $range-default-track-bg 0%, $range-default-track-bg 100%);
19
+  background-position: center;
20
+  background-size: 99% $range-track-height;
21
+  background-repeat: no-repeat;
22
+  -webkit-appearance: none;
23
+
24
+  &::-moz-focus-outer {
25
+    /* hide the focus outline in Firefox */
26
+    border: 0;
27
+  }
28
+
29
+  &::-webkit-slider-thumb {
30
+    position: relative;
31
+    width: $range-slider-width;
32
+    height: $range-slider-height;
33
+    border-radius: $range-slider-border-radius;
34
+    background-color: $toggle-handle-off-bg-color;
35
+    box-shadow: $range-slider-box-shadow;
36
+    cursor: pointer;
37
+    -webkit-appearance: none;
38
+    border: 0;
39
+  }
40
+
41
+  &::-webkit-slider-thumb:before{
42
+    /* what creates the colorful line on the left side of the slider */
43
+    position: absolute;
44
+    top: ($range-slider-height / 2) - ($range-track-height / 2);
45
+    left: -2001px;
46
+    width: 2000px;
47
+    height: $range-track-height;
48
+    background: $dark;
49
+    content: ' ';
50
+  }
51
+
52
+  &::-webkit-slider-thumb:after {
53
+    /* create a larger (but hidden) hit area */
54
+    position: absolute;
55
+    top: -15px;
56
+    left: -15px;
57
+    padding: 30px;
58
+    content: ' ';
59
+    //background: red;
60
+    //opacity: .5;
61
+  }
62
+   &::-ms-fill-lower{
63
+     height: $range-track-height;
64
+     background:$dark;
65
+   }
66
+  /*
67
+   &::-ms-track{
68
+     background: transparent;
69
+     border-color: transparent;
70
+     border-width: 11px 0 16px;
71
+     color:transparent;
72
+     margin-top:20px;
73
+   }
74
+   &::-ms-thumb {
75
+     width: $range-slider-width;
76
+     height: $range-slider-height;
77
+     border-radius: $range-slider-border-radius;
78
+     background-color: $toggle-handle-off-bg-color;
79
+     border-color:$toggle-handle-off-bg-color;
80
+     box-shadow: $range-slider-box-shadow;
81
+     margin-left:1px;
82
+     margin-right:1px;
83
+     outline:none;
84
+   }
85
+   &::-ms-fill-upper {
86
+     height: $range-track-height;
87
+     background:$range-default-track-bg;
88
+   }
89
+   */
90
+}
91
+
92
+.range {
93
+  @include display-flex();
94
+  @include align-items(center);
95
+  padding: 2px 11px;
96
+
97
+  &.range-light {
98
+    input { @include range-style($range-light-track-bg); }
99
+  }
100
+  &.range-stable {
101
+    input { @include range-style($range-stable-track-bg); }
102
+  }
103
+  &.range-positive {
104
+    input { @include range-style($range-positive-track-bg); }
105
+  }
106
+  &.range-calm {
107
+    input { @include range-style($range-calm-track-bg); }
108
+  }
109
+  &.range-balanced {
110
+    input { @include range-style($range-balanced-track-bg); }
111
+  }
112
+  &.range-assertive {
113
+    input { @include range-style($range-assertive-track-bg); }
114
+  }
115
+  &.range-energized {
116
+    input { @include range-style($range-energized-track-bg); }
117
+  }
118
+  &.range-royal {
119
+    input { @include range-style($range-royal-track-bg); }
120
+  }
121
+  &.range-dark {
122
+    input { @include range-style($range-dark-track-bg); }
123
+  }
124
+}
125
+
126
+.range .icon {
127
+  @include flex(0);
128
+  display: block;
129
+  min-width: $range-icon-size;
130
+  text-align: center;
131
+  font-size: $range-icon-size;
132
+}
133
+
134
+.range input {
135
+  @include flex(1);
136
+  display: block;
137
+  margin-right: 10px;
138
+  margin-left: 10px;
139
+}
140
+
141
+.range-label {
142
+  @include flex(0, 0, auto);
143
+  display: block;
144
+  white-space: nowrap;
145
+}
146
+
147
+.range-label:first-child {
148
+  padding-left: 5px;
149
+}
150
+.range input + .range-label {
151
+  padding-right: 5px;
152
+  padding-left: 0;
153
+}
154
+
155
+// WP range height must be auto
156
+.platform-windowsphone{
157
+  .range input{
158
+    height:auto;
159
+  }
160
+}

+ 113
- 0
lib/ionic/scss/_refresher.scss Voir le fichier

@@ -0,0 +1,113 @@
1
+
2
+// Scroll refresher (for pull to refresh)
3
+.scroll-refresher {
4
+  position: absolute;
5
+  top: -60px;
6
+  right: 0;
7
+  left: 0;
8
+  overflow: hidden;
9
+  margin: auto;
10
+  height: 60px;
11
+  .ionic-refresher-content {
12
+    position: absolute;
13
+    bottom: 15px;
14
+    left: 0;
15
+    width: 100%;
16
+    color: $scroll-refresh-icon-color;
17
+    text-align: center;
18
+
19
+    font-size: 30px;
20
+
21
+    .text-refreshing,
22
+    .text-pulling {
23
+      font-size: 16px;
24
+      line-height: 16px;
25
+    }
26
+    &.ionic-refresher-with-text {
27
+      bottom: 10px;
28
+    }
29
+  }
30
+
31
+  .icon-refreshing,
32
+  .icon-pulling {
33
+    width: 100%;
34
+    -webkit-backface-visibility: hidden;
35
+    backface-visibility: hidden;
36
+    -webkit-transform-style: preserve-3d;
37
+    transform-style: preserve-3d;
38
+  }
39
+  .icon-pulling {
40
+    @include animation-name(refresh-spin-back);
41
+    @include animation-duration(200ms);
42
+    @include animation-timing-function(linear);
43
+    @include animation-fill-mode(none);
44
+    -webkit-transform: translate3d(0,0,0) rotate(0deg);
45
+    transform: translate3d(0,0,0) rotate(0deg);
46
+  }
47
+  .icon-refreshing,
48
+  .text-refreshing {
49
+    display: none;
50
+  }
51
+  .icon-refreshing {
52
+    @include animation-duration(1.5s);
53
+  }
54
+
55
+  &.active {
56
+    .icon-pulling:not(.pulling-rotation-disabled) {
57
+      @include animation-name(refresh-spin);
58
+      -webkit-transform: translate3d(0,0,0) rotate(-180deg);
59
+      transform: translate3d(0,0,0) rotate(-180deg);
60
+    }
61
+    &.refreshing {
62
+      @include transition(-webkit-transform .2s);
63
+      @include transition(transform .2s);
64
+      -webkit-transform: scale(1,1);
65
+      transform: scale(1,1);
66
+
67
+      .icon-pulling,
68
+      .text-pulling {
69
+        display: none;
70
+      }
71
+      .icon-refreshing,
72
+      .text-refreshing {
73
+        display: block;
74
+      }
75
+      &.refreshing-tail {
76
+        -webkit-transform: scale(0,0);
77
+        transform: scale(0,0);
78
+      }
79
+    }
80
+  }
81
+}
82
+.overflow-scroll > .scroll{
83
+  &.overscroll{
84
+    position:fixed;
85
+    right: 0;
86
+    left: 0;
87
+  }
88
+  -webkit-overflow-scrolling:touch;
89
+  width:100%;
90
+}
91
+
92
+.overflow-scroll.padding > .scroll.overscroll{
93
+    padding: 10px;
94
+}
95
+@-webkit-keyframes refresh-spin {
96
+  0%   { -webkit-transform: translate3d(0,0,0) rotate(0); }
97
+  100% { -webkit-transform: translate3d(0,0,0) rotate(180deg); }
98
+}
99
+
100
+@keyframes refresh-spin {
101
+  0%   { transform: translate3d(0,0,0) rotate(0); }
102
+  100% { transform: translate3d(0,0,0) rotate(180deg); }
103
+}
104
+
105
+@-webkit-keyframes refresh-spin-back {
106
+  0%   { -webkit-transform: translate3d(0,0,0) rotate(180deg); }
107
+  100% { -webkit-transform: translate3d(0,0,0) rotate(0); }
108
+}
109
+
110
+@keyframes refresh-spin-back {
111
+  0%   { transform: translate3d(0,0,0) rotate(180deg); }
112
+  100% { transform: translate3d(0,0,0) rotate(0); }
113
+}

+ 365
- 0
lib/ionic/scss/_reset.scss Voir le fichier

@@ -0,0 +1,365 @@
1
+
2
+/**
3
+ * Resets
4
+ * --------------------------------------------------
5
+ * Adapted from normalize.css and some reset.css. We don't care even one
6
+ * bit about old IE, so we don't need any hacks for that in here.
7
+ *
8
+ * There are probably other things we could remove here, as well.
9
+ *
10
+ * normalize.css v2.1.2 | MIT License | git.io/normalize
11
+
12
+ * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
13
+ * http://cssreset.com
14
+ */
15
+
16
+html, body, div, span, applet, object, iframe,
17
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
18
+a, abbr, acronym, address, big, cite, code,
19
+del, dfn, em, img, ins, kbd, q, s, samp,
20
+small, strike, strong, sub, sup, tt, var,
21
+b, i, u, center,
22
+dl, dt, dd, ol, ul, li,
23
+fieldset, form, label, legend,
24
+table, caption, tbody, tfoot, thead, tr, th, td,
25
+article, aside, canvas, details, embed, fieldset,
26
+figure, figcaption, footer, header, hgroup,
27
+menu, nav, output, ruby, section, summary,
28
+time, mark, audio, video {
29
+  margin: 0;
30
+  padding: 0;
31
+  border: 0;
32
+  vertical-align: baseline;
33
+  font: inherit;
34
+  font-size: 100%;
35
+}
36
+
37
+ol, ul {
38
+  list-style: none;
39
+}
40
+blockquote, q {
41
+  quotes: none;
42
+}
43
+blockquote:before, blockquote:after,
44
+q:before, q:after {
45
+  content: '';
46
+  content: none;
47
+}
48
+
49
+/**
50
+ * Prevent modern browsers from displaying `audio` without controls.
51
+ * Remove excess height in iOS 5 devices.
52
+ */
53
+
54
+audio:not([controls]) {
55
+  display: none;
56
+  height: 0;
57
+}
58
+
59
+/**
60
+ * Hide the `template` element in IE, Safari, and Firefox < 22.
61
+ */
62
+
63
+[hidden],
64
+template {
65
+  display: none;
66
+}
67
+
68
+script {
69
+  display: none !important;
70
+}
71
+
72
+/* ==========================================================================
73
+   Base
74
+   ========================================================================== */
75
+
76
+/**
77
+ * 1. Set default font family to sans-serif.
78
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
79
+ *  user zoom.
80
+ */
81
+
82
+html {
83
+  @include user-select(none);
84
+  font-family: sans-serif; /* 1 */
85
+  -webkit-text-size-adjust: 100%;
86
+  -ms-text-size-adjust: 100%; /* 2 */
87
+  -webkit-text-size-adjust: 100%; /* 2 */
88
+}
89
+
90
+/**
91
+ * Remove default margin.
92
+ */
93
+
94
+body {
95
+  margin: 0;
96
+  line-height: 1;
97
+}
98
+
99
+
100
+/**
101
+ * Remove default outlines.
102
+ */
103
+a,
104
+button,
105
+:focus,
106
+a:focus,
107
+button:focus,
108
+a:active,
109
+a:hover {
110
+  outline: 0;
111
+}
112
+
113
+/* *
114
+ * Remove tap highlight color
115
+ */
116
+
117
+a {
118
+  -webkit-user-drag: none;
119
+  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
120
+  -webkit-tap-highlight-color: transparent;
121
+
122
+  &[href]:hover {
123
+    cursor: pointer;
124
+  }
125
+}
126
+
127
+/* ==========================================================================
128
+   Typography
129
+   ========================================================================== */
130
+
131
+
132
+/**
133
+ * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
134
+ */
135
+
136
+b,
137
+strong {
138
+  font-weight: bold;
139
+}
140
+
141
+/**
142
+ * Address styling not present in Safari 5 and Chrome.
143
+ */
144
+
145
+dfn {
146
+  font-style: italic;
147
+}
148
+
149
+/**
150
+ * Address differences between Firefox and other browsers.
151
+ */
152
+
153
+hr {
154
+  -moz-box-sizing: content-box;
155
+  box-sizing: content-box;
156
+  height: 0;
157
+}
158
+
159
+
160
+/**
161
+ * Correct font family set oddly in Safari 5 and Chrome.
162
+ */
163
+
164
+code,
165
+kbd,
166
+pre,
167
+samp {
168
+  font-size: 1em;
169
+  font-family: monospace, serif;
170
+}
171
+
172
+/**
173
+ * Improve readability of pre-formatted text in all browsers.
174
+ */
175
+
176
+pre {
177
+  white-space: pre-wrap;
178
+}
179
+
180
+/**
181
+ * Set consistent quote types.
182
+ */
183
+
184
+q {
185
+  quotes: "\201C" "\201D" "\2018" "\2019";
186
+}
187
+
188
+/**
189
+ * Address inconsistent and variable font size in all browsers.
190
+ */
191
+
192
+small {
193
+  font-size: 80%;
194
+}
195
+
196
+/**
197
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
198
+ */
199
+
200
+sub,
201
+sup {
202
+  position: relative;
203
+  vertical-align: baseline;
204
+  font-size: 75%;
205
+  line-height: 0;
206
+}
207
+
208
+sup {
209
+  top: -0.5em;
210
+}
211
+
212
+sub {
213
+  bottom: -0.25em;
214
+}
215
+
216
+/**
217
+ * Define consistent border, margin, and padding.
218
+ */
219
+
220
+fieldset {
221
+  margin: 0 2px;
222
+  padding: 0.35em 0.625em 0.75em;
223
+  border: 1px solid #c0c0c0;
224
+}
225
+
226
+/**
227
+ * 1. Correct `color` not being inherited in IE 8/9.
228
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
229
+ */
230
+
231
+legend {
232
+  padding: 0; /* 2 */
233
+  border: 0; /* 1 */
234
+}
235
+
236
+/**
237
+ * 1. Correct font family not being inherited in all browsers.
238
+ * 2. Correct font size not being inherited in all browsers.
239
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
240
+ * 4. Remove any default :focus styles
241
+ * 5. Make sure webkit font smoothing is being inherited
242
+ * 6. Remove default gradient in Android Firefox / FirefoxOS
243
+ */
244
+
245
+button,
246
+input,
247
+select,
248
+textarea {
249
+  margin: 0; /* 3 */
250
+  font-size: 100%; /* 2 */
251
+  font-family: inherit; /* 1 */
252
+  outline-offset: 0; /* 4 */
253
+  outline-style: none; /* 4 */
254
+  outline-width: 0; /* 4 */
255
+  -webkit-font-smoothing: inherit; /* 5 */
256
+  background-image: none; /* 6 */
257
+}
258
+
259
+/**
260
+ * Address Firefox 4+ setting `line-height` on `input` using `importnt` in
261
+ * the UA stylesheet.
262
+ */
263
+
264
+button,
265
+input {
266
+  line-height: normal;
267
+}
268
+
269
+/**
270
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
271
+ * All other form control elements do not inherit `text-transform` values.
272
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
273
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
274
+ */
275
+
276
+button,
277
+select {
278
+  text-transform: none;
279
+}
280
+
281
+/**
282
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
283
+ *  and `video` controls.
284
+ * 2. Correct inability to style clickable `input` types in iOS.
285
+ * 3. Improve usability and consistency of cursor style between image-type
286
+ *  `input` and others.
287
+ */
288
+
289
+button,
290
+html input[type="button"], /* 1 */
291
+input[type="reset"],
292
+input[type="submit"] {
293
+  cursor: pointer; /* 3 */
294
+  -webkit-appearance: button; /* 2 */
295
+}
296
+
297
+/**
298
+ * Re-set default cursor for disabled elements.
299
+ */
300
+
301
+button[disabled],
302
+html input[disabled] {
303
+  cursor: default;
304
+}
305
+
306
+/**
307
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
308
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
309
+ *  (include `-moz` to future-proof).
310
+ */
311
+
312
+input[type="search"] {
313
+  -webkit-box-sizing: content-box; /* 2 */
314
+  -moz-box-sizing: content-box;
315
+  box-sizing: content-box;
316
+  -webkit-appearance: textfield; /* 1 */
317
+}
318
+
319
+/**
320
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
321
+ * on OS X.
322
+ */
323
+
324
+input[type="search"]::-webkit-search-cancel-button,
325
+input[type="search"]::-webkit-search-decoration {
326
+  -webkit-appearance: none;
327
+}
328
+
329
+/**
330
+ * Remove inner padding and border in Firefox 4+.
331
+ */
332
+
333
+button::-moz-focus-inner,
334
+input::-moz-focus-inner {
335
+  padding: 0;
336
+  border: 0;
337
+}
338
+
339
+/**
340
+ * 1. Remove default vertical scrollbar in IE 8/9.
341
+ * 2. Improve readability and alignment in all browsers.
342
+ */
343
+
344
+textarea {
345
+  overflow: auto; /* 1 */
346
+  vertical-align: top; /* 2 */
347
+}
348
+
349
+
350
+img {
351
+  -webkit-user-drag: none;
352
+}
353
+
354
+/* ==========================================================================
355
+   Tables
356
+   ========================================================================== */
357
+
358
+/**
359
+ * Remove most spacing between table cells.
360
+ */
361
+
362
+table {
363
+  border-spacing: 0;
364
+  border-collapse: collapse;
365
+}

+ 291
- 0
lib/ionic/scss/_scaffolding.scss Voir le fichier

@@ -0,0 +1,291 @@
1
+
2
+/**
3
+ * Scaffolding
4
+ * --------------------------------------------------
5
+ */
6
+
7
+*,
8
+*:before,
9
+*:after {
10
+  @include box-sizing(border-box);
11
+}
12
+
13
+html {
14
+  overflow: hidden;
15
+  -ms-touch-action: pan-y;
16
+  touch-action: pan-y;
17
+}
18
+
19
+body,
20
+.ionic-body {
21
+  @include touch-callout(none);
22
+  @include font-smoothing(antialiased);
23
+  @include text-size-adjust(none);
24
+  @include tap-highlight-transparent();
25
+  @include user-select(none);
26
+
27
+  top: 0;
28
+  right: 0;
29
+  bottom: 0;
30
+  left: 0;
31
+  overflow: hidden;
32
+
33
+  margin: 0;
34
+  padding: 0;
35
+
36
+  color: $base-color;
37
+  word-wrap: break-word;
38
+  font-size: $font-size-base;
39
+  font-family: -apple-system;
40
+  font-family: $font-family-base;
41
+  line-height: $line-height-computed;
42
+  text-rendering: optimizeLegibility;
43
+  -webkit-backface-visibility: hidden;
44
+  -webkit-user-drag: none;
45
+  -ms-content-zooming: none;
46
+}
47
+
48
+body.grade-b,
49
+body.grade-c {
50
+  // disable optimizeLegibility for low end devices
51
+  text-rendering: auto;
52
+}
53
+
54
+.content {
55
+  // used for content areas not using the content directive
56
+  position: relative;
57
+}
58
+
59
+.scroll-content {
60
+  position: absolute;
61
+  top: 0;
62
+  right: 0;
63
+  bottom: 0;
64
+  left: 0;
65
+  overflow: hidden;
66
+
67
+  // Hide the top border if any
68
+  margin-top: -1px;
69
+
70
+  // Prevents any distortion of lines
71
+  padding-top: 1px;
72
+  margin-bottom: -1px;
73
+
74
+  width: auto;
75
+  height: auto;
76
+}
77
+
78
+.menu .scroll-content.scroll-content-false{
79
+  z-index: $z-index-scroll-content-false;
80
+}
81
+
82
+.scroll-view {
83
+  position: relative;
84
+  display: block;
85
+  overflow: hidden;
86
+
87
+  &.overflow-scroll {
88
+    position: relative;
89
+  }
90
+
91
+  &.scroll-x { overflow-x: scroll; overflow-y: hidden; }
92
+  &.scroll-y { overflow-x: hidden; overflow-y: scroll; }
93
+  &.scroll-xy { overflow-x: scroll; overflow-y: scroll; }
94
+
95
+  // Hide the top border if any
96
+  margin-top: -1px;
97
+}
98
+
99
+/**
100
+ * Scroll is the scroll view component available for complex and custom
101
+ * scroll view functionality.
102
+ */
103
+.scroll {
104
+  @include user-select(none);
105
+  @include touch-callout(none);
106
+  @include text-size-adjust(none);
107
+  @include transform-origin(left, top);
108
+}
109
+/**
110
+ * Set ms-viewport to prevent MS "page squish" and allow fluid scrolling
111
+ * https://msdn.microsoft.com/en-us/library/ie/hh869615(v=vs.85).aspx
112
+ */
113
+@-ms-viewport { width: device-width; }
114
+
115
+// Scroll bar styles
116
+.scroll-bar {
117
+  position: absolute;
118
+  z-index: $z-index-scroll-bar;
119
+}
120
+// hide the scroll-bar during animations
121
+.ng-animate .scroll-bar {
122
+  visibility: hidden;
123
+}
124
+.scroll-bar-h {
125
+  right: 2px;
126
+  bottom: 3px;
127
+  left: 2px;
128
+  height: 3px;
129
+
130
+  .scroll-bar-indicator {
131
+    height: 100%;
132
+  }
133
+}
134
+
135
+.scroll-bar-v {
136
+  top: 2px;
137
+  right: 3px;
138
+  bottom: 2px;
139
+  width: 3px;
140
+
141
+  .scroll-bar-indicator {
142
+    width: 100%;
143
+  }
144
+}
145
+.scroll-bar-indicator {
146
+  position: absolute;
147
+  border-radius: 4px;
148
+  background: rgba(0,0,0,0.3);
149
+  opacity: 1;
150
+  @include transition(opacity .3s linear);
151
+
152
+  &.scroll-bar-fade-out {
153
+    opacity: 0;
154
+  }
155
+}
156
+.platform-android .scroll-bar-indicator {
157
+  // android doesn't have rounded ends on scrollbar
158
+  border-radius: 0;
159
+}
160
+.grade-b .scroll-bar-indicator,
161
+.grade-c .scroll-bar-indicator {
162
+  // disable rgba background and border radius for low end devices
163
+  background: #aaa;
164
+
165
+  &.scroll-bar-fade-out {
166
+    @include transition(none);
167
+  }
168
+}
169
+
170
+ion-infinite-scroll {
171
+  height: 60px;
172
+  width: 100%;
173
+  display: block;
174
+
175
+  @include display-flex();
176
+  @include flex-direction(row);
177
+  @include justify-content(center);
178
+  @include align-items(center);
179
+
180
+  .icon {
181
+    color: #666666;
182
+    font-size: 30px;
183
+    color: $scroll-refresh-icon-color;
184
+  }
185
+  &:not(.active){
186
+    .spinner,
187
+    .icon:before{
188
+      display:none;
189
+    }
190
+  }
191
+}
192
+
193
+.overflow-scroll {
194
+  overflow-x: hidden;
195
+  overflow-y: scroll;
196
+  -webkit-overflow-scrolling: touch;
197
+
198
+  // Make sure the scrollbar doesn't take up layout space on edge
199
+  -ms-overflow-style: -ms-autohiding-scrollbar;
200
+
201
+  top: 0;
202
+  right: 0;
203
+  bottom: 0;
204
+  left: 0;
205
+  position: absolute;
206
+
207
+  &.pane {
208
+    overflow-x: hidden;
209
+    overflow-y: scroll;
210
+  }
211
+
212
+  .scroll {
213
+    position: static;
214
+    height: 100%;
215
+    -webkit-transform: translate3d(0, 0, 0);   // fix iOS bug where relative children of scroller disapear while scrolling.  see: http://stackoverflow.com/questions/9807620/ipad-safari-scrolling-causes-html-elements-to-disappear-and-reappear-with-a-dela
216
+  }
217
+}
218
+
219
+
220
+// Pad top/bottom of content so it doesn't hide behind .bar-title and .bar-tab.
221
+// Note: For these to work, content must come after both bars in the markup
222
+/* If you change these, change platform.scss as well */
223
+.has-header {
224
+  top: $bar-height;
225
+}
226
+// Force no header
227
+.no-header {
228
+  top: 0;
229
+}
230
+
231
+.has-subheader {
232
+  top: $bar-height + $bar-subheader-height;
233
+}
234
+.has-tabs-top {
235
+  top: $bar-height + $tabs-height;
236
+}
237
+.has-header.has-subheader.has-tabs-top {
238
+  top: $bar-height + $bar-subheader-height + $tabs-height;
239
+}
240
+
241
+.has-footer {
242
+  bottom: $bar-footer-height;
243
+}
244
+.has-subfooter {
245
+  bottom: $bar-footer-height + $bar-subfooter-height;
246
+}
247
+
248
+.has-tabs,
249
+.bar-footer.has-tabs {
250
+  bottom: $tabs-height;
251
+  &.pane{
252
+    bottom: $tabs-height;
253
+    height:auto;
254
+  }
255
+}
256
+
257
+.bar-subfooter.has-tabs {
258
+  bottom: $tabs-height + $bar-footer-height;
259
+}
260
+
261
+.has-footer.has-tabs {
262
+  bottom: $tabs-height + $bar-footer-height;
263
+}
264
+
265
+// A full screen section with a solid background
266
+.pane {
267
+  @include translate3d(0,0,0);
268
+  @include transition-duration(0);
269
+  z-index: $z-index-pane;
270
+}
271
+.view {
272
+  z-index: $z-index-view;
273
+}
274
+.pane,
275
+.view {
276
+  position: absolute;
277
+  top: 0;
278
+  right: 0;
279
+  bottom: 0;
280
+  left: 0;
281
+  width: 100%;
282
+  height: 100%;
283
+  background-color: $base-background-color;
284
+  overflow: hidden;
285
+}
286
+.view-container {
287
+  position: absolute;
288
+  display: block;
289
+  width: 100%;
290
+  height: 100%;
291
+}

+ 142
- 0
lib/ionic/scss/_select.scss Voir le fichier

@@ -0,0 +1,142 @@
1
+
2
+/**
3
+ * Select
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.item-select {
8
+  position: relative;
9
+
10
+  select {
11
+    @include appearance(none);
12
+    position: absolute;
13
+    top: 0;
14
+    bottom: 0;
15
+    right: 0;
16
+    padding: 0 ($item-padding * 3) 0 $item-padding;
17
+    max-width: 65%;
18
+
19
+    border: none;
20
+    background: $item-default-bg;
21
+    color: #333;
22
+
23
+    // hack to hide default dropdown arrow in FF
24
+    text-indent: .01px;
25
+    text-overflow: '';
26
+
27
+    white-space: nowrap;
28
+    font-size: $font-size-base;
29
+
30
+    cursor: pointer;
31
+    direction: rtl; // right align the select text
32
+  }
33
+
34
+  select::-ms-expand {
35
+    // hide default dropdown arrow in IE
36
+    display: none;
37
+  }
38
+
39
+  option {
40
+    direction: ltr;
41
+  }
42
+
43
+  &:after {
44
+    position: absolute;
45
+    top: 50%;
46
+    right: $item-padding;
47
+    margin-top: -3px;
48
+    width: 0;
49
+    height: 0;
50
+    border-top: 5px solid;
51
+    border-right: 5px solid rgba(0, 0, 0, 0);
52
+    border-left: 5px solid rgba(0, 0, 0, 0);
53
+    color: #999;
54
+    content: "";
55
+    pointer-events: none;
56
+  }
57
+  &.item-light {
58
+    select{
59
+      background:$item-light-bg;
60
+      color:$item-light-text;
61
+    }
62
+  }
63
+  &.item-stable {
64
+    select{
65
+      background:$item-stable-bg;
66
+      color:$item-stable-text;
67
+    }
68
+    &:after, .input-label{
69
+      color:darken($item-stable-border,30%);
70
+    }
71
+  }
72
+  &.item-positive {
73
+    select{
74
+      background:$item-positive-bg;
75
+      color:$item-positive-text;
76
+    }
77
+    &:after, .input-label{
78
+      color:$item-positive-text;
79
+    }
80
+  }
81
+  &.item-calm {
82
+    select{
83
+      background:$item-calm-bg;
84
+      color:$item-calm-text;
85
+    }
86
+    &:after, .input-label{
87
+      color:$item-calm-text;
88
+    }
89
+  }
90
+  &.item-assertive {
91
+    select{
92
+      background:$item-assertive-bg;
93
+      color:$item-assertive-text;
94
+    }
95
+    &:after, .input-label{
96
+      color:$item-assertive-text;
97
+    }
98
+  }
99
+  &.item-balanced {
100
+    select{
101
+      background:$item-balanced-bg;
102
+      color:$item-balanced-text;
103
+    }
104
+    &:after, .input-label{
105
+      color:$item-balanced-text;
106
+    }
107
+  }
108
+  &.item-energized  {
109
+    select{
110
+      background:$item-energized-bg;
111
+      color:$item-energized-text;
112
+    }
113
+    &:after, .input-label{
114
+      color:$item-energized-text;
115
+    }
116
+  }
117
+  &.item-royal {
118
+    select{
119
+      background:$item-royal-bg;
120
+      color:$item-royal-text;
121
+    }
122
+    &:after, .input-label{
123
+      color:$item-royal-text;
124
+    }
125
+  }
126
+  &.item-dark  {
127
+    select{
128
+      background:$item-dark-bg;
129
+      color:$item-dark-text;
130
+    }
131
+    &:after, .input-label{
132
+      color:$item-dark-text;
133
+    }
134
+  }
135
+}
136
+
137
+select {
138
+  &[multiple],
139
+  &[size] {
140
+    height: auto;
141
+  }
142
+}

+ 71
- 0
lib/ionic/scss/_slide-box.scss Voir le fichier

@@ -0,0 +1,71 @@
1
+
2
+/**
3
+ * Slide Box
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.slider {
8
+  position: relative;
9
+  visibility: hidden;
10
+  // Make sure items don't scroll over ever
11
+  overflow: hidden;
12
+}
13
+
14
+.slider-slides {
15
+  position: relative;
16
+  height: 100%;
17
+}
18
+
19
+.slider-slide {
20
+  position: relative;
21
+  display: block;
22
+  float: left;
23
+  width: 100%;
24
+  height: 100%;
25
+  vertical-align: top;
26
+}
27
+
28
+.slider-slide-image {
29
+  > img {
30
+    width: 100%;
31
+  }
32
+}
33
+
34
+.slider-pager {
35
+  position: absolute;
36
+  bottom: 20px;
37
+  z-index: $z-index-slider-pager;
38
+  width: 100%;
39
+  height: 15px;
40
+  text-align: center;
41
+
42
+  .slider-pager-page {
43
+    display: inline-block;
44
+    margin: 0px 3px;
45
+    width: 15px;
46
+    color: #000;
47
+    text-decoration: none;
48
+
49
+    opacity: 0.3;
50
+
51
+    &.active {
52
+      @include transition(opacity 0.4s ease-in);
53
+      opacity: 1;
54
+    }
55
+  }
56
+}
57
+
58
+//Disable animate service animations
59
+.slider-slide,
60
+.slider-pager-page {
61
+  &.ng-enter,
62
+  &.ng-leave,
63
+  &.ng-animate {
64
+    -webkit-transition: none !important;
65
+    transition: none !important;
66
+  }
67
+  &.ng-animate {
68
+    -webkit-animation: none 0s;
69
+    animation: none 0s;
70
+  }
71
+}

+ 529
- 0
lib/ionic/scss/_slides.scss Voir le fichier

@@ -0,0 +1,529 @@
1
+/**
2
+ * Swiper 3.2.7
3
+ * Most modern mobile touch slider and framework with hardware accelerated transitions
4
+ *
5
+ * http://www.idangero.us/swiper/
6
+ *
7
+ * Copyright 2015, Vladimir Kharlampidi
8
+ * The iDangero.us
9
+ * http://www.idangero.us/
10
+ *
11
+ * Licensed under MIT
12
+ *
13
+ * Released on: December 7, 2015
14
+ */
15
+.swiper-container {
16
+  margin: 0 auto;
17
+  position: relative;
18
+  overflow: hidden;
19
+  /* Fix of Webkit flickering */
20
+  z-index: 1;
21
+}
22
+.swiper-container-no-flexbox .swiper-slide {
23
+  float: left;
24
+}
25
+.swiper-container-vertical > .swiper-wrapper {
26
+  -webkit-box-orient: vertical;
27
+  -moz-box-orient: vertical;
28
+  -ms-flex-direction: column;
29
+  -webkit-flex-direction: column;
30
+  flex-direction: column;
31
+}
32
+.swiper-wrapper {
33
+  position: relative;
34
+  width: 100%;
35
+  height: 100%;
36
+  z-index: 1;
37
+  display: -webkit-box;
38
+  display: -moz-box;
39
+  display: -ms-flexbox;
40
+  display: -webkit-flex;
41
+  display: flex;
42
+  -webkit-transition-property: -webkit-transform;
43
+  -moz-transition-property: -moz-transform;
44
+  -o-transition-property: -o-transform;
45
+  -ms-transition-property: -ms-transform;
46
+  transition-property: transform;
47
+  -webkit-box-sizing: content-box;
48
+  -moz-box-sizing: content-box;
49
+  box-sizing: content-box;
50
+}
51
+.swiper-container-android .swiper-slide,
52
+.swiper-wrapper {
53
+  -webkit-transform: translate3d(0px, 0, 0);
54
+  -moz-transform: translate3d(0px, 0, 0);
55
+  -o-transform: translate(0px, 0px);
56
+  -ms-transform: translate3d(0px, 0, 0);
57
+  transform: translate3d(0px, 0, 0);
58
+}
59
+.swiper-container-multirow > .swiper-wrapper {
60
+  -webkit-box-lines: multiple;
61
+  -moz-box-lines: multiple;
62
+  -ms-flex-wrap: wrap;
63
+  -webkit-flex-wrap: wrap;
64
+  flex-wrap: wrap;
65
+}
66
+.swiper-container-free-mode > .swiper-wrapper {
67
+  -webkit-transition-timing-function: ease-out;
68
+  -moz-transition-timing-function: ease-out;
69
+  -ms-transition-timing-function: ease-out;
70
+  -o-transition-timing-function: ease-out;
71
+  transition-timing-function: ease-out;
72
+  margin: 0 auto;
73
+}
74
+.swiper-slide {
75
+  display: block;
76
+  -webkit-flex-shrink: 0;
77
+  -ms-flex: 0 0 auto;
78
+  flex-shrink: 0;
79
+  width: 100%;
80
+  height: 100%;
81
+  position: relative;
82
+}
83
+/* Auto Height */
84
+.swiper-container-autoheight,
85
+.swiper-container-autoheight .swiper-slide {
86
+  height: auto;
87
+}
88
+.swiper-container-autoheight .swiper-wrapper {
89
+  -webkit-box-align: start;
90
+  -ms-flex-align: start;
91
+  -webkit-align-items: flex-start;
92
+  align-items: flex-start;
93
+  -webkit-transition-property: -webkit-transform, height;
94
+  -moz-transition-property: -moz-transform;
95
+  -o-transition-property: -o-transform;
96
+  -ms-transition-property: -ms-transform;
97
+  transition-property: transform, height;
98
+}
99
+/* a11y */
100
+.swiper-container .swiper-notification {
101
+  position: absolute;
102
+  left: 0;
103
+  top: 0;
104
+  pointer-events: none;
105
+  opacity: 0;
106
+  z-index: -1000;
107
+}
108
+/* IE10 Windows Phone 8 Fixes */
109
+.swiper-wp8-horizontal {
110
+  -ms-touch-action: pan-y;
111
+  touch-action: pan-y;
112
+}
113
+.swiper-wp8-vertical {
114
+  -ms-touch-action: pan-x;
115
+  touch-action: pan-x;
116
+}
117
+/* Arrows */
118
+.swiper-button-prev,
119
+.swiper-button-next {
120
+  position: absolute;
121
+  top: 50%;
122
+  width: 27px;
123
+  height: 44px;
124
+  margin-top: -22px;
125
+  z-index: 10;
126
+  cursor: pointer;
127
+  -moz-background-size: 27px 44px;
128
+  -webkit-background-size: 27px 44px;
129
+  background-size: 27px 44px;
130
+  background-position: center;
131
+  background-repeat: no-repeat;
132
+}
133
+.swiper-button-prev.swiper-button-disabled,
134
+.swiper-button-next.swiper-button-disabled {
135
+  opacity: 0.35;
136
+  cursor: auto;
137
+  pointer-events: none;
138
+}
139
+.swiper-button-prev,
140
+.swiper-container-rtl .swiper-button-next {
141
+  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");
142
+  left: 10px;
143
+  right: auto;
144
+}
145
+.swiper-button-prev.swiper-button-black,
146
+.swiper-container-rtl .swiper-button-next.swiper-button-black {
147
+  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E");
148
+}
149
+.swiper-button-prev.swiper-button-white,
150
+.swiper-container-rtl .swiper-button-next.swiper-button-white {
151
+  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
152
+}
153
+.swiper-button-next,
154
+.swiper-container-rtl .swiper-button-prev {
155
+  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");
156
+  right: 10px;
157
+  left: auto;
158
+}
159
+.swiper-button-next.swiper-button-black,
160
+.swiper-container-rtl .swiper-button-prev.swiper-button-black {
161
+  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E");
162
+}
163
+.swiper-button-next.swiper-button-white,
164
+.swiper-container-rtl .swiper-button-prev.swiper-button-white {
165
+  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
166
+}
167
+/* Pagination Styles */
168
+.swiper-pagination {
169
+  position: absolute;
170
+  text-align: center;
171
+  -webkit-transition: 300ms;
172
+  -moz-transition: 300ms;
173
+  -o-transition: 300ms;
174
+  transition: 300ms;
175
+  -webkit-transform: translate3d(0, 0, 0);
176
+  -ms-transform: translate3d(0, 0, 0);
177
+  -o-transform: translate3d(0, 0, 0);
178
+  transform: translate3d(0, 0, 0);
179
+  z-index: 10;
180
+}
181
+.swiper-pagination.swiper-pagination-hidden {
182
+  opacity: 0;
183
+}
184
+.swiper-pagination-bullet {
185
+  width: 8px;
186
+  height: 8px;
187
+  display: inline-block;
188
+  border-radius: 100%;
189
+  background: #000;
190
+  opacity: 0.2;
191
+}
192
+button.swiper-pagination-bullet {
193
+  border: none;
194
+  margin: 0;
195
+  padding: 0;
196
+  box-shadow: none;
197
+  -moz-appearance: none;
198
+  -ms-appearance: none;
199
+  -webkit-appearance: none;
200
+  appearance: none;
201
+}
202
+.swiper-pagination-clickable .swiper-pagination-bullet {
203
+  cursor: pointer;
204
+}
205
+.swiper-pagination-white .swiper-pagination-bullet {
206
+  background: #fff;
207
+}
208
+.swiper-pagination-bullet-active {
209
+  opacity: 1;
210
+}
211
+.swiper-pagination-white .swiper-pagination-bullet-active {
212
+  background: #fff;
213
+}
214
+.swiper-pagination-black .swiper-pagination-bullet-active {
215
+  background: #000;
216
+}
217
+.swiper-container-vertical > .swiper-pagination {
218
+  right: 10px;
219
+  top: 50%;
220
+  -webkit-transform: translate3d(0px, -50%, 0);
221
+  -moz-transform: translate3d(0px, -50%, 0);
222
+  -o-transform: translate(0px, -50%);
223
+  -ms-transform: translate3d(0px, -50%, 0);
224
+  transform: translate3d(0px, -50%, 0);
225
+}
226
+.swiper-container-vertical > .swiper-pagination .swiper-pagination-bullet {
227
+  margin: 5px 0;
228
+  display: block;
229
+}
230
+.swiper-container-horizontal > .swiper-pagination {
231
+  bottom: 10px;
232
+  left: 0;
233
+  width: 100%;
234
+}
235
+.swiper-container-horizontal > .swiper-pagination .swiper-pagination-bullet {
236
+  margin: 0 5px;
237
+}
238
+/* 3D Container */
239
+.swiper-container-3d {
240
+  -webkit-perspective: 1200px;
241
+  -moz-perspective: 1200px;
242
+  -o-perspective: 1200px;
243
+  perspective: 1200px;
244
+}
245
+.swiper-container-3d .swiper-wrapper,
246
+.swiper-container-3d .swiper-slide,
247
+.swiper-container-3d .swiper-slide-shadow-left,
248
+.swiper-container-3d .swiper-slide-shadow-right,
249
+.swiper-container-3d .swiper-slide-shadow-top,
250
+.swiper-container-3d .swiper-slide-shadow-bottom,
251
+.swiper-container-3d .swiper-cube-shadow {
252
+  -webkit-transform-style: preserve-3d;
253
+  -moz-transform-style: preserve-3d;
254
+  -ms-transform-style: preserve-3d;
255
+  transform-style: preserve-3d;
256
+}
257
+.swiper-container-3d .swiper-slide-shadow-left,
258
+.swiper-container-3d .swiper-slide-shadow-right,
259
+.swiper-container-3d .swiper-slide-shadow-top,
260
+.swiper-container-3d .swiper-slide-shadow-bottom {
261
+  position: absolute;
262
+  left: 0;
263
+  top: 0;
264
+  width: 100%;
265
+  height: 100%;
266
+  pointer-events: none;
267
+  z-index: 10;
268
+}
269
+.swiper-container-3d .swiper-slide-shadow-left {
270
+  background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
271
+  /* Safari 4+, Chrome */
272
+  background-image: -webkit-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
273
+  /* Chrome 10+, Safari 5.1+, iOS 5+ */
274
+  background-image: -moz-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
275
+  /* Firefox 3.6-15 */
276
+  background-image: -o-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
277
+  /* Opera 11.10-12.00 */
278
+  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
279
+  /* Firefox 16+, IE10, Opera 12.50+ */
280
+}
281
+.swiper-container-3d .swiper-slide-shadow-right {
282
+  background-image: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
283
+  /* Safari 4+, Chrome */
284
+  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
285
+  /* Chrome 10+, Safari 5.1+, iOS 5+ */
286
+  background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
287
+  /* Firefox 3.6-15 */
288
+  background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
289
+  /* Opera 11.10-12.00 */
290
+  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
291
+  /* Firefox 16+, IE10, Opera 12.50+ */
292
+}
293
+.swiper-container-3d .swiper-slide-shadow-top {
294
+  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
295
+  /* Safari 4+, Chrome */
296
+  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
297
+  /* Chrome 10+, Safari 5.1+, iOS 5+ */
298
+  background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
299
+  /* Firefox 3.6-15 */
300
+  background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
301
+  /* Opera 11.10-12.00 */
302
+  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
303
+  /* Firefox 16+, IE10, Opera 12.50+ */
304
+}
305
+.swiper-container-3d .swiper-slide-shadow-bottom {
306
+  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
307
+  /* Safari 4+, Chrome */
308
+  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
309
+  /* Chrome 10+, Safari 5.1+, iOS 5+ */
310
+  background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
311
+  /* Firefox 3.6-15 */
312
+  background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
313
+  /* Opera 11.10-12.00 */
314
+  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
315
+  /* Firefox 16+, IE10, Opera 12.50+ */
316
+}
317
+/* Coverflow */
318
+.swiper-container-coverflow .swiper-wrapper {
319
+  /* Windows 8 IE 10 fix */
320
+  -ms-perspective: 1200px;
321
+}
322
+/* Fade */
323
+.swiper-container-fade.swiper-container-free-mode .swiper-slide {
324
+  -webkit-transition-timing-function: ease-out;
325
+  -moz-transition-timing-function: ease-out;
326
+  -ms-transition-timing-function: ease-out;
327
+  -o-transition-timing-function: ease-out;
328
+  transition-timing-function: ease-out;
329
+}
330
+.swiper-container-fade .swiper-slide {
331
+  pointer-events: none;
332
+}
333
+.swiper-container-fade .swiper-slide .swiper-slide {
334
+  pointer-events: none;
335
+}
336
+.swiper-container-fade .swiper-slide-active,
337
+.swiper-container-fade .swiper-slide-active .swiper-slide-active {
338
+  pointer-events: auto;
339
+}
340
+/* Cube */
341
+.swiper-container-cube {
342
+  overflow: visible;
343
+}
344
+.swiper-container-cube .swiper-slide {
345
+  pointer-events: none;
346
+  visibility: hidden;
347
+  -webkit-transform-origin: 0 0;
348
+  -moz-transform-origin: 0 0;
349
+  -ms-transform-origin: 0 0;
350
+  transform-origin: 0 0;
351
+  -webkit-backface-visibility: hidden;
352
+  -moz-backface-visibility: hidden;
353
+  -ms-backface-visibility: hidden;
354
+  backface-visibility: hidden;
355
+  width: 100%;
356
+  height: 100%;
357
+  z-index: 1;
358
+}
359
+.swiper-container-cube.swiper-container-rtl .swiper-slide {
360
+  -webkit-transform-origin: 100% 0;
361
+  -moz-transform-origin: 100% 0;
362
+  -ms-transform-origin: 100% 0;
363
+  transform-origin: 100% 0;
364
+}
365
+.swiper-container-cube .swiper-slide-active,
366
+.swiper-container-cube .swiper-slide-next,
367
+.swiper-container-cube .swiper-slide-prev,
368
+.swiper-container-cube .swiper-slide-next + .swiper-slide {
369
+  pointer-events: auto;
370
+  visibility: visible;
371
+}
372
+.swiper-container-cube .swiper-slide-shadow-top,
373
+.swiper-container-cube .swiper-slide-shadow-bottom,
374
+.swiper-container-cube .swiper-slide-shadow-left,
375
+.swiper-container-cube .swiper-slide-shadow-right {
376
+  z-index: 0;
377
+  -webkit-backface-visibility: hidden;
378
+  -moz-backface-visibility: hidden;
379
+  -ms-backface-visibility: hidden;
380
+  backface-visibility: hidden;
381
+}
382
+.swiper-container-cube .swiper-cube-shadow {
383
+  position: absolute;
384
+  left: 0;
385
+  bottom: 0px;
386
+  width: 100%;
387
+  height: 100%;
388
+  background: #000;
389
+  opacity: 0.6;
390
+  -webkit-filter: blur(50px);
391
+  filter: blur(50px);
392
+  z-index: 0;
393
+}
394
+/* Scrollbar */
395
+.swiper-scrollbar {
396
+  border-radius: 10px;
397
+  position: relative;
398
+  -ms-touch-action: none;
399
+  background: rgba(0, 0, 0, 0.1);
400
+}
401
+.swiper-container-horizontal > .swiper-scrollbar {
402
+  position: absolute;
403
+  left: 1%;
404
+  bottom: 3px;
405
+  z-index: 50;
406
+  height: 5px;
407
+  width: 98%;
408
+}
409
+.swiper-container-vertical > .swiper-scrollbar {
410
+  position: absolute;
411
+  right: 3px;
412
+  top: 1%;
413
+  z-index: 50;
414
+  width: 5px;
415
+  height: 98%;
416
+}
417
+.swiper-scrollbar-drag {
418
+  height: 100%;
419
+  width: 100%;
420
+  position: relative;
421
+  background: rgba(0, 0, 0, 0.5);
422
+  border-radius: 10px;
423
+  left: 0;
424
+  top: 0;
425
+}
426
+.swiper-scrollbar-cursor-drag {
427
+  cursor: move;
428
+}
429
+/* Preloader */
430
+.swiper-lazy-preloader {
431
+  width: 42px;
432
+  height: 42px;
433
+  position: absolute;
434
+  left: 50%;
435
+  top: 50%;
436
+  margin-left: -21px;
437
+  margin-top: -21px;
438
+  z-index: 10;
439
+  -webkit-transform-origin: 50%;
440
+  -moz-transform-origin: 50%;
441
+  transform-origin: 50%;
442
+  -webkit-animation: swiper-preloader-spin 1s steps(12, end) infinite;
443
+  -moz-animation: swiper-preloader-spin 1s steps(12, end) infinite;
444
+  animation: swiper-preloader-spin 1s steps(12, end) infinite;
445
+}
446
+.swiper-lazy-preloader:after {
447
+  display: block;
448
+  content: "";
449
+  width: 100%;
450
+  height: 100%;
451
+  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
452
+  background-position: 50%;
453
+  -webkit-background-size: 100%;
454
+  background-size: 100%;
455
+  background-repeat: no-repeat;
456
+}
457
+.swiper-lazy-preloader-white:after {
458
+  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
459
+}
460
+@-webkit-keyframes swiper-preloader-spin {
461
+  100% {
462
+    -webkit-transform: rotate(360deg);
463
+  }
464
+}
465
+@keyframes swiper-preloader-spin {
466
+  100% {
467
+    transform: rotate(360deg);
468
+  }
469
+}
470
+
471
+
472
+ion-slides {
473
+  width: 100%;
474
+  height: 100%;
475
+  display: block;
476
+}
477
+.slide-zoom {
478
+  display: block;
479
+  width: 100%;
480
+  text-align: center;
481
+}
482
+
483
+.swiper-container {
484
+  //position: absolute;
485
+  //left: 0;
486
+  //top: 0;
487
+  width: 100%;
488
+  height: 100%;
489
+  padding: 0;
490
+  //display: flex;
491
+  overflow: hidden;
492
+}
493
+
494
+.swiper-wrapper {
495
+  position: absolute;
496
+  left: 0;
497
+  top: 0;
498
+  width: 100%;
499
+  height: 100%;
500
+  padding: 0;
501
+  //display: flex;
502
+}
503
+
504
+.swiper-container {
505
+  //width: 100%;
506
+  //height: 100%;
507
+}
508
+
509
+.swiper-slide {
510
+  width: 100%;
511
+  height: 100%;
512
+
513
+  box-sizing: border-box;
514
+
515
+  //text-align: center;
516
+  //font-size: 18px;
517
+  //background: #fff;
518
+  /* Center slide text vertically */
519
+  //display: flex;
520
+  //justify-content: center;
521
+  //align-items: center;
522
+
523
+  img {
524
+    width: auto;
525
+    height: auto;
526
+    max-width: 100%;
527
+    max-height: 100%;
528
+  }
529
+}

+ 100
- 0
lib/ionic/scss/_spinner.scss Voir le fichier

@@ -0,0 +1,100 @@
1
+/**
2
+ * Spinners
3
+ * --------------------------------------------------
4
+ */
5
+
6
+.spinner {
7
+  svg {
8
+    width: $spinner-width;
9
+    height: $spinner-height;
10
+  }
11
+
12
+  stroke: $spinner-default-stroke;
13
+  fill: $spinner-default-fill;
14
+
15
+  &.spinner-light {
16
+    stroke: $spinner-light-stroke;
17
+    fill: $spinner-light-fill;
18
+  }
19
+  &.spinner-stable {
20
+    stroke: $spinner-stable-stroke;
21
+    fill: $spinner-stable-fill;
22
+  }
23
+  &.spinner-positive {
24
+    stroke: $spinner-positive-stroke;
25
+    fill: $spinner-positive-fill;
26
+  }
27
+  &.spinner-calm {
28
+    stroke: $spinner-calm-stroke;
29
+    fill: $spinner-calm-fill;
30
+  }
31
+  &.spinner-balanced {
32
+    stroke: $spinner-balanced-stroke;
33
+    fill: $spinner-balanced-fill;
34
+  }
35
+  &.spinner-assertive {
36
+    stroke: $spinner-assertive-stroke;
37
+    fill: $spinner-assertive-fill;
38
+  }
39
+  &.spinner-energized {
40
+    stroke: $spinner-energized-stroke;
41
+    fill: $spinner-energized-fill;
42
+  }
43
+  &.spinner-royal {
44
+    stroke: $spinner-royal-stroke;
45
+    fill: $spinner-royal-fill;
46
+  }
47
+  &.spinner-dark {
48
+    stroke: $spinner-dark-stroke;
49
+    fill: $spinner-dark-fill;
50
+  }
51
+}
52
+
53
+.spinner-android {
54
+  stroke: #4b8bf4;
55
+}
56
+
57
+.spinner-ios,
58
+.spinner-ios-small {
59
+  stroke: #69717d;
60
+}
61
+
62
+.spinner-spiral {
63
+  .stop1 {
64
+    stop-color: $spinner-light-fill;
65
+    stop-opacity: 0;
66
+  }
67
+
68
+  &.spinner-light {
69
+    .stop1 {
70
+      stop-color: $spinner-default-fill;
71
+    }
72
+    .stop2 {
73
+      stop-color: $spinner-light-fill;
74
+    }
75
+  }
76
+  &.spinner-stable .stop2 {
77
+    stop-color: $spinner-stable-fill;
78
+  }
79
+  &.spinner-positive .stop2 {
80
+    stop-color: $spinner-positive-fill;
81
+  }
82
+  &.spinner-calm .stop2 {
83
+    stop-color: $spinner-calm-fill;
84
+  }
85
+  &.spinner-balanced .stop2 {
86
+    stop-color: $spinner-balanced-fill;
87
+  }
88
+  &.spinner-assertive .stop2 {
89
+    stop-color: $spinner-assertive-fill;
90
+  }
91
+  &.spinner-energized .stop2 {
92
+    stop-color: $spinner-energized-fill;
93
+  }
94
+  &.spinner-royal .stop2 {
95
+    stop-color: $spinner-royal-fill;
96
+  }
97
+  &.spinner-dark .stop2 {
98
+    stop-color: $spinner-dark-fill;
99
+  }
100
+}

+ 542
- 0
lib/ionic/scss/_tabs.scss Voir le fichier

@@ -0,0 +1,542 @@
1
+/**
2
+ * Tabs
3
+ * --------------------------------------------------
4
+ * A navigation bar with any number of tab items supported.
5
+ */
6
+
7
+.tabs {
8
+  @include display-flex();
9
+  @include flex-direction(horizontal);
10
+  @include justify-content(center);
11
+  @include translate3d(0,0,0);
12
+
13
+  @include tab-style($tabs-default-bg, $tabs-default-border, $tabs-default-text);
14
+  @include tab-badge-style($tabs-default-text, $tabs-default-bg);
15
+
16
+  position: absolute;
17
+  bottom: 0;
18
+
19
+  z-index: $z-index-tabs;
20
+
21
+  width: 100%;
22
+  height: $tabs-height;
23
+
24
+  border-style: solid;
25
+  border-top-width: 1px;
26
+
27
+  background-size: 0;
28
+  line-height: $tabs-height;
29
+
30
+  @media (min--moz-device-pixel-ratio: 1.5),
31
+         (-webkit-min-device-pixel-ratio: 1.5),
32
+         (min-device-pixel-ratio: 1.5),
33
+         (min-resolution: 144dpi),
34
+         (min-resolution: 1.5dppx) {
35
+    padding-top: 2px;
36
+    border-top: none !important;
37
+    border-bottom: none;
38
+    background-position: top;
39
+    background-size: 100% 1px;
40
+    background-repeat: no-repeat;
41
+  }
42
+
43
+}
44
+/* Allow parent element of tabs to define color, or just the tab itself */
45
+.tabs-light > .tabs,
46
+.tabs.tabs-light {
47
+  @include tab-style($tabs-light-bg, $tabs-light-border, $tabs-light-text);
48
+  @include tab-badge-style($tabs-light-text, $tabs-light-bg);
49
+}
50
+.tabs-stable > .tabs,
51
+.tabs.tabs-stable {
52
+  @include tab-style($tabs-stable-bg, $tabs-stable-border, $tabs-stable-text);
53
+  @include tab-badge-style($tabs-stable-text, $tabs-stable-bg);
54
+}
55
+.tabs-positive > .tabs,
56
+.tabs.tabs-positive {
57
+  @include tab-style($tabs-positive-bg, $tabs-positive-border, $tabs-positive-text);
58
+  @include tab-badge-style($tabs-positive-text, $tabs-positive-bg);
59
+}
60
+.tabs-calm > .tabs,
61
+.tabs.tabs-calm {
62
+  @include tab-style($tabs-calm-bg, $tabs-calm-border, $tabs-calm-text);
63
+  @include tab-badge-style($tabs-calm-text, $tabs-calm-bg);
64
+}
65
+.tabs-assertive > .tabs,
66
+.tabs.tabs-assertive {
67
+  @include tab-style($tabs-assertive-bg, $tabs-assertive-border, $tabs-assertive-text);
68
+  @include tab-badge-style($tabs-assertive-text, $tabs-assertive-bg);
69
+}
70
+.tabs-balanced > .tabs,
71
+.tabs.tabs-balanced {
72
+  @include tab-style($tabs-balanced-bg, $tabs-balanced-border, $tabs-balanced-text);
73
+  @include tab-badge-style($tabs-balanced-text, $tabs-balanced-bg);
74
+}
75
+.tabs-energized > .tabs,
76
+.tabs.tabs-energized {
77
+  @include tab-style($tabs-energized-bg, $tabs-energized-border, $tabs-energized-text);
78
+  @include tab-badge-style($tabs-energized-text, $tabs-energized-bg);
79
+}
80
+.tabs-royal > .tabs,
81
+.tabs.tabs-royal {
82
+  @include tab-style($tabs-royal-bg, $tabs-royal-border, $tabs-royal-text);
83
+  @include tab-badge-style($tabs-royal-text, $tabs-royal-bg);
84
+}
85
+.tabs-dark > .tabs,
86
+.tabs.tabs-dark {
87
+  @include tab-style($tabs-dark-bg, $tabs-dark-border, $tabs-dark-text);
88
+  @include tab-badge-style($tabs-dark-text, $tabs-dark-bg);
89
+}
90
+
91
+@mixin tabs-striped($style, $color, $background) {
92
+  &.#{$style} {
93
+    .tabs{
94
+      background-color: $background;
95
+    }
96
+    .tab-item {
97
+      color: rgba($color, $tabs-striped-off-opacity);
98
+      opacity: 1;
99
+      .badge{
100
+        opacity:$tabs-striped-off-opacity;
101
+      }
102
+      &.tab-item-active,
103
+      &.active,
104
+      &.activated {
105
+        margin-top: -$tabs-striped-border-width;
106
+        color: $color;
107
+        border-style: solid;
108
+        border-width: $tabs-striped-border-width 0 0 0;
109
+        border-color: $color;
110
+      }
111
+    }
112
+  }
113
+  &.tabs-top{
114
+    .tab-item {
115
+      &.tab-item-active,
116
+      &.active,
117
+      &.activated {
118
+        .badge {
119
+          top: 4%;
120
+        }
121
+      }
122
+    }
123
+  }
124
+}
125
+
126
+@mixin tabs-background($style, $color, $border-color) {
127
+  .#{$style} {
128
+    .tabs,
129
+    &> .tabs{
130
+      background-color: $color;
131
+      background-image: linear-gradient(0deg, $border-color, $border-color 50%, transparent 50%);
132
+      border-color: $border-color;
133
+    }
134
+  }
135
+}
136
+
137
+@mixin tabs-striped-background($style, $color) {
138
+  &.#{$style} {
139
+    .tabs {
140
+      background-color: $color;
141
+      background-image:none;
142
+    }
143
+  }
144
+}
145
+
146
+@mixin tabs-color($style, $color) {
147
+  .#{$style} {
148
+    .tab-item {
149
+      color: rgba($color, $tabs-off-opacity);
150
+      opacity: 1;
151
+      .badge{
152
+        opacity:$tabs-off-opacity;
153
+      }
154
+      &.tab-item-active,
155
+      &.active,
156
+      &.activated {
157
+        color: $color;
158
+        border: 0 solid $color;
159
+        .badge{
160
+          opacity: 1;
161
+        }
162
+      }
163
+    }
164
+  }
165
+}
166
+
167
+@mixin tabs-striped-color($style, $color) {
168
+  &.#{$style} {
169
+    .tab-item {
170
+      color: rgba($color, $tabs-striped-off-opacity);
171
+      opacity: 1;
172
+      .badge{
173
+        opacity:$tabs-striped-off-opacity;
174
+      }
175
+      &.tab-item-active,
176
+      &.active,
177
+      &.activated {
178
+        margin-top: -$tabs-striped-border-width;
179
+        color: $color;
180
+        border: 0 solid $color;
181
+        border-top-width: $tabs-striped-border-width;
182
+        .badge{
183
+          top:$tabs-striped-border-width;
184
+          opacity: 1;
185
+        }
186
+      }
187
+    }
188
+  }
189
+}
190
+
191
+.tabs-striped {
192
+  .tabs {
193
+    background-color: white;
194
+    background-image: none;
195
+    border: none;
196
+    border-bottom: 1px solid #ddd;
197
+    padding-top: $tabs-striped-border-width;
198
+  }
199
+  .tab-item {
200
+    // default android tab style
201
+    &.tab-item-active,
202
+    &.active,
203
+    &.activated {
204
+      margin-top: -$tabs-striped-border-width;
205
+      border-style: solid;
206
+      border-width: $tabs-striped-border-width 0 0 0;
207
+      border-color: $dark;
208
+      .badge{
209
+        top:$tabs-striped-border-width;
210
+        opacity: 1;
211
+      }
212
+    }
213
+  }
214
+  @include tabs-striped('tabs-light', $dark, $light);
215
+  @include tabs-striped('tabs-stable', $dark, $stable);
216
+  @include tabs-striped('tabs-positive', $light, $positive);
217
+  @include tabs-striped('tabs-calm', $light, $calm);
218
+  @include tabs-striped('tabs-assertive', $light, $assertive);
219
+  @include tabs-striped('tabs-balanced', $light, $balanced);
220
+  @include tabs-striped('tabs-energized', $light, $energized);
221
+  @include tabs-striped('tabs-royal', $light, $royal);
222
+  @include tabs-striped('tabs-dark', $light, $dark);
223
+
224
+  // doing this twice so striped tabs styles don't override specific bg and color vals
225
+  @include tabs-striped-background('tabs-background-light', $light);
226
+  @include tabs-striped-background('tabs-background-stable', $stable);
227
+  @include tabs-striped-background('tabs-background-positive', $positive);
228
+  @include tabs-striped-background('tabs-background-calm', $calm);
229
+  @include tabs-striped-background('tabs-background-assertive', $assertive);
230
+  @include tabs-striped-background('tabs-background-balanced', $balanced);
231
+  @include tabs-striped-background('tabs-background-energized',$energized);
232
+  @include tabs-striped-background('tabs-background-royal', $royal);
233
+  @include tabs-striped-background('tabs-background-dark', $dark);
234
+
235
+  @include tabs-striped-color('tabs-color-light', $light);
236
+  @include tabs-striped-color('tabs-color-stable', $stable);
237
+  @include tabs-striped-color('tabs-color-positive', $positive);
238
+  @include tabs-striped-color('tabs-color-calm', $calm);
239
+  @include tabs-striped-color('tabs-color-assertive', $assertive);
240
+  @include tabs-striped-color('tabs-color-balanced', $balanced);
241
+  @include tabs-striped-color('tabs-color-energized',$energized);
242
+  @include tabs-striped-color('tabs-color-royal', $royal);
243
+  @include tabs-striped-color('tabs-color-dark', $dark);
244
+
245
+}
246
+
247
+@include tabs-background('tabs-background-light', $light, $bar-light-border);
248
+@include tabs-background('tabs-background-stable', $stable, $bar-stable-border);
249
+@include tabs-background('tabs-background-positive', $positive, $bar-positive-border);
250
+@include tabs-background('tabs-background-calm', $calm, $bar-calm-border);
251
+@include tabs-background('tabs-background-assertive', $assertive, $bar-assertive-border);
252
+@include tabs-background('tabs-background-balanced', $balanced, $bar-balanced-border);
253
+@include tabs-background('tabs-background-energized',$energized, $bar-energized-border);
254
+@include tabs-background('tabs-background-royal', $royal, $bar-royal-border);
255
+@include tabs-background('tabs-background-dark', $dark, $bar-dark-border);
256
+
257
+@include tabs-color('tabs-color-light', $light);
258
+@include tabs-color('tabs-color-stable', $stable);
259
+@include tabs-color('tabs-color-positive', $positive);
260
+@include tabs-color('tabs-color-calm', $calm);
261
+@include tabs-color('tabs-color-assertive', $assertive);
262
+@include tabs-color('tabs-color-balanced', $balanced);
263
+@include tabs-color('tabs-color-energized',$energized);
264
+@include tabs-color('tabs-color-royal', $royal);
265
+@include tabs-color('tabs-color-dark', $dark);
266
+
267
+@mixin tabs-standard-color($style, $color, $off-color:$dark) {
268
+  &.#{$style} {
269
+    .tab-item {
270
+      color: $off-color;
271
+      &.tab-item-active,
272
+      &.active,
273
+      &.activated {
274
+        color: $color;
275
+      }
276
+    }
277
+
278
+  }
279
+
280
+  &.tabs-striped.#{$style} {
281
+    .tab-item {
282
+      &.tab-item-active,
283
+      &.active,
284
+      &.activated {
285
+        border-color: $color;
286
+        color: $color;
287
+      }
288
+    }
289
+
290
+  }
291
+
292
+}
293
+
294
+ion-tabs {
295
+  @include tabs-standard-color('tabs-color-active-light', $light, $dark);
296
+  @include tabs-standard-color('tabs-color-active-stable', $stable, $dark);
297
+  @include tabs-standard-color('tabs-color-active-positive', $positive, $dark);
298
+  @include tabs-standard-color('tabs-color-active-calm', $calm, $dark);
299
+  @include tabs-standard-color('tabs-color-active-assertive', $assertive, $dark);
300
+  @include tabs-standard-color('tabs-color-active-balanced', $balanced, $dark);
301
+  @include tabs-standard-color('tabs-color-active-energized',$energized, $dark);
302
+  @include tabs-standard-color('tabs-color-active-royal', $royal, $dark);
303
+  @include tabs-standard-color('tabs-color-active-dark', $dark, $light);
304
+}
305
+
306
+.tabs-top {
307
+  &.tabs-striped {
308
+    padding-bottom:0;
309
+    .tab-item{
310
+      background: transparent;
311
+      // animate the top bar, leave bottom for platform consistency
312
+      -webkit-transition: color .1s ease;
313
+      -moz-transition: color .1s ease;
314
+      -ms-transition: color .1s ease;
315
+      -o-transition: color .1s ease;
316
+      transition: color .1s ease;
317
+      &.tab-item-active,
318
+      &.active,
319
+      &.activated {
320
+        margin-top: $tabs-striped-border-width - 1px;
321
+        border-width: 0px 0px $tabs-striped-border-width 0px !important;
322
+        border-style: solid;
323
+        > .badge, > i{
324
+          margin-top: -$tabs-striped-border-width + 1px;
325
+        }
326
+      }
327
+      .badge{
328
+        -webkit-transition: color .2s ease;
329
+        -moz-transition: color .2s ease;
330
+        -ms-transition: color .2s ease;
331
+        -o-transition: color .2s ease;
332
+        transition: color .2s ease;
333
+      }
334
+    }
335
+   &:not(.tabs-icon-left):not(.tabs-icon-top){
336
+       .tab-item{
337
+          &.tab-item-active,
338
+          &.active,
339
+          &.activated {
340
+             .tab-title, i{
341
+            display:block;
342
+            margin-top: -$tabs-striped-border-width + 1px;
343
+          }
344
+        }
345
+      }
346
+    }
347
+    &.tabs-icon-left{
348
+       .tab-item{
349
+          margin-top: 1px;
350
+          &.tab-item-active,
351
+          &.active,
352
+          &.activated {
353
+            .tab-title, i {
354
+              margin-top: -0.1em;
355
+          }
356
+        }
357
+      }
358
+    }
359
+  }
360
+}
361
+
362
+/* Allow parent element to have tabs-top */
363
+/* If you change this, change platform.scss as well */
364
+.tabs-top > .tabs,
365
+.tabs.tabs-top {
366
+  top: $bar-height;
367
+  padding-top: 0;
368
+  background-position: bottom;
369
+  border-top-width: 0;
370
+  border-bottom-width: 1px;
371
+  .tab-item {
372
+    &.tab-item-active,
373
+    &.active,
374
+    &.activated {
375
+      .badge {
376
+        top: 4%;
377
+      }
378
+    }
379
+  }
380
+}
381
+.tabs-top ~ .bar-header {
382
+  border-bottom-width: 0;
383
+}
384
+
385
+.tab-item {
386
+  @include flex(1);
387
+  display: block;
388
+  overflow: hidden;
389
+
390
+  max-width: $tab-item-max-width;
391
+  height: 100%;
392
+
393
+  color: inherit;
394
+  text-align: center;
395
+  text-decoration: none;
396
+  text-overflow: ellipsis;
397
+  white-space: nowrap;
398
+
399
+  font-weight: 400;
400
+  font-size: $tabs-text-font-size;
401
+  font-family: $font-family-sans-serif;
402
+
403
+  opacity: 0.7;
404
+
405
+  &:hover {
406
+    cursor: pointer;
407
+  }
408
+  &.tab-hidden{
409
+    display:none;
410
+  }
411
+}
412
+
413
+.tabs-item-hide > .tabs,
414
+.tabs.tabs-item-hide {
415
+  display: none;
416
+}
417
+
418
+.tabs-icon-top > .tabs .tab-item,
419
+.tabs-icon-top.tabs .tab-item,
420
+.tabs-icon-bottom > .tabs .tab-item,
421
+.tabs-icon-bottom.tabs .tab-item {
422
+  font-size: $tabs-text-font-size-side-icon;
423
+  line-height: $tabs-text-font-size;
424
+}
425
+
426
+.tab-item .icon {
427
+  display: block;
428
+  margin: 0 auto;
429
+  height: $tabs-icon-size;
430
+  font-size: $tabs-icon-size;
431
+}
432
+
433
+.tabs-icon-left.tabs .tab-item,
434
+.tabs-icon-left > .tabs .tab-item,
435
+.tabs-icon-right.tabs .tab-item,
436
+.tabs-icon-right > .tabs .tab-item {
437
+  font-size: $tabs-text-font-size-side-icon;
438
+
439
+  .icon, .tab-title {
440
+    display: inline-block;
441
+    vertical-align: top;
442
+    margin-top: -.1em;
443
+
444
+    &:before {
445
+    font-size: $tabs-icon-size - 8;
446
+    line-height: $tabs-height;
447
+    }
448
+  }
449
+}
450
+
451
+.tabs-icon-left > .tabs .tab-item .icon,
452
+.tabs-icon-left.tabs .tab-item .icon {
453
+  padding-right: 3px;
454
+}
455
+
456
+.tabs-icon-right > .tabs .tab-item .icon,
457
+.tabs-icon-right.tabs .tab-item .icon {
458
+  padding-left: 3px;
459
+}
460
+
461
+.tabs-icon-only > .tabs .icon,
462
+.tabs-icon-only.tabs .icon {
463
+  line-height: inherit;
464
+}
465
+
466
+
467
+.tab-item.has-badge {
468
+  position: relative;
469
+}
470
+
471
+.tab-item .badge {
472
+  position: absolute;
473
+  top: 4%;
474
+  right: 33%; // fallback
475
+  right: calc(50% - 26px);
476
+  padding: $tabs-badge-padding;
477
+  height: auto;
478
+  font-size: $tabs-badge-font-size;
479
+  line-height: $tabs-badge-font-size + 4;
480
+}
481
+
482
+
483
+/* Navigational tab */
484
+
485
+/* Active state for tab */
486
+.tab-item.tab-item-active,
487
+.tab-item.active,
488
+.tab-item.activated {
489
+  opacity: 1;
490
+
491
+  &.tab-item-light {
492
+    color: $light;
493
+  }
494
+  &.tab-item-stable {
495
+    color: $stable;
496
+  }
497
+  &.tab-item-positive {
498
+    color: $positive;
499
+  }
500
+  &.tab-item-calm {
501
+    color: $calm;
502
+  }
503
+  &.tab-item-assertive {
504
+    color: $assertive;
505
+  }
506
+  &.tab-item-balanced {
507
+    color: $balanced;
508
+  }
509
+  &.tab-item-energized {
510
+    color: $energized;
511
+  }
512
+  &.tab-item-royal {
513
+    color: $royal;
514
+  }
515
+  &.tab-item-dark {
516
+    color: $dark;
517
+  }
518
+}
519
+
520
+.item.tabs {
521
+  @include display-flex();
522
+  padding: 0;
523
+
524
+  .icon:before {
525
+    position: relative;
526
+  }
527
+}
528
+
529
+.tab-item.disabled,
530
+.tab-item[disabled] {
531
+  opacity: .4;
532
+  cursor: default;
533
+  pointer-events: none;
534
+}
535
+
536
+.nav-bar-tabs-top.hide ~ .view-container .tabs-top .tabs{
537
+  top: 0
538
+}
539
+.pane[hide-nav-bar="true"] .has-tabs-top{
540
+  top:$tabs-height
541
+}
542
+

+ 198
- 0
lib/ionic/scss/_toggle.scss Voir le fichier

@@ -0,0 +1,198 @@
1
+
2
+/**
3
+ * Toggle
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.item-toggle {
8
+  pointer-events: none;
9
+}
10
+
11
+.toggle {
12
+  // set the color defaults
13
+  @include toggle-style($toggle-on-default-border, $toggle-on-default-bg);
14
+
15
+  position: relative;
16
+  display: inline-block;
17
+  pointer-events: auto;
18
+  margin: -$toggle-hit-area-expansion;
19
+  padding: $toggle-hit-area-expansion;
20
+
21
+  &.dragging {
22
+    .handle {
23
+      background-color: $toggle-handle-dragging-bg-color !important;
24
+    }
25
+  }
26
+
27
+}
28
+
29
+.toggle {
30
+  &.toggle-light  {
31
+    @include toggle-style($toggle-on-light-border, $toggle-on-light-bg);
32
+  }
33
+  &.toggle-stable  {
34
+    @include toggle-style($toggle-on-stable-border, $toggle-on-stable-bg);
35
+  }
36
+  &.toggle-positive  {
37
+    @include toggle-style($toggle-on-positive-border, $toggle-on-positive-bg);
38
+  }
39
+  &.toggle-calm  {
40
+    @include toggle-style($toggle-on-calm-border, $toggle-on-calm-bg);
41
+  }
42
+  &.toggle-assertive  {
43
+    @include toggle-style($toggle-on-assertive-border, $toggle-on-assertive-bg);
44
+  }
45
+  &.toggle-balanced  {
46
+    @include toggle-style($toggle-on-balanced-border, $toggle-on-balanced-bg);
47
+  }
48
+  &.toggle-energized  {
49
+    @include toggle-style($toggle-on-energized-border, $toggle-on-energized-bg);
50
+  }
51
+  &.toggle-royal  {
52
+    @include toggle-style($toggle-on-royal-border, $toggle-on-royal-bg);
53
+  }
54
+  &.toggle-dark  {
55
+    @include toggle-style($toggle-on-dark-border, $toggle-on-dark-bg);
56
+  }
57
+}
58
+
59
+.toggle input {
60
+  // hide the actual input checkbox
61
+  display: none;
62
+}
63
+
64
+/* the track appearance when the toggle is "off" */
65
+.toggle .track {
66
+  @include transition-timing-function(ease-in-out);
67
+  @include transition-duration($toggle-transition-duration);
68
+  @include transition-property((background-color, border));
69
+
70
+  display: inline-block;
71
+  box-sizing: border-box;
72
+  width: $toggle-width;
73
+  height: $toggle-height;
74
+  border: solid $toggle-border-width $toggle-off-border-color;
75
+  border-radius: $toggle-border-radius;
76
+  background-color: $toggle-off-bg-color;
77
+  content: ' ';
78
+  cursor: pointer;
79
+  pointer-events: none;
80
+}
81
+
82
+/* Fix to avoid background color bleeding */
83
+/* (occurred on (at least) Android 4.2, Asus MeMO Pad HD7 ME173X) */
84
+.platform-android4_2 .toggle .track {
85
+  -webkit-background-clip: padding-box;
86
+}
87
+
88
+/* the handle (circle) thats inside the toggle's track area */
89
+/* also the handle's appearance when it is "off" */
90
+.toggle .handle {
91
+  @include transition($toggle-transition-duration cubic-bezier(0, 1.1, 1, 1.1));
92
+  @include transition-property((background-color, transform));
93
+  position: absolute;
94
+  display: block;
95
+  width: $toggle-handle-width;
96
+  height: $toggle-handle-height;
97
+  border-radius: $toggle-handle-radius;
98
+  background-color: $toggle-handle-off-bg-color;
99
+  top: $toggle-border-width + $toggle-hit-area-expansion;
100
+  left: $toggle-border-width + $toggle-hit-area-expansion;
101
+  box-shadow: 0 2px 7px rgba(0,0,0,.35), 0 1px 1px rgba(0,0,0,.15);
102
+
103
+  &:before {
104
+    // used to create a larger (but hidden) hit area to slide the handle
105
+    position: absolute;
106
+    top: -4px;
107
+    left: ( ($toggle-handle-width / 2) * -1) - 8;
108
+    padding: ($toggle-handle-height / 2) + 5 ($toggle-handle-width + 7);
109
+    content: " ";
110
+  }
111
+}
112
+
113
+.toggle input:checked + .track .handle {
114
+  // the handle when the toggle is "on"
115
+  @include translate3d($toggle-width - $toggle-handle-width - ($toggle-border-width * 2), 0, 0);
116
+  background-color: $toggle-handle-on-bg-color;
117
+}
118
+
119
+.item-toggle.active {
120
+  box-shadow: none;
121
+}
122
+
123
+.item-toggle,
124
+.item-toggle.item-complex .item-content {
125
+  // make sure list item content have enough padding on right to fit the toggle
126
+  padding-right: ($item-padding * 3) + $toggle-width;
127
+}
128
+
129
+.item-toggle.item-complex {
130
+  padding-right: 0;
131
+}
132
+
133
+.item-toggle .toggle {
134
+  // position the toggle to the right within a list item
135
+  position: absolute;
136
+  top: ($item-padding / 2) + 2;
137
+  right: $item-padding;
138
+  z-index: $z-index-item-toggle;
139
+}
140
+
141
+.toggle input:disabled + .track {
142
+  opacity: .6;
143
+}
144
+
145
+.toggle-small {
146
+
147
+  .track {
148
+    border: 0;
149
+    width: 34px;
150
+    height: 15px;
151
+    background: #9e9e9e;
152
+  }
153
+  input:checked + .track {
154
+    background: rgba(0,150,137,.5);
155
+  }
156
+  .handle {
157
+    top: 2px;
158
+    left: 4px;
159
+    width: 21px;
160
+    height: 21px;
161
+    box-shadow: 0 2px 5px rgba(0,0,0,.25);
162
+  }
163
+  input:checked + .track .handle {
164
+    @include translate3d(16px, 0, 0);
165
+    background: rgb(0,150,137);
166
+  }
167
+  &.item-toggle .toggle {
168
+    top: 19px;
169
+  }
170
+
171
+  .toggle-light  {
172
+    @include toggle-small-style($toggle-on-light-bg);
173
+  }
174
+  .toggle-stable  {
175
+    @include toggle-small-style($toggle-on-stable-bg);
176
+  }
177
+  .toggle-positive  {
178
+    @include toggle-small-style($toggle-on-positive-bg);
179
+  }
180
+  .toggle-calm  {
181
+    @include toggle-small-style($toggle-on-calm-bg);
182
+  }
183
+  .toggle-assertive  {
184
+    @include toggle-small-style($toggle-on-assertive-bg);
185
+  }
186
+  .toggle-balanced  {
187
+    @include toggle-small-style($toggle-on-balanced-bg);
188
+  }
189
+  .toggle-energized  {
190
+    @include toggle-small-style($toggle-on-energized-bg);
191
+  }
192
+  .toggle-royal  {
193
+    @include toggle-small-style($toggle-on-royal-bg);
194
+  }
195
+  .toggle-dark  {
196
+    @include toggle-small-style($toggle-on-dark-bg);
197
+  }
198
+}

+ 188
- 0
lib/ionic/scss/_transitions.scss Voir le fichier

@@ -0,0 +1,188 @@
1
+
2
+// iOS View Transitions
3
+// -------------------------------
4
+
5
+$ios-transition-duration:              500ms !default;
6
+$ios-transition-timing-function:       cubic-bezier(.36, .66, .04, 1) !default;
7
+$ios-transition-container-bg-color:    #000 !default;
8
+
9
+
10
+[nav-view-transition="ios"] {
11
+
12
+  [nav-view="entering"],
13
+  [nav-view="leaving"] {
14
+    @include transition-duration( $ios-transition-duration );
15
+    @include transition-timing-function( $ios-transition-timing-function );
16
+    -webkit-transition-property: opacity, -webkit-transform, box-shadow;
17
+            transition-property: opacity, transform, box-shadow;
18
+  }
19
+
20
+  &[nav-view-direction="forward"],
21
+  &[nav-view-direction="back"] {
22
+    background-color: $ios-transition-container-bg-color;
23
+  }
24
+
25
+  [nav-view="active"],
26
+  &[nav-view-direction="forward"] [nav-view="entering"],
27
+  &[nav-view-direction="back"] [nav-view="leaving"] {
28
+    z-index: $z-index-view-above;
29
+  }
30
+
31
+  &[nav-view-direction="back"] [nav-view="entering"],
32
+  &[nav-view-direction="forward"] [nav-view="leaving"] {
33
+    z-index: $z-index-view-below;
34
+  }
35
+
36
+}
37
+
38
+
39
+
40
+// iOS Nav Bar Transitions
41
+// -------------------------------
42
+
43
+[nav-bar-transition="ios"] {
44
+
45
+  .title,
46
+  .buttons,
47
+  .back-text {
48
+    @include transition-duration( $ios-transition-duration );
49
+    @include transition-timing-function( $ios-transition-timing-function );
50
+    -webkit-transition-property: opacity, -webkit-transform;
51
+            transition-property: opacity, transform;
52
+  }
53
+
54
+  [nav-bar="active"],
55
+  [nav-bar="entering"] {
56
+    z-index: $z-index-bar-above;
57
+
58
+   .bar {
59
+      background: transparent;
60
+    }
61
+  }
62
+
63
+  [nav-bar="cached"] {
64
+    display: block;
65
+
66
+    .header-item {
67
+      display: none;
68
+    }
69
+  }
70
+
71
+}
72
+
73
+
74
+
75
+// Android View Transitions
76
+// -------------------------------
77
+
78
+$android-transition-duration:             200ms !default;
79
+$android-transition-timing-function:      cubic-bezier(0.4, 0.6, 0.2, 1) !default;
80
+
81
+
82
+[nav-view-transition="android"] {
83
+
84
+  [nav-view="entering"],
85
+  [nav-view="leaving"] {
86
+    @include transition-duration( $android-transition-duration );
87
+    @include transition-timing-function( $android-transition-timing-function );
88
+    -webkit-transition-property: -webkit-transform;
89
+            transition-property: transform;
90
+  }
91
+
92
+  [nav-view="active"],
93
+  &[nav-view-direction="forward"] [nav-view="entering"],
94
+  &[nav-view-direction="back"] [nav-view="leaving"] {
95
+    z-index: $z-index-view-above;
96
+  }
97
+
98
+  &[nav-view-direction="back"] [nav-view="entering"],
99
+  &[nav-view-direction="forward"] [nav-view="leaving"] {
100
+    z-index: $z-index-view-below;
101
+  }
102
+
103
+}
104
+
105
+
106
+
107
+// Android Nav Bar Transitions
108
+// -------------------------------
109
+
110
+[nav-bar-transition="android"] {
111
+
112
+  .title,
113
+  .buttons {
114
+    @include transition-duration( $android-transition-duration );
115
+    @include transition-timing-function( $android-transition-timing-function );
116
+    -webkit-transition-property: opacity;
117
+            transition-property: opacity;
118
+  }
119
+
120
+  [nav-bar="active"],
121
+  [nav-bar="entering"] {
122
+    z-index: $z-index-bar-above;
123
+
124
+   .bar {
125
+      background: transparent;
126
+    }
127
+  }
128
+
129
+  [nav-bar="cached"] {
130
+    display: block;
131
+
132
+    .header-item {
133
+      display: none;
134
+    }
135
+  }
136
+
137
+}
138
+
139
+
140
+
141
+// Nav Swipe
142
+// -------------------------------
143
+
144
+[nav-swipe="fast"] {
145
+  [nav-view],
146
+  .title,
147
+  .buttons,
148
+  .back-text {
149
+    @include transition-duration(50ms);
150
+    @include transition-timing-function(linear);
151
+  }
152
+}
153
+
154
+[nav-swipe="slow"] {
155
+  [nav-view],
156
+  .title,
157
+  .buttons,
158
+  .back-text {
159
+    @include transition-duration(160ms);
160
+    @include transition-timing-function(linear);
161
+  }
162
+}
163
+
164
+
165
+
166
+// Transition Settings
167
+// -------------------------------
168
+
169
+[nav-view="cached"],
170
+[nav-bar="cached"] {
171
+  display: none;
172
+}
173
+
174
+[nav-view="stage"] {
175
+  opacity: 0;
176
+  @include transition-duration( 0 );
177
+}
178
+
179
+[nav-bar="stage"] {
180
+  .title,
181
+  .buttons,
182
+  .back-text {
183
+    position: absolute;
184
+    opacity: 0;
185
+    @include transition-duration(0s);
186
+  }
187
+}
188
+

+ 166
- 0
lib/ionic/scss/_type.scss Voir le fichier

@@ -0,0 +1,166 @@
1
+
2
+/**
3
+ * Typography
4
+ * --------------------------------------------------
5
+ */
6
+
7
+
8
+// Body text
9
+// -------------------------
10
+
11
+p {
12
+  margin: 0 0 ($line-height-computed / 2);
13
+}
14
+
15
+
16
+// Emphasis & misc
17
+// -------------------------
18
+
19
+small   { font-size: 85%; }
20
+cite    { font-style: normal; }
21
+
22
+
23
+// Alignment
24
+// -------------------------
25
+
26
+.text-left           { text-align: left; }
27
+.text-right          { text-align: right; }
28
+.text-center         { text-align: center; }
29
+
30
+
31
+// Headings
32
+// -------------------------
33
+
34
+h1, h2, h3, h4, h5, h6,
35
+.h1, .h2, .h3, .h4, .h5, .h6 {
36
+  color: $base-color;
37
+  font-weight: $headings-font-weight;
38
+  font-family: $headings-font-family;
39
+  line-height: $headings-line-height;
40
+
41
+  small {
42
+    font-weight: normal;
43
+    line-height: 1;
44
+  }
45
+}
46
+
47
+h1, .h1,
48
+h2, .h2,
49
+h3, .h3 {
50
+  margin-top: $line-height-computed;
51
+  margin-bottom: ($line-height-computed / 2);
52
+
53
+  &:first-child {
54
+    margin-top: 0;
55
+  }
56
+
57
+  + h1, + .h1,
58
+  + h2, + .h2,
59
+  + h3, + .h3 {
60
+    margin-top: ($line-height-computed / 2);
61
+  }
62
+}
63
+
64
+h4, .h4,
65
+h5, .h5,
66
+h6, .h6 {
67
+  margin-top: ($line-height-computed / 2);
68
+  margin-bottom: ($line-height-computed / 2);
69
+}
70
+
71
+h1, .h1 { font-size: floor($font-size-base * 2.60); } // ~36px
72
+h2, .h2 { font-size: floor($font-size-base * 2.15); } // ~30px
73
+h3, .h3 { font-size: ceil($font-size-base * 1.70); } // ~24px
74
+h4, .h4 { font-size: ceil($font-size-base * 1.25); } // ~18px
75
+h5, .h5 { font-size:  $font-size-base; }
76
+h6, .h6 { font-size: ceil($font-size-base * 0.85); } // ~12px
77
+
78
+h1 small, .h1 small { font-size: ceil($font-size-base * 1.70); } // ~24px
79
+h2 small, .h2 small { font-size: ceil($font-size-base * 1.25); } // ~18px
80
+h3 small, .h3 small,
81
+h4 small, .h4 small { font-size: $font-size-base; }
82
+
83
+
84
+// Description Lists
85
+// -------------------------
86
+
87
+dl {
88
+  margin-bottom: $line-height-computed;
89
+}
90
+dt,
91
+dd {
92
+  line-height: $line-height-base;
93
+}
94
+dt {
95
+  font-weight: bold;
96
+}
97
+
98
+
99
+// Blockquotes
100
+// -------------------------
101
+
102
+blockquote {
103
+  margin: 0 0 $line-height-computed;
104
+  padding: ($line-height-computed / 2) $line-height-computed;
105
+  border-left: 5px solid gray;
106
+
107
+  p {
108
+    font-weight: 300;
109
+    font-size: ($font-size-base * 1.25);
110
+    line-height: 1.25;
111
+  }
112
+
113
+  p:last-child {
114
+    margin-bottom: 0;
115
+  }
116
+
117
+  small {
118
+    display: block;
119
+    line-height: $line-height-base;
120
+    &:before {
121
+      content: '\2014 \00A0';// EM DASH, NBSP;
122
+    }
123
+  }
124
+}
125
+
126
+
127
+// Quotes
128
+// -------------------------
129
+
130
+q:before,
131
+q:after,
132
+blockquote:before,
133
+blockquote:after {
134
+  content: "";
135
+}
136
+
137
+
138
+// Addresses
139
+// -------------------------
140
+
141
+address {
142
+  display: block;
143
+  margin-bottom: $line-height-computed;
144
+  font-style: normal;
145
+  line-height: $line-height-base;
146
+}
147
+
148
+
149
+// Links
150
+// -------------------------
151
+a {
152
+  color: $link-color;
153
+}
154
+
155
+a.subdued {
156
+  padding-right: 10px;
157
+  color: #888;
158
+  text-decoration: none;
159
+
160
+  &:hover {
161
+    text-decoration: none;
162
+  }
163
+  &:last-child {
164
+    padding-right: 0;
165
+  }
166
+}

+ 296
- 0
lib/ionic/scss/_util.scss Voir le fichier

@@ -0,0 +1,296 @@
1
+
2
+/**
3
+ * Utility Classes
4
+ * --------------------------------------------------
5
+ */
6
+
7
+.hide {
8
+  display: none;
9
+}
10
+.opacity-hide {
11
+  opacity: 0;
12
+}
13
+.grade-b .opacity-hide,
14
+.grade-c .opacity-hide {
15
+  opacity: 1;
16
+  display: none;
17
+}
18
+.show {
19
+  display: block;
20
+}
21
+.opacity-show {
22
+  opacity: 1;
23
+}
24
+.invisible {
25
+  visibility: hidden;
26
+}
27
+
28
+.keyboard-open .hide-on-keyboard-open {
29
+  display: none;
30
+}
31
+
32
+.keyboard-open .tabs.hide-on-keyboard-open + .pane .has-tabs,
33
+.keyboard-open .bar-footer.hide-on-keyboard-open + .pane .has-footer {
34
+  bottom: 0;
35
+}
36
+
37
+.inline {
38
+  display: inline-block;
39
+}
40
+
41
+.disable-pointer-events {
42
+  pointer-events: none;
43
+}
44
+
45
+.enable-pointer-events {
46
+  pointer-events: auto;
47
+}
48
+
49
+.disable-user-behavior {
50
+  // used to prevent the browser from doing its native behavior. this doesnt
51
+  // prevent the scrolling, but cancels the contextmenu, tap highlighting, etc
52
+
53
+  @include user-select(none);
54
+  @include touch-callout(none);
55
+  @include tap-highlight-transparent();
56
+
57
+  -webkit-user-drag: none;
58
+
59
+  -ms-touch-action: none;
60
+  -ms-content-zooming: none;
61
+}
62
+
63
+// Fill the screen to block clicks (a better pointer-events: none) for the body
64
+// to avoid full-page reflows and paints which can cause flickers
65
+.click-block {
66
+  position: absolute;
67
+  top: 0;
68
+  right: 0;
69
+  bottom: 0;
70
+  left: 0;
71
+  opacity: 0;
72
+  z-index: $z-index-click-block;
73
+  @include translate3d(0, 0, 0);
74
+  overflow: hidden;
75
+}
76
+.click-block-hide {
77
+  @include translate3d(-9999px, 0, 0);
78
+}
79
+
80
+.no-resize {
81
+  resize: none;
82
+}
83
+
84
+.block {
85
+  display: block;
86
+  clear: both;
87
+  &:after {
88
+    display: block;
89
+    visibility: hidden;
90
+    clear: both;
91
+    height: 0;
92
+    content: ".";
93
+  }
94
+}
95
+
96
+.full-image {
97
+  width: 100%;
98
+}
99
+
100
+.clearfix {
101
+  *zoom: 1;
102
+  &:before,
103
+  &:after {
104
+    display: table;
105
+    content: "";
106
+    // Fixes Opera/contenteditable bug:
107
+    // http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952
108
+    line-height: 0;
109
+  }
110
+  &:after {
111
+    clear: both;
112
+  }
113
+}
114
+
115
+/**
116
+ * Content Padding
117
+ * --------------------------------------------------
118
+ */
119
+
120
+.padding {
121
+  padding: $content-padding;
122
+}
123
+
124
+.padding-top,
125
+.padding-vertical {
126
+  padding-top: $content-padding;
127
+}
128
+
129
+.padding-right,
130
+.padding-horizontal {
131
+  padding-right: $content-padding;
132
+}
133
+
134
+.padding-bottom,
135
+.padding-vertical {
136
+  padding-bottom: $content-padding;
137
+}
138
+
139
+.padding-left,
140
+.padding-horizontal {
141
+  padding-left: $content-padding;
142
+}
143
+
144
+
145
+/**
146
+ * Scrollable iFrames
147
+ * --------------------------------------------------
148
+ */
149
+
150
+.iframe-wrapper {
151
+  position: fixed;
152
+  -webkit-overflow-scrolling: touch;
153
+  overflow: scroll;
154
+
155
+  iframe {
156
+    height: 100%;
157
+    width: 100%;
158
+  }
159
+}
160
+
161
+
162
+/**
163
+ * Rounded
164
+ * --------------------------------------------------
165
+ */
166
+
167
+.rounded {
168
+  border-radius: $border-radius-base;
169
+}
170
+
171
+
172
+/**
173
+ * Utility Colors
174
+ * --------------------------------------------------
175
+ * Utility colors are added to help set a naming convention. You'll
176
+ * notice we purposely do not use words like "red" or "blue", but
177
+ * instead have colors which represent an emotion or generic theme.
178
+ */
179
+
180
+.light, a.light {
181
+  color: $light;
182
+}
183
+.light-bg {
184
+  background-color: $light;
185
+}
186
+.light-border {
187
+  border-color: $button-light-border;
188
+}
189
+
190
+.stable, a.stable {
191
+  color: $stable;
192
+}
193
+.stable-bg {
194
+  background-color: $stable;
195
+}
196
+.stable-border {
197
+  border-color: $button-stable-border;
198
+}
199
+
200
+.positive, a.positive {
201
+  color: $positive;
202
+}
203
+.positive-bg {
204
+  background-color: $positive;
205
+}
206
+.positive-border {
207
+  border-color: $button-positive-border;
208
+}
209
+
210
+.calm, a.calm {
211
+  color: $calm;
212
+}
213
+.calm-bg {
214
+  background-color: $calm;
215
+}
216
+.calm-border {
217
+  border-color: $button-calm-border;
218
+}
219
+
220
+.assertive, a.assertive {
221
+  color: $assertive;
222
+}
223
+.assertive-bg {
224
+  background-color: $assertive;
225
+}
226
+.assertive-border {
227
+  border-color: $button-assertive-border;
228
+}
229
+
230
+.balanced, a.balanced {
231
+  color: $balanced;
232
+}
233
+.balanced-bg {
234
+  background-color: $balanced;
235
+}
236
+.balanced-border {
237
+  border-color: $button-balanced-border;
238
+}
239
+
240
+.energized, a.energized {
241
+  color: $energized;
242
+}
243
+.energized-bg {
244
+  background-color: $energized;
245
+}
246
+.energized-border {
247
+  border-color: $button-energized-border;
248
+}
249
+
250
+.royal, a.royal {
251
+  color: $royal;
252
+}
253
+.royal-bg {
254
+  background-color: $royal;
255
+}
256
+.royal-border {
257
+  border-color: $button-royal-border;
258
+}
259
+
260
+.dark, a.dark {
261
+  color: $dark;
262
+}
263
+.dark-bg {
264
+  background-color: $dark;
265
+}
266
+.dark-border {
267
+  border-color: $button-dark-border;
268
+}
269
+
270
+[collection-repeat] {
271
+  /* Position is set by transforms */
272
+  left: 0 !important;
273
+  top: 0 !important;
274
+  position: absolute !important;
275
+  z-index: 1;
276
+}
277
+.collection-repeat-container {
278
+  position: relative;
279
+  z-index: 1; //make sure it's above the after-container
280
+}
281
+.collection-repeat-after-container {
282
+  z-index: 0;
283
+  display: block;
284
+
285
+  /* when scrolling horizontally, make sure the after container doesn't take up 100% width */
286
+  &.horizontal {
287
+    display: inline-block;
288
+  }
289
+}
290
+
291
+// ng-show fix for windows phone
292
+// https://www.hoessl.eu/2014/12/on-using-the-ionic-framework-for-windows-phone-8-1-apps/
293
+[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak,
294
+.x-ng-cloak, .ng-hide:not(.ng-hide-animate) {
295
+  display: none !important;
296
+}

+ 764
- 0
lib/ionic/scss/_variables.scss Voir le fichier

@@ -0,0 +1,764 @@
1
+
2
+// Colors
3
+// -------------------------------
4
+
5
+$light:                           #fff !default;
6
+$stable:                          #f8f8f8 !default;
7
+$positive:                        #387ef5 !default;
8
+$calm:                            #11c1f3 !default;
9
+$balanced:                        #33cd5f !default;
10
+$energized:                       #ffc900 !default;
11
+$assertive:                       #ef473a !default;
12
+$royal:                           #886aea !default;
13
+$dark:                            #444 !default;
14
+
15
+
16
+// Base
17
+// -------------------------------
18
+
19
+$font-family-sans-serif:           '-apple-system', "Helvetica Neue", "Roboto", "Segoe UI", sans-serif !default;
20
+
21
+$font-family-light-sans-serif:    '-apple-system', "HelveticaNeue-Light", "Roboto-Light", "Segoe UI-Light", sans-serif-light !default;
22
+$font-family-serif:               serif !default;
23
+$font-family-monospace:           monospace !default;
24
+
25
+$font-family-base:                $font-family-sans-serif !default;
26
+$font-size-base:                  14px !default;
27
+$font-size-large:                 18px !default;
28
+$font-size-small:                 11px !default;
29
+
30
+$line-height-base:                1.428571429 !default; // 20/14
31
+$line-height-computed:            floor($font-size-base * $line-height-base) !default; // ~20px
32
+$line-height-large:               1.33 !default;
33
+$line-height-small:               1.5 !default;
34
+
35
+$headings-font-family:            $font-family-base !default;
36
+$headings-font-weight:            500 !default;
37
+$headings-line-height:            1.2 !default;
38
+
39
+$base-background-color:           #fff !default;
40
+$base-color:                      #000 !default;
41
+
42
+$link-color:                      $positive !default;
43
+$link-hover-color:                darken($link-color, 15%) !default;
44
+
45
+$content-padding:                 10px !default;
46
+
47
+$padding-base-vertical:           6px !default;
48
+$padding-base-horizontal:         12px !default;
49
+
50
+$padding-large-vertical:          10px !default;
51
+$padding-large-horizontal:        16px !default;
52
+
53
+$padding-small-vertical:          5px !default;
54
+$padding-small-horizontal:        10px !default;
55
+
56
+$border-radius-base:              4px !default;
57
+$border-radius-large:             6px !default;
58
+$border-radius-small:             3px !default;
59
+
60
+
61
+// Content
62
+// -------------------------------
63
+
64
+$scroll-refresh-icon-color:       #666666 !default;
65
+
66
+
67
+// Buttons
68
+// -------------------------------
69
+
70
+$button-color:                    #222 !default;
71
+$button-block-margin:             10px !default;
72
+$button-clear-padding:            6px !default;
73
+$button-border-radius:            4px !default;
74
+$button-border-width:             1px !default;
75
+
76
+$button-font-size:                16px !default;
77
+$button-height:                   42px !default;
78
+$button-padding:                  12px !default;
79
+$button-icon-size:                24px !default;
80
+
81
+$button-large-font-size:          20px !default;
82
+$button-large-height:             54px !default;
83
+$button-large-padding:            16px !default;
84
+$button-large-icon-size:          32px !default;
85
+
86
+$button-small-font-size:          12px !default;
87
+$button-small-height:             28px !default;
88
+$button-small-padding:            4px !default;
89
+$button-small-icon-size:          16px !default;
90
+
91
+$button-bar-button-font-size:     13px !default;
92
+$button-bar-button-height:        32px !default;
93
+$button-bar-button-padding:       8px !default;
94
+$button-bar-button-icon-size:     20px !default;
95
+
96
+$button-default-border:           transparent !default;
97
+$button-default-active-border:    null !default;
98
+
99
+$button-light-bg:                 $light !default;
100
+$button-light-text:               #444 !default;
101
+$button-light-border:             #ddd !default;
102
+$button-light-active-bg:          #fafafa !default;
103
+$button-light-active-border:      #ccc !default;
104
+
105
+$button-stable-bg:                $stable !default;
106
+$button-stable-text:              #444 !default;
107
+$button-stable-border:            #b2b2b2 !default;
108
+$button-stable-active-bg:         #e5e5e5 !default;
109
+$button-stable-active-border:     #a2a2a2 !default;
110
+
111
+$button-positive-bg:              $positive !default;
112
+$button-positive-text:            #fff !default;
113
+$button-positive-border:          darken($positive, 10%) !default;
114
+$button-positive-active-bg:       darken($positive, 10%) !default;
115
+$button-positive-active-border:   darken($positive, 10%) !default;
116
+
117
+$button-calm-bg:                  $calm !default;
118
+$button-calm-text:                #fff !default;
119
+$button-calm-border:              darken($calm, 10%) !default;
120
+$button-calm-active-bg:           darken($calm, 10%) !default;
121
+$button-calm-active-border:       darken($calm, 10%) !default;
122
+
123
+$button-assertive-bg:             $assertive !default;
124
+$button-assertive-text:           #fff !default;
125
+$button-assertive-border:         darken($assertive, 10%) !default;
126
+$button-assertive-active-bg:      darken($assertive, 10%) !default;
127
+$button-assertive-active-border:  darken($assertive, 10%) !default;
128
+
129
+$button-balanced-bg:              $balanced !default;
130
+$button-balanced-text:            #fff !default;
131
+$button-balanced-border:          darken($balanced, 10%) !default;
132
+$button-balanced-active-bg:       darken($balanced, 10%) !default;
133
+$button-balanced-active-border:   darken($balanced, 10%) !default;
134
+
135
+$button-energized-bg:             $energized !default;
136
+$button-energized-text:           #fff !default;
137
+$button-energized-border:         darken($energized, 5%) !default;
138
+$button-energized-active-bg:      darken($energized, 5%) !default;
139
+$button-energized-active-border:  darken($energized, 5%) !default;
140
+
141
+$button-royal-bg:                 $royal !default;
142
+$button-royal-text:               #fff !default;
143
+$button-royal-border:             darken($royal, 8%) !default;
144
+$button-royal-active-bg:          darken($royal, 8%) !default;
145
+$button-royal-active-border:      darken($royal, 8%) !default;
146
+
147
+$button-dark-bg:                  $dark !default;
148
+$button-dark-text:                #fff !default;
149
+$button-dark-border:              #111 !default;
150
+$button-dark-active-bg:           #262626 !default;
151
+$button-dark-active-border:       #000 !default;
152
+
153
+$button-default-bg:               $button-stable-bg !default;
154
+$button-default-text:             $button-stable-text !default;
155
+$button-default-border:           $button-stable-border !default;
156
+$button-default-active-bg:        $button-stable-active-bg !default;
157
+$button-default-active-border:    $button-stable-active-border !default;
158
+
159
+
160
+// Bars
161
+// -------------------------------
162
+
163
+$bar-height:                      44px !default;
164
+$bar-title-font-size:             17px !default;
165
+$bar-padding-portrait:            5px !default;
166
+$bar-padding-landscape:           5px !default;
167
+$bar-transparency:                1 !default;
168
+
169
+$bar-footer-height:               $bar-height !default;
170
+$bar-subheader-height:            $bar-height !default;
171
+$bar-subfooter-height:            $bar-height !default;
172
+
173
+$bar-light-bg:                    rgba($button-light-bg, $bar-transparency) !default;
174
+$bar-light-text:                  $button-light-text !default;
175
+$bar-light-border:                $button-light-border !default;
176
+$bar-light-active-bg:             $button-light-active-bg !default;
177
+$bar-light-active-border:         $button-light-active-border !default;
178
+
179
+$bar-stable-bg:                   rgba($button-stable-bg, $bar-transparency) !default;
180
+$bar-stable-text:                 $button-stable-text !default;
181
+$bar-stable-border:               $button-stable-border !default;
182
+$bar-stable-active-bg:            $button-stable-active-bg !default;
183
+$bar-stable-active-border:        $button-stable-active-border !default;
184
+
185
+$bar-positive-bg:                 rgba($button-positive-bg, $bar-transparency) !default;
186
+$bar-positive-text:               $button-positive-text !default;
187
+$bar-positive-border:             $button-positive-border !default;
188
+$bar-positive-active-bg:          $button-positive-active-bg !default;
189
+$bar-positive-active-border:      $button-positive-active-border !default;
190
+
191
+$bar-calm-bg:                     rgba($button-calm-bg, $bar-transparency) !default;
192
+$bar-calm-text:                   $button-calm-text !default;
193
+$bar-calm-border:                 $button-calm-border !default;
194
+$bar-calm-active-bg:              $button-calm-active-bg !default;
195
+$bar-calm-active-border:          $button-calm-active-border !default;
196
+
197
+$bar-assertive-bg:                rgba($button-assertive-bg, $bar-transparency) !default;
198
+$bar-assertive-text:              $button-assertive-text !default;
199
+$bar-assertive-border:            $button-assertive-border !default;
200
+$bar-assertive-active-bg:         $button-assertive-active-bg !default;
201
+$bar-assertive-active-border:     $button-assertive-active-border !default;
202
+
203
+$bar-balanced-bg:                 rgba($button-balanced-bg, $bar-transparency) !default;
204
+$bar-balanced-text:               $button-balanced-text !default;
205
+$bar-balanced-border:             $button-balanced-border !default;
206
+$bar-balanced-active-bg:          $button-balanced-active-bg !default;
207
+$bar-balanced-active-border:      $button-balanced-active-border !default;
208
+
209
+$bar-energized-bg:                rgba($button-energized-bg, $bar-transparency) !default;
210
+$bar-energized-text:              $button-energized-text !default;
211
+$bar-energized-border:            $button-energized-border !default;
212
+$bar-energized-active-bg:         $button-energized-active-bg !default;
213
+$bar-energized-active-border:     $button-energized-active-border !default;
214
+
215
+$bar-royal-bg:                    rgba($button-royal-bg, $bar-transparency) !default;
216
+$bar-royal-text:                  $button-royal-text !default;
217
+$bar-royal-border:                $button-royal-border !default;
218
+$bar-royal-active-bg:             $button-royal-active-bg !default;
219
+$bar-royal-active-border:         $button-royal-active-border !default;
220
+
221
+$bar-dark-bg:                     rgba($button-dark-bg, $bar-transparency) !default;
222
+$bar-dark-text:                   $button-dark-text !default;
223
+$bar-dark-border:                 $button-dark-border !default;
224
+$bar-dark-active-bg:              $button-dark-active-bg !default;
225
+$bar-dark-active-border:          $button-dark-active-border !default;
226
+
227
+$bar-default-bg:                  $bar-light-bg !default;
228
+$bar-default-text:                $bar-light-text !default;
229
+$bar-default-border:              $bar-light-border !default;
230
+$bar-default-active-bg:           $bar-light-active-bg !default;
231
+$bar-default-active-border:       $bar-light-active-border !default;
232
+
233
+
234
+// Tabs
235
+// -------------------------------
236
+
237
+$tabs-height:                     49px !default;
238
+$tabs-text-font-size:             14px !default;
239
+$tabs-text-font-size-side-icon:   10px !default;
240
+$tabs-icon-size:                  32px !default;
241
+$tabs-badge-padding:              1px 6px !default;
242
+$tabs-badge-font-size:            12px !default;
243
+
244
+$tabs-light-bg:                   $button-light-bg !default;
245
+$tabs-light-border:               $button-light-border !default;
246
+$tabs-light-text:                 $button-light-text !default;
247
+
248
+$tabs-stable-bg:                  $button-stable-bg !default;
249
+$tabs-stable-border:              $button-stable-border !default;
250
+$tabs-stable-text:                $button-stable-text !default;
251
+
252
+$tabs-positive-bg:                $button-positive-bg !default;
253
+$tabs-positive-border:            $button-positive-border !default;
254
+$tabs-positive-text:              $button-positive-text !default;
255
+
256
+$tabs-calm-bg:                    $button-calm-bg !default;
257
+$tabs-calm-border:                $button-calm-border !default;
258
+$tabs-calm-text:                  $button-calm-text !default;
259
+
260
+$tabs-assertive-bg:               $button-assertive-bg !default;
261
+$tabs-assertive-border:           $button-assertive-border !default;
262
+$tabs-assertive-text:             $button-assertive-text !default;
263
+
264
+$tabs-balanced-bg:                $button-balanced-bg !default;
265
+$tabs-balanced-border:            $button-balanced-border !default;
266
+$tabs-balanced-text:              $button-balanced-text !default;
267
+
268
+$tabs-energized-bg:               $button-energized-bg !default;
269
+$tabs-energized-border:           $button-energized-border !default;
270
+$tabs-energized-text:             $button-energized-text !default;
271
+
272
+$tabs-royal-bg:                   $button-royal-bg !default;
273
+$tabs-royal-border:               $button-royal-border !default;
274
+$tabs-royal-text:                 $button-royal-text !default;
275
+
276
+$tabs-dark-bg:                    $button-dark-bg !default;
277
+$tabs-dark-border:                $button-dark-border !default;
278
+$tabs-dark-text:                  $button-dark-text !default;
279
+
280
+$tabs-default-bg:                 $tabs-stable-bg !default;
281
+$tabs-default-border:             $tabs-stable-border !default;
282
+$tabs-default-text:               $tabs-stable-text !default;
283
+
284
+$tab-item-max-width:              150px !default;
285
+
286
+$tabs-off-opacity:                0.4 !default;
287
+$tabs-striped-off-opacity:        $tabs-off-opacity !default;
288
+$tabs-striped-off-color:          #000 !default;
289
+$tabs-striped-border-width:       2px !default;
290
+
291
+
292
+// Items
293
+// -------------------------------
294
+
295
+$item-font-size:                  16px !default;
296
+$item-border-width:               1px !default;
297
+$item-padding:                    16px !default;
298
+
299
+$item-button-font-size:           18px !default;
300
+$item-button-line-height:         32px !default;
301
+$item-icon-font-size:             32px !default;
302
+$item-icon-fill-font-size:        28px !default;
303
+
304
+$item-icon-accessory-color:       #ccc !default;
305
+$item-icon-accessory-font-size:   16px !default;
306
+
307
+$item-avatar-width:               40px !default;
308
+$item-avatar-height:              40px !default;
309
+$item-avatar-border-radius:       50% !default;
310
+
311
+$item-thumbnail-width:            80px !default;
312
+$item-thumbnail-height:           80px !default;
313
+$item-thumbnail-margin:           10px !default;
314
+
315
+$item-divider-bg:                 #f5f5f5 !default;
316
+$item-divider-color:              #222 !default;
317
+$item-divider-padding:            5px 15px !default;
318
+
319
+$item-light-bg:                   $button-light-bg !default;
320
+$item-light-border:               $button-light-border !default;
321
+$item-light-text:                 $button-light-text !default;
322
+$item-light-active-bg:            $button-light-active-bg !default;
323
+$item-light-active-border:        $button-light-active-border !default;
324
+
325
+$item-stable-bg:                  $button-stable-bg !default;
326
+$item-stable-border:              $button-stable-border !default;
327
+$item-stable-text:                $button-stable-text !default;
328
+$item-stable-active-bg:           $button-stable-active-bg !default;
329
+$item-stable-active-border:       $button-stable-active-border !default;
330
+
331
+$item-positive-bg:                $button-positive-bg !default;
332
+$item-positive-border:            $button-positive-border !default;
333
+$item-positive-text:              $button-positive-text !default;
334
+$item-positive-active-bg:         $button-positive-active-bg !default;
335
+$item-positive-active-border:     $button-positive-active-border !default;
336
+
337
+$item-calm-bg:                    $button-calm-bg !default;
338
+$item-calm-border:                $button-calm-border !default;
339
+$item-calm-text:                  $button-calm-text !default;
340
+$item-calm-active-bg:             $button-calm-active-bg !default;
341
+$item-calm-active-border:         $button-calm-active-border !default;
342
+
343
+$item-assertive-bg:               $button-assertive-bg !default;
344
+$item-assertive-border:           $button-assertive-border !default;
345
+$item-assertive-text:             $button-assertive-text !default;
346
+$item-assertive-active-bg:        $button-assertive-active-bg !default;
347
+$item-assertive-active-border:    $button-assertive-active-border !default;
348
+
349
+$item-balanced-bg:                $button-balanced-bg !default;
350
+$item-balanced-border:            $button-balanced-border !default;
351
+$item-balanced-text:              $button-balanced-text !default;
352
+$item-balanced-active-bg:         $button-balanced-active-bg !default;
353
+$item-balanced-active-border:     $button-balanced-active-border !default;
354
+
355
+$item-energized-bg:               $button-energized-bg !default;
356
+$item-energized-border:           $button-energized-border !default;
357
+$item-energized-text:             $button-energized-text !default;
358
+$item-energized-active-bg:        $button-energized-active-bg !default;
359
+$item-energized-active-border:    $button-energized-active-border !default;
360
+
361
+$item-royal-bg:                   $button-royal-bg !default;
362
+$item-royal-border:               $button-royal-border !default;
363
+$item-royal-text:                 $button-royal-text !default;
364
+$item-royal-active-bg:            $button-royal-active-bg !default;
365
+$item-royal-active-border:        $button-royal-active-border !default;
366
+
367
+$item-dark-bg:                    $button-dark-bg !default;
368
+$item-dark-border:                $button-dark-border !default;
369
+$item-dark-text:                  $button-dark-text !default;
370
+$item-dark-active-bg:             $button-dark-active-bg !default;
371
+$item-dark-active-border:         $button-dark-active-border !default;
372
+
373
+$item-default-bg:                 $item-light-bg !default;
374
+$item-default-border:             $item-light-border !default;
375
+$item-default-text:               $item-light-text !default;
376
+$item-default-active-bg:          #D9D9D9 !default;
377
+$item-default-active-border:      $item-light-active-border !default;
378
+
379
+
380
+// Item Editing
381
+// -------------------------------
382
+
383
+$item-edit-transition-duration:   250ms !default;
384
+$item-edit-transition-function:   ease-in-out !default;
385
+
386
+$item-remove-transition-duration:   300ms !default;
387
+$item-remove-transition-function:   ease-in !default;
388
+$item-remove-descendents-transition-function:  cubic-bezier(.25,.81,.24,1) !default;
389
+
390
+$item-left-edit-left:             8px !default;  // item's left side edit's "left" property
391
+
392
+$item-right-edit-open-width:      50px !default;
393
+$item-left-edit-open-width:       50px !default;
394
+
395
+$item-delete-icon-size:           24px !default;
396
+$item-delete-icon-color:          $assertive !default;
397
+
398
+$item-reorder-icon-size:          32px !default;
399
+$item-reorder-icon-color:         $dark !default;
400
+
401
+
402
+// Lists
403
+// -------------------------------
404
+
405
+$list-header-bg:                  transparent !default;
406
+$list-header-color:               #222 !default;
407
+$list-header-padding:             5px 15px !default;
408
+$list-header-margin-top:          20px !default;
409
+
410
+
411
+// Cards
412
+// -------------------------------
413
+
414
+$card-header-bg:                  #F5F5F5 !default;
415
+$card-body-bg:                    #fff !default;
416
+$card-footer-bg:                  #F5F5F5 !default;
417
+
418
+$card-padding:                    10px !default;
419
+$card-border-width:               1px !default;
420
+
421
+$card-border-color:               #ccc !default;
422
+$card-border-radius:              2px !default;
423
+$card-box-shadow:                 0 1px 3px rgba(0, 0, 0, .3) !default;
424
+
425
+
426
+// Forms
427
+// -------------------------------
428
+
429
+$input-height-base:               ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
430
+$input-height-large:              (floor($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
431
+$input-height-small:              (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
432
+
433
+$input-bg:                        $light !default;
434
+$input-bg-disabled:               $stable !default;
435
+
436
+$input-color:                     #111 !default;
437
+$input-border:                    $item-default-border !default;
438
+$input-border-width:              $item-border-width !default;
439
+$input-label-color:               $dark !default;
440
+$input-color-placeholder:         lighten($dark, 40%) !default;
441
+
442
+
443
+// Progress
444
+// -------------------------------
445
+
446
+$progress-width:                  100% !default;
447
+$progress-margin:                 15px auto !default;
448
+
449
+
450
+// Toggle
451
+// -------------------------------
452
+
453
+$toggle-width:                    51px !default;
454
+$toggle-height:                   31px !default;
455
+$toggle-border-width:             2px !default;
456
+$toggle-border-radius:            20px !default;
457
+
458
+$toggle-handle-width:             $toggle-height - ($toggle-border-width * 2) !default;
459
+$toggle-handle-height:            $toggle-handle-width !default;
460
+$toggle-handle-radius:            $toggle-handle-width !default;
461
+$toggle-handle-dragging-bg-color: darken(#fff, 5%) !default;
462
+
463
+$toggle-off-bg-color:             #fff !default;
464
+$toggle-off-border-color:         #e6e6e6 !default;
465
+
466
+$toggle-on-light-bg:              $button-light-border !default;
467
+$toggle-on-light-border:          $toggle-on-light-bg !default;
468
+$toggle-on-stable-bg:             $button-stable-border !default;
469
+$toggle-on-stable-border:         $toggle-on-stable-bg !default;
470
+$toggle-on-positive-bg:           $positive !default;
471
+$toggle-on-positive-border:       $toggle-on-positive-bg !default;
472
+$toggle-on-calm-bg:               $calm !default;
473
+$toggle-on-calm-border:           $toggle-on-calm-bg !default;
474
+$toggle-on-assertive-bg:          $assertive !default;
475
+$toggle-on-assertive-border:      $toggle-on-assertive-bg !default;
476
+$toggle-on-balanced-bg:           $balanced !default;
477
+$toggle-on-balanced-border:       $toggle-on-balanced-bg !default;
478
+$toggle-on-energized-bg:          $energized !default;
479
+$toggle-on-energized-border:      $toggle-on-energized-bg !default;
480
+$toggle-on-royal-bg:              $royal !default;
481
+$toggle-on-royal-border:          $toggle-on-royal-bg !default;
482
+$toggle-on-dark-bg:               $dark !default;
483
+$toggle-on-dark-border:           $toggle-on-dark-bg !default;
484
+$toggle-on-default-bg:            #4cd964 !default;
485
+$toggle-on-default-border:        $toggle-on-default-bg !default;
486
+
487
+$toggle-handle-off-bg-color:      $light !default;
488
+$toggle-handle-on-bg-color:       $toggle-handle-off-bg-color !default;
489
+
490
+$toggle-transition-duration:      .3s !default;
491
+
492
+$toggle-hit-area-expansion:   5px;
493
+
494
+
495
+// Checkbox
496
+// -------------------------------
497
+
498
+$checkbox-width:                  28px !default;
499
+$checkbox-height:                 28px !default;
500
+$checkbox-border-radius:          $checkbox-width !default;
501
+$checkbox-border-width:           1px !default;
502
+
503
+$checkbox-off-bg-color:           #fff !default;
504
+$checkbox-off-border-light:       $button-light-border !default;
505
+$checkbox-on-bg-light:            $button-light-border !default;
506
+$checkbox-off-border-stable:      $button-stable-border !default;
507
+$checkbox-on-bg-stable:           $button-stable-border !default;
508
+$checkbox-off-border-positive:    $positive !default;
509
+$checkbox-on-bg-positive:         $positive !default;
510
+$checkbox-off-border-calm:        $calm !default;
511
+$checkbox-on-bg-calm:             $calm !default;
512
+$checkbox-off-border-assertive:   $assertive !default;
513
+$checkbox-on-bg-assertive:        $assertive !default;
514
+$checkbox-off-border-balanced:    $balanced !default;
515
+$checkbox-on-bg-balanced:         $balanced !default;
516
+$checkbox-off-border-energized:   $energized !default;
517
+$checkbox-on-bg-energized:        $energized !default;
518
+$checkbox-off-border-royal:       $royal !default;
519
+$checkbox-on-bg-royal:            $royal !default;
520
+$checkbox-off-border-dark:        $dark !default;
521
+$checkbox-on-bg-dark:             $dark !default;
522
+$checkbox-off-border-default:     $button-light-border !default;
523
+$checkbox-on-bg-default:          $positive !default;
524
+$checkbox-on-border-default:      $positive !default;
525
+
526
+$checkbox-check-width:            1px !default;
527
+$checkbox-check-color:            #fff !default;
528
+
529
+
530
+// Range
531
+// -------------------------------
532
+
533
+$range-track-height:              2px !default;
534
+$range-slider-width:              28px !default;
535
+$range-slider-height:             28px !default;
536
+$range-slider-border-radius:      50% !default;
537
+$range-icon-size:                 24px !default;
538
+$range-slider-box-shadow:         0 0 2px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,0.2) !default;
539
+
540
+$range-light-track-bg:            $button-light-border !default;
541
+$range-stable-track-bg:           $button-stable-border !default;
542
+$range-positive-track-bg:         $button-positive-bg !default;
543
+$range-calm-track-bg:             $button-calm-bg !default;
544
+$range-balanced-track-bg:         $button-balanced-bg !default;
545
+$range-assertive-track-bg:        $button-assertive-bg !default;
546
+$range-energized-track-bg:        $button-energized-bg !default;
547
+$range-royal-track-bg:            $button-royal-bg !default;
548
+$range-dark-track-bg:             $button-dark-bg !default;
549
+$range-default-track-bg:          #ccc !default;
550
+
551
+
552
+// Menus
553
+// -------------------------------
554
+
555
+$menu-bg:                         #fff !default;
556
+$menu-width:                      275px !default;
557
+$menu-animation-speed:            200ms !default;
558
+
559
+$menu-side-shadow:                -1px 0px 2px rgba(0, 0, 0, 0.2), 1px 0px 2px rgba(0,0,0,0.2) !default;
560
+
561
+
562
+// Modals
563
+// -------------------------------
564
+
565
+$modal-bg-color:                  #fff !default;
566
+$modal-backdrop-bg-active:        #000 !default;
567
+$modal-backdrop-bg-inactive:      rgba(0,0,0,0) !default;
568
+
569
+$modal-inset-mode-break-point:    680px !default;  // @media min-width
570
+$modal-inset-mode-top:            20% !default;
571
+$modal-inset-mode-right:          20% !default;
572
+$modal-inset-mode-bottom:         20% !default;
573
+$modal-inset-mode-left:           20% !default;
574
+$modal-inset-mode-min-height:     240px !default;
575
+
576
+
577
+// Popovers
578
+// -------------------------------
579
+
580
+$popover-bg-color:                $light !default;
581
+$popover-backdrop-bg-active:      rgba(0,0,0,0.1) !default;
582
+$popover-backdrop-bg-inactive:    rgba(0,0,0,0) !default;
583
+$popover-width:                   220px !default;
584
+$popover-height:                  280px !default;
585
+$popover-large-break-point:       680px !default;
586
+$popover-large-width:             360px !default;
587
+
588
+$popover-box-shadow:              0 1px 3px rgba(0,0,0,0.4) !default;
589
+$popover-border-radius:           2px !default;
590
+
591
+$popover-box-shadow-ios:          0 0 40px rgba(0,0,0,0.08) !default;
592
+$popover-border-radius-ios:       10px !default;
593
+
594
+$popover-bg-color-android:        #fafafa !default;
595
+$popover-box-shadow-android:      0 2px 6px rgba(0,0,0,0.35) !default;
596
+
597
+
598
+// Grids
599
+// -------------------------------
600
+
601
+$grid-padding-width:              10px !default;
602
+$grid-responsive-sm-break:        567px !default;  // smaller than landscape phone
603
+$grid-responsive-md-break:        767px !default;  // smaller than portrait tablet
604
+$grid-responsive-lg-break:        1023px !default; // smaller than landscape tablet
605
+
606
+
607
+// Action Sheets
608
+// -------------------------------
609
+
610
+$sheet-margin:                    8px !default;
611
+$sheet-border-radius:             4px !default;
612
+
613
+$sheet-options-bg-color:          #f1f2f3 !default;
614
+$sheet-options-bg-active-color:   #e4e5e7 !default;
615
+$sheet-options-text-color:        #007aff !default;
616
+$sheet-options-border-color:      #d1d3d6 !default;
617
+
618
+
619
+// Popups
620
+// -------------------------------
621
+
622
+$popup-width:                     250px !default;
623
+$popup-enter-animation:           superScaleIn !default;
624
+$popup-enter-animation-duration:  0.2s !default;
625
+$popup-leave-animation-duration:  0.1s !default;
626
+
627
+$popup-border-radius:             0px !default;
628
+$popup-background-color:          rgba(255,255,255,0.9) !default;
629
+
630
+$popup-button-border-radius:      2px !default;
631
+$popup-button-line-height:        20px !default;
632
+$popup-button-min-height:         45px !default;
633
+
634
+
635
+// Loading
636
+// -------------------------------
637
+
638
+$loading-text-color:              #fff !default;
639
+$loading-bg-color:                rgba(0,0,0,0.7) !default;
640
+$loading-padding:                 20px !default;
641
+$loading-border-radius:           5px !default;
642
+$loading-font-size:               15px !default;
643
+
644
+$loading-backdrop-fadein-duration:0.1s !default;
645
+$loading-backdrop-bg-color:       rgba(0,0,0,0.4) !default;
646
+
647
+
648
+// Badges
649
+// -------------------------------
650
+
651
+$badge-font-size:                 14px !default;
652
+$badge-line-height:               16px !default;
653
+$badge-font-weight:               bold !default;
654
+$badge-border-radius:             10px !default;
655
+
656
+$badge-light-bg:                  $button-light-bg !default;
657
+$badge-light-text:                $button-light-text !default;
658
+
659
+$badge-stable-bg:                 $button-stable-bg !default;
660
+$badge-stable-text:               $button-stable-text !default;
661
+
662
+$badge-positive-bg:               $button-positive-bg !default;
663
+$badge-positive-text:             $button-positive-text !default;
664
+
665
+$badge-calm-bg:                   $button-calm-bg !default;
666
+$badge-calm-text:                 $button-calm-text !default;
667
+
668
+$badge-balanced-bg:               $button-balanced-bg !default;
669
+$badge-balanced-text:             $button-balanced-text !default;
670
+
671
+$badge-assertive-bg:              $button-assertive-bg !default;
672
+$badge-assertive-text:            $button-assertive-text !default;
673
+
674
+$badge-energized-bg:              $button-energized-bg !default;
675
+$badge-energized-text:            $button-energized-text !default;
676
+
677
+$badge-royal-bg:                  $button-royal-bg !default;
678
+$badge-royal-text:                $button-royal-text !default;
679
+
680
+$badge-dark-bg:                   $button-dark-bg !default;
681
+$badge-dark-text:                 $button-dark-text !default;
682
+
683
+$badge-default-bg:                transparent !default;
684
+$badge-default-text:              #AAAAAA !default;
685
+
686
+
687
+// Spinners
688
+// -------------------------------
689
+
690
+$spinner-width:                   28px !default;
691
+$spinner-height:                  28px !default;
692
+
693
+$spinner-light-stroke:            $light !default;
694
+$spinner-light-fill:              $light !default;
695
+
696
+$spinner-stable-stroke:           $stable !default;
697
+$spinner-stable-fill:             $stable !default;
698
+
699
+$spinner-positive-stroke:         $positive !default;
700
+$spinner-positive-fill:           $positive !default;
701
+
702
+$spinner-calm-stroke:             $calm !default;
703
+$spinner-calm-fill:               $calm !default;
704
+
705
+$spinner-balanced-stroke:         $balanced !default;
706
+$spinner-balanced-fill:           $balanced !default;
707
+
708
+$spinner-assertive-stroke:        $assertive !default;
709
+$spinner-assertive-fill:          $assertive !default;
710
+
711
+$spinner-energized-stroke:        $energized !default;
712
+$spinner-energized-fill:          $energized !default;
713
+
714
+$spinner-royal-stroke:            $royal !default;
715
+$spinner-royal-fill:              $royal !default;
716
+
717
+$spinner-dark-stroke:             $dark !default;
718
+$spinner-dark-fill:               $dark !default;
719
+
720
+$spinner-default-stroke:          $dark !default;
721
+$spinner-default-fill:            $dark !default;
722
+
723
+
724
+// Z-Indexes
725
+// -------------------------------
726
+
727
+$z-index-bar-title:               0 !default;
728
+$z-index-item-drag:               0 !default;
729
+$z-index-item-edit:               0 !default;
730
+$z-index-menu:                    0 !default;
731
+$z-index-badge:                   1 !default;
732
+$z-index-bar-button:              1 !default;
733
+$z-index-item-options:            1 !default;
734
+$z-index-pane:                    1 !default;
735
+$z-index-slider-pager:            1 !default;
736
+$z-index-view:                    1 !default;
737
+$z-index-view-below:              2 !default;
738
+$z-index-item:                    2 !default;
739
+$z-index-item-checkbox:           3 !default;
740
+$z-index-item-radio:              3 !default;
741
+$z-index-item-reorder:            3 !default;
742
+$z-index-item-toggle:             3 !default;
743
+$z-index-view-above:              3 !default;
744
+$z-index-tabs:                    5 !default;
745
+$z-index-item-reordering:         9 !default;
746
+$z-index-bar:                     9 !default;
747
+$z-index-bar-above:               10 !default;
748
+$z-index-menu-scroll-content:     10 !default;
749
+$z-index-modal:                   10 !default;
750
+$z-index-popover:                 10 !default;
751
+$z-index-action-sheet:            11 !default;
752
+$z-index-backdrop:                11 !default;
753
+$z-index-menu-bar-header:         11 !default;
754
+$z-index-scroll-content-false:    11 !default;
755
+$z-index-popup:                   12 !default;
756
+$z-index-loading:                 13 !default;
757
+$z-index-scroll-bar:              9999 !default;
758
+$z-index-click-block:             99999 !default;
759
+
760
+
761
+// Platform
762
+// -------------------------------
763
+
764
+$ios-statusbar-height:           20px !default;

+ 54
- 0
lib/ionic/scss/ionic.scss Voir le fichier

@@ -0,0 +1,54 @@
1
+@charset "UTF-8";
2
+
3
+@import
4
+  // Ionicons
5
+  "ionicons/ionicons.scss",
6
+
7
+  // Variables
8
+  "mixins",
9
+  "variables",
10
+
11
+  // Base
12
+  "reset",
13
+  "scaffolding",
14
+  "type",
15
+
16
+  // Components
17
+  "action-sheet",
18
+  "backdrop",
19
+  "bar",
20
+  "tabs",
21
+  "menu",
22
+  "modal",
23
+  "popover",
24
+  "popup",
25
+  "loading",
26
+  "items",
27
+  "list",
28
+  "badge",
29
+  "slide-box",
30
+  "slides",
31
+  "refresher",
32
+  "spinner",
33
+
34
+  // Forms
35
+  "form",
36
+  "checkbox",
37
+  "toggle",
38
+  "radio",
39
+  "range",
40
+  "select",
41
+  "progress",
42
+
43
+  // Buttons
44
+  "button",
45
+  "button-bar",
46
+
47
+  // Util
48
+  "grid",
49
+  "util",
50
+  "platform",
51
+
52
+  // Animations
53
+  "animations",
54
+  "transitions";

+ 28
- 0
lib/ionic/scss/ionicons/_ionicons-font.scss Voir le fichier

@@ -0,0 +1,28 @@
1
+// Ionicons Font Path
2
+// --------------------------
3
+
4
+@font-face {
5
+ font-family: $ionicons-font-family;
6
+ src:url("#{$ionicons-font-path}/ionicons.eot?v=#{$ionicons-version}");
7
+ src:url("#{$ionicons-font-path}/ionicons.eot?v=#{$ionicons-version}#iefix") format("embedded-opentype"),
8
+  url("#{$ionicons-font-path}/ionicons.ttf?v=#{$ionicons-version}") format("truetype"),
9
+  url("#{$ionicons-font-path}/ionicons.woff?v=#{$ionicons-version}") format("woff"),
10
+  url("#{$ionicons-font-path}/ionicons.woff") format("woff"), /* for WP8 */
11
+  url("#{$ionicons-font-path}/ionicons.svg?v=#{$ionicons-version}#Ionicons") format("svg");
12
+ font-weight: normal;
13
+ font-style: normal;
14
+}
15
+
16
+.ion {
17
+  display: inline-block;
18
+  font-family: $ionicons-font-family;
19
+  speak: none;
20
+  font-style: normal;
21
+  font-weight: normal;
22
+  font-variant: normal;
23
+  text-transform: none;
24
+  text-rendering: auto;
25
+  line-height: 1;
26
+  -webkit-font-smoothing: antialiased;
27
+  -moz-osx-font-smoothing: grayscale;
28
+}

+ 1473
- 0
lib/ionic/scss/ionicons/_ionicons-icons.scss
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 741
- 0
lib/ionic/scss/ionicons/_ionicons-variables.scss Voir le fichier

@@ -0,0 +1,741 @@
1
+// Ionicons Variables
2
+// --------------------------
3
+
4
+$ionicons-font-path: "../fonts" !default;
5
+$ionicons-font-family: "Ionicons" !default;
6
+$ionicons-version: "2.0.1" !default;
7
+$ionicons-prefix: ion- !default;
8
+
9
+$ionicon-var-alert: "\f101";
10
+$ionicon-var-alert-circled: "\f100";
11
+$ionicon-var-android-add: "\f2c7";
12
+$ionicon-var-android-add-circle: "\f359";
13
+$ionicon-var-android-alarm-clock: "\f35a";
14
+$ionicon-var-android-alert: "\f35b";
15
+$ionicon-var-android-apps: "\f35c";
16
+$ionicon-var-android-archive: "\f2c9";
17
+$ionicon-var-android-arrow-back: "\f2ca";
18
+$ionicon-var-android-arrow-down: "\f35d";
19
+$ionicon-var-android-arrow-dropdown: "\f35f";
20
+$ionicon-var-android-arrow-dropdown-circle: "\f35e";
21
+$ionicon-var-android-arrow-dropleft: "\f361";
22
+$ionicon-var-android-arrow-dropleft-circle: "\f360";
23
+$ionicon-var-android-arrow-dropright: "\f363";
24
+$ionicon-var-android-arrow-dropright-circle: "\f362";
25
+$ionicon-var-android-arrow-dropup: "\f365";
26
+$ionicon-var-android-arrow-dropup-circle: "\f364";
27
+$ionicon-var-android-arrow-forward: "\f30f";
28
+$ionicon-var-android-arrow-up: "\f366";
29
+$ionicon-var-android-attach: "\f367";
30
+$ionicon-var-android-bar: "\f368";
31
+$ionicon-var-android-bicycle: "\f369";
32
+$ionicon-var-android-boat: "\f36a";
33
+$ionicon-var-android-bookmark: "\f36b";
34
+$ionicon-var-android-bulb: "\f36c";
35
+$ionicon-var-android-bus: "\f36d";
36
+$ionicon-var-android-calendar: "\f2d1";
37
+$ionicon-var-android-call: "\f2d2";
38
+$ionicon-var-android-camera: "\f2d3";
39
+$ionicon-var-android-cancel: "\f36e";
40
+$ionicon-var-android-car: "\f36f";
41
+$ionicon-var-android-cart: "\f370";
42
+$ionicon-var-android-chat: "\f2d4";
43
+$ionicon-var-android-checkbox: "\f374";
44
+$ionicon-var-android-checkbox-blank: "\f371";
45
+$ionicon-var-android-checkbox-outline: "\f373";
46
+$ionicon-var-android-checkbox-outline-blank: "\f372";
47
+$ionicon-var-android-checkmark-circle: "\f375";
48
+$ionicon-var-android-clipboard: "\f376";
49
+$ionicon-var-android-close: "\f2d7";
50
+$ionicon-var-android-cloud: "\f37a";
51
+$ionicon-var-android-cloud-circle: "\f377";
52
+$ionicon-var-android-cloud-done: "\f378";
53
+$ionicon-var-android-cloud-outline: "\f379";
54
+$ionicon-var-android-color-palette: "\f37b";
55
+$ionicon-var-android-compass: "\f37c";
56
+$ionicon-var-android-contact: "\f2d8";
57
+$ionicon-var-android-contacts: "\f2d9";
58
+$ionicon-var-android-contract: "\f37d";
59
+$ionicon-var-android-create: "\f37e";
60
+$ionicon-var-android-delete: "\f37f";
61
+$ionicon-var-android-desktop: "\f380";
62
+$ionicon-var-android-document: "\f381";
63
+$ionicon-var-android-done: "\f383";
64
+$ionicon-var-android-done-all: "\f382";
65
+$ionicon-var-android-download: "\f2dd";
66
+$ionicon-var-android-drafts: "\f384";
67
+$ionicon-var-android-exit: "\f385";
68
+$ionicon-var-android-expand: "\f386";
69
+$ionicon-var-android-favorite: "\f388";
70
+$ionicon-var-android-favorite-outline: "\f387";
71
+$ionicon-var-android-film: "\f389";
72
+$ionicon-var-android-folder: "\f2e0";
73
+$ionicon-var-android-folder-open: "\f38a";
74
+$ionicon-var-android-funnel: "\f38b";
75
+$ionicon-var-android-globe: "\f38c";
76
+$ionicon-var-android-hand: "\f2e3";
77
+$ionicon-var-android-hangout: "\f38d";
78
+$ionicon-var-android-happy: "\f38e";
79
+$ionicon-var-android-home: "\f38f";
80
+$ionicon-var-android-image: "\f2e4";
81
+$ionicon-var-android-laptop: "\f390";
82
+$ionicon-var-android-list: "\f391";
83
+$ionicon-var-android-locate: "\f2e9";
84
+$ionicon-var-android-lock: "\f392";
85
+$ionicon-var-android-mail: "\f2eb";
86
+$ionicon-var-android-map: "\f393";
87
+$ionicon-var-android-menu: "\f394";
88
+$ionicon-var-android-microphone: "\f2ec";
89
+$ionicon-var-android-microphone-off: "\f395";
90
+$ionicon-var-android-more-horizontal: "\f396";
91
+$ionicon-var-android-more-vertical: "\f397";
92
+$ionicon-var-android-navigate: "\f398";
93
+$ionicon-var-android-notifications: "\f39b";
94
+$ionicon-var-android-notifications-none: "\f399";
95
+$ionicon-var-android-notifications-off: "\f39a";
96
+$ionicon-var-android-open: "\f39c";
97
+$ionicon-var-android-options: "\f39d";
98
+$ionicon-var-android-people: "\f39e";
99
+$ionicon-var-android-person: "\f3a0";
100
+$ionicon-var-android-person-add: "\f39f";
101
+$ionicon-var-android-phone-landscape: "\f3a1";
102
+$ionicon-var-android-phone-portrait: "\f3a2";
103
+$ionicon-var-android-pin: "\f3a3";
104
+$ionicon-var-android-plane: "\f3a4";
105
+$ionicon-var-android-playstore: "\f2f0";
106
+$ionicon-var-android-print: "\f3a5";
107
+$ionicon-var-android-radio-button-off: "\f3a6";
108
+$ionicon-var-android-radio-button-on: "\f3a7";
109
+$ionicon-var-android-refresh: "\f3a8";
110
+$ionicon-var-android-remove: "\f2f4";
111
+$ionicon-var-android-remove-circle: "\f3a9";
112
+$ionicon-var-android-restaurant: "\f3aa";
113
+$ionicon-var-android-sad: "\f3ab";
114
+$ionicon-var-android-search: "\f2f5";
115
+$ionicon-var-android-send: "\f2f6";
116
+$ionicon-var-android-settings: "\f2f7";
117
+$ionicon-var-android-share: "\f2f8";
118
+$ionicon-var-android-share-alt: "\f3ac";
119
+$ionicon-var-android-star: "\f2fc";
120
+$ionicon-var-android-star-half: "\f3ad";
121
+$ionicon-var-android-star-outline: "\f3ae";
122
+$ionicon-var-android-stopwatch: "\f2fd";
123
+$ionicon-var-android-subway: "\f3af";
124
+$ionicon-var-android-sunny: "\f3b0";
125
+$ionicon-var-android-sync: "\f3b1";
126
+$ionicon-var-android-textsms: "\f3b2";
127
+$ionicon-var-android-time: "\f3b3";
128
+$ionicon-var-android-train: "\f3b4";
129
+$ionicon-var-android-unlock: "\f3b5";
130
+$ionicon-var-android-upload: "\f3b6";
131
+$ionicon-var-android-volume-down: "\f3b7";
132
+$ionicon-var-android-volume-mute: "\f3b8";
133
+$ionicon-var-android-volume-off: "\f3b9";
134
+$ionicon-var-android-volume-up: "\f3ba";
135
+$ionicon-var-android-walk: "\f3bb";
136
+$ionicon-var-android-warning: "\f3bc";
137
+$ionicon-var-android-watch: "\f3bd";
138
+$ionicon-var-android-wifi: "\f305";
139
+$ionicon-var-aperture: "\f313";
140
+$ionicon-var-archive: "\f102";
141
+$ionicon-var-arrow-down-a: "\f103";
142
+$ionicon-var-arrow-down-b: "\f104";
143
+$ionicon-var-arrow-down-c: "\f105";
144
+$ionicon-var-arrow-expand: "\f25e";
145
+$ionicon-var-arrow-graph-down-left: "\f25f";
146
+$ionicon-var-arrow-graph-down-right: "\f260";
147
+$ionicon-var-arrow-graph-up-left: "\f261";
148
+$ionicon-var-arrow-graph-up-right: "\f262";
149
+$ionicon-var-arrow-left-a: "\f106";
150
+$ionicon-var-arrow-left-b: "\f107";
151
+$ionicon-var-arrow-left-c: "\f108";
152
+$ionicon-var-arrow-move: "\f263";
153
+$ionicon-var-arrow-resize: "\f264";
154
+$ionicon-var-arrow-return-left: "\f265";
155
+$ionicon-var-arrow-return-right: "\f266";
156
+$ionicon-var-arrow-right-a: "\f109";
157
+$ionicon-var-arrow-right-b: "\f10a";
158
+$ionicon-var-arrow-right-c: "\f10b";
159
+$ionicon-var-arrow-shrink: "\f267";
160
+$ionicon-var-arrow-swap: "\f268";
161
+$ionicon-var-arrow-up-a: "\f10c";
162
+$ionicon-var-arrow-up-b: "\f10d";
163
+$ionicon-var-arrow-up-c: "\f10e";
164
+$ionicon-var-asterisk: "\f314";
165
+$ionicon-var-at: "\f10f";
166
+$ionicon-var-backspace: "\f3bf";
167
+$ionicon-var-backspace-outline: "\f3be";
168
+$ionicon-var-bag: "\f110";
169
+$ionicon-var-battery-charging: "\f111";
170
+$ionicon-var-battery-empty: "\f112";
171
+$ionicon-var-battery-full: "\f113";
172
+$ionicon-var-battery-half: "\f114";
173
+$ionicon-var-battery-low: "\f115";
174
+$ionicon-var-beaker: "\f269";
175
+$ionicon-var-beer: "\f26a";
176
+$ionicon-var-bluetooth: "\f116";
177
+$ionicon-var-bonfire: "\f315";
178
+$ionicon-var-bookmark: "\f26b";
179
+$ionicon-var-bowtie: "\f3c0";
180
+$ionicon-var-briefcase: "\f26c";
181
+$ionicon-var-bug: "\f2be";
182
+$ionicon-var-calculator: "\f26d";
183
+$ionicon-var-calendar: "\f117";
184
+$ionicon-var-camera: "\f118";
185
+$ionicon-var-card: "\f119";
186
+$ionicon-var-cash: "\f316";
187
+$ionicon-var-chatbox: "\f11b";
188
+$ionicon-var-chatbox-working: "\f11a";
189
+$ionicon-var-chatboxes: "\f11c";
190
+$ionicon-var-chatbubble: "\f11e";
191
+$ionicon-var-chatbubble-working: "\f11d";
192
+$ionicon-var-chatbubbles: "\f11f";
193
+$ionicon-var-checkmark: "\f122";
194
+$ionicon-var-checkmark-circled: "\f120";
195
+$ionicon-var-checkmark-round: "\f121";
196
+$ionicon-var-chevron-down: "\f123";
197
+$ionicon-var-chevron-left: "\f124";
198
+$ionicon-var-chevron-right: "\f125";
199
+$ionicon-var-chevron-up: "\f126";
200
+$ionicon-var-clipboard: "\f127";
201
+$ionicon-var-clock: "\f26e";
202
+$ionicon-var-close: "\f12a";
203
+$ionicon-var-close-circled: "\f128";
204
+$ionicon-var-close-round: "\f129";
205
+$ionicon-var-closed-captioning: "\f317";
206
+$ionicon-var-cloud: "\f12b";
207
+$ionicon-var-code: "\f271";
208
+$ionicon-var-code-download: "\f26f";
209
+$ionicon-var-code-working: "\f270";
210
+$ionicon-var-coffee: "\f272";
211
+$ionicon-var-compass: "\f273";
212
+$ionicon-var-compose: "\f12c";
213
+$ionicon-var-connection-bars: "\f274";
214
+$ionicon-var-contrast: "\f275";
215
+$ionicon-var-crop: "\f3c1";
216
+$ionicon-var-cube: "\f318";
217
+$ionicon-var-disc: "\f12d";
218
+$ionicon-var-document: "\f12f";
219
+$ionicon-var-document-text: "\f12e";
220
+$ionicon-var-drag: "\f130";
221
+$ionicon-var-earth: "\f276";
222
+$ionicon-var-easel: "\f3c2";
223
+$ionicon-var-edit: "\f2bf";
224
+$ionicon-var-egg: "\f277";
225
+$ionicon-var-eject: "\f131";
226
+$ionicon-var-email: "\f132";
227
+$ionicon-var-email-unread: "\f3c3";
228
+$ionicon-var-erlenmeyer-flask: "\f3c5";
229
+$ionicon-var-erlenmeyer-flask-bubbles: "\f3c4";
230
+$ionicon-var-eye: "\f133";
231
+$ionicon-var-eye-disabled: "\f306";
232
+$ionicon-var-female: "\f278";
233
+$ionicon-var-filing: "\f134";
234
+$ionicon-var-film-marker: "\f135";
235
+$ionicon-var-fireball: "\f319";
236
+$ionicon-var-flag: "\f279";
237
+$ionicon-var-flame: "\f31a";
238
+$ionicon-var-flash: "\f137";
239
+$ionicon-var-flash-off: "\f136";
240
+$ionicon-var-folder: "\f139";
241
+$ionicon-var-fork: "\f27a";
242
+$ionicon-var-fork-repo: "\f2c0";
243
+$ionicon-var-forward: "\f13a";
244
+$ionicon-var-funnel: "\f31b";
245
+$ionicon-var-gear-a: "\f13d";
246
+$ionicon-var-gear-b: "\f13e";
247
+$ionicon-var-grid: "\f13f";
248
+$ionicon-var-hammer: "\f27b";
249
+$ionicon-var-happy: "\f31c";
250
+$ionicon-var-happy-outline: "\f3c6";
251
+$ionicon-var-headphone: "\f140";
252
+$ionicon-var-heart: "\f141";
253
+$ionicon-var-heart-broken: "\f31d";
254
+$ionicon-var-help: "\f143";
255
+$ionicon-var-help-buoy: "\f27c";
256
+$ionicon-var-help-circled: "\f142";
257
+$ionicon-var-home: "\f144";
258
+$ionicon-var-icecream: "\f27d";
259
+$ionicon-var-image: "\f147";
260
+$ionicon-var-images: "\f148";
261
+$ionicon-var-information: "\f14a";
262
+$ionicon-var-information-circled: "\f149";
263
+$ionicon-var-ionic: "\f14b";
264
+$ionicon-var-ios-alarm: "\f3c8";
265
+$ionicon-var-ios-alarm-outline: "\f3c7";
266
+$ionicon-var-ios-albums: "\f3ca";
267
+$ionicon-var-ios-albums-outline: "\f3c9";
268
+$ionicon-var-ios-americanfootball: "\f3cc";
269
+$ionicon-var-ios-americanfootball-outline: "\f3cb";
270
+$ionicon-var-ios-analytics: "\f3ce";
271
+$ionicon-var-ios-analytics-outline: "\f3cd";
272
+$ionicon-var-ios-arrow-back: "\f3cf";
273
+$ionicon-var-ios-arrow-down: "\f3d0";
274
+$ionicon-var-ios-arrow-forward: "\f3d1";
275
+$ionicon-var-ios-arrow-left: "\f3d2";
276
+$ionicon-var-ios-arrow-right: "\f3d3";
277
+$ionicon-var-ios-arrow-thin-down: "\f3d4";
278
+$ionicon-var-ios-arrow-thin-left: "\f3d5";
279
+$ionicon-var-ios-arrow-thin-right: "\f3d6";
280
+$ionicon-var-ios-arrow-thin-up: "\f3d7";
281
+$ionicon-var-ios-arrow-up: "\f3d8";
282
+$ionicon-var-ios-at: "\f3da";
283
+$ionicon-var-ios-at-outline: "\f3d9";
284
+$ionicon-var-ios-barcode: "\f3dc";
285
+$ionicon-var-ios-barcode-outline: "\f3db";
286
+$ionicon-var-ios-baseball: "\f3de";
287
+$ionicon-var-ios-baseball-outline: "\f3dd";
288
+$ionicon-var-ios-basketball: "\f3e0";
289
+$ionicon-var-ios-basketball-outline: "\f3df";
290
+$ionicon-var-ios-bell: "\f3e2";
291
+$ionicon-var-ios-bell-outline: "\f3e1";
292
+$ionicon-var-ios-body: "\f3e4";
293
+$ionicon-var-ios-body-outline: "\f3e3";
294
+$ionicon-var-ios-bolt: "\f3e6";
295
+$ionicon-var-ios-bolt-outline: "\f3e5";
296
+$ionicon-var-ios-book: "\f3e8";
297
+$ionicon-var-ios-book-outline: "\f3e7";
298
+$ionicon-var-ios-bookmarks: "\f3ea";
299
+$ionicon-var-ios-bookmarks-outline: "\f3e9";
300
+$ionicon-var-ios-box: "\f3ec";
301
+$ionicon-var-ios-box-outline: "\f3eb";
302
+$ionicon-var-ios-briefcase: "\f3ee";
303
+$ionicon-var-ios-briefcase-outline: "\f3ed";
304
+$ionicon-var-ios-browsers: "\f3f0";
305
+$ionicon-var-ios-browsers-outline: "\f3ef";
306
+$ionicon-var-ios-calculator: "\f3f2";
307
+$ionicon-var-ios-calculator-outline: "\f3f1";
308
+$ionicon-var-ios-calendar: "\f3f4";
309
+$ionicon-var-ios-calendar-outline: "\f3f3";
310
+$ionicon-var-ios-camera: "\f3f6";
311
+$ionicon-var-ios-camera-outline: "\f3f5";
312
+$ionicon-var-ios-cart: "\f3f8";
313
+$ionicon-var-ios-cart-outline: "\f3f7";
314
+$ionicon-var-ios-chatboxes: "\f3fa";
315
+$ionicon-var-ios-chatboxes-outline: "\f3f9";
316
+$ionicon-var-ios-chatbubble: "\f3fc";
317
+$ionicon-var-ios-chatbubble-outline: "\f3fb";
318
+$ionicon-var-ios-checkmark: "\f3ff";
319
+$ionicon-var-ios-checkmark-empty: "\f3fd";
320
+$ionicon-var-ios-checkmark-outline: "\f3fe";
321
+$ionicon-var-ios-circle-filled: "\f400";
322
+$ionicon-var-ios-circle-outline: "\f401";
323
+$ionicon-var-ios-clock: "\f403";
324
+$ionicon-var-ios-clock-outline: "\f402";
325
+$ionicon-var-ios-close: "\f406";
326
+$ionicon-var-ios-close-empty: "\f404";
327
+$ionicon-var-ios-close-outline: "\f405";
328
+$ionicon-var-ios-cloud: "\f40c";
329
+$ionicon-var-ios-cloud-download: "\f408";
330
+$ionicon-var-ios-cloud-download-outline: "\f407";
331
+$ionicon-var-ios-cloud-outline: "\f409";
332
+$ionicon-var-ios-cloud-upload: "\f40b";
333
+$ionicon-var-ios-cloud-upload-outline: "\f40a";
334
+$ionicon-var-ios-cloudy: "\f410";
335
+$ionicon-var-ios-cloudy-night: "\f40e";
336
+$ionicon-var-ios-cloudy-night-outline: "\f40d";
337
+$ionicon-var-ios-cloudy-outline: "\f40f";
338
+$ionicon-var-ios-cog: "\f412";
339
+$ionicon-var-ios-cog-outline: "\f411";
340
+$ionicon-var-ios-color-filter: "\f414";
341
+$ionicon-var-ios-color-filter-outline: "\f413";
342
+$ionicon-var-ios-color-wand: "\f416";
343
+$ionicon-var-ios-color-wand-outline: "\f415";
344
+$ionicon-var-ios-compose: "\f418";
345
+$ionicon-var-ios-compose-outline: "\f417";
346
+$ionicon-var-ios-contact: "\f41a";
347
+$ionicon-var-ios-contact-outline: "\f419";
348
+$ionicon-var-ios-copy: "\f41c";
349
+$ionicon-var-ios-copy-outline: "\f41b";
350
+$ionicon-var-ios-crop: "\f41e";
351
+$ionicon-var-ios-crop-strong: "\f41d";
352
+$ionicon-var-ios-download: "\f420";
353
+$ionicon-var-ios-download-outline: "\f41f";
354
+$ionicon-var-ios-drag: "\f421";
355
+$ionicon-var-ios-email: "\f423";
356
+$ionicon-var-ios-email-outline: "\f422";
357
+$ionicon-var-ios-eye: "\f425";
358
+$ionicon-var-ios-eye-outline: "\f424";
359
+$ionicon-var-ios-fastforward: "\f427";
360
+$ionicon-var-ios-fastforward-outline: "\f426";
361
+$ionicon-var-ios-filing: "\f429";
362
+$ionicon-var-ios-filing-outline: "\f428";
363
+$ionicon-var-ios-film: "\f42b";
364
+$ionicon-var-ios-film-outline: "\f42a";
365
+$ionicon-var-ios-flag: "\f42d";
366
+$ionicon-var-ios-flag-outline: "\f42c";
367
+$ionicon-var-ios-flame: "\f42f";
368
+$ionicon-var-ios-flame-outline: "\f42e";
369
+$ionicon-var-ios-flask: "\f431";
370
+$ionicon-var-ios-flask-outline: "\f430";
371
+$ionicon-var-ios-flower: "\f433";
372
+$ionicon-var-ios-flower-outline: "\f432";
373
+$ionicon-var-ios-folder: "\f435";
374
+$ionicon-var-ios-folder-outline: "\f434";
375
+$ionicon-var-ios-football: "\f437";
376
+$ionicon-var-ios-football-outline: "\f436";
377
+$ionicon-var-ios-game-controller-a: "\f439";
378
+$ionicon-var-ios-game-controller-a-outline: "\f438";
379
+$ionicon-var-ios-game-controller-b: "\f43b";
380
+$ionicon-var-ios-game-controller-b-outline: "\f43a";
381
+$ionicon-var-ios-gear: "\f43d";
382
+$ionicon-var-ios-gear-outline: "\f43c";
383
+$ionicon-var-ios-glasses: "\f43f";
384
+$ionicon-var-ios-glasses-outline: "\f43e";
385
+$ionicon-var-ios-grid-view: "\f441";
386
+$ionicon-var-ios-grid-view-outline: "\f440";
387
+$ionicon-var-ios-heart: "\f443";
388
+$ionicon-var-ios-heart-outline: "\f442";
389
+$ionicon-var-ios-help: "\f446";
390
+$ionicon-var-ios-help-empty: "\f444";
391
+$ionicon-var-ios-help-outline: "\f445";
392
+$ionicon-var-ios-home: "\f448";
393
+$ionicon-var-ios-home-outline: "\f447";
394
+$ionicon-var-ios-infinite: "\f44a";
395
+$ionicon-var-ios-infinite-outline: "\f449";
396
+$ionicon-var-ios-information: "\f44d";
397
+$ionicon-var-ios-information-empty: "\f44b";
398
+$ionicon-var-ios-information-outline: "\f44c";
399
+$ionicon-var-ios-ionic-outline: "\f44e";
400
+$ionicon-var-ios-keypad: "\f450";
401
+$ionicon-var-ios-keypad-outline: "\f44f";
402
+$ionicon-var-ios-lightbulb: "\f452";
403
+$ionicon-var-ios-lightbulb-outline: "\f451";
404
+$ionicon-var-ios-list: "\f454";
405
+$ionicon-var-ios-list-outline: "\f453";
406
+$ionicon-var-ios-location: "\f456";
407
+$ionicon-var-ios-location-outline: "\f455";
408
+$ionicon-var-ios-locked: "\f458";
409
+$ionicon-var-ios-locked-outline: "\f457";
410
+$ionicon-var-ios-loop: "\f45a";
411
+$ionicon-var-ios-loop-strong: "\f459";
412
+$ionicon-var-ios-medical: "\f45c";
413
+$ionicon-var-ios-medical-outline: "\f45b";
414
+$ionicon-var-ios-medkit: "\f45e";
415
+$ionicon-var-ios-medkit-outline: "\f45d";
416
+$ionicon-var-ios-mic: "\f461";
417
+$ionicon-var-ios-mic-off: "\f45f";
418
+$ionicon-var-ios-mic-outline: "\f460";
419
+$ionicon-var-ios-minus: "\f464";
420
+$ionicon-var-ios-minus-empty: "\f462";
421
+$ionicon-var-ios-minus-outline: "\f463";
422
+$ionicon-var-ios-monitor: "\f466";
423
+$ionicon-var-ios-monitor-outline: "\f465";
424
+$ionicon-var-ios-moon: "\f468";
425
+$ionicon-var-ios-moon-outline: "\f467";
426
+$ionicon-var-ios-more: "\f46a";
427
+$ionicon-var-ios-more-outline: "\f469";
428
+$ionicon-var-ios-musical-note: "\f46b";
429
+$ionicon-var-ios-musical-notes: "\f46c";
430
+$ionicon-var-ios-navigate: "\f46e";
431
+$ionicon-var-ios-navigate-outline: "\f46d";
432
+$ionicon-var-ios-nutrition: "\f470";
433
+$ionicon-var-ios-nutrition-outline: "\f46f";
434
+$ionicon-var-ios-paper: "\f472";
435
+$ionicon-var-ios-paper-outline: "\f471";
436
+$ionicon-var-ios-paperplane: "\f474";
437
+$ionicon-var-ios-paperplane-outline: "\f473";
438
+$ionicon-var-ios-partlysunny: "\f476";
439
+$ionicon-var-ios-partlysunny-outline: "\f475";
440
+$ionicon-var-ios-pause: "\f478";
441
+$ionicon-var-ios-pause-outline: "\f477";
442
+$ionicon-var-ios-paw: "\f47a";
443
+$ionicon-var-ios-paw-outline: "\f479";
444
+$ionicon-var-ios-people: "\f47c";
445
+$ionicon-var-ios-people-outline: "\f47b";
446
+$ionicon-var-ios-person: "\f47e";
447
+$ionicon-var-ios-person-outline: "\f47d";
448
+$ionicon-var-ios-personadd: "\f480";
449
+$ionicon-var-ios-personadd-outline: "\f47f";
450
+$ionicon-var-ios-photos: "\f482";
451
+$ionicon-var-ios-photos-outline: "\f481";
452
+$ionicon-var-ios-pie: "\f484";
453
+$ionicon-var-ios-pie-outline: "\f483";
454
+$ionicon-var-ios-pint: "\f486";
455
+$ionicon-var-ios-pint-outline: "\f485";
456
+$ionicon-var-ios-play: "\f488";
457
+$ionicon-var-ios-play-outline: "\f487";
458
+$ionicon-var-ios-plus: "\f48b";
459
+$ionicon-var-ios-plus-empty: "\f489";
460
+$ionicon-var-ios-plus-outline: "\f48a";
461
+$ionicon-var-ios-pricetag: "\f48d";
462
+$ionicon-var-ios-pricetag-outline: "\f48c";
463
+$ionicon-var-ios-pricetags: "\f48f";
464
+$ionicon-var-ios-pricetags-outline: "\f48e";
465
+$ionicon-var-ios-printer: "\f491";
466
+$ionicon-var-ios-printer-outline: "\f490";
467
+$ionicon-var-ios-pulse: "\f493";
468
+$ionicon-var-ios-pulse-strong: "\f492";
469
+$ionicon-var-ios-rainy: "\f495";
470
+$ionicon-var-ios-rainy-outline: "\f494";
471
+$ionicon-var-ios-recording: "\f497";
472
+$ionicon-var-ios-recording-outline: "\f496";
473
+$ionicon-var-ios-redo: "\f499";
474
+$ionicon-var-ios-redo-outline: "\f498";
475
+$ionicon-var-ios-refresh: "\f49c";
476
+$ionicon-var-ios-refresh-empty: "\f49a";
477
+$ionicon-var-ios-refresh-outline: "\f49b";
478
+$ionicon-var-ios-reload: "\f49d";
479
+$ionicon-var-ios-reverse-camera: "\f49f";
480
+$ionicon-var-ios-reverse-camera-outline: "\f49e";
481
+$ionicon-var-ios-rewind: "\f4a1";
482
+$ionicon-var-ios-rewind-outline: "\f4a0";
483
+$ionicon-var-ios-rose: "\f4a3";
484
+$ionicon-var-ios-rose-outline: "\f4a2";
485
+$ionicon-var-ios-search: "\f4a5";
486
+$ionicon-var-ios-search-strong: "\f4a4";
487
+$ionicon-var-ios-settings: "\f4a7";
488
+$ionicon-var-ios-settings-strong: "\f4a6";
489
+$ionicon-var-ios-shuffle: "\f4a9";
490
+$ionicon-var-ios-shuffle-strong: "\f4a8";
491
+$ionicon-var-ios-skipbackward: "\f4ab";
492
+$ionicon-var-ios-skipbackward-outline: "\f4aa";
493
+$ionicon-var-ios-skipforward: "\f4ad";
494
+$ionicon-var-ios-skipforward-outline: "\f4ac";
495
+$ionicon-var-ios-snowy: "\f4ae";
496
+$ionicon-var-ios-speedometer: "\f4b0";
497
+$ionicon-var-ios-speedometer-outline: "\f4af";
498
+$ionicon-var-ios-star: "\f4b3";
499
+$ionicon-var-ios-star-half: "\f4b1";
500
+$ionicon-var-ios-star-outline: "\f4b2";
501
+$ionicon-var-ios-stopwatch: "\f4b5";
502
+$ionicon-var-ios-stopwatch-outline: "\f4b4";
503
+$ionicon-var-ios-sunny: "\f4b7";
504
+$ionicon-var-ios-sunny-outline: "\f4b6";
505
+$ionicon-var-ios-telephone: "\f4b9";
506
+$ionicon-var-ios-telephone-outline: "\f4b8";
507
+$ionicon-var-ios-tennisball: "\f4bb";
508
+$ionicon-var-ios-tennisball-outline: "\f4ba";
509
+$ionicon-var-ios-thunderstorm: "\f4bd";
510
+$ionicon-var-ios-thunderstorm-outline: "\f4bc";
511
+$ionicon-var-ios-time: "\f4bf";
512
+$ionicon-var-ios-time-outline: "\f4be";
513
+$ionicon-var-ios-timer: "\f4c1";
514
+$ionicon-var-ios-timer-outline: "\f4c0";
515
+$ionicon-var-ios-toggle: "\f4c3";
516
+$ionicon-var-ios-toggle-outline: "\f4c2";
517
+$ionicon-var-ios-trash: "\f4c5";
518
+$ionicon-var-ios-trash-outline: "\f4c4";
519
+$ionicon-var-ios-undo: "\f4c7";
520
+$ionicon-var-ios-undo-outline: "\f4c6";
521
+$ionicon-var-ios-unlocked: "\f4c9";
522
+$ionicon-var-ios-unlocked-outline: "\f4c8";
523
+$ionicon-var-ios-upload: "\f4cb";
524
+$ionicon-var-ios-upload-outline: "\f4ca";
525
+$ionicon-var-ios-videocam: "\f4cd";
526
+$ionicon-var-ios-videocam-outline: "\f4cc";
527
+$ionicon-var-ios-volume-high: "\f4ce";
528
+$ionicon-var-ios-volume-low: "\f4cf";
529
+$ionicon-var-ios-wineglass: "\f4d1";
530
+$ionicon-var-ios-wineglass-outline: "\f4d0";
531
+$ionicon-var-ios-world: "\f4d3";
532
+$ionicon-var-ios-world-outline: "\f4d2";
533
+$ionicon-var-ipad: "\f1f9";
534
+$ionicon-var-iphone: "\f1fa";
535
+$ionicon-var-ipod: "\f1fb";
536
+$ionicon-var-jet: "\f295";
537
+$ionicon-var-key: "\f296";
538
+$ionicon-var-knife: "\f297";
539
+$ionicon-var-laptop: "\f1fc";
540
+$ionicon-var-leaf: "\f1fd";
541
+$ionicon-var-levels: "\f298";
542
+$ionicon-var-lightbulb: "\f299";
543
+$ionicon-var-link: "\f1fe";
544
+$ionicon-var-load-a: "\f29a";
545
+$ionicon-var-load-b: "\f29b";
546
+$ionicon-var-load-c: "\f29c";
547
+$ionicon-var-load-d: "\f29d";
548
+$ionicon-var-location: "\f1ff";
549
+$ionicon-var-lock-combination: "\f4d4";
550
+$ionicon-var-locked: "\f200";
551
+$ionicon-var-log-in: "\f29e";
552
+$ionicon-var-log-out: "\f29f";
553
+$ionicon-var-loop: "\f201";
554
+$ionicon-var-magnet: "\f2a0";
555
+$ionicon-var-male: "\f2a1";
556
+$ionicon-var-man: "\f202";
557
+$ionicon-var-map: "\f203";
558
+$ionicon-var-medkit: "\f2a2";
559
+$ionicon-var-merge: "\f33f";
560
+$ionicon-var-mic-a: "\f204";
561
+$ionicon-var-mic-b: "\f205";
562
+$ionicon-var-mic-c: "\f206";
563
+$ionicon-var-minus: "\f209";
564
+$ionicon-var-minus-circled: "\f207";
565
+$ionicon-var-minus-round: "\f208";
566
+$ionicon-var-model-s: "\f2c1";
567
+$ionicon-var-monitor: "\f20a";
568
+$ionicon-var-more: "\f20b";
569
+$ionicon-var-mouse: "\f340";
570
+$ionicon-var-music-note: "\f20c";
571
+$ionicon-var-navicon: "\f20e";
572
+$ionicon-var-navicon-round: "\f20d";
573
+$ionicon-var-navigate: "\f2a3";
574
+$ionicon-var-network: "\f341";
575
+$ionicon-var-no-smoking: "\f2c2";
576
+$ionicon-var-nuclear: "\f2a4";
577
+$ionicon-var-outlet: "\f342";
578
+$ionicon-var-paintbrush: "\f4d5";
579
+$ionicon-var-paintbucket: "\f4d6";
580
+$ionicon-var-paper-airplane: "\f2c3";
581
+$ionicon-var-paperclip: "\f20f";
582
+$ionicon-var-pause: "\f210";
583
+$ionicon-var-person: "\f213";
584
+$ionicon-var-person-add: "\f211";
585
+$ionicon-var-person-stalker: "\f212";
586
+$ionicon-var-pie-graph: "\f2a5";
587
+$ionicon-var-pin: "\f2a6";
588
+$ionicon-var-pinpoint: "\f2a7";
589
+$ionicon-var-pizza: "\f2a8";
590
+$ionicon-var-plane: "\f214";
591
+$ionicon-var-planet: "\f343";
592
+$ionicon-var-play: "\f215";
593
+$ionicon-var-playstation: "\f30a";
594
+$ionicon-var-plus: "\f218";
595
+$ionicon-var-plus-circled: "\f216";
596
+$ionicon-var-plus-round: "\f217";
597
+$ionicon-var-podium: "\f344";
598
+$ionicon-var-pound: "\f219";
599
+$ionicon-var-power: "\f2a9";
600
+$ionicon-var-pricetag: "\f2aa";
601
+$ionicon-var-pricetags: "\f2ab";
602
+$ionicon-var-printer: "\f21a";
603
+$ionicon-var-pull-request: "\f345";
604
+$ionicon-var-qr-scanner: "\f346";
605
+$ionicon-var-quote: "\f347";
606
+$ionicon-var-radio-waves: "\f2ac";
607
+$ionicon-var-record: "\f21b";
608
+$ionicon-var-refresh: "\f21c";
609
+$ionicon-var-reply: "\f21e";
610
+$ionicon-var-reply-all: "\f21d";
611
+$ionicon-var-ribbon-a: "\f348";
612
+$ionicon-var-ribbon-b: "\f349";
613
+$ionicon-var-sad: "\f34a";
614
+$ionicon-var-sad-outline: "\f4d7";
615
+$ionicon-var-scissors: "\f34b";
616
+$ionicon-var-search: "\f21f";
617
+$ionicon-var-settings: "\f2ad";
618
+$ionicon-var-share: "\f220";
619
+$ionicon-var-shuffle: "\f221";
620
+$ionicon-var-skip-backward: "\f222";
621
+$ionicon-var-skip-forward: "\f223";
622
+$ionicon-var-social-android: "\f225";
623
+$ionicon-var-social-android-outline: "\f224";
624
+$ionicon-var-social-angular: "\f4d9";
625
+$ionicon-var-social-angular-outline: "\f4d8";
626
+$ionicon-var-social-apple: "\f227";
627
+$ionicon-var-social-apple-outline: "\f226";
628
+$ionicon-var-social-bitcoin: "\f2af";
629
+$ionicon-var-social-bitcoin-outline: "\f2ae";
630
+$ionicon-var-social-buffer: "\f229";
631
+$ionicon-var-social-buffer-outline: "\f228";
632
+$ionicon-var-social-chrome: "\f4db";
633
+$ionicon-var-social-chrome-outline: "\f4da";
634
+$ionicon-var-social-codepen: "\f4dd";
635
+$ionicon-var-social-codepen-outline: "\f4dc";
636
+$ionicon-var-social-css3: "\f4df";
637
+$ionicon-var-social-css3-outline: "\f4de";
638
+$ionicon-var-social-designernews: "\f22b";
639
+$ionicon-var-social-designernews-outline: "\f22a";
640
+$ionicon-var-social-dribbble: "\f22d";
641
+$ionicon-var-social-dribbble-outline: "\f22c";
642
+$ionicon-var-social-dropbox: "\f22f";
643
+$ionicon-var-social-dropbox-outline: "\f22e";
644
+$ionicon-var-social-euro: "\f4e1";
645
+$ionicon-var-social-euro-outline: "\f4e0";
646
+$ionicon-var-social-facebook: "\f231";
647
+$ionicon-var-social-facebook-outline: "\f230";
648
+$ionicon-var-social-foursquare: "\f34d";
649
+$ionicon-var-social-foursquare-outline: "\f34c";
650
+$ionicon-var-social-freebsd-devil: "\f2c4";
651
+$ionicon-var-social-github: "\f233";
652
+$ionicon-var-social-github-outline: "\f232";
653
+$ionicon-var-social-google: "\f34f";
654
+$ionicon-var-social-google-outline: "\f34e";
655
+$ionicon-var-social-googleplus: "\f235";
656
+$ionicon-var-social-googleplus-outline: "\f234";
657
+$ionicon-var-social-hackernews: "\f237";
658
+$ionicon-var-social-hackernews-outline: "\f236";
659
+$ionicon-var-social-html5: "\f4e3";
660
+$ionicon-var-social-html5-outline: "\f4e2";
661
+$ionicon-var-social-instagram: "\f351";
662
+$ionicon-var-social-instagram-outline: "\f350";
663
+$ionicon-var-social-javascript: "\f4e5";
664
+$ionicon-var-social-javascript-outline: "\f4e4";
665
+$ionicon-var-social-linkedin: "\f239";
666
+$ionicon-var-social-linkedin-outline: "\f238";
667
+$ionicon-var-social-markdown: "\f4e6";
668
+$ionicon-var-social-nodejs: "\f4e7";
669
+$ionicon-var-social-octocat: "\f4e8";
670
+$ionicon-var-social-pinterest: "\f2b1";
671
+$ionicon-var-social-pinterest-outline: "\f2b0";
672
+$ionicon-var-social-python: "\f4e9";
673
+$ionicon-var-social-reddit: "\f23b";
674
+$ionicon-var-social-reddit-outline: "\f23a";
675
+$ionicon-var-social-rss: "\f23d";
676
+$ionicon-var-social-rss-outline: "\f23c";
677
+$ionicon-var-social-sass: "\f4ea";
678
+$ionicon-var-social-skype: "\f23f";
679
+$ionicon-var-social-skype-outline: "\f23e";
680
+$ionicon-var-social-snapchat: "\f4ec";
681
+$ionicon-var-social-snapchat-outline: "\f4eb";
682
+$ionicon-var-social-tumblr: "\f241";
683
+$ionicon-var-social-tumblr-outline: "\f240";
684
+$ionicon-var-social-tux: "\f2c5";
685
+$ionicon-var-social-twitch: "\f4ee";
686
+$ionicon-var-social-twitch-outline: "\f4ed";
687
+$ionicon-var-social-twitter: "\f243";
688
+$ionicon-var-social-twitter-outline: "\f242";
689
+$ionicon-var-social-usd: "\f353";
690
+$ionicon-var-social-usd-outline: "\f352";
691
+$ionicon-var-social-vimeo: "\f245";
692
+$ionicon-var-social-vimeo-outline: "\f244";
693
+$ionicon-var-social-whatsapp: "\f4f0";
694
+$ionicon-var-social-whatsapp-outline: "\f4ef";
695
+$ionicon-var-social-windows: "\f247";
696
+$ionicon-var-social-windows-outline: "\f246";
697
+$ionicon-var-social-wordpress: "\f249";
698
+$ionicon-var-social-wordpress-outline: "\f248";
699
+$ionicon-var-social-yahoo: "\f24b";
700
+$ionicon-var-social-yahoo-outline: "\f24a";
701
+$ionicon-var-social-yen: "\f4f2";
702
+$ionicon-var-social-yen-outline: "\f4f1";
703
+$ionicon-var-social-youtube: "\f24d";
704
+$ionicon-var-social-youtube-outline: "\f24c";
705
+$ionicon-var-soup-can: "\f4f4";
706
+$ionicon-var-soup-can-outline: "\f4f3";
707
+$ionicon-var-speakerphone: "\f2b2";
708
+$ionicon-var-speedometer: "\f2b3";
709
+$ionicon-var-spoon: "\f2b4";
710
+$ionicon-var-star: "\f24e";
711
+$ionicon-var-stats-bars: "\f2b5";
712
+$ionicon-var-steam: "\f30b";
713
+$ionicon-var-stop: "\f24f";
714
+$ionicon-var-thermometer: "\f2b6";
715
+$ionicon-var-thumbsdown: "\f250";
716
+$ionicon-var-thumbsup: "\f251";
717
+$ionicon-var-toggle: "\f355";
718
+$ionicon-var-toggle-filled: "\f354";
719
+$ionicon-var-transgender: "\f4f5";
720
+$ionicon-var-trash-a: "\f252";
721
+$ionicon-var-trash-b: "\f253";
722
+$ionicon-var-trophy: "\f356";
723
+$ionicon-var-tshirt: "\f4f7";
724
+$ionicon-var-tshirt-outline: "\f4f6";
725
+$ionicon-var-umbrella: "\f2b7";
726
+$ionicon-var-university: "\f357";
727
+$ionicon-var-unlocked: "\f254";
728
+$ionicon-var-upload: "\f255";
729
+$ionicon-var-usb: "\f2b8";
730
+$ionicon-var-videocamera: "\f256";
731
+$ionicon-var-volume-high: "\f257";
732
+$ionicon-var-volume-low: "\f258";
733
+$ionicon-var-volume-medium: "\f259";
734
+$ionicon-var-volume-mute: "\f25a";
735
+$ionicon-var-wand: "\f358";
736
+$ionicon-var-waterdrop: "\f25b";
737
+$ionicon-var-wifi: "\f25c";
738
+$ionicon-var-wineglass: "\f2b9";
739
+$ionicon-var-woman: "\f25d";
740
+$ionicon-var-wrench: "\f2ba";
741
+$ionicon-var-xbox: "\f30c";

+ 16
- 0
lib/ionic/scss/ionicons/ionicons.scss Voir le fichier

@@ -0,0 +1,16 @@
1
+@charset "UTF-8";
2
+@import "ionicons-variables";
3
+/*!
4
+  Ionicons, v2.0.1
5
+  Created by Ben Sperry for the Ionic Framework, http://ionicons.com/
6
+  https://twitter.com/benjsperry  https://twitter.com/ionicframework
7
+  MIT License: https://github.com/driftyco/ionicons
8
+
9
+  Android-style icons originally built by Google’s
10
+  Material Design Icons: https://github.com/google/material-design-icons
11
+  used under CC BY http://creativecommons.org/licenses/by/4.0/
12
+  Modified icons to fit ionicon’s grid from original.
13
+*/
14
+
15
+@import "ionicons-font";
16
+@import "ionicons-icons";

+ 6
- 0
lib/ionic/version.json Voir le fichier

@@ -0,0 +1,6 @@
1
+{
2
+  "version": "1.3.3",
3
+  "codename": "germany",
4
+  "date": "2017-02-24",
5
+  "time": "20:50:11"
6
+}

+ 90
- 0
lib/ionicuirouter/ionicUIRouter.js Voir le fichier

@@ -0,0 +1,90 @@
1
+function checkState(check, state){
2
+    var setTo = check;
3
+    var states = state.get();
4
+    var foundAlternative = false;
5
+    var currentState = state.current;
6
+
7
+    if (!currentState.views){
8
+        return setTo;
9
+    }
10
+
11
+    var checkView = setTo+'_'+Object.keys(currentState.views)[0];
12
+
13
+    for (var i=0;i<states.length;i++){
14
+        if (states[i].name == setTo){
15
+            return setTo;
16
+        }
17
+        if (states[i].name == checkView){
18
+            foundAlternative = true;
19
+        }
20
+    }
21
+
22
+    if (foundAlternative){
23
+        return checkView;
24
+    }else{
25
+        return setTo;
26
+    }
27
+}
28
+
29
+angular.module('ionicUIRouter', [])
30
+
31
+.config([
32
+  '$provide', '$stateProvider',
33
+function($provide, $stateProvider) {
34
+
35
+  function $StateDecorator($state) {
36
+
37
+    $state.__go = $state.go;
38
+
39
+    $state.go = function(to, params, options){
40
+        to = checkState(to, $state);
41
+        return $state.__go(to, params, options);
42
+    }
43
+
44
+    return $state;
45
+
46
+  }
47
+
48
+  $provide.decorator('$state', ['$delegate', $StateDecorator]);
49
+
50
+  $stateProvider.__state = $stateProvider.state;
51
+
52
+    $stateProvider.state = function(statename, data){
53
+        
54
+        if (data.views){
55
+
56
+            var numKeys = 0;
57
+            for (var key in data.views){
58
+                numKeys++;
59
+                if (numKeys > 1){
60
+                    for (var key in data.views){
61
+                        var copy = {};
62
+                        angular.copy(data, copy);
63
+                        copy.views = {};
64
+                        copy.views[key] = data.views[key];
65
+                        copy.url = '/'+key+data.url;
66
+                        $stateProvider.__state(statename+'_'+key, copy);
67
+                    }
68
+                    return $stateProvider;
69
+                }
70
+            }
71
+        }
72
+
73
+        $stateProvider.__state(statename, data);
74
+
75
+        return $stateProvider;
76
+  }
77
+
78
+}])
79
+
80
+.directive('uiSref', function($state){
81
+    return {
82
+        restrict: 'A',
83
+        priority: -1,
84
+        link: function(scope, element, attrs){
85
+            attrs.uiSref = checkState(attrs.uiSref, $state);
86
+        }
87
+    }
88
+})
89
+
90
+;

+ 22
- 0
templates/activePage.html Voir le fichier

@@ -0,0 +1,22 @@
1
+<ion-view title="Active Page" id="page3">
2
+  <ion-content padding="true" class="has-header">
3
+    <div class="list card" id="activePage-card25">
4
+      <ion-item class="item-thumbnail-left" id="activePage-list-item12">
5
+        <h2>Recurring Promotion 2</h2>
6
+        <p>30% off plan per month</p>
7
+      </ion-item>
8
+      <div class="item item-body" id="activePage-list-item-container6">
9
+        <div id="activePage-markdown6" class="show-list-numbers-and-dots">
10
+          <p style="margin-top:0px;color:#000000;">
11
+            <strong>Alice's Mobile Store</strong>
12
+            <br>
13
+            <strong>Details</strong> Keep active line to continue receiving promotion
14
+            <br>
15
+            <strong>Ends on</strong> 12/31/2018</p>
16
+        </div>
17
+      </div>
18
+      <ion-item class="item-icon-left positive" id="activePage-list-item13">
19
+        <i class="icon ion-chevron-right"></i>Go to Account</ion-item>
20
+    </div>
21
+  </ion-content>
22
+</ion-view>

+ 40
- 0
templates/availablePage.html Voir le fichier

@@ -0,0 +1,40 @@
1
+<ion-view title="Available Page" id="page2">
2
+  <ion-content padding="true" class="has-header">
3
+    <div class="list card" id="availablePage-card21">
4
+      <ion-item class="item-thumbnail-left" id="availablePage-list-item7">
5
+        <h2>One Time Promotion 1</h2>
6
+        <p>$10 off $50 spend</p>
7
+      </ion-item>
8
+      <div class="item item-body" id="availablePage-list-item-container2">
9
+        <div id="availablePage-markdown2" class="show-list-numbers-and-dots">
10
+          <p style="margin-top:0px;color:#000000;">
11
+            <strong>Alice's Retailers</strong>
12
+            <br>
13
+            <strong>Details</strong> Get $10 off a purchase of $50 or more in-store only
14
+            <br>
15
+            <strong>Redeem by</strong> 12/31/2020</p>
16
+        </div>
17
+      </div>
18
+      <ion-item class="item-icon-left positive" id="availablePage-list-item4">
19
+        <i class="icon ion-cash"></i>Redeem</ion-item>
20
+    </div>
21
+    <div class="list card" id="availablePage-card23">
22
+      <ion-item class="item-thumbnail-left" id="availablePage-list-item8">
23
+        <h2>Recurring Promotion 1</h2>
24
+        <p>$1 off $5 monthly subscription</p>
25
+      </ion-item>
26
+      <div class="item item-body" id="availablePage-list-item-container4">
27
+        <div id="availablePage-markdown4" class="show-list-numbers-and-dots">
28
+          <p style="margin-top:0px;color:#000000;">
29
+            <strong>Bob's Service Provider</strong>
30
+            <br>
31
+            <strong>Details</strong> Get $1 off per month when you subscribe as new customer
32
+            <br>
33
+            <strong>Redeem by</strong> 12/31/2020</p>
34
+        </div>
35
+      </div>
36
+      <ion-item class="item-icon-left positive" id="availablePage-list-item9">
37
+        <i class="icon ion-cash"></i>Redeem</ion-item>
38
+    </div>
39
+  </ion-content>
40
+</ion-view>

+ 19
- 0
templates/login.html Voir le fichier

@@ -0,0 +1,19 @@
1
+<ion-view title="Login" id="page5">
2
+  <ion-content padding="true" class="has-header">
3
+    <form id="login-form1" class="list">
4
+      <ion-list id="login-list2">
5
+        <label class="item item-input" id="login-input1">
6
+          <span class="input-label">Email</span>
7
+          <input type="email" placeholder="">
8
+        </label>
9
+        <label class="item item-input" id="login-input2">
10
+          <span class="input-label">Password</span>
11
+          <input type="password" placeholder="">
12
+        </label>
13
+      </ion-list>
14
+      <div class="spacer" style="height: 40px;"></div>
15
+      <button id="login-button1" class="button button-stable button-block">Log in</button>
16
+      <a href-inappbrowser="/signup" id="login-button2" class="button button-positive button-block button-clear">Or create an account</a>
17
+    </form>
18
+  </ion-content>
19
+</ion-view>

+ 19
- 0
templates/promotionsWallet.html Voir le fichier

@@ -0,0 +1,19 @@
1
+<ion-view title="Promotions Wallet" id="page6">
2
+  <ion-content padding="true" class="has-header">
3
+    <h1 id="promotionsWallet-heading1" style="color:#000000;">Heading</h1>
4
+    <ion-slides disable-side-menu-drag="" options="{'loop': true}" slider="slider1" delegate-handle="slider1" id="promotionsWallet-slider1" style="width:100%;height:200px;">
5
+      <ion-slide-page id="promotionsWallet-slide27">
6
+        <h1 id="promotionsWallet-heading2" style="color:#000000;">Slide 4</h1>
7
+      </ion-slide-page>
8
+      <ion-slide-page id="promotionsWallet-slide25"></ion-slide-page>
9
+      <ion-slide-page id="promotionsWallet-slide26"></ion-slide-page>
10
+      <ion-slide-page id="promotionsWallet-slide28">
11
+        <h1 id="promotionsWallet-heading3" style="color:#000000;">Slide 5</h1>
12
+      </ion-slide-page>
13
+      <ion-slide-page id="promotionsWallet-slide29">
14
+        <h1 id="promotionsWallet-heading4" style="color:#000000;">Slide 6</h1>
15
+      </ion-slide-page>
16
+      <ion-slide-page id="promotionsWallet-slide24"></ion-slide-page>
17
+    </ion-slides>
18
+  </ion-content>
19
+</ion-view>

+ 20
- 0
templates/redeemedPage.html Voir le fichier

@@ -0,0 +1,20 @@
1
+<ion-view title="Redeemed Page" id="page4">
2
+  <ion-content padding="true" class="has-header">
3
+    <div class="list card" id="redeemedPage-card26">
4
+      <ion-item class="item-thumbnail-left" id="redeemedPage-list-item14">
5
+        <h2>One Time Promotion 2</h2>
6
+        <p>$50 for new checking account</p>
7
+      </ion-item>
8
+      <div class="item item-body" id="redeemedPage-list-item-container7">
9
+        <div id="redeemedPage-markdown7" class="show-list-numbers-and-dots">
10
+          <p style="margin-top:0px;color:#000000;">
11
+            <strong>Alice's Bank</strong>
12
+            <br>
13
+            <strong>Details</strong> Open a checking account and get $50 deposited
14
+            <br>
15
+            <strong>Redeemed on</strong> 01/01/2018</p>
16
+        </div>
17
+      </div>
18
+    </div>
19
+  </ion-content>
20
+</ion-view>

+ 13
- 0
templates/tabsController.html Voir le fichier

@@ -0,0 +1,13 @@
1
+<ion-view id="page1">
2
+  <ion-tabs class="tabs-stable tabs-icon-top" id="tabsController-tabs1">
3
+    <ion-tab title="Available" icon="ion-battery-full" href="#/page1/page2" id="tabsController-tab1">
4
+      <ion-nav-view name="tab1"></ion-nav-view>
5
+    </ion-tab>
6
+    <ion-tab title="Active" icon="ion-battery-half" href="#/page1/page3" id="tabsController-tab2">
7
+      <ion-nav-view name="tab2"></ion-nav-view>
8
+    </ion-tab>
9
+    <ion-tab title="Redeemed" icon="ion-battery-empty" href="#/page1/page4" id="tabsController-tab3">
10
+      <ion-nav-view name="tab3"></ion-nav-view>
11
+    </ion-tab>
12
+  </ion-tabs>
13
+</ion-view>