ionic-rails-engine 0.9.17 → 0.9.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +1,16 @@
1
1
  /*!
2
- * Copyright 2013 Drifty Co.
2
+ * Copyright 2014 Drifty Co.
3
3
  * http://drifty.com/
4
4
  *
5
- * Ionic, v0.9.17
5
+ * Ionic, v0.9.26
6
6
  * A powerful HTML5 mobile app framework.
7
7
  * http://ionicframework.com/
8
8
  *
9
- * By @maxlynch, @helloimben, @adamdbradley <3
9
+ * By @maxlynch, @benjsperry, @adamdbradley <3
10
10
  *
11
11
  * Licensed under the MIT license. Please see LICENSE for more information.
12
12
  *
13
13
  */
14
- window.ionic={controllers:{},views:{},version:"0.9.17"},function(a){function b(a){return a*a*a}function c(a){return 3*a*a*(1-a)}function d(a){return 3*a*(1-a)*(1-a)}function e(a){return(1-a)*(1-a)*(1-a)}var f=function(a,b){return a||(a=0),b||(b=0),{x:a,y:b}};a.Animator={getQuadraticBezier:function(a,g,h,i,j){var k=new f;return k.x=g.x*b(a)+h.x*c(a)+i.x*d(a)+j.x*e(a),k.y=g.y*b(a)+h.y*c(a)+i.y*d(a)+j.y*e(a),k},getCubicBezier:function(a,b,c,d,e){epsilon=1e3/60/e/4;var f=function(b){var d=1-b;return 3*d*d*b*a+3*d*b*b*c+b*b*b},g=function(a){var c=1-a;return 3*c*c*a*b+3*c*a*a*d+a*a*a},h=function(b){var d=1-b;return 3*(2*(b-1)*b+d*d)*a+3*(-b*b*b+2*d*b)*c};return function(a){var b,c,d,e,i,j,k=a;for(d=k,j=0;8>j;j++){if(e=f(d)-k,Math.abs(e)<epsilon)return g(d);if(i=h(d),Math.abs(i)<1e-6)break;d-=e/i}if(b=0,c=1,d=k,b>d)return g(b);if(d>c)return g(c);for(;c>b;){if(e=f(d),Math.abs(e-k)<epsilon)return g(d);k>e?b=d:c=d,d=.5*(c-b)+b}return g(d)}},animate:function(a){return{leave:function(){var b=function(){a.classList.remove("leave"),a.classList.remove("leave-active"),a.removeEventListener("webkitTransitionEnd",b),a.removeEventListener("transitionEnd",b)};return a.addEventListener("webkitTransitionEnd",b),a.addEventListener("transitionEnd",b),a.classList.add("leave"),a.classList.add("leave-active"),this},enter:function(){var b=function(){a.classList.remove("enter"),a.classList.remove("enter-active"),a.removeEventListener("webkitTransitionEnd",b),a.removeEventListener("transitionEnd",b)};return a.addEventListener("webkitTransitionEnd",b),a.addEventListener("transitionEnd",b),a.classList.add("enter"),a.classList.add("enter-active"),this}}}}}(ionic),function(a){a.DomUtil={getTextBounds:function(a){if(document.createRange){var b=document.createRange();if(b.selectNodeContents(a),b.getBoundingClientRect){var c=b.getBoundingClientRect(),d=window.scrollX,e=window.scrollY;return{top:c.top+e,left:c.left+d,right:c.left+d+c.width,bottom:c.top+e+c.height,width:c.width,height:c.height}}}return null},getChildIndex:function(a,b){if(b)for(var c,d=a.parentNode.children,e=0,f=0,g=d.length;g>e;e++)if(c=d[e],c.nodeName&&c.nodeName.toLowerCase()==b){if(c==a)return f;f++}return Array.prototype.slice.call(a.parentNode.children).indexOf(a)},swapNodes:function(a,b){b.parentNode.insertBefore(a,b)},getParentWithClass:function(a,b){for(;a.parentNode;){if(a.parentNode.classList&&a.parentNode.classList.contains(b))return a.parentNode;a=a.parentNode}return null},getParentOrSelfWithClass:function(a,b){for(;a;){if(a.classList&&a.classList.contains(b))return a;a=a.parentNode}return null}}}(window.ionic),function(a){window.CustomEvent||!function(){var a;a=function(a,b){var c;return b=b||{bubbles:!1,cancelable:!1,detail:void 0},c=document.createEvent("CustomEvent"),c.initCustomEvent(a,b.bubbles,b.cancelable,b.detail),c},a.prototype=window.Event.prototype,window.CustomEvent=a}(),a.EventController={VIRTUALIZED_EVENTS:["tap","swipe","swiperight","swipeleft","drag","hold","release"],trigger:function(a,b){var c=new CustomEvent(a,{detail:b});b&&b.target&&b.target.dispatchEvent(c)||window.dispatchEvent(c)},on:function(b,c,d){for(var e=d||window,f=0,g=this.VIRTUALIZED_EVENTS.length;g>f;f++)if(b==this.VIRTUALIZED_EVENTS[f]){var h=new a.Gesture(d);return h.on(b,c),h}e.addEventListener(b,c)},off:function(a,b,c){c.removeEventListener(a,b)},onGesture:function(b,c,d){var e=new a.Gesture(d);return e.on(b,c),e},offGesture:function(a,b,c){a.off(b,c)},handlePopState:function(){}},a.on=function(){a.EventController.on.apply(a.EventController,arguments)},a.off=function(){a.EventController.off.apply(a.EventController,arguments)},a.trigger=a.EventController.trigger,a.onGesture=function(){return a.EventController.onGesture.apply(a.EventController.onGesture,arguments)},a.offGesture=function(){return a.EventController.offGesture.apply(a.EventController.offGesture,arguments)}}(window.ionic),function(a){function b(){if(!a.Gestures.READY){a.Gestures.event.determineEventTypes();for(var b in a.Gestures.gestures)a.Gestures.gestures.hasOwnProperty(b)&&a.Gestures.detection.register(a.Gestures.gestures[b]);a.Gestures.event.onTouch(a.Gestures.DOCUMENT,a.Gestures.EVENT_MOVE,a.Gestures.detection.detect),a.Gestures.event.onTouch(a.Gestures.DOCUMENT,a.Gestures.EVENT_END,a.Gestures.detection.detect),a.Gestures.READY=!0}}a.Gesture=function(b,c){return new a.Gestures.Instance(b,c||{})},a.Gestures={},a.Gestures.defaults={stop_browser_behavior:{userSelect:"none",touchAction:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},a.Gestures.HAS_POINTEREVENTS=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,a.Gestures.HAS_TOUCHEVENTS="ontouchstart"in window,a.Gestures.MOBILE_REGEX=/mobile|tablet|ip(ad|hone|od)|android|silk/i,a.Gestures.NO_MOUSEEVENTS=a.Gestures.HAS_TOUCHEVENTS&&window.navigator.userAgent.match(a.Gestures.MOBILE_REGEX),a.Gestures.EVENT_TYPES={},a.Gestures.DIRECTION_DOWN="down",a.Gestures.DIRECTION_LEFT="left",a.Gestures.DIRECTION_UP="up",a.Gestures.DIRECTION_RIGHT="right",a.Gestures.POINTER_MOUSE="mouse",a.Gestures.POINTER_TOUCH="touch",a.Gestures.POINTER_PEN="pen",a.Gestures.EVENT_START="start",a.Gestures.EVENT_MOVE="move",a.Gestures.EVENT_END="end",a.Gestures.DOCUMENT=window.document,a.Gestures.plugins={},a.Gestures.READY=!1,a.Gestures.Instance=function(c,d){var e=this;return null===c?(console.error("Null element passed to gesture (element does not exist). Not listening for gesture"),void 0):(b(),this.element=c,this.enabled=!0,this.options=a.Gestures.utils.extend(a.Gestures.utils.extend({},a.Gestures.defaults),d||{}),this.options.stop_browser_behavior&&a.Gestures.utils.stopDefaultBrowserBehavior(this.element,this.options.stop_browser_behavior),a.Gestures.event.onTouch(c,a.Gestures.EVENT_START,function(b){e.enabled&&a.Gestures.detection.startDetect(e,b)}),this)},a.Gestures.Instance.prototype={on:function(a,b){for(var c=a.split(" "),d=0;d<c.length;d++)this.element.addEventListener(c[d],b,!1);return this},off:function(a,b){for(var c=a.split(" "),d=0;d<c.length;d++)this.element.removeEventListener(c[d],b,!1);return this},trigger:function(b,c){var d=a.Gestures.DOCUMENT.createEvent("Event");d.initEvent(b,!0,!0),d.gesture=c;var e=this.element;return a.Gestures.utils.hasParent(c.target,e)&&(e=c.target),e.dispatchEvent(d),this},enable:function(a){return this.enabled=a,this}};var c=null,d=!1,e=!1;a.Gestures.event={bindDom:function(a,b,c){for(var d=b.split(" "),e=0;e<d.length;e++)a.addEventListener(d[e],c,!1)},onTouch:function(b,f,g){var h=this;this.bindDom(b,a.Gestures.EVENT_TYPES[f],function(i){var j=i.type.toLowerCase();if(!j.match(/mouse/)||!e){j.match(/touch/)||j.match(/pointerdown/)||j.match(/mouse/)&&1===i.which?d=!0:j.match(/mouse/)&&1!==i.which&&(d=!1),j.match(/touch|pointer/)&&(e=!0);var k=0;d&&(a.Gestures.HAS_POINTEREVENTS&&f!=a.Gestures.EVENT_END?k=a.Gestures.PointerEvent.updatePointer(f,i):j.match(/touch/)?k=i.touches.length:e||(k=j.match(/up/)?0:1),k>0&&f==a.Gestures.EVENT_END?f=a.Gestures.EVENT_MOVE:k||(f=a.Gestures.EVENT_END),(k||null===c)&&(c=i),g.call(a.Gestures.detection,h.collectEventData(b,f,h.getTouchList(c,f),i)),a.Gestures.HAS_POINTEREVENTS&&f==a.Gestures.EVENT_END&&(k=a.Gestures.PointerEvent.updatePointer(f,i))),k||(c=null,d=!1,e=!1,a.Gestures.PointerEvent.reset())}})},determineEventTypes:function(){var b;b=a.Gestures.HAS_POINTEREVENTS?a.Gestures.PointerEvent.getEvents():a.Gestures.NO_MOUSEEVENTS?["touchstart","touchmove","touchend touchcancel"]:["touchstart mousedown","touchmove mousemove","touchend touchcancel mouseup"],a.Gestures.EVENT_TYPES[a.Gestures.EVENT_START]=b[0],a.Gestures.EVENT_TYPES[a.Gestures.EVENT_MOVE]=b[1],a.Gestures.EVENT_TYPES[a.Gestures.EVENT_END]=b[2]},getTouchList:function(b){return a.Gestures.HAS_POINTEREVENTS?a.Gestures.PointerEvent.getTouchList():b.touches?b.touches:(b.indentifier=1,[b])},collectEventData:function(b,c,d,e){var f=a.Gestures.POINTER_TOUCH;return(e.type.match(/mouse/)||a.Gestures.PointerEvent.matchType(a.Gestures.POINTER_MOUSE,e))&&(f=a.Gestures.POINTER_MOUSE),{center:a.Gestures.utils.getCenter(d),timeStamp:(new Date).getTime(),target:e.target,touches:d,eventType:c,pointerType:f,srcEvent:e,preventDefault:function(){this.srcEvent.preventManipulation&&this.srcEvent.preventManipulation(),this.srcEvent.preventDefault},stopPropagation:function(){this.srcEvent.stopPropagation()},stopDetect:function(){return a.Gestures.detection.stopDetect()}}}},a.Gestures.PointerEvent={pointers:{},getTouchList:function(){var a=this,b=[];return Object.keys(a.pointers).sort().forEach(function(c){b.push(a.pointers[c])}),b},updatePointer:function(b,c){return b==a.Gestures.EVENT_END?this.pointers={}:(c.identifier=c.pointerId,this.pointers[c.pointerId]=c),Object.keys(this.pointers).length},matchType:function(b,c){if(!c.pointerType)return!1;var d={};return d[a.Gestures.POINTER_MOUSE]=c.pointerType==c.MSPOINTER_TYPE_MOUSE||c.pointerType==a.Gestures.POINTER_MOUSE,d[a.Gestures.POINTER_TOUCH]=c.pointerType==c.MSPOINTER_TYPE_TOUCH||c.pointerType==a.Gestures.POINTER_TOUCH,d[a.Gestures.POINTER_PEN]=c.pointerType==c.MSPOINTER_TYPE_PEN||c.pointerType==a.Gestures.POINTER_PEN,d[b]},getEvents:function(){return["pointerdown MSPointerDown","pointermove MSPointerMove","pointerup pointercancel MSPointerUp MSPointerCancel"]},reset:function(){this.pointers={}}},a.Gestures.utils={extend:function(a,b,c){for(var d in b)void 0!==a[d]&&c||(a[d]=b[d]);return a},hasParent:function(a,b){for(;a;){if(a==b)return!0;a=a.parentNode}return!1},getCenter:function(a){for(var b=[],c=[],d=0,e=a.length;e>d;d++)b.push(a[d].pageX),c.push(a[d].pageY);return{pageX:(Math.min.apply(Math,b)+Math.max.apply(Math,b))/2,pageY:(Math.min.apply(Math,c)+Math.max.apply(Math,c))/2}},getVelocity:function(a,b,c){return{x:Math.abs(b/a)||0,y:Math.abs(c/a)||0}},getAngle:function(a,b){var c=b.pageY-a.pageY,d=b.pageX-a.pageX;return 180*Math.atan2(c,d)/Math.PI},getDirection:function(b,c){var d=Math.abs(b.pageX-c.pageX),e=Math.abs(b.pageY-c.pageY);return d>=e?b.pageX-c.pageX>0?a.Gestures.DIRECTION_LEFT:a.Gestures.DIRECTION_RIGHT:b.pageY-c.pageY>0?a.Gestures.DIRECTION_UP:a.Gestures.DIRECTION_DOWN},getDistance:function(a,b){var c=b.pageX-a.pageX,d=b.pageY-a.pageY;return Math.sqrt(c*c+d*d)},getScale:function(a,b){return a.length>=2&&b.length>=2?this.getDistance(b[0],b[1])/this.getDistance(a[0],a[1]):1},getRotation:function(a,b){return a.length>=2&&b.length>=2?this.getAngle(b[1],b[0])-this.getAngle(a[1],a[0]):0},isVertical:function(b){return b==a.Gestures.DIRECTION_UP||b==a.Gestures.DIRECTION_DOWN},stopDefaultBrowserBehavior:function(a,b){var c,d=["webkit","khtml","moz","Moz","ms","o",""];if(b&&a.style){for(var e=0;e<d.length;e++)for(var f in b)b.hasOwnProperty(f)&&(c=f,d[e]&&(c=d[e]+c.substring(0,1).toUpperCase()+c.substring(1)),a.style[c]=b[f]);"none"==b.userSelect&&(a.onselectstart=function(){return!1})}}},a.Gestures.detection={gestures:[],current:null,previous:null,stopped:!1,startDetect:function(b,c){this.current||(this.stopped=!1,this.current={inst:b,startEvent:a.Gestures.utils.extend({},c),lastEvent:!1,name:""},this.detect(c))},detect:function(b){if(this.current&&!this.stopped){b=this.extendEventData(b);for(var c=this.current.inst.options,d=0,e=this.gestures.length;e>d;d++){var f=this.gestures[d];if(!this.stopped&&c[f.name]!==!1&&f.handler.call(f,b,this.current.inst)===!1){this.stopDetect();break}}return this.current&&(this.current.lastEvent=b),b.eventType==a.Gestures.EVENT_END&&!b.touches.length-1&&this.stopDetect(),b}},stopDetect:function(){this.previous=a.Gestures.utils.extend({},this.current),this.current=null,this.stopped=!0},extendEventData:function(b){var c=this.current.startEvent;if(c&&(b.touches.length!=c.touches.length||b.touches===c.touches)){c.touches=[];for(var d=0,e=b.touches.length;e>d;d++)c.touches.push(a.Gestures.utils.extend({},b.touches[d]))}var f=b.timeStamp-c.timeStamp,g=b.center.pageX-c.center.pageX,h=b.center.pageY-c.center.pageY,i=a.Gestures.utils.getVelocity(f,g,h);return a.Gestures.utils.extend(b,{deltaTime:f,deltaX:g,deltaY:h,velocityX:i.x,velocityY:i.y,distance:a.Gestures.utils.getDistance(c.center,b.center),angle:a.Gestures.utils.getAngle(c.center,b.center),direction:a.Gestures.utils.getDirection(c.center,b.center),scale:a.Gestures.utils.getScale(c.touches,b.touches),rotation:a.Gestures.utils.getRotation(c.touches,b.touches),startEvent:c}),b},register:function(b){var c=b.defaults||{};return void 0===c[b.name]&&(c[b.name]=!0),a.Gestures.utils.extend(a.Gestures.defaults,c,!0),b.index=b.index||1e3,this.gestures.push(b),this.gestures.sort(function(a,b){return a.index<b.index?-1:a.index>b.index?1:0}),this.gestures}},a.Gestures.gestures=a.Gestures.gestures||{},a.Gestures.gestures.Hold={name:"hold",index:10,defaults:{hold_timeout:500,hold_threshold:1},timer:null,handler:function(b,c){switch(b.eventType){case a.Gestures.EVENT_START:clearTimeout(this.timer),a.Gestures.detection.current.name=this.name,this.timer=setTimeout(function(){"hold"==a.Gestures.detection.current.name&&c.trigger("hold",b)},c.options.hold_timeout);break;case a.Gestures.EVENT_MOVE:b.distance>c.options.hold_threshold&&clearTimeout(this.timer);break;case a.Gestures.EVENT_END:clearTimeout(this.timer)}}},a.Gestures.gestures.Tap={name:"tap",index:100,defaults:{tap_max_touchtime:250,tap_max_distance:10,tap_always:!0,doubletap_distance:20,doubletap_interval:300},handler:function(b,c){if(b.eventType==a.Gestures.EVENT_END){var d=a.Gestures.detection.previous,e=!1;if(b.deltaTime>c.options.tap_max_touchtime||b.distance>c.options.tap_max_distance)return;d&&"tap"==d.name&&b.timeStamp-d.lastEvent.timeStamp<c.options.doubletap_interval&&b.distance<c.options.doubletap_distance&&(c.trigger("doubletap",b),e=!0),(!e||c.options.tap_always)&&(a.Gestures.detection.current.name="tap",c.trigger(a.Gestures.detection.current.name,b))}}},a.Gestures.gestures.Swipe={name:"swipe",index:40,defaults:{swipe_max_touches:1,swipe_velocity:.7},handler:function(b,c){if(b.eventType==a.Gestures.EVENT_END){if(c.options.swipe_max_touches>0&&b.touches.length>c.options.swipe_max_touches)return;(b.velocityX>c.options.swipe_velocity||b.velocityY>c.options.swipe_velocity)&&(c.trigger(this.name,b),c.trigger(this.name+b.direction,b))}}},a.Gestures.gestures.Drag={name:"drag",index:50,defaults:{drag_min_distance:10,correct_for_drag_min_distance:!0,drag_max_touches:1,drag_block_horizontal:!0,drag_block_vertical:!0,drag_lock_to_axis:!1,drag_lock_min_distance:25},triggered:!1,handler:function(b,c){if(a.Gestures.detection.current.name!=this.name&&this.triggered)return c.trigger(this.name+"end",b),this.triggered=!1,void 0;if(!(c.options.drag_max_touches>0&&b.touches.length>c.options.drag_max_touches))switch(b.eventType){case a.Gestures.EVENT_START:this.triggered=!1;break;case a.Gestures.EVENT_MOVE:if(b.distance<c.options.drag_min_distance&&a.Gestures.detection.current.name!=this.name)return;if(a.Gestures.detection.current.name!=this.name&&(a.Gestures.detection.current.name=this.name,c.options.correct_for_drag_min_distance)){var d=Math.abs(c.options.drag_min_distance/b.distance);a.Gestures.detection.current.startEvent.center.pageX+=b.deltaX*d,a.Gestures.detection.current.startEvent.center.pageY+=b.deltaY*d,b=a.Gestures.detection.extendEventData(b)}(a.Gestures.detection.current.lastEvent.drag_locked_to_axis||c.options.drag_lock_to_axis&&c.options.drag_lock_min_distance<=b.distance)&&(b.drag_locked_to_axis=!0);var e=a.Gestures.detection.current.lastEvent.direction;b.drag_locked_to_axis&&e!==b.direction&&(b.direction=a.Gestures.utils.isVertical(e)?b.deltaY<0?a.Gestures.DIRECTION_UP:a.Gestures.DIRECTION_DOWN:b.deltaX<0?a.Gestures.DIRECTION_LEFT:a.Gestures.DIRECTION_RIGHT),this.triggered||(c.trigger(this.name+"start",b),this.triggered=!0),c.trigger(this.name,b),c.trigger(this.name+b.direction,b),(c.options.drag_block_vertical&&a.Gestures.utils.isVertical(b.direction)||c.options.drag_block_horizontal&&!a.Gestures.utils.isVertical(b.direction))&&b.preventDefault();break;case a.Gestures.EVENT_END:this.triggered&&c.trigger(this.name+"end",b),this.triggered=!1}}},a.Gestures.gestures.Transform={name:"transform",index:45,defaults:{transform_min_scale:.01,transform_min_rotation:1,transform_always_block:!1},triggered:!1,handler:function(b,c){if(a.Gestures.detection.current.name!=this.name&&this.triggered)return c.trigger(this.name+"end",b),this.triggered=!1,void 0;if(!(b.touches.length<2))switch(c.options.transform_always_block&&b.preventDefault(),b.eventType){case a.Gestures.EVENT_START:this.triggered=!1;break;case a.Gestures.EVENT_MOVE:var d=Math.abs(1-b.scale),e=Math.abs(b.rotation);if(d<c.options.transform_min_scale&&e<c.options.transform_min_rotation)return;a.Gestures.detection.current.name=this.name,this.triggered||(c.trigger(this.name+"start",b),this.triggered=!0),c.trigger(this.name,b),e>c.options.transform_min_rotation&&c.trigger("rotate",b),d>c.options.transform_min_scale&&(c.trigger("pinch",b),c.trigger("pinch"+(b.scale<1?"in":"out"),b));break;case a.Gestures.EVENT_END:this.triggered&&c.trigger(this.name+"end",b),this.triggered=!1}}},a.Gestures.gestures.Touch={name:"touch",index:-1/0,defaults:{prevent_default:!1,prevent_mouseevents:!1},handler:function(b,c){return c.options.prevent_mouseevents&&b.pointerType==a.Gestures.POINTER_MOUSE?(b.stopDetect(),void 0):(c.options.prevent_default&&b.preventDefault(),b.eventType==a.Gestures.EVENT_START&&c.trigger(this.name,b),void 0)}},a.Gestures.gestures.Release={name:"release",index:1/0,handler:function(b,c){b.eventType==a.Gestures.EVENT_END&&c.trigger(this.name,b)}}}(window.ionic),function(a){a.Platform={detect:function(){var a=[];this._checkPlatforms(a);var b=function(){if(document.body)for(var b=0;b<a.length;b++)document.body.classList.add("platform-"+a[b])};document.addEventListener("DOMContentLoaded",function(){b()}),b()},_checkPlatforms:function(a){this.isCordova()&&a.push("cordova"),this.isIOS7()&&a.push("ios7"),this.isIPad()&&a.push("ipad"),this.isAndroid()&&a.push("android")},isCordova:function(){return window.cordova||window.PhoneGap||window.phonegap},isIPad:function(){return navigator.userAgent.toLowerCase().indexOf("ipad")>=0},isIOS7:function(){return window.device?parseFloat(window.device.version)>=7:!1},isAndroid:function(){return window.device?"Android"===device.platform:navigator.userAgent.toLowerCase().indexOf("android")>=0}},a.Platform.detect()}(window.ionic),function(a,b,c){"use strict";function d(a,b){return"radio"===a.type?(a.checked=!a.checked,c.trigger("click",{target:a})):"checkbox"===a.type?(a.checked=!a.checked,c.trigger("change",{target:a})):"submit"===a.type||"button"===a.type?c.trigger("click",{target:a}):a.focus(),b.stopPropagation(),b.preventDefault(),!1}function e(a){if(a.gesture&&"touch"===a.gesture.pointerType&&a.gesture.srcEvent&&!a.alreadyHandled){a=a.gesture.srcEvent;for(var e=a.target;e;){if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName)return d(e,a);if("LABEL"===e.tagName){if(e.control)return d(e.control,a)}else if("A"===e.tagName||"BUTTON"===e.tagName)return c.trigger("click",{target:e}),a.stopPropagation(),a.preventDefault(),!1;e=e.parentElement}var f=b.activeElement;return!f||"INPUT"!==f.tagName&&"TEXTAREA"!==f.tagName&&"SELECT"!==f.tagName?void 0:(f.blur(),a.stopPropagation(),a.preventDefault(),!1)}}a.rAF=function(){return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||function(b){a.setTimeout(b,1e3/60)}}(),c.CSS={},function(){for(var a=b.createElement("div"),d=["webkitTransform","transform","-webkit-transform","webkit-transform","-moz-transform","moz-transform","MozTransform","mozTransform"],e=0;e<d.length;e++)if(void 0!==a.style[d[e]]){c.CSS.TRANSFORM=d[e];break}}(),c.on("tap",e,a)}(this,document,ionic),function(a){a.Utils={arrayMove:function(a,b,c){if(c>=a.length)for(var d=c-a.length;d--+1;)a.push(void 0);return a.splice(c,0,a.splice(b,1)[0]),a},proxy:function(a,b){var c=Array.prototype.slice.call(arguments,2);return function(){return a.apply(b,c.concat(Array.prototype.slice.call(arguments)))}},debounce:function(a,b,c){var d,e,f,g,h;return function(){f=this,e=arguments,g=new Date;var i=function(){var j=new Date-g;b>j?d=setTimeout(i,b-j):(d=null,c||(h=a.apply(f,e)))},j=c&&!d;return d||(d=setTimeout(i,b)),j&&(h=a.apply(f,e)),h}},throttle:function(a,b,c){var d,e,f,g=null,h=0;c||(c={});var i=function(){h=c.leading===!1?0:Date.now(),g=null,f=a.apply(d,e)};return function(){var j=Date.now();h||c.leading!==!1||(h=j);var k=b-(j-h);return d=this,e=arguments,0>=k?(clearTimeout(g),g=null,h=j,f=a.apply(d,e)):g||c.trailing===!1||(g=setTimeout(i,k)),f}},inherit:function(b,c){var d,e=this;d=b&&b.hasOwnProperty("constructor")?b.constructor:function(){return e.apply(this,arguments)},a.extend(d,e,c);var f=function(){this.constructor=d};return f.prototype=e.prototype,d.prototype=new f,b&&a.extend(d.prototype,b),d.__super__=e.prototype,d},extend:function(a){for(var b=Array.prototype.slice.call(arguments,1),c=0;c<b.length;c++){var d=b[c];if(d)for(var e in d)a[e]=d[e]}return a}},a.inherit=a.Utils.inherit,a.extend=a.Utils.extend,a.throttle=a.Utils.throttle,a.proxy=a.Utils.proxy,a.debounce=a.Utils.debounce}(window.ionic),function(a){"use strict";a.views.View=function(){this.initialize.apply(this,arguments)},a.views.View.inherit=a.inherit,a.extend(a.views.View.prototype,{initialize:function(){}})}(window.ionic),function(a){var b=Date.now||function(){return+new Date},c=60,d=1e3,e={},f=1;a.core?core.effect||(core.effect={}):a.core={effect:{}},core.effect.Animate={requestAnimationFrame:function(){var b=a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame,c=!!b;if(b&&!/requestAnimationFrame\(\)\s*\{\s*\[native code\]\s*\}/i.test(b.toString())&&(c=!1),c)return function(a,c){b(a,c)};var d=60,e={},f=0,g=1,h=null,i=+new Date;return function(a){var b=g++;return e[b]=a,f++,null===h&&(h=setInterval(function(){var a=+new Date,b=e;e={},f=0;for(var c in b)b.hasOwnProperty(c)&&(b[c](a),i=a);a-i>2500&&(clearInterval(h),h=null)},1e3/d)),b}}(),stop:function(a){var b=null!=e[a];return b&&(e[a]=null),b},isRunning:function(a){return null!=e[a]},start:function(a,g,h,i,j,k){var l=b(),m=l,n=0,o=0,p=f++;if(k||(k=document.body),0===p%20){var q={};for(var r in e)q[r]=!0;e=q}var s=function(f){var q=f!==!0,r=b();if(!e[p]||g&&!g(p))return e[p]=null,h&&h(c-o/((r-l)/d),p,!1),void 0;if(q)for(var t=Math.round((r-m)/(d/c))-1,u=0;u<Math.min(t,4);u++)s(!0),o++;i&&(n=(r-l)/i,n>1&&(n=1));var v=j?j(n):n;a(v,r,q)!==!1&&1!==n||!q?q&&(m=r,core.effect.Animate.requestAnimationFrame(s,k)):(e[p]=null,h&&h(c-o/((r-l)/d),p,1===n||null==i))};return e[p]=!0,core.effect.Animate.requestAnimationFrame(s,k),p}}}(this);var Scroller;!function(a){var b=function(){},c=function(a){return Math.pow(a-1,3)+1},d=function(a){return(a/=.5)<1?.5*Math.pow(a,3):.5*(Math.pow(a-2,3)+2)};a.views.Scroll=a.views.View.inherit({initialize:function(c){var d=this;this.__container=c.el,this.__content=c.el.firstElementChild,this.options={scrollingX:!1,scrollbarX:!0,scrollingY:!0,scrollbarY:!0,minScrollbarSizeX:5,minScrollbarSizeY:5,scrollbarsFade:!0,scrollbarFadeDelay:300,scrollbarResizeFadeDelay:1e3,animating:!0,animationDuration:250,bouncing:!0,locking:!0,paging:!1,snapping:!1,zooming:!1,minZoom:.5,maxZoom:3,speedMultiplier:1,scrollingComplete:b,penetrationDeceleration:.03,penetrationAcceleration:.08,scrollEventInterval:50};for(var e in c)this.options[e]=c[e];this.hintResize=a.debounce(function(){d.resize()},1e3,!0),this.triggerScrollEvent=a.throttle(function(){a.trigger("scroll",{scrollTop:d.__scrollTop,scrollLeft:d.__scrollLeft,target:d.__container})},this.options.scrollEventInterval),this.triggerScrollEndEvent=function(){a.trigger("scrollend",{scrollTop:d.__scrollTop,scrollLeft:d.__scrollLeft,target:d.__container})},this.__callback=this.getRenderFn(),this.__initEventHandlers(),this.__createScrollbars(),this.resize(),this.__fadeScrollbars("out",this.options.scrollbarResizeFadeDelay)},__isSingleTouch:!1,__isTracking:!1,__didDecelerationComplete:!1,__isGesturing:!1,__isDragging:!1,__isDecelerating:!1,__isAnimating:!1,__clientLeft:0,__clientTop:0,__clientWidth:0,__clientHeight:0,__contentWidth:0,__contentHeight:0,__snapWidth:100,__snapHeight:100,__refreshHeight:null,__refreshActive:!1,__refreshActivate:null,__refreshDeactivate:null,__refreshStart:null,__zoomLevel:1,__scrollLeft:0,__scrollTop:0,__maxScrollLeft:0,__maxScrollTop:0,__scheduledLeft:0,__scheduledTop:0,__scheduledZoom:0,__lastTouchLeft:null,__lastTouchTop:null,__lastTouchMove:null,__positions:null,__minDecelerationScrollLeft:null,__minDecelerationScrollTop:null,__maxDecelerationScrollLeft:null,__maxDecelerationScrollTop:null,__decelerationVelocityX:null,__decelerationVelocityY:null,__transformProperty:null,__perspectiveProperty:null,__indicatorX:null,__indicatorY:null,__scrollbarFadeTimeout:null,__didWaitForSize:null,__sizerTimeout:null,__initEventHandlers:function(){var a=this,b=this.__container;if("ontouchstart"in window)b.addEventListener("touchstart",function(b){b.target.tagName.match(/input|textarea|select/i)||(a.doTouchStart(b.touches,b.timeStamp),b.preventDefault())},!1),document.addEventListener("touchmove",function(b){b.defaultPrevented||a.doTouchMove(b.touches,b.timeStamp)},!1),document.addEventListener("touchend",function(b){a.doTouchEnd(b.timeStamp)},!1);else{var c=!1;b.addEventListener("mousedown",function(b){b.target.tagName.match(/input|textarea|select/i)||(a.doTouchStart([{pageX:b.pageX,pageY:b.pageY}],b.timeStamp),c=!0)},!1),document.addEventListener("mousemove",function(b){c&&!b.defaultPrevented&&(a.doTouchMove([{pageX:b.pageX,pageY:b.pageY}],b.timeStamp),c=!0)},!1),document.addEventListener("mouseup",function(b){c&&(a.doTouchEnd(b.timeStamp),c=!1)},!1)}},__createScrollbar:function(a){var b=document.createElement("div"),c=document.createElement("div");return c.className="scroll-bar-indicator",b.className="h"==a?"scroll-bar scroll-bar-h":"scroll-bar scroll-bar-v",b.appendChild(c),b},__createScrollbars:function(){var a,b;this.options.scrollingX&&(a={el:this.__createScrollbar("h"),sizeRatio:1},a.indicator=a.el.children[0],this.options.scrollbarX&&this.__container.appendChild(a.el),this.__indicatorX=a),this.options.scrollingY&&(b={el:this.__createScrollbar("v"),sizeRatio:1},b.indicator=b.el.children[0],this.options.scrollbarY&&this.__container.appendChild(b.el),this.__indicatorY=b)},__resizeScrollbars:function(){var a=this;if(a.__fadeScrollbars("in"),a.__indicatorX){var b=Math.max(Math.round(a.__clientWidth*a.__clientWidth/a.__contentWidth),20);b>a.__contentWidth&&(b=0),a.__indicatorX.size=b,a.__indicatorX.minScale=this.options.minScrollbarSizeX/b,a.__indicatorX.indicator.style.width=b+"px",a.__indicatorX.maxPos=a.__clientWidth-b,a.__indicatorX.sizeRatio=a.__maxScrollLeft?a.__indicatorX.maxPos/a.__maxScrollLeft:1}if(a.__indicatorY){var c=Math.max(Math.round(a.__clientHeight*a.__clientHeight/a.__contentHeight),20);c>a.__contentHeight&&(c=0),a.__indicatorY.size=c,a.__indicatorY.minScale=this.options.minScrollbarSizeY/c,a.__indicatorY.maxPos=a.__clientHeight-c,a.__indicatorY.indicator.style.height=c+"px",a.__indicatorY.sizeRatio=a.__maxScrollTop?a.__indicatorY.maxPos/a.__maxScrollTop:1}},__repositionScrollbars:function(){var a,b,c,d,e,f=this,g=0,h=0;f.__indicatorX&&(f.__indicatorY&&(g=10),d=Math.round(f.__indicatorX.sizeRatio*f.__scrollLeft)||0,b=f.__scrollLeft-(f.__maxScrollLeft-g),f.__scrollLeft<0?(widthScale=Math.max(f.__indicatorX.minScale,(f.__indicatorX.size-Math.abs(f.__scrollLeft))/f.__indicatorX.size),d=0,f.__indicatorX.indicator.style[f.__transformOriginProperty]="left center"):b>0?(widthScale=Math.max(f.__indicatorX.minScale,(f.__indicatorX.size-b)/f.__indicatorX.size),d=f.__indicatorX.maxPos-g,f.__indicatorX.indicator.style[f.__transformOriginProperty]="right center"):(d=Math.min(f.__maxScrollLeft,Math.max(0,d)),widthScale=1),f.__indicatorX.indicator.style[f.__transformProperty]="translate3d("+d+"px, 0, 0) scaleX("+widthScale+")"),f.__indicatorY&&(e=Math.round(f.__indicatorY.sizeRatio*f.__scrollTop)||0,f.__indicatorX&&(h=10),c=f.__scrollTop-(f.__maxScrollTop-h),f.__scrollTop<0?(a=Math.max(f.__indicatorY.minScale,(f.__indicatorY.size-Math.abs(f.__scrollTop))/f.__indicatorY.size),e=0,f.__indicatorY.indicator.style[f.__transformOriginProperty]="center top"):c>0?(a=Math.max(f.__indicatorY.minScale,(f.__indicatorY.size-c)/f.__indicatorY.size),e=f.__indicatorY.maxPos-h,f.__indicatorY.indicator.style[f.__transformOriginProperty]="center bottom"):(e=Math.min(f.__maxScrollTop,Math.max(0,e)),a=1),f.__indicatorY.indicator.style[f.__transformProperty]="translate3d(0,"+e+"px, 0) scaleY("+a+")")},__fadeScrollbars:function(a,b){var c=this;if(this.options.scrollbarsFade){var d="scroll-bar-fade-out";c.options.scrollbarsFade===!0&&(clearTimeout(c.__scrollbarFadeTimeout),"in"==a?(c.__indicatorX&&c.__indicatorX.indicator.classList.remove(d),c.__indicatorY&&c.__indicatorY.indicator.classList.remove(d)):c.__scrollbarFadeTimeout=setTimeout(function(){c.__indicatorX&&c.__indicatorX.indicator.classList.add(d),c.__indicatorY&&c.__indicatorY.indicator.classList.add(d)},b||c.options.scrollbarFadeDelay))}},__scrollingComplete:function(){var a=this;a.options.scrollingComplete(),a.__fadeScrollbars("out")},resize:function(){this.setDimensions(this.__container.clientWidth,this.__container.clientHeight,Math.max(this.__content.scrollWidth,this.__content.offsetWidth),Math.max(this.__content.scrollHeight,this.__content.offsetHeight+20))},getRenderFn:function(){var a,b=this,c=this.__content,d=document.documentElement.style;"MozAppearance"in d?a="gecko":"WebkitAppearance"in d?a="webkit":"string"==typeof navigator.cpuClass&&(a="trident");var e,f={trident:"ms",gecko:"Moz",webkit:"Webkit",presto:"O"}[a],g=document.createElement("div"),h=f+"Perspective",i=f+"Transform",j=f+"TransformOrigin";return b.__perspectiveProperty=i,b.__transformProperty=i,b.__transformOriginProperty=j,g.style[h]!==e?function(a,d){c.style[i]="translate3d("+-a+"px,"+-d+"px,0)",b.__repositionScrollbars(),b.triggerScrollEvent()}:g.style[i]!==e?function(a,d){c.style[i]="translate("+-a+"px,"+-d+"px)",b.__repositionScrollbars(),b.triggerScrollEvent()}:function(a,d,e){c.style.marginLeft=a?-a/e+"px":"",c.style.marginTop=d?-d/e+"px":"",c.style.zoom=e||"",b.__repositionScrollbars(),b.triggerScrollEvent()}},setDimensions:function(a,b,c,d){var e=this;a===+a&&(e.__clientWidth=a),b===+b&&(e.__clientHeight=b),c===+c&&(e.__contentWidth=c),d===+d&&(e.__contentHeight=d),e.__computeScrollMax(),e.__resizeScrollbars(),e.scrollTo(e.__scrollLeft,e.__scrollTop,!0)},setPosition:function(a,b){var c=this;c.__clientLeft=a||0,c.__clientTop=b||0},setSnapSize:function(a,b){var c=this;c.__snapWidth=a,c.__snapHeight=b},activatePullToRefresh:function(a,b,c,d){var e=this;e.__refreshHeight=a,e.__refreshActivate=b,e.__refreshDeactivate=c,e.__refreshStart=d},triggerPullToRefresh:function(){this.__publish(this.__scrollLeft,-this.__refreshHeight,this.__zoomLevel,!0),this.__refreshStart&&this.__refreshStart()},finishPullToRefresh:function(){var a=this;a.__refreshActive=!1,a.__refreshDeactivate&&a.__refreshDeactivate(),a.scrollTo(a.__scrollLeft,a.__scrollTop,!0)},getValues:function(){var a=this;return{left:a.__scrollLeft,top:a.__scrollTop,zoom:a.__zoomLevel}},getScrollMax:function(){var a=this;return{left:a.__maxScrollLeft,top:a.__maxScrollTop}},zoomTo:function(a,b,c,d){var e=this;if(!e.options.zooming)throw new Error("Zooming is not enabled!");e.__isDecelerating&&(core.effect.Animate.stop(e.__isDecelerating),e.__isDecelerating=!1);var f=e.__zoomLevel;null==c&&(c=e.__clientWidth/2),null==d&&(d=e.__clientHeight/2),a=Math.max(Math.min(a,e.options.maxZoom),e.options.minZoom),e.__computeScrollMax(a);var g=(c+e.__scrollLeft)*a/f-c,h=(d+e.__scrollTop)*a/f-d;g>e.__maxScrollLeft?g=e.__maxScrollLeft:0>g&&(g=0),h>e.__maxScrollTop?h=e.__maxScrollTop:0>h&&(h=0),e.__publish(g,h,a,b)},zoomBy:function(a,b,c,d){var e=this;e.zoomTo(e.__zoomLevel*a,b,c,d)},scrollTo:function(a,b,c,d){var e=this;if(e.__isDecelerating&&(core.effect.Animate.stop(e.__isDecelerating),e.__isDecelerating=!1),null!=d&&d!==e.__zoomLevel){if(!e.options.zooming)throw new Error("Zooming is not enabled!");
15
- a*=d,b*=d,e.__computeScrollMax(d)}else d=e.__zoomLevel;e.options.scrollingX?e.options.paging?a=Math.round(a/e.__clientWidth)*e.__clientWidth:e.options.snapping&&(a=Math.round(a/e.__snapWidth)*e.__snapWidth):a=e.__scrollLeft,e.options.scrollingY?e.options.paging?b=Math.round(b/e.__clientHeight)*e.__clientHeight:e.options.snapping&&(b=Math.round(b/e.__snapHeight)*e.__snapHeight):b=e.__scrollTop,a=Math.max(Math.min(e.__maxScrollLeft,a),0),b=Math.max(Math.min(e.__maxScrollTop,b),0),a===e.__scrollLeft&&b===e.__scrollTop&&(c=!1),e.__publish(a,b,d,c)},scrollBy:function(a,b,c){var d=this,e=d.__isAnimating?d.__scheduledLeft:d.__scrollLeft,f=d.__isAnimating?d.__scheduledTop:d.__scrollTop;d.scrollTo(e+(a||0),f+(b||0),c)},doMouseZoom:function(a,b,c,d){var e=this,f=a>0?.97:1.03;return e.zoomTo(e.__zoomLevel*f,!1,c-e.__clientLeft,d-e.__clientTop)},doTouchStart:function(a,b){if(this.hintResize(),null==a.length)throw new Error("Invalid touch list: "+a);if(b instanceof Date&&(b=b.valueOf()),"number"!=typeof b)throw new Error("Invalid timestamp value: "+b);var c=this;c.__fadeScrollbars("in"),c.__interruptedAnimation=!0,c.__isDecelerating&&(core.effect.Animate.stop(c.__isDecelerating),c.__isDecelerating=!1,c.__interruptedAnimation=!0),c.__isAnimating&&(core.effect.Animate.stop(c.__isAnimating),c.__isAnimating=!1,c.__interruptedAnimation=!0);var d,e,f=1===a.length;f?(d=a[0].pageX,e=a[0].pageY):(d=Math.abs(a[0].pageX+a[1].pageX)/2,e=Math.abs(a[0].pageY+a[1].pageY)/2),c.__initialTouchLeft=d,c.__initialTouchTop=e,c.__zoomLevelStart=c.__zoomLevel,c.__lastTouchLeft=d,c.__lastTouchTop=e,c.__lastTouchMove=b,c.__lastScale=1,c.__enableScrollX=!f&&c.options.scrollingX,c.__enableScrollY=!f&&c.options.scrollingY,c.__isTracking=!0,c.__didDecelerationComplete=!1,c.__isDragging=!f,c.__isSingleTouch=f,c.__positions=[]},doTouchMove:function(a,b,c){if(null==a.length)throw new Error("Invalid touch list: "+a);if(b instanceof Date&&(b=b.valueOf()),"number"!=typeof b)throw new Error("Invalid timestamp value: "+b);var d=this;if(d.__isTracking){var e,f;2===a.length?(e=Math.abs(a[0].pageX+a[1].pageX)/2,f=Math.abs(a[0].pageY+a[1].pageY)/2):(e=a[0].pageX,f=a[0].pageY);var g=d.__positions;if(d.__isDragging){var h=e-d.__lastTouchLeft,i=f-d.__lastTouchTop,j=d.__scrollLeft,k=d.__scrollTop,l=d.__zoomLevel;if(null!=c&&d.options.zooming){var m=l;if(l=l/d.__lastScale*c,l=Math.max(Math.min(l,d.options.maxZoom),d.options.minZoom),m!==l){var n=e-d.__clientLeft,o=f-d.__clientTop;j=(n+j)*l/m-n,k=(o+k)*l/m-o,d.__computeScrollMax(l)}}if(d.__enableScrollX){j-=h*this.options.speedMultiplier;var p=d.__maxScrollLeft;(j>p||0>j)&&(d.options.bouncing?j+=h/2*this.options.speedMultiplier:j=j>p?p:0)}if(d.__enableScrollY){k-=i*this.options.speedMultiplier;var q=d.__maxScrollTop;(k>q||0>k)&&(d.options.bouncing?(k+=i/2*this.options.speedMultiplier,d.__enableScrollX||null==d.__refreshHeight||(!d.__refreshActive&&k<=-d.__refreshHeight?(d.__refreshActive=!0,d.__refreshActivate&&d.__refreshActivate()):d.__refreshActive&&k>-d.__refreshHeight&&(d.__refreshActive=!1,d.__refreshDeactivate&&d.__refreshDeactivate()))):k=k>q?q:0)}g.length>60&&g.splice(0,30),g.push(j,k,b),d.__publish(j,k,l)}else{var r=d.options.locking?3:0,s=5,t=Math.abs(e-d.__initialTouchLeft),u=Math.abs(f-d.__initialTouchTop);d.__enableScrollX=d.options.scrollingX&&t>=r,d.__enableScrollY=d.options.scrollingY&&u>=r,g.push(d.__scrollLeft,d.__scrollTop,b),d.__isDragging=(d.__enableScrollX||d.__enableScrollY)&&(t>=s||u>=s),d.__isDragging&&(d.__interruptedAnimation=!1)}d.__lastTouchLeft=e,d.__lastTouchTop=f,d.__lastTouchMove=b,d.__lastScale=c}},doTouchEnd:function(a){if(a instanceof Date&&(a=a.valueOf()),"number"!=typeof a)throw new Error("Invalid timestamp value: "+a);var b=this;if(b.__isTracking){if(b.__isTracking=!1,b.__isDragging)if(b.__isDragging=!1,b.__isSingleTouch&&b.options.animating&&a-b.__lastTouchMove<=100){for(var c=b.__positions,d=c.length-1,e=d,f=d;f>0&&c[f]>b.__lastTouchMove-100;f-=3)e=f;if(e!==d){var g=c[d]-c[e],h=b.__scrollLeft-c[e-2],i=b.__scrollTop-c[e-1];b.__decelerationVelocityX=h/g*(1e3/60),b.__decelerationVelocityY=i/g*(1e3/60);var j=b.options.paging||b.options.snapping?4:1;(Math.abs(b.__decelerationVelocityX)>j||Math.abs(b.__decelerationVelocityY)>j)&&(b.__refreshActive||b.__startDeceleration(a))}else b.__scrollingComplete()}else a-b.__lastTouchMove>100&&b.__scrollingComplete();b.__isDecelerating||(b.__refreshActive&&b.__refreshStart?(b.__publish(b.__scrollLeft,-b.__refreshHeight,b.__zoomLevel,!0),b.__refreshStart&&b.__refreshStart()):((b.__interruptedAnimation||b.__isDragging)&&b.__scrollingComplete(),b.scrollTo(b.__scrollLeft,b.__scrollTop,!0,b.__zoomLevel),b.__refreshActive&&(b.__refreshActive=!1,b.__refreshDeactivate&&b.__refreshDeactivate()))),b.__positions.length=0}},__publish:function(a,b,e,f){var g=this,h=g.__isAnimating;if(h&&(core.effect.Animate.stop(h),g.__isAnimating=!1),f&&g.options.animating){g.__scheduledLeft=a,g.__scheduledTop=b,g.__scheduledZoom=e;var i=g.__scrollLeft,j=g.__scrollTop,k=g.__zoomLevel,l=a-i,m=b-j,n=e-k,o=function(a,b,c){c&&(g.__scrollLeft=i+l*a,g.__scrollTop=j+m*a,g.__zoomLevel=k+n*a,g.__callback&&g.__callback(g.__scrollLeft,g.__scrollTop,g.__zoomLevel))},p=function(a){return g.__isAnimating===a},q=function(a,b,c){b===g.__isAnimating&&(g.__isAnimating=!1),(g.__didDecelerationComplete||c)&&g.__scrollingComplete(),g.options.zooming&&g.__computeScrollMax()};g.__isAnimating=core.effect.Animate.start(o,p,q,g.options.animationDuration,h?c:d)}else g.__scheduledLeft=g.__scrollLeft=a,g.__scheduledTop=g.__scrollTop=b,g.__scheduledZoom=g.__zoomLevel=e,g.__callback&&g.__callback(a,b,e),g.options.zooming&&g.__computeScrollMax()},__computeScrollMax:function(a){var b=this;null==a&&(a=b.__zoomLevel),b.__maxScrollLeft=Math.max(b.__contentWidth*a-b.__clientWidth,0),b.__maxScrollTop=Math.max(b.__contentHeight*a-b.__clientHeight,0),b.__didWaitForSize||0!=b.__maxScrollLeft||0!=b.__maxScrollTop||(b.__didWaitForSize=!0,b.__waitForSize())},__waitForSize:function(){var a=this;clearTimeout(a.__sizerTimeout);var b=function(){a.resize(),a.options.scrollingX&&0==a.__maxScrollLeft||a.options.scrollingY&&0==a.__maxScrollTop};b(),a.__sizerTimeout=setTimeout(b,1e3)},__startDeceleration:function(){var a=this;if(a.options.paging){var b=Math.max(Math.min(a.__scrollLeft,a.__maxScrollLeft),0),c=Math.max(Math.min(a.__scrollTop,a.__maxScrollTop),0),d=a.__clientWidth,e=a.__clientHeight;a.__minDecelerationScrollLeft=Math.floor(b/d)*d,a.__minDecelerationScrollTop=Math.floor(c/e)*e,a.__maxDecelerationScrollLeft=Math.ceil(b/d)*d,a.__maxDecelerationScrollTop=Math.ceil(c/e)*e}else a.__minDecelerationScrollLeft=0,a.__minDecelerationScrollTop=0,a.__maxDecelerationScrollLeft=a.__maxScrollLeft,a.__maxDecelerationScrollTop=a.__maxScrollTop;var f=function(b,c,d){a.__stepThroughDeceleration(d)},g=a.options.snapping?4:.1,h=function(){var b=Math.abs(a.__decelerationVelocityX)>=g||Math.abs(a.__decelerationVelocityY)>=g;return b||(a.__didDecelerationComplete=!0),b},i=function(){a.__isDecelerating=!1,a.__didDecelerationComplete&&a.__scrollingComplete(),a.options.paging&&a.scrollTo(a.__scrollLeft,a.__scrollTop,a.options.snapping)};a.__isDecelerating=core.effect.Animate.start(f,h,i)},__stepThroughDeceleration:function(a){var b=this,c=b.__scrollLeft+b.__decelerationVelocityX,d=b.__scrollTop+b.__decelerationVelocityY;if(!b.options.bouncing){var e=Math.max(Math.min(b.__maxDecelerationScrollLeft,c),b.__minDecelerationScrollLeft);e!==c&&(c=e,b.__decelerationVelocityX=0);var f=Math.max(Math.min(b.__maxDecelerationScrollTop,d),b.__minDecelerationScrollTop);f!==d&&(d=f,b.__decelerationVelocityY=0)}if(a?b.__publish(c,d,b.__zoomLevel):(b.__scrollLeft=c,b.__scrollTop=d),!b.options.paging){var g=.95;b.__decelerationVelocityX*=g,b.__decelerationVelocityY*=g}if(b.options.bouncing){var h=0,i=0,j=b.options.penetrationDeceleration,k=b.options.penetrationAcceleration;c<b.__minDecelerationScrollLeft?h=b.__minDecelerationScrollLeft-c:c>b.__maxDecelerationScrollLeft&&(h=b.__maxDecelerationScrollLeft-c),d<b.__minDecelerationScrollTop?i=b.__minDecelerationScrollTop-d:d>b.__maxDecelerationScrollTop&&(i=b.__maxDecelerationScrollTop-d),0!==h&&(h*b.__decelerationVelocityX<=0?b.__decelerationVelocityX+=h*j:b.__decelerationVelocityX=h*k),0!==i&&(i*b.__decelerationVelocityY<=0?b.__decelerationVelocityY+=i*j:b.__decelerationVelocityY=i*k)}}})}(ionic),function(a){"use strict";a.views.ActionSheet=a.views.View.inherit({initialize:function(a){this.el=a.el},show:function(){this.el.offsetWidth,this.el.classList.add("active")},hide:function(){this.el.offsetWidth,this.el.classList.remove("active")}})}(ionic),function(a){"use strict";a.views.HeaderBar=a.views.View.inherit({initialize:function(b){this.el=b.el,a.extend(this,{alignTitle:"center"},b),this.align()},align:function(){window.rAF(a.proxy(function(){var b,c,d,e=this.el.childNodes,f=this.el.querySelector(".title");if(f){var g=0,h=0,i=Array.prototype.indexOf.call(e,f);for(b=0;i>b;b++)d=null,c=e[b],3==c.nodeType?d=a.DomUtil.getTextBounds(c):1==c.nodeType&&(d=c.getBoundingClientRect()),d&&(g+=d.width);for(b=i+1;b<e.length;b++)d=null,c=e[b],3==c.nodeType?d=a.DomUtil.getTextBounds(c):1==c.nodeType&&(d=c.getBoundingClientRect()),d&&(h+=d.width);var j=Math.max(g,h)+10;"center"==this.alignTitle?(j>10&&(f.style.left=j+"px",f.style.right=j+"px"),f.offsetWidth<f.scrollWidth&&h>0&&(f.style.right=h+5+"px")):"left"==this.alignTitle?(f.classList.add("title-left"),g>0&&(f.style.left=g+15+"px")):"right"==this.alignTitle&&(f.classList.add("title-right"),h>0&&(f.style.right=h+15+"px"))}},this))}})}(ionic),function(a){"use strict";var b="item",c="item-content",d="item-sliding",e="item-options",f="item-placeholder",g="item-reordering",h="item-drag",i=function(){};i.prototype={start:function(){},drag:function(){},end:function(){}};var j=function(a){this.dragThresholdX=a.dragThresholdX||10,this.el=a.el};j.prototype=new i,j.prototype.start=function(a){var f,g,h,i;a.target.classList.contains(c)?f=a.target:a.target.classList.contains(b)&&(f=a.target.querySelector("."+c)),f&&(f.classList.remove(d),h=parseFloat(f.style.webkitTransform.replace("translate3d(","").split(",")[0])||0,g=f.parentNode.querySelector("."+e),g&&(i=g.offsetWidth,this._currentDrag={buttonsWidth:i,content:f,startOffsetX:h}))},j.prototype.drag=function(a){var b,c=this;window.rAF(function(){if(c._currentDrag&&(!c._isDragging&&(Math.abs(a.gesture.deltaX)>c.dragThresholdX||Math.abs(c._currentDrag.startOffsetX)>0)&&(c._isDragging=!0),c._isDragging)){b=c._currentDrag.buttonsWidth;var d=Math.min(0,c._currentDrag.startOffsetX+a.gesture.deltaX);-b>d&&(d=Math.min(-b,-b+.4*(a.gesture.deltaX+b))),c._currentDrag.content.style.webkitTransform="translate3d("+d+"px, 0, 0)",c._currentDrag.content.style.webkitTransition="none"}})},j.prototype.end=function(a,b){var c=this;if(!this._currentDrag)return b&&b(),void 0;var d=-this._currentDrag.buttonsWidth;a.gesture.deltaX>-(this._currentDrag.buttonsWidth/2)&&("left"==a.gesture.direction&&Math.abs(a.gesture.velocityX)<.3?d=0:"right"==a.gesture.direction&&(d=0)),window.rAF(function(){c._currentDrag.content.style.webkitTransform=0===d?"":"translate3d("+d+"px, 0, 0)",c._currentDrag.content.style.webkitTransition="",c._currentDrag=null,b&&b()})};var k=function(a){this.dragThresholdY=a.dragThresholdY||0,this.onReorder=a.onReorder,this.el=a.el};k.prototype=new i,k.prototype.start=function(){var b=this.el.offsetTop,c=a.DomUtil.getChildIndex(this.el,this.el.nodeName.toLowerCase()),d=this.el.cloneNode(!0);d.classList.add(f),this.el.parentNode.insertBefore(d,this.el),this.el.classList.add(g),this._currentDrag={startOffsetTop:b,startIndex:c,placeholder:d}},k.prototype.drag=function(a){var b=this;window.rAF(function(){if(b._currentDrag&&(!b._isDragging&&Math.abs(a.gesture.deltaY)>b.dragThresholdY&&(b._isDragging=!0),b._isDragging)){var c=b._currentDrag.startOffsetTop+a.gesture.deltaY;b.el.style.top=c+"px",b._currentDrag.currentY=c,b._reorderItems()}})},k.prototype._reorderItems=function(){this._currentDrag.placeholder;var b=Array.prototype.slice.call(this._currentDrag.placeholder.parentNode.children);b.splice(b.indexOf(this.el),1);var c=b.indexOf(this._currentDrag.placeholder),d=b[Math.max(0,c-1)],e=b[Math.min(b.length,c+1)],f=this._currentDrag.currentY;return d&&f<d.offsetTop+d.offsetHeight/2?(a.DomUtil.swapNodes(this._currentDrag.placeholder,d),c-1):e&&f>e.offsetTop+e.offsetHeight/2?(a.DomUtil.swapNodes(e,this._currentDrag.placeholder),c+1):void 0},k.prototype.end=function(b,c){if(!this._currentDrag)return c&&c(),void 0;var d=this._currentDrag.placeholder;this.el.classList.remove(g),this.el.style.top=0;var e=a.DomUtil.getChildIndex(d,d.nodeName.toLowerCase());d.parentNode.insertBefore(this.el,d),d.parentNode.removeChild(d),this.onReorder&&this.onReorder(this.el,this._currentDrag.startIndex,e),this._currentDrag=null,c&&c()},a.views.ListView=a.views.View.inherit({initialize:function(b){var c=this;b=a.extend({onReorder:function(){},virtualRemoveThreshold:-200,virtualAddThreshold:200},b),a.extend(this,b),!this.itemHeight&&this.listEl&&(this.itemHeight=this.listEl.children[0]&&parseInt(this.listEl.children[0].style.height,10)),this.onRefresh=b.onRefresh||function(){},this.onRefreshOpening=b.onRefreshOpening||function(){},this.onRefreshHolding=b.onRefreshHolding||function(){},window.ionic.onGesture("touch",function(a){c._handleTouch(a)},this.el),window.ionic.onGesture("release",function(a){c._handleEndDrag(a)},this.el),window.ionic.onGesture("drag",function(a){c._handleDrag(a)},this.el),this._initDrag()},stopRefreshing:function(){var a=this.el.querySelector(".list-refresher");a.style.height="0px"},didScroll:function(a){if(this.isVirtual){var b=this.itemHeight;this.listEl.children.length;var c=a.target.scrollHeight,d=this.el.parentNode.offsetHeight;a.scrollTop;var e=Math.max(0,a.scrollTop+this.virtualRemoveThreshold),f=Math.min(c,Math.abs(a.scrollTop)+d+this.virtualAddThreshold),g=Math.floor((f-e)/b),h=parseInt(Math.abs(e/b),10),i=parseInt(Math.abs(f/b),10);this._virtualItemsToRemove=Array.prototype.slice.call(this.listEl.children,0,h),Array.prototype.slice.call(this.listEl.children,h,h+g),this.renderViewport&&this.renderViewport(e,f,h,i)}},didStopScrolling:function(){if(this.isVirtual)for(var a=0;a<this._virtualItemsToRemove.length;a++)this._virtualItemsToRemove[a],this.didHideItem&&this.didHideItem(a)},_initDrag:function(){this._dragOp=null},_getItem:function(a){for(;a;){if(a.classList.contains(b))return a;a=a.parentNode}return null},_startDrag:function(b){var c=this;if(this._isDragging=!1,!a.DomUtil.getParentOrSelfWithClass(b.target,h)||"up"!=b.gesture.direction&&"down"!=b.gesture.direction){if(("left"==b.gesture.direction||"right"==b.gesture.direction)&&Math.abs(b.gesture.deltaX)>5)return this._dragOp=new j({el:this.el}),this._dragOp.start(b),b.preventDefault(),void 0}else{var d=this._getItem(b.target);if(d)return this._dragOp=new k({el:d,onReorder:function(a,b,d){c.onReorder&&c.onReorder(a,b,d)}}),this._dragOp.start(b),b.preventDefault(),void 0}},_handleEndDrag:function(a){var b=this;if(this._dragOp){clearTimeout(this._touchTimeout);for(var c=b.el.querySelectorAll(".item"),d=0,e=c.length;e>d;d++)c[d].classList.remove("active");this._dragOp.end(a,function(){b._initDrag()})}},_handleDrag:function(a){(Math.abs(a.gesture.deltaX)>10||Math.abs(a.gesture.deltaY)>10)&&clearTimeout(this._touchTimeout),clearTimeout(this._touchTimeout),this.isDragging||this._dragOp||this._startDrag(a),this._dragOp&&(a.gesture.srcEvent.preventDefault(),this._dragOp.drag(a))},_handleTouch:function(c){var d=this,e=a.DomUtil.getParentOrSelfWithClass(c.target,b);e&&(this._touchTimeout=setTimeout(function(){for(var a=d.el.querySelectorAll(".item"),b=0,c=a.length;c>b;b++)a[b].classList.remove("active");e.classList.add("active")},250))}})}(ionic),function(a){"use strict";a.views.Loading=a.views.View.inherit({initialize:function(a){this.el=a.el,this.maxWidth=a.maxWidth||200,this._loadingBox=this.el.querySelector(".loading")},show:function(){var a=this;if(this._loadingBox){var b=a._loadingBox,c=Math.min(a.maxWidth,Math.max(window.outerWidth-40,b.offsetWidth));b.style.width=c,b.style.marginLeft=-b.offsetWidth/2+"px",b.style.marginTop=-b.offsetHeight/2+"px",a.el.classList.add("active")}},hide:function(){this.el.offsetWidth,this.el.classList.remove("active")}})}(ionic),function(a){"use strict";a.views.Modal=a.views.View.inherit({initialize:function(b){b=a.extend({focusFirstInput:!1,unfocusOnHide:!0},b),a.extend(this,b),this.el=b.el},show:function(){if(this.el.classList.add("active"),this.focusFirstInput){var a=this.el.querySelector("input, textarea");a&&a.focus&&a.focus()}},hide:function(){if(this.el.classList.remove("active"),this.unfocusOnHide)for(var a=this.el.querySelectorAll("input, textarea"),b=0;b<a.length;b++)a[b].blur&&a[b].blur()}})}(ionic),function(a){"use strict";a.views.NavBar=a.views.View.inherit({initialize:function(a){this.el=a.el,this._titleEl=this.el.querySelector(".title"),a.hidden&&this.hide()},hide:function(){this.el.classList.add("hidden")},show:function(){this.el.classList.remove("hidden")},shouldGoBack:function(){},setTitle:function(a){this._titleEl&&(this._titleEl.innerHTML=a)},showBackButton:function(a){var b=this;if(!this._currentBackButton){var c=document.createElement("a");c.className="button back",c.innerHTML="Back",this._currentBackButton=c,this._currentBackButton.onclick=function(){b.shouldGoBack&&b.shouldGoBack()}}a&&!this._currentBackButton.parentNode?this.el.insertBefore(this._currentBackButton,this.el.firstChild):!a&&this._currentBackButton.parentNode&&this._currentBackButton.parentNode.removeChild(this._currentBackButton)}})}(ionic),function(a){"use strict";a.views.Popup=a.views.View.inherit({initialize:function(a){this.el=a.el},setTitle:function(a){var b=el.querySelector(".popup-title");b&&(b.innerHTML=a)},alert:function(a){var b=this;window.rAF(function(){b.setTitle(a),b.el.classList.add("active")})},hide:function(){this.el.offsetWidth,this.el.classList.remove("active")}})}(ionic),function(a){"use strict";a.views.SideMenu=a.views.View.inherit({initialize:function(a){this.el=a.el,this.width=a.width,this.isEnabled=a.isEnabled||!0},getFullWidth:function(){return this.width},setIsEnabled:function(a){this.isEnabled=a},bringUp:function(){this.el.style.zIndex=0},pushDown:function(){this.el.style.zIndex=-1}}),a.views.SideMenuContent=a.views.View.inherit({initialize:function(b){a.extend(this,{animationClass:"menu-animated",onDrag:function(){},onEndDrag:function(){}},b),a.onGesture("drag",a.proxy(this._onDrag,this),this.el),a.onGesture("release",a.proxy(this._onEndDrag,this),this.el)},_onDrag:function(a){this.onDrag&&this.onDrag(a)},_onEndDrag:function(a){this.onEndDrag&&this.onEndDrag(a)},disableAnimation:function(){this.el.classList.remove(this.animationClass)},enableAnimation:function(){this.el.classList.add(this.animationClass)},getTranslateX:function(){return parseFloat(this.el.style.webkitTransform.replace("translate3d(","").split(",")[0])},setTranslateX:function(a){this.el.style.webkitTransform="translate3d("+a+"px, 0, 0)"}})}(ionic),function(a){"use strict";a.views.Slider=a.views.View.inherit({initialize:function(a){function b(){p=t.children,s=p.length,p.length<2&&(a.continuous=!1),n.transitions&&a.continuous&&p.length<3&&(t.appendChild(p[0].cloneNode(!0)),t.appendChild(t.children[1].cloneNode(!0)),p=t.children),q=new Array(p.length),r=o.getBoundingClientRect().width||o.offsetWidth,t.style.width=p.length*r+"px";for(var b=p.length;b--;){var c=p[b];c.style.width=r+"px",c.setAttribute("data-index",b),n.transitions&&(c.style.left=b*-r+"px",g(b,u>b?-r:b>u?r:0,0))}a.continuous&&n.transitions&&(g(e(u-1),-r,0),g(e(u+1),r,0)),n.transitions||(t.style.left=u*-r+"px"),o.style.visibility="visible",a.slidesChanged&&a.slidesChanged()}function c(){a.continuous?f(u-1):u&&f(u-1)}function d(){a.continuous?f(u+1):u<p.length-1&&f(u+1)}function e(a){return(p.length+a%p.length)%p.length}function f(b,c){if(u!=b){if(n.transitions){var d=Math.abs(u-b)/(u-b);if(a.continuous){var f=d;d=-q[e(b)]/r,d!==f&&(b=-d*p.length+b)}for(var h=Math.abs(u-b)-1;h--;)g(e((b>u?b:u)-h-1),r*d,0);b=e(b),g(u,r*d,c||v),g(b,0,c||v),a.continuous&&g(e(b-d),-(r*d),0)}else b=e(b),i(u*-r,b*-r,c||v);u=b,m(a.callback&&a.callback(u,p[u]))}}function g(a,b,c){h(a,b,c),q[a]=b}function h(a,b,c){var d=p[a],e=d&&d.style;e&&(e.webkitTransitionDuration=e.MozTransitionDuration=e.msTransitionDuration=e.OTransitionDuration=e.transitionDuration=c+"ms",e.webkitTransform="translate("+b+"px,0)"+"translateZ(0)",e.msTransform=e.MozTransform=e.OTransform="translateX("+b+"px)")}function i(b,c,d){if(!d)return t.style.left=c+"px",void 0;var e=+new Date,f=setInterval(function(){var g=+new Date-e;return g>d?(t.style.left=c+"px",y&&j(),a.transitionEnd&&a.transitionEnd.call(event,u,p[u]),clearInterval(f),void 0):(t.style.left=(c-b)*(Math.floor(100*(g/d))/100)+b+"px",void 0)},4)}function j(){w=setTimeout(d,y)}function k(){y=0,clearTimeout(w)}var l=function(){},m=function(a){setTimeout(a||l,0)},n={addEventListener:!!window.addEventListener,touch:"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,transitions:function(a){var b=["transitionProperty","WebkitTransition","MozTransition","OTransition","msTransition"];for(var c in b)if(void 0!==a.style[b[c]])return!0;return!1}(document.createElement("swipe"))},o=a.el;if(o){var p,q,r,s,t=o.children[0];a=a||{};var u=parseInt(a.startSlide,10)||0,v=a.speed||300;a.continuous=void 0!==a.continuous?a.continuous:!0;var w,x,y=a.auto||0,z={},A={},B={handleEvent:function(c){switch(("mousedown"==c.type||"mouseup"==c.type||"mousemove"==c.type)&&(c.touches=[{pageX:c.pageX,pageY:c.pageY}]),c.type){case"mousedown":this.start(c);break;case"touchstart":this.start(c);break;case"touchmove":this.move(c);break;case"mousemove":this.move(c);break;case"touchend":m(this.end(c));break;case"mouseup":m(this.end(c));break;case"webkitTransitionEnd":case"msTransitionEnd":case"oTransitionEnd":case"otransitionend":case"transitionend":m(this.transitionEnd(c));break;case"resize":m(b)}a.stopPropagation&&c.stopPropagation()},start:function(a){var b=a.touches[0];z={x:b.pageX,y:b.pageY,time:+new Date},x=void 0,A={},n.touch?(t.addEventListener("touchmove",this,!1),t.addEventListener("touchend",this,!1)):(t.addEventListener("mousemove",this,!1),t.addEventListener("mouseup",this,!1))},move:function(b){if(!(b.touches.length>1||b.scale&&1!==b.scale)){a.disableScroll&&b.preventDefault();var c=b.touches[0];A={x:c.pageX-z.x,y:c.pageY-z.y},"undefined"==typeof x&&(x=!!(x||Math.abs(A.x)<Math.abs(A.y))),x||(b.preventDefault(),k(),a.continuous?(h(e(u-1),A.x+q[e(u-1)],0),h(u,A.x+q[u],0),h(e(u+1),A.x+q[e(u+1)],0)):(A.x=A.x/(!u&&A.x>0||u==p.length-1&&A.x<0?Math.abs(A.x)/r+1:1),h(u-1,A.x+q[u-1],0),h(u,A.x+q[u],0),h(u+1,A.x+q[u+1],0)))}},end:function(){var b=+new Date-z.time,c=Number(b)<250&&Math.abs(A.x)>20||Math.abs(A.x)>r/2,d=!u&&A.x>0||u==p.length-1&&A.x<0;a.continuous&&(d=!1);var f=A.x<0;x||(c&&!d?(f?(a.continuous?(g(e(u-1),-r,0),g(e(u+2),r,0)):g(u-1,-r,0),g(u,q[u]-r,v),g(e(u+1),q[e(u+1)]-r,v),u=e(u+1)):(a.continuous?(g(e(u+1),r,0),g(e(u-2),-r,0)):g(u+1,r,0),g(u,q[u]+r,v),g(e(u-1),q[e(u-1)]+r,v),u=e(u-1)),a.callback&&a.callback(u,p[u])):a.continuous?(g(e(u-1),-r,v),g(u,0,v),g(e(u+1),r,v)):(g(u-1,-r,v),g(u,0,v),g(u+1,r,v))),n.touch?(t.removeEventListener("touchmove",B,!1),t.removeEventListener("touchend",B,!1)):(t.removeEventListener("mousemove",B,!1),t.removeEventListener("mouseup",B,!1))},transitionEnd:function(b){parseInt(b.target.getAttribute("data-index"),10)==u&&(y&&j(),a.transitionEnd&&a.transitionEnd.call(b,u,p[u]))}};this.setup=function(){b()},this.slide=function(a,b){k(),f(a,b)},this.prev=function(){k(),c()},this.next=function(){k(),d()},this.stop=function(){k()},this.getPos=function(){return u},this.getNumSlides=function(){return s},this.kill=function(){k(),t.style.width="",t.style.left="";for(var a=p.length;a--;){var b=p[a];b.style.width="",b.style.left="",n.transitions&&h(a,0,0)}n.addEventListener?(t.removeEventListener("touchstart",B,!1),t.removeEventListener("webkitTransitionEnd",B,!1),t.removeEventListener("msTransitionEnd",B,!1),t.removeEventListener("oTransitionEnd",B,!1),t.removeEventListener("otransitionend",B,!1),t.removeEventListener("transitionend",B,!1),window.removeEventListener("resize",B,!1)):window.onresize=null},this.load=function(){b(),y&&j(),n.addEventListener?(n.touch?t.addEventListener("touchstart",B,!1):t.addEventListener("mousedown",B,!1),n.transitions&&(t.addEventListener("webkitTransitionEnd",B,!1),t.addEventListener("msTransitionEnd",B,!1),t.addEventListener("oTransitionEnd",B,!1),t.addEventListener("otransitionend",B,!1),t.addEventListener("transitionend",B,!1)),window.addEventListener("resize",B,!1)):window.onresize=function(){b()}}}}})}(ionic),function(a){"use strict";a.views.TabBarItem=a.views.View.inherit({initialize:function(a){this.el=a,this._buildItem()},create:function(b){var c=document.createElement("a");if(c.className="tab-item",b.icon){var d=document.createElement("i");d.className=b.icon,c.appendChild(d)}return c.appendChild(document.createTextNode(b.title)),new a.views.TabBarItem(c)},_buildItem:function(){for(var b,c=this,d=Array.prototype.slice.call(this.el.children),e=0,f=d.length;f>e;e++)if(b=d[e],"i"==b.tagName.toLowerCase()&&/icon/.test(b.className)){this.icon=b.className;break}this.title=this.el.textContent.trim(),this._tapHandler=function(a){c.onTap&&c.onTap(a)},a.on("tap",this._tapHandler,this.el)},onTap:function(){},destroy:function(){a.off("tap",this._tapHandler,this.el)},getIcon:function(){return this.icon},getTitle:function(){return this.title},setSelected:function(a){this.isSelected=a,a?this.el.classList.add("active"):this.el.classList.remove("active")}}),a.views.TabBar=a.views.View.inherit({initialize:function(a){this.el=a.el,this.items=[],this._buildItems()},getItems:function(){return this.items},addItem:function(b){var c=a.views.TabBarItem.prototype.create(b);this.appendItemElement(c),this.items.push(c),this._bindEventsOnItem(c)},appendItemElement:function(a){this.el&&this.el.appendChild(a.el)},removeItem:function(a){var b=this.items[a];b&&(b.onTap=void 0,b.destroy())},_bindEventsOnItem:function(a){var b=this;this._itemTapHandler||(this._itemTapHandler=function(){b.trySelectItem(this)}),a.onTap=this._itemTapHandler},getSelectedItem:function(){return this.selectedItem},setSelectedItem:function(a){this.selectedItem=this.items[a];for(var b=0,c=this.items.length;c>b;b+=1)this.items[b].setSelected(!1);this.selectedItem&&this.selectedItem.setSelected(!0)},selectItem:function(a){for(var b=0,c=this.items.length;c>b;b+=1)if(this.items[b]==a)return this.setSelectedItem(b),void 0},trySelectItem:function(a){for(var b=0,c=this.items.length;c>b;b+=1)if(this.items[b]==a)return this.tryTabSelect&&this.tryTabSelect(b),void 0},_buildItems:function(){for(var b,c=Array.prototype.slice.call(this.el.children),d=0,e=c.length;e>d;d+=1)b=new a.views.TabBarItem(c[d]),this.items[d]=b,this._bindEventsOnItem(b);this.items.length>0&&(this.selectedItem=this.items[0])},destroy:function(){for(var a=0,b=this.items.length;b>a;a+=1)this.items[a].destroy();this.items.length=0}})}(window.ionic),function(a){"use strict";a.views.Toggle=a.views.View.inherit({initialize:function(a){this.el=a.el,this.checkbox=a.checkbox,this.handle=a.handle,this.openPercent=-1},tap:function(){this.val(!this.checkbox.checked)},drag:function(a){var b=this.checkbox.offsetLeft+this.handle.offsetWidth/2,c=this.checkbox.offsetLeft+this.checkbox.offsetWidth-this.handle.offsetWidth/2;a.pageX>=c-4?this.val(!0):a.pageX<=b?this.val(!1):this.setOpenPercent(Math.round(100*(1-(c-a.pageX)/(c-b))))},setOpenPercent:function(a){if(this.openPercent<0||a<this.openPercent-3||a>this.openPercent+3)if(this.openPercent=a,0===a)this.val(!1);else if(100===a)this.val(!0);else{var b=Math.round(a/100*this.checkbox.offsetWidth-this.handle.offsetWidth);b=1>b?0:b,this.handle.style.webkitTransform="translate3d("+b+"px,0,0)"}},release:function(){this.val(this.openPercent>=50)},val:function(a){return(a===!0||a===!1)&&(""!==this.handle.style.webkitTransform&&(this.handle.style.webkitTransform=""),this.checkbox.checked=a,this.openPercent=a?100:0),this.checkbox.checked}})}(ionic),function(a){"use strict";a.controllers.ViewController=function(){this.initialize.apply(this,arguments)},a.controllers.ViewController.inherit=a.inherit,a.extend(a.controllers.ViewController.prototype,{initialize:function(){},destroy:function(){}})}(window.ionic),function(a){"use strict";a.controllers.NavController=a.controllers.ViewController.inherit({initialize:function(a){var b=this;this.navBar=a.navBar,this.content=a.content,this.controllers=a.controllers||[],this._updateNavBar(),this.navBar.shouldGoBack=function(){b.pop()}},getControllers:function(){return this.controllers},getTopController:function(){return this.controllers[this.controllers.length-1]},push:function(a){var b=this.controllers[this.controllers.length-1];this.controllers.push(a);var c=this.switchingController&&this.switchingController(a)||!0;if(c!==!1){b&&(b.isVisible=!1,b.visibilityChanged&&b.visibilityChanged("push"));var d=this.controllers[this.controllers.length-1];return d.isVisible=!0,d.visibilityChanged&&d.visibilityChanged(b?"push":"first"),this._updateNavBar(),a}},pop:function(){var a,b;if(!(this.controllers.length<2))return b=this.controllers.pop(),b&&(b.isVisible=!1,b.visibilityChanged&&b.visibilityChanged("pop")),a=this.controllers[this.controllers.length-1],a.isVisible=!0,a.visibilityChanged&&a.visibilityChanged("pop"),this._updateNavBar(),b},showNavBar:function(){this.navBar&&this.navBar.show()},hideNavBar:function(){this.navBar&&this.navBar.hide()},_updateNavBar:function(){this.getTopController()&&this.navBar&&(this.navBar.setTitle(this.getTopController().title),this.controllers.length>1?this.navBar.showBackButton(!0):this.navBar.showBackButton(!1))}})}(window.ionic),function(a){"use strict";a.controllers.SideMenuController=a.controllers.ViewController.inherit({initialize:function(a){var b=this;this.left=a.left,this.right=a.right,this.content=a.content,this.dragThresholdX=a.dragThresholdX||10,this._rightShowing=!1,this._leftShowing=!1,this._isDragging=!1,this.content&&(this.content.onDrag=function(a){b._handleDrag(a)},this.content.onEndDrag=function(a){b._endDrag(a)})},setContent:function(a){var b=this;this.content=a,this.content.onDrag=function(a){b._handleDrag(a)},this.content.endDrag=function(a){b._endDrag(a)}},toggleLeft:function(){this.content.enableAnimation();var a=this.getOpenAmount();a>0?this.openPercentage(0):this.openPercentage(100)},toggleRight:function(){this.content.enableAnimation();var a=this.getOpenAmount();0>a?this.openPercentage(0):this.openPercentage(-100)},close:function(){this.openPercentage(0)},getOpenAmount:function(){return this.content.getTranslateX()||0},getOpenRatio:function(){var a=this.getOpenAmount();return a>=0?a/this.left.width:a/this.right.width},isOpen:function(){return 1==this.getOpenRatio()},getOpenPercentage:function(){return 100*this.getOpenRatio()},openPercentage:function(a){var b=a/100;this.left&&a>=0?this.openAmount(this.left.width*b):this.right&&0>a&&(this.right.width,this.openAmount(this.right.width*b))},openAmount:function(a){var b=this.left&&this.left.width||0,c=this.right&&this.right.width||0;(!this.left||!this.left.isEnabled)&&a>0||(!this.right||!this.right.isEnabled)&&0>a||this._leftShowing&&a>b||this._rightShowing&&-c>a||(this.content.setTranslateX(a),a>=0?(this._leftShowing=!0,this._rightShowing=!1,this.right&&this.right.pushDown&&this.right.pushDown(),this.left&&this.left.bringUp&&this.left.bringUp()):(this._rightShowing=!0,this._leftShowing=!1,this.right&&this.right.bringUp&&this.right.bringUp(),this.left&&this.left.pushDown&&this.left.pushDown()))},snapToRest:function(a){this.content.enableAnimation(),this._isDragging=!1;var b=this.getOpenRatio();if(0!==b){var c=.3,d=a.gesture.velocityX,e=a.gesture.direction;b>0&&.5>b&&"right"==e&&c>d?this.openPercentage(0):b>.5&&"left"==e&&c>d?this.openPercentage(100):0>b&&b>-.5&&"left"==e&&c>d?this.openPercentage(0):.5>b&&"right"==e&&c>d?this.openPercentage(-100):"right"==e&&b>=0&&(b>=.5||d>c)?this.openPercentage(100):"left"==e&&0>=b&&(-.5>=b||d>c)?this.openPercentage(-100):this.openPercentage(0)
16
- }},_endDrag:function(a){this._isDragging&&this.snapToRest(a),this._startX=null,this._lastX=null,this._offsetX=null},_handleDrag:function(a){this._startX?this._lastX=a.gesture.touches[0].pageX:(this._startX=a.gesture.touches[0].pageX,this._lastX=this._startX),!this._isDragging&&Math.abs(this._lastX-this._startX)>this.dragThresholdX&&(this._startX=this._lastX,this._isDragging=!0,this.content.disableAnimation(),this._offsetX=this.getOpenAmount()),this._isDragging&&this.openAmount(this._offsetX+(this._lastX-this._startX))}})}(ionic),function(a){"use strict";a.controllers.TabBarController=a.controllers.ViewController.inherit({initialize:function(a){this.tabBar=a.tabBar,this._bindEvents(),this.controllers=[];for(var b=a.controllers||[],c=0;c<b.length;c++)this.addController(b[c]);this.controllerWillChange=a.controllerWillChange||function(){},this.controllerChanged=a.controllerChanged||function(){},this.setSelectedController(0)},_bindEvents:function(){var a=this;this.tabBar.tryTabSelect=function(b){a.setSelectedController(b)}},selectController:function(a){var b=!0;this.controllerWillChange&&this.controllerWillChange(this.controllers[a],a)===!1&&(b=!1),b&&this.setSelectedController(a)},setSelectedController:function(a){if(!(a>=this.controllers.length)){var b=this.selectedController,c=this.selectedIndex;this.selectedController=this.controllers[a],this.selectedIndex=a,this._showController(a),this.tabBar.setSelectedItem(a),this.controllerChanged&&this.controllerChanged(b,c,this.selectedController,this.selectedIndex)}},_showController:function(a){for(var b,c=0,d=this.controllers.length;d>c;c++)b=this.controllers[c],b.isVisible=!1,b.visibilityChanged&&b.visibilityChanged();b=this.controllers[a],b.isVisible=!0,b.visibilityChanged&&b.visibilityChanged()},_clearSelected:function(){this.selectedController=null,this.selectedIndex=-1},getController:function(a){return this.controllers[a]},getControllers:function(){return this.controllers},getSelectedController:function(){return this.selectedController},getSelectedControllerIndex:function(){return this.selectedIndex},addController:function(a){this.controllers.push(a),this.tabBar.addItem({title:a.title,icon:a.icon}),this.selectedController||this.setSelectedController(0)},setControllers:function(a){this.controllers=a,this._clearSelected(),this.selectController(0)}})}(window.ionic);
14
+ window.ionic={controllers:{},views:{},version:"0.9.26"},function(a){function b(a){return a*a*a}function c(a){return 3*a*a*(1-a)}function d(a){return 3*a*(1-a)*(1-a)}function e(a){return(1-a)*(1-a)*(1-a)}var f=function(a,b){return a||(a=0),b||(b=0),{x:a,y:b}};a.Animator={getQuadraticBezier:function(a,g,h,i,j){var k=new f;return k.x=g.x*b(a)+h.x*c(a)+i.x*d(a)+j.x*e(a),k.y=g.y*b(a)+h.y*c(a)+i.y*d(a)+j.y*e(a),k},getCubicBezier:function(a,b,c,d,e){epsilon=1e3/60/e/4;var f=function(b){var d=1-b;return 3*d*d*b*a+3*d*b*b*c+b*b*b},g=function(a){var c=1-a;return 3*c*c*a*b+3*c*a*a*d+a*a*a},h=function(b){var d=1-b;return 3*(2*(b-1)*b+d*d)*a+3*(-b*b*b+2*d*b)*c};return function(a){var b,c,d,e,i,j,k=a;for(d=k,j=0;8>j;j++){if(e=f(d)-k,Math.abs(e)<epsilon)return g(d);if(i=h(d),Math.abs(i)<1e-6)break;d-=e/i}if(b=0,c=1,d=k,b>d)return g(b);if(d>c)return g(c);for(;c>b;){if(e=f(d),Math.abs(e-k)<epsilon)return g(d);k>e?b=d:c=d,d=.5*(c-b)+b}return g(d)}},animate:function(a){return{leave:function(){var b=function(){a.classList.remove("leave"),a.classList.remove("leave-active"),a.removeEventListener("webkitTransitionEnd",b),a.removeEventListener("transitionEnd",b)};return a.addEventListener("webkitTransitionEnd",b),a.addEventListener("transitionEnd",b),a.classList.add("leave"),a.classList.add("leave-active"),this},enter:function(){var b=function(){a.classList.remove("enter"),a.classList.remove("enter-active"),a.removeEventListener("webkitTransitionEnd",b),a.removeEventListener("transitionEnd",b)};return a.addEventListener("webkitTransitionEnd",b),a.addEventListener("transitionEnd",b),a.classList.add("enter"),a.classList.add("enter-active"),this}}}}}(ionic),function(a){var b=[],c=function(){for(var d=0;d<b.length;d++)a.requestAnimationFrame(b[d]);b=[],document.removeEventListener("DOMContentLoaded",c)};document.addEventListener("DOMContentLoaded",c),window._rAF=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(a){window.setTimeout(a,16)}}(),a.DomUtil={requestAnimationFrame:function(a){window._rAF(a)},animationFrameThrottle:function(b){var c,d,e;return function(){c=arguments,e=this,d||(d=!0,a.requestAnimationFrame(function(){b.apply(e,c),d=!1}))}},getPositionInParent:function(a){return{left:a.offsetLeft,top:a.offsetTop}},ready:function(c){"complete"===document.readyState?a.requestAnimationFrame(c):b.push(c)},getTextBounds:function(a){if(document.createRange){var b=document.createRange();if(b.selectNodeContents(a),b.getBoundingClientRect){var c=b.getBoundingClientRect();if(c){var d=window.scrollX,e=window.scrollY;return{top:c.top+e,left:c.left+d,right:c.left+d+c.width,bottom:c.top+e+c.height,width:c.width,height:c.height}}}}return null},getChildIndex:function(a,b){if(b)for(var c,d=a.parentNode.children,e=0,f=0,g=d.length;g>e;e++)if(c=d[e],c.nodeName&&c.nodeName.toLowerCase()==b){if(c==a)return f;f++}return Array.prototype.slice.call(a.parentNode.children).indexOf(a)},swapNodes:function(a,b){b.parentNode.insertBefore(a,b)},getParentWithClass:function(a,b){for(;a.parentNode;){if(a.parentNode.classList&&a.parentNode.classList.contains(b))return a.parentNode;a=a.parentNode}return null},getParentOrSelfWithClass:function(a,b){for(;a;){if(a.classList&&a.classList.contains(b))return a;a=a.parentNode}return null},rectContains:function(a,b,c,d,e,f){return c>a||a>e?!1:d>b||b>f?!1:!0}},a.requestAnimationFrame=a.DomUtil.requestAnimationFrame,a.animationFrameThrottle=a.DomUtil.animationFrameThrottle}(window.ionic),function(a){window.CustomEvent||!function(){var a;a=function(a,b){var c;b=b||{bubbles:!1,cancelable:!1,detail:void 0};try{c=document.createEvent("CustomEvent"),c.initCustomEvent(a,b.bubbles,b.cancelable,b.detail)}catch(d){c=document.createEvent("Event");for(var e in b)c[e]=b[e];c.initEvent(a,b.bubbles,b.cancelable)}return c},a.prototype=window.Event.prototype,window.CustomEvent=a}(),a.EventController={VIRTUALIZED_EVENTS:["tap","swipe","swiperight","swipeleft","drag","hold","release"],trigger:function(a,b,c,d){var e=new CustomEvent(a,{detail:b,bubbles:!!c,cancelable:!!d});b&&b.target&&b.target.dispatchEvent(e)||window.dispatchEvent(e)},on:function(b,c,d){for(var e=d||window,f=0,g=this.VIRTUALIZED_EVENTS.length;g>f;f++)if(b==this.VIRTUALIZED_EVENTS[f]){var h=new a.Gesture(d);return h.on(b,c),h}e.addEventListener(b,c)},off:function(a,b,c){c.removeEventListener(a,b)},onGesture:function(b,c,d){var e=new a.Gesture(d);return e.on(b,c),e},offGesture:function(a,b,c){a.off(b,c)},handlePopState:function(){}},a.on=function(){a.EventController.on.apply(a.EventController,arguments)},a.off=function(){a.EventController.off.apply(a.EventController,arguments)},a.trigger=a.EventController.trigger,a.onGesture=function(){return a.EventController.onGesture.apply(a.EventController.onGesture,arguments)},a.offGesture=function(){return a.EventController.offGesture.apply(a.EventController.offGesture,arguments)}}(window.ionic),function(a){function b(){if(!a.Gestures.READY){a.Gestures.event.determineEventTypes();for(var b in a.Gestures.gestures)a.Gestures.gestures.hasOwnProperty(b)&&a.Gestures.detection.register(a.Gestures.gestures[b]);a.Gestures.event.onTouch(a.Gestures.DOCUMENT,a.Gestures.EVENT_MOVE,a.Gestures.detection.detect),a.Gestures.event.onTouch(a.Gestures.DOCUMENT,a.Gestures.EVENT_END,a.Gestures.detection.detect),a.Gestures.READY=!0}}a.Gesture=function(b,c){return new a.Gestures.Instance(b,c||{})},a.Gestures={},a.Gestures.defaults={stop_browser_behavior:"disable-user-behavior"},a.Gestures.HAS_POINTEREVENTS=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,a.Gestures.HAS_TOUCHEVENTS="ontouchstart"in window,a.Gestures.MOBILE_REGEX=/mobile|tablet|ip(ad|hone|od)|android|silk/i,a.Gestures.NO_MOUSEEVENTS=a.Gestures.HAS_TOUCHEVENTS&&window.navigator.userAgent.match(a.Gestures.MOBILE_REGEX),a.Gestures.EVENT_TYPES={},a.Gestures.DIRECTION_DOWN="down",a.Gestures.DIRECTION_LEFT="left",a.Gestures.DIRECTION_UP="up",a.Gestures.DIRECTION_RIGHT="right",a.Gestures.POINTER_MOUSE="mouse",a.Gestures.POINTER_TOUCH="touch",a.Gestures.POINTER_PEN="pen",a.Gestures.EVENT_START="start",a.Gestures.EVENT_MOVE="move",a.Gestures.EVENT_END="end",a.Gestures.DOCUMENT=window.document,a.Gestures.plugins={},a.Gestures.READY=!1,a.Gestures.Instance=function(c,d){var e=this;return null===c?void console.error("Null element passed to gesture (element does not exist). Not listening for gesture"):(b(),this.element=c,this.enabled=!0,this.options=a.Gestures.utils.extend(a.Gestures.utils.extend({},a.Gestures.defaults),d||{}),this.options.stop_browser_behavior&&a.Gestures.utils.stopDefaultBrowserBehavior(this.element,this.options.stop_browser_behavior),a.Gestures.event.onTouch(c,a.Gestures.EVENT_START,function(b){e.enabled&&a.Gestures.detection.startDetect(e,b)}),this)},a.Gestures.Instance.prototype={on:function(a,b){for(var c=a.split(" "),d=0;d<c.length;d++)this.element.addEventListener(c[d],b,!1);return this},off:function(a,b){for(var c=a.split(" "),d=0;d<c.length;d++)this.element.removeEventListener(c[d],b,!1);return this},trigger:function(b,c){var d=a.Gestures.DOCUMENT.createEvent("Event");d.initEvent(b,!0,!0),d.gesture=c;var e=this.element;return a.Gestures.utils.hasParent(c.target,e)&&(e=c.target),e.dispatchEvent(d),this},enable:function(a){return this.enabled=a,this}};var c=null,d=!1,e=!1;a.Gestures.event={bindDom:function(a,b,c){for(var d=b.split(" "),e=0;e<d.length;e++)a.addEventListener(d[e],c,!1)},onTouch:function(b,f,g){var h=this;this.bindDom(b,a.Gestures.EVENT_TYPES[f],function(i){var j=i.type.toLowerCase();if(!j.match(/mouse/)||!e){j.match(/touch/)||j.match(/pointerdown/)||j.match(/mouse/)&&1===i.which?d=!0:j.match(/mouse/)&&1!==i.which&&(d=!1),j.match(/touch|pointer/)&&(e=!0);var k=0;d&&(a.Gestures.HAS_POINTEREVENTS&&f!=a.Gestures.EVENT_END?k=a.Gestures.PointerEvent.updatePointer(f,i):j.match(/touch/)?k=i.touches.length:e||(k=j.match(/up/)?0:1),k>0&&f==a.Gestures.EVENT_END?f=a.Gestures.EVENT_MOVE:k||(f=a.Gestures.EVENT_END),(k||null===c)&&(c=i),g.call(a.Gestures.detection,h.collectEventData(b,f,h.getTouchList(c,f),i)),a.Gestures.HAS_POINTEREVENTS&&f==a.Gestures.EVENT_END&&(k=a.Gestures.PointerEvent.updatePointer(f,i))),k||(c=null,d=!1,e=!1,a.Gestures.PointerEvent.reset())}})},determineEventTypes:function(){var b;b=a.Gestures.HAS_POINTEREVENTS?a.Gestures.PointerEvent.getEvents():a.Gestures.NO_MOUSEEVENTS?["touchstart","touchmove","touchend touchcancel"]:["touchstart mousedown","touchmove mousemove","touchend touchcancel mouseup"],a.Gestures.EVENT_TYPES[a.Gestures.EVENT_START]=b[0],a.Gestures.EVENT_TYPES[a.Gestures.EVENT_MOVE]=b[1],a.Gestures.EVENT_TYPES[a.Gestures.EVENT_END]=b[2]},getTouchList:function(b){return a.Gestures.HAS_POINTEREVENTS?a.Gestures.PointerEvent.getTouchList():b.touches?b.touches:(b.indentifier=1,[b])},collectEventData:function(b,c,d,e){var f=a.Gestures.POINTER_TOUCH;return(e.type.match(/mouse/)||a.Gestures.PointerEvent.matchType(a.Gestures.POINTER_MOUSE,e))&&(f=a.Gestures.POINTER_MOUSE),{center:a.Gestures.utils.getCenter(d),timeStamp:(new Date).getTime(),target:e.target,touches:d,eventType:c,pointerType:f,srcEvent:e,preventDefault:function(){this.srcEvent.preventManipulation&&this.srcEvent.preventManipulation(),this.srcEvent.preventDefault},stopPropagation:function(){this.srcEvent.stopPropagation()},stopDetect:function(){return a.Gestures.detection.stopDetect()}}}},a.Gestures.PointerEvent={pointers:{},getTouchList:function(){var a=this,b=[];return Object.keys(a.pointers).sort().forEach(function(c){b.push(a.pointers[c])}),b},updatePointer:function(b,c){return b==a.Gestures.EVENT_END?this.pointers={}:(c.identifier=c.pointerId,this.pointers[c.pointerId]=c),Object.keys(this.pointers).length},matchType:function(b,c){if(!c.pointerType)return!1;var d={};return d[a.Gestures.POINTER_MOUSE]=c.pointerType==c.MSPOINTER_TYPE_MOUSE||c.pointerType==a.Gestures.POINTER_MOUSE,d[a.Gestures.POINTER_TOUCH]=c.pointerType==c.MSPOINTER_TYPE_TOUCH||c.pointerType==a.Gestures.POINTER_TOUCH,d[a.Gestures.POINTER_PEN]=c.pointerType==c.MSPOINTER_TYPE_PEN||c.pointerType==a.Gestures.POINTER_PEN,d[b]},getEvents:function(){return["pointerdown MSPointerDown","pointermove MSPointerMove","pointerup pointercancel MSPointerUp MSPointerCancel"]},reset:function(){this.pointers={}}},a.Gestures.utils={extend:function(a,b,c){for(var d in b)void 0!==a[d]&&c||(a[d]=b[d]);return a},hasParent:function(a,b){for(;a;){if(a==b)return!0;a=a.parentNode}return!1},getCenter:function(a){for(var b=[],c=[],d=0,e=a.length;e>d;d++)b.push(a[d].pageX),c.push(a[d].pageY);return{pageX:(Math.min.apply(Math,b)+Math.max.apply(Math,b))/2,pageY:(Math.min.apply(Math,c)+Math.max.apply(Math,c))/2}},getVelocity:function(a,b,c){return{x:Math.abs(b/a)||0,y:Math.abs(c/a)||0}},getAngle:function(a,b){var c=b.pageY-a.pageY,d=b.pageX-a.pageX;return 180*Math.atan2(c,d)/Math.PI},getDirection:function(b,c){var d=Math.abs(b.pageX-c.pageX),e=Math.abs(b.pageY-c.pageY);return d>=e?b.pageX-c.pageX>0?a.Gestures.DIRECTION_LEFT:a.Gestures.DIRECTION_RIGHT:b.pageY-c.pageY>0?a.Gestures.DIRECTION_UP:a.Gestures.DIRECTION_DOWN},getDistance:function(a,b){var c=b.pageX-a.pageX,d=b.pageY-a.pageY;return Math.sqrt(c*c+d*d)},getScale:function(a,b){return a.length>=2&&b.length>=2?this.getDistance(b[0],b[1])/this.getDistance(a[0],a[1]):1},getRotation:function(a,b){return a.length>=2&&b.length>=2?this.getAngle(b[1],b[0])-this.getAngle(a[1],a[0]):0},isVertical:function(b){return b==a.Gestures.DIRECTION_UP||b==a.Gestures.DIRECTION_DOWN},stopDefaultBrowserBehavior:function(a,b){a&&a.classList&&(a.classList.add(b),a.onselectstart=function(){return!1})}},a.Gestures.detection={gestures:[],current:null,previous:null,stopped:!1,startDetect:function(b,c){this.current||(this.stopped=!1,this.current={inst:b,startEvent:a.Gestures.utils.extend({},c),lastEvent:!1,name:""},this.detect(c))},detect:function(b){if(this.current&&!this.stopped){b=this.extendEventData(b);for(var c=this.current.inst.options,d=0,e=this.gestures.length;e>d;d++){var f=this.gestures[d];if(!this.stopped&&c[f.name]!==!1&&f.handler.call(f,b,this.current.inst)===!1){this.stopDetect();break}}return this.current&&(this.current.lastEvent=b),b.eventType==a.Gestures.EVENT_END&&!b.touches.length-1&&this.stopDetect(),b}},stopDetect:function(){this.previous=a.Gestures.utils.extend({},this.current),this.current=null,this.stopped=!0},extendEventData:function(b){var c=this.current.startEvent;if(c&&(b.touches.length!=c.touches.length||b.touches===c.touches)){c.touches=[];for(var d=0,e=b.touches.length;e>d;d++)c.touches.push(a.Gestures.utils.extend({},b.touches[d]))}var f=b.timeStamp-c.timeStamp,g=b.center.pageX-c.center.pageX,h=b.center.pageY-c.center.pageY,i=a.Gestures.utils.getVelocity(f,g,h);return a.Gestures.utils.extend(b,{deltaTime:f,deltaX:g,deltaY:h,velocityX:i.x,velocityY:i.y,distance:a.Gestures.utils.getDistance(c.center,b.center),angle:a.Gestures.utils.getAngle(c.center,b.center),direction:a.Gestures.utils.getDirection(c.center,b.center),scale:a.Gestures.utils.getScale(c.touches,b.touches),rotation:a.Gestures.utils.getRotation(c.touches,b.touches),startEvent:c}),b},register:function(b){var c=b.defaults||{};return void 0===c[b.name]&&(c[b.name]=!0),a.Gestures.utils.extend(a.Gestures.defaults,c,!0),b.index=b.index||1e3,this.gestures.push(b),this.gestures.sort(function(a,b){return a.index<b.index?-1:a.index>b.index?1:0}),this.gestures}},a.Gestures.gestures=a.Gestures.gestures||{},a.Gestures.gestures.Hold={name:"hold",index:10,defaults:{hold_timeout:500,hold_threshold:1},timer:null,handler:function(b,c){switch(b.eventType){case a.Gestures.EVENT_START:clearTimeout(this.timer),a.Gestures.detection.current.name=this.name,this.timer=setTimeout(function(){"hold"==a.Gestures.detection.current.name&&c.trigger("hold",b)},c.options.hold_timeout);break;case a.Gestures.EVENT_MOVE:b.distance>c.options.hold_threshold&&clearTimeout(this.timer);break;case a.Gestures.EVENT_END:clearTimeout(this.timer)}}},a.Gestures.gestures.Tap={name:"tap",index:100,defaults:{tap_max_touchtime:250,tap_max_distance:10,tap_always:!0,doubletap_distance:20,doubletap_interval:300},handler:function(b,c){if(b.eventType==a.Gestures.EVENT_END){var d=a.Gestures.detection.previous,e=!1;if(b.deltaTime>c.options.tap_max_touchtime||b.distance>c.options.tap_max_distance)return;d&&"tap"==d.name&&b.timeStamp-d.lastEvent.timeStamp<c.options.doubletap_interval&&b.distance<c.options.doubletap_distance&&(c.trigger("doubletap",b),e=!0),(!e||c.options.tap_always)&&(a.Gestures.detection.current.name="tap",c.trigger(a.Gestures.detection.current.name,b))}}},a.Gestures.gestures.Swipe={name:"swipe",index:40,defaults:{swipe_max_touches:1,swipe_velocity:.7},handler:function(b,c){if(b.eventType==a.Gestures.EVENT_END){if(c.options.swipe_max_touches>0&&b.touches.length>c.options.swipe_max_touches)return;(b.velocityX>c.options.swipe_velocity||b.velocityY>c.options.swipe_velocity)&&(c.trigger(this.name,b),c.trigger(this.name+b.direction,b))}}},a.Gestures.gestures.Drag={name:"drag",index:50,defaults:{drag_min_distance:10,correct_for_drag_min_distance:!0,drag_max_touches:1,drag_block_horizontal:!0,drag_block_vertical:!0,drag_lock_to_axis:!1,drag_lock_min_distance:25},triggered:!1,handler:function(b,c){if(a.Gestures.detection.current.name!=this.name&&this.triggered)return c.trigger(this.name+"end",b),void(this.triggered=!1);if(!(c.options.drag_max_touches>0&&b.touches.length>c.options.drag_max_touches))switch(b.eventType){case a.Gestures.EVENT_START:this.triggered=!1;break;case a.Gestures.EVENT_MOVE:if(b.distance<c.options.drag_min_distance&&a.Gestures.detection.current.name!=this.name)return;if(a.Gestures.detection.current.name!=this.name&&(a.Gestures.detection.current.name=this.name,c.options.correct_for_drag_min_distance)){var d=Math.abs(c.options.drag_min_distance/b.distance);a.Gestures.detection.current.startEvent.center.pageX+=b.deltaX*d,a.Gestures.detection.current.startEvent.center.pageY+=b.deltaY*d,b=a.Gestures.detection.extendEventData(b)}(a.Gestures.detection.current.lastEvent.drag_locked_to_axis||c.options.drag_lock_to_axis&&c.options.drag_lock_min_distance<=b.distance)&&(b.drag_locked_to_axis=!0);var e=a.Gestures.detection.current.lastEvent.direction;b.drag_locked_to_axis&&e!==b.direction&&(b.direction=a.Gestures.utils.isVertical(e)?b.deltaY<0?a.Gestures.DIRECTION_UP:a.Gestures.DIRECTION_DOWN:b.deltaX<0?a.Gestures.DIRECTION_LEFT:a.Gestures.DIRECTION_RIGHT),this.triggered||(c.trigger(this.name+"start",b),this.triggered=!0),c.trigger(this.name,b),c.trigger(this.name+b.direction,b),(c.options.drag_block_vertical&&a.Gestures.utils.isVertical(b.direction)||c.options.drag_block_horizontal&&!a.Gestures.utils.isVertical(b.direction))&&b.preventDefault();break;case a.Gestures.EVENT_END:this.triggered&&c.trigger(this.name+"end",b),this.triggered=!1}}},a.Gestures.gestures.Transform={name:"transform",index:45,defaults:{transform_min_scale:.01,transform_min_rotation:1,transform_always_block:!1},triggered:!1,handler:function(b,c){if(a.Gestures.detection.current.name!=this.name&&this.triggered)return c.trigger(this.name+"end",b),void(this.triggered=!1);if(!(b.touches.length<2))switch(c.options.transform_always_block&&b.preventDefault(),b.eventType){case a.Gestures.EVENT_START:this.triggered=!1;break;case a.Gestures.EVENT_MOVE:var d=Math.abs(1-b.scale),e=Math.abs(b.rotation);if(d<c.options.transform_min_scale&&e<c.options.transform_min_rotation)return;a.Gestures.detection.current.name=this.name,this.triggered||(c.trigger(this.name+"start",b),this.triggered=!0),c.trigger(this.name,b),e>c.options.transform_min_rotation&&c.trigger("rotate",b),d>c.options.transform_min_scale&&(c.trigger("pinch",b),c.trigger("pinch"+(b.scale<1?"in":"out"),b));break;case a.Gestures.EVENT_END:this.triggered&&c.trigger(this.name+"end",b),this.triggered=!1}}},a.Gestures.gestures.Touch={name:"touch",index:-1/0,defaults:{prevent_default:!1,prevent_mouseevents:!1},handler:function(b,c){return c.options.prevent_mouseevents&&b.pointerType==a.Gestures.POINTER_MOUSE?void b.stopDetect():(c.options.prevent_default&&b.preventDefault(),void(b.eventType==a.Gestures.EVENT_START&&c.trigger(this.name,b)))}},a.Gestures.gestures.Release={name:"release",index:1/0,handler:function(b,c){b.eventType==a.Gestures.EVENT_END&&c.trigger(this.name,b)}}}(window.ionic),function(a){function b(){a.Platform.isCordova()?document.addEventListener("deviceready",c,!1):c(),window.removeEventListener("load",b,!1)}function c(){a.Platform.isReady=!0,a.Platform.detect();for(var b=0;b<f.length;b++)f[b]();f=[],a.trigger("platformready",{target:document}),document.removeEventListener("deviceready",c,!1)}a.Platform={isReady:!1,isFullScreen:!1,platforms:null,grade:null,ua:navigator.userAgent,ready:function(a){this.isReady?a():f.push(a)},detect:function(){var b,c=document.body.className;for(a.Platform._checkPlatforms(),b=0;b<this.platforms.length;b++)c+=" platform-"+this.platforms[b];c+=" grade-"+this.grade,document.body.className=c.trim()},device:function(){return window.device?window.device:(this.isCordova()&&console.error("device plugin required"),{})},_checkPlatforms:function(){this.platforms=[],this.grade="a",this.isCordova()&&this.platforms.push("cordova"),this.isIPad()&&this.platforms.push("ipad");var a=this.platform();if(a){this.platforms.push(a);var b=this.version();if(b){var c=b.toString();c.indexOf(".")>0?c=c.replace(".","_"):c+="_0",this.platforms.push(a+c.split("_")[0]),this.platforms.push(a+c),this.isAndroid()&&4.4>b&&(this.grade=4>b?"c":"b")}}},isCordova:function(){return!(!window.cordova&&!window.PhoneGap&&!window.phonegap)},isIPad:function(){return this.ua.toLowerCase().indexOf("ipad")>=0},isIOS:function(){return this.is("ios")},isAndroid:function(){return this.is("android")},platform:function(){return null===d&&this.setPlatform(this.device().platform),d},setPlatform:function(a){d="undefined"!=typeof a&&null!==a&&a.length?a.toLowerCase():this.ua.indexOf("Android")>0?"android":this.ua.indexOf("iPhone")>-1||this.ua.indexOf("iPad")>-1||this.ua.indexOf("iPod")>-1?"ios":"unknown"},version:function(){return null===e&&this.setVersion(this.device().version),e},setVersion:function(a){if("undefined"!=typeof a&&null!==a&&(a=a.split("."),a=parseFloat(a[0]+"."+(a.length>1?a[1]:0)),!isNaN(a)))return void(e=a);e=0;var b=this.platform(),c={android:/Android (\d+).(\d+)?/,ios:/OS (\d+)_(\d+)?/};c[b]&&(a=this.ua.match(c[b]),a.length>2&&(e=parseFloat(a[1]+"."+a[2])))},is:function(a){if(a=a.toLowerCase(),this.platforms)for(var b=0;b<this.platforms.length;b++)if(this.platforms[b]===a)return!0;var c=this.platform();return c?c===a.toLowerCase():this.ua.toLowerCase().indexOf(a)>=0},exitApp:function(){this.ready(function(){navigator.app&&navigator.app.exitApp&&navigator.app.exitApp()})},showStatusBar:function(b){this.showStatusBar=b,this.ready(function(){a.Platform.showStatusBar?(StatusBar.show(),document.body.classList.remove("status-bar-hide")):(StatusBar.hide(),document.body.classList.add("status-bar-hide"))})},fullScreen:function(b,c){this.isFullScreen=b!==!1,a.DomUtil.ready(function(){a.Platform.isFullScreen?document.body.classList.add("fullscreen"):document.body.classList.remove("fullscreen")}),this.showStatusBar(c===!0)}};var d=null,e=null,f=[];window.addEventListener("load",b,!1)}(window.ionic),function(a,b,c){"use strict";function d(a){if(a.gesture&&a.gesture.srcEvent){var b=a.gesture.srcEvent,d=b.target;if(f(b))return j(b);for(;d;){if("INPUT"===d.tagName||"A"===d.tagName||"BUTTON"===d.tagName||"LABEL"===d.tagName||"TEXTAREA"===d.tagName||"SELECT"===d.tagName)return c.tapElement(d,b);d=d.parentElement}k()}}function e(a){return a.target.control?j(a):f(a)?j(a):void g(a)}function f(a){var b,c,d;for(b in l)if(c=l[b],d||(d=h(a)),d.x>c.x-o&&d.x<c.x+o&&d.y>c.y-o&&d.y<c.y+o)return c}function g(a){var b=h(a);if(b.x&&b.y){var c=Date.now();l[c]={x:b.x,y:b.y,id:c},setTimeout(function(){delete l[c]},m)}}function h(a){var b=a.gesture?a.gesture:a;if(b){var c=b.touches&&b.touches.length?b.touches:[b],d=b.changedTouches&&b.changedTouches[0]||b.originalEvent&&b.originalEvent.changedTouches&&b.originalEvent.changedTouches[0]||c[0].originalEvent||c[0];if(d)return{x:d.clientX,y:d.clientY}}return{x:0,y:0}}function i(a){setTimeout(function(){var b=f(a);b&&delete l[b.id]},n)}function j(a){return a.stopPropagation(),a.preventDefault(),!1}function k(){var a=b.activeElement;!a||"INPUT"!==a.tagName&&"TEXTAREA"!==a.tagName&&"SELECT"!==a.tagName||setTimeout(function(){a.blur()},400)}c.CSS={},function(){for(var a=["webkitTransform","transform","-webkit-transform","webkit-transform","-moz-transform","moz-transform","MozTransform","mozTransform"],d=0;d<a.length;d++)if(void 0!==b.documentElement.style[a[d]]){c.CSS.TRANSFORM=a[d];break}}(),"classList"in b.documentElement||!Object.defineProperty||"undefined"==typeof HTMLElement||Object.defineProperty(HTMLElement.prototype,"classList",{get:function(){function a(a){return function(){var c,d=b.className.split(/\s+/);for(c=0;c<arguments.length;c++)a(d,d.indexOf(arguments[c]),arguments[c]);b.className=d.join(" ")}}var b=this;return{add:a(function(a,b,c){~b||a.push(c)}),remove:a(function(a,b){~b&&a.splice(b,1)}),toggle:a(function(a,b,c){~b?a.splice(b,1):a.push(c)}),contains:function(a){return!!~b.className.split(/\s+/).indexOf(a)},item:function(a){return b.className.split(/\s+/)[a]||null}}}}),c.tapElement=function(c,d){var e=c.control||c;if(!e.disabled){var i=h(d),l=b.createEvent("MouseEvents");return l.initMouseEvent("click",!0,!0,a,1,0,0,i.x,i.y,!1,!1,!1,!1,0,null),e.dispatchEvent(l),"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName?(e.focus(),d.preventDefault()):k(),f(d)||g(d),c.control?j(d):void 0}};var l={},m=1500,n=375,o=15;b.addEventListener("click",e,!0),c.on("tap",d,b),b.addEventListener("touchend",i,!1),b.addEventListener("mouseup",i,!1)}(this,document,ionic),function(a){var b=["0","0","0"];a.Utils={arrayMove:function(a,b,c){if(c>=a.length)for(var d=c-a.length;d--+1;)a.push(void 0);return a.splice(c,0,a.splice(b,1)[0]),a},proxy:function(a,b){var c=Array.prototype.slice.call(arguments,2);return function(){return a.apply(b,c.concat(Array.prototype.slice.call(arguments)))}},debounce:function(a,b,c){var d,e,f,g,h;return function(){f=this,e=arguments,g=new Date;var i=function(){var j=new Date-g;b>j?d=setTimeout(i,b-j):(d=null,c||(h=a.apply(f,e)))},j=c&&!d;return d||(d=setTimeout(i,b)),j&&(h=a.apply(f,e)),h}},throttle:function(a,b,c){var d,e,f,g=null,h=0;c||(c={});var i=function(){h=c.leading===!1?0:Date.now(),g=null,f=a.apply(d,e)};return function(){var j=Date.now();h||c.leading!==!1||(h=j);var k=b-(j-h);return d=this,e=arguments,0>=k?(clearTimeout(g),g=null,h=j,f=a.apply(d,e)):g||c.trailing===!1||(g=setTimeout(i,k)),f}},inherit:function(b,c){var d,e=this;d=b&&b.hasOwnProperty("constructor")?b.constructor:function(){return e.apply(this,arguments)},a.extend(d,e,c);var f=function(){this.constructor=d};return f.prototype=e.prototype,d.prototype=new f,b&&a.extend(d.prototype,b),d.__super__=e.prototype,d},extend:function(a){for(var b=Array.prototype.slice.call(arguments,1),c=0;c<b.length;c++){var d=b[c];if(d)for(var e in d)a[e]=d[e]}return a},nextUid:function(){for(var a,c=b.length;c;){if(c--,a=b[c].charCodeAt(0),57==a)return b[c]="A",b.join("");if(90!=a)return b[c]=String.fromCharCode(a+1),b.join("");b[c]="0"}return b.unshift("0"),b.join("")}},a.inherit=a.Utils.inherit,a.extend=a.Utils.extend,a.throttle=a.Utils.throttle,a.proxy=a.Utils.proxy,a.debounce=a.Utils.debounce}(window.ionic),function(a){function b(){function b(){function b(){c=e-window.innerHeight;var b=document.activeElement;b&&a.trigger("scrollChildIntoView",{target:b},!0)}d!==window.innerWidth?(d=window.innerWidth,e=window.innerHeight):e!==window.innerHeight&&window.innerHeight<e?(document.body.classList.add("hide-footer"),a.requestAnimationFrame(b)):document.body.classList.remove("hide-footer")}var c,d=window.innerWidth,e=window.innerHeight;window.addEventListener("resize",b)}a.Platform.ready(function(){a.Platform.is("android")&&b()})}(window.ionic),function(a){"use strict";a.views.View=function(){this.initialize.apply(this,arguments)},a.views.View.inherit=a.inherit,a.extend(a.views.View.prototype,{initialize:function(){}})}(window.ionic);var IS_INPUT_LIKE_REGEX=/input|textarea|select/i;!function(a){var b=Date.now||function(){return+new Date},c=60,d=1e3,e={},f=1;a.core?core.effect||(core.effect={}):a.core={effect:{}},core.effect.Animate={requestAnimationFrame:function(){var b=a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame,c=!!b;if(b&&!/requestAnimationFrame\(\)\s*\{\s*\[native code\]\s*\}/i.test(b.toString())&&(c=!1),c)return function(a,c){b(a,c)};var d=60,e={},f=0,g=1,h=null,i=+new Date;return function(a){var b=g++;return e[b]=a,f++,null===h&&(h=setInterval(function(){var a=+new Date,b=e;e={},f=0;for(var c in b)b.hasOwnProperty(c)&&(b[c](a),i=a);a-i>2500&&(clearInterval(h),h=null)},1e3/d)),b}}(),stop:function(a){var b=null!=e[a];return b&&(e[a]=null),b},isRunning:function(a){return null!=e[a]},start:function(a,g,h,i,j,k){var l=b(),m=l,n=0,o=0,p=f++;if(k||(k=document.body),p%20===0){var q={};for(var r in e)q[r]=!0;e=q}var s=function(f){var q=f!==!0,r=b();if(!e[p]||g&&!g(p))return e[p]=null,void(h&&h(c-o/((r-l)/d),p,!1));if(q)for(var t=Math.round((r-m)/(d/c))-1,u=0;u<Math.min(t,4);u++)s(!0),o++;i&&(n=(r-l)/i,n>1&&(n=1));var v=j?j(n):n;a(v,r,q)!==!1&&1!==n||!q?q&&(m=r,core.effect.Animate.requestAnimationFrame(s,k)):(e[p]=null,h&&h(c-o/((r-l)/d),p,1===n||null==i))};return e[p]=!0,core.effect.Animate.requestAnimationFrame(s,k),p}}}(this);var Scroller;!function(a){var b=function(){},c=function(a){return Math.pow(a-1,3)+1},d=function(a){return(a/=.5)<1?.5*Math.pow(a,3):.5*(Math.pow(a-2,3)+2)};a.views.Scroll=a.views.View.inherit({initialize:function(c){var d=this;this.__container=c.el,this.__content=c.el.firstElementChild,setTimeout(function(){d.__container&&d.__content&&(d.__container.scrollTop=0,d.__content.scrollTop=0)}),this.options={scrollingX:!1,scrollbarX:!0,scrollingY:!0,scrollbarY:!0,startX:0,startY:0,wheelDampen:6,minScrollbarSizeX:5,minScrollbarSizeY:5,scrollbarsFade:!0,scrollbarFadeDelay:300,scrollbarResizeFadeDelay:1e3,animating:!0,animationDuration:250,bouncing:!0,locking:!0,paging:!1,snapping:!1,zooming:!1,minZoom:.5,maxZoom:3,speedMultiplier:1,scrollingComplete:b,penetrationDeceleration:.03,penetrationAcceleration:.08,scrollEventInterval:50};for(var e in c)this.options[e]=c[e];this.hintResize=a.debounce(function(){d.resize()},1e3,!0),this.triggerScrollEvent=a.throttle(function(){a.trigger("scroll",{scrollTop:d.__scrollTop,scrollLeft:d.__scrollLeft,target:d.__container})},this.options.scrollEventInterval),this.triggerScrollEndEvent=function(){a.trigger("scrollend",{scrollTop:d.__scrollTop,scrollLeft:d.__scrollLeft,target:d.__container})},this.__scrollLeft=this.options.startX,this.__scrollTop=this.options.startY,this.__callback=this.getRenderFn(),this.__initEventHandlers(),this.__createScrollbars()},run:function(){this.resize(),this.__fadeScrollbars("out",this.options.scrollbarResizeFadeDelay)},__isSingleTouch:!1,__isTracking:!1,__didDecelerationComplete:!1,__isGesturing:!1,__isDragging:!1,__isDecelerating:!1,__isAnimating:!1,__clientLeft:0,__clientTop:0,__clientWidth:0,__clientHeight:0,__contentWidth:0,__contentHeight:0,__snapWidth:100,__snapHeight:100,__refreshHeight:null,__refreshActive:!1,__refreshActivate:null,__refreshDeactivate:null,__refreshStart:null,__zoomLevel:1,__scrollLeft:0,__scrollTop:0,__maxScrollLeft:0,__maxScrollTop:0,__scheduledLeft:0,__scheduledTop:0,__scheduledZoom:0,__lastTouchLeft:null,__lastTouchTop:null,__lastTouchMove:null,__positions:null,__minDecelerationScrollLeft:null,__minDecelerationScrollTop:null,__maxDecelerationScrollLeft:null,__maxDecelerationScrollTop:null,__decelerationVelocityX:null,__decelerationVelocityY:null,__transformProperty:null,__perspectiveProperty:null,__indicatorX:null,__indicatorY:null,__scrollbarFadeTimeout:null,__didWaitForSize:null,__sizerTimeout:null,__initEventHandlers:function(){function b(a){return a.target.tagName.match(IS_INPUT_LIKE_REGEX)||a.target.isContentEditable}var c=this,d=this.__container;if(d.addEventListener("scrollChildIntoView",function(b){var e=window.innerHeight,f=b.target,g=b.target.offsetHeight,h=f.getBoundingClientRect().top,i=a.DomUtil.getPositionInParent(f,d).top;h+g>e&&c.scrollTo(0,i+g-.5*e,!0),b.stopPropagation()}),"ontouchstart"in window)d.addEventListener("touchstart",function(a){a.defaultPrevented||b(a)||(c.doTouchStart(a.touches,a.timeStamp),a.preventDefault())},!1),document.addEventListener("touchmove",function(a){a.defaultPrevented||c.doTouchMove(a.touches,a.timeStamp)},!1),document.addEventListener("touchend",function(a){c.doTouchEnd(a.timeStamp)},!1);else{var e=!1;d.addEventListener("mousedown",function(a){a.defaultPrevented||b(a)||(c.doTouchStart([{pageX:a.pageX,pageY:a.pageY}],a.timeStamp),a.preventDefault(),e=!0)},!1),document.addEventListener("mousemove",function(a){e&&!a.defaultPrevented&&(c.doTouchMove([{pageX:a.pageX,pageY:a.pageY}],a.timeStamp),e=!0)},!1),document.addEventListener("mouseup",function(a){e&&(c.doTouchEnd(a.timeStamp),e=!1)},!1),document.addEventListener("mousewheel",function(a){c.scrollBy(a.wheelDeltaX/c.options.wheelDampen,-a.wheelDeltaY/c.options.wheelDampen)})}},__createScrollbar:function(a){var b=document.createElement("div"),c=document.createElement("div");return c.className="scroll-bar-indicator",b.className="h"==a?"scroll-bar scroll-bar-h":"scroll-bar scroll-bar-v",b.appendChild(c),b},__createScrollbars:function(){var a,b;this.options.scrollingX&&(a={el:this.__createScrollbar("h"),sizeRatio:1},a.indicator=a.el.children[0],this.options.scrollbarX&&this.__container.appendChild(a.el),this.__indicatorX=a),this.options.scrollingY&&(b={el:this.__createScrollbar("v"),sizeRatio:1},b.indicator=b.el.children[0],this.options.scrollbarY&&this.__container.appendChild(b.el),this.__indicatorY=b)},__resizeScrollbars:function(){var a=this;if(a.__fadeScrollbars("in"),a.__indicatorX){var b=Math.max(Math.round(a.__clientWidth*a.__clientWidth/a.__contentWidth),20);
15
+ b>a.__contentWidth&&(b=0),a.__indicatorX.size=b,a.__indicatorX.minScale=this.options.minScrollbarSizeX/b,a.__indicatorX.indicator.style.width=b+"px",a.__indicatorX.maxPos=a.__clientWidth-b,a.__indicatorX.sizeRatio=a.__maxScrollLeft?a.__indicatorX.maxPos/a.__maxScrollLeft:1}if(a.__indicatorY){var c=Math.max(Math.round(a.__clientHeight*a.__clientHeight/a.__contentHeight),20);c>a.__contentHeight&&(c=0),a.__indicatorY.size=c,a.__indicatorY.minScale=this.options.minScrollbarSizeY/c,a.__indicatorY.maxPos=a.__clientHeight-c,a.__indicatorY.indicator.style.height=c+"px",a.__indicatorY.sizeRatio=a.__maxScrollTop?a.__indicatorY.maxPos/a.__maxScrollTop:1}},__repositionScrollbars:function(){var a,b,c,d,e,f=this,g=0,h=0;f.__indicatorX&&(f.__indicatorY&&(g=10),d=Math.round(f.__indicatorX.sizeRatio*f.__scrollLeft)||0,b=f.__scrollLeft-(f.__maxScrollLeft-g),f.__scrollLeft<0?(widthScale=Math.max(f.__indicatorX.minScale,(f.__indicatorX.size-Math.abs(f.__scrollLeft))/f.__indicatorX.size),d=0,f.__indicatorX.indicator.style[f.__transformOriginProperty]="left center"):b>0?(widthScale=Math.max(f.__indicatorX.minScale,(f.__indicatorX.size-b)/f.__indicatorX.size),d=f.__indicatorX.maxPos-g,f.__indicatorX.indicator.style[f.__transformOriginProperty]="right center"):(d=Math.min(f.__maxScrollLeft,Math.max(0,d)),widthScale=1),f.__indicatorX.indicator.style[f.__transformProperty]="translate3d("+d+"px, 0, 0) scaleX("+widthScale+")"),f.__indicatorY&&(e=Math.round(f.__indicatorY.sizeRatio*f.__scrollTop)||0,f.__indicatorX&&(h=10),c=f.__scrollTop-(f.__maxScrollTop-h),f.__scrollTop<0?(a=Math.max(f.__indicatorY.minScale,(f.__indicatorY.size-Math.abs(f.__scrollTop))/f.__indicatorY.size),e=0,f.__indicatorY.indicator.style[f.__transformOriginProperty]="center top"):c>0?(a=Math.max(f.__indicatorY.minScale,(f.__indicatorY.size-c)/f.__indicatorY.size),e=f.__indicatorY.maxPos-h,f.__indicatorY.indicator.style[f.__transformOriginProperty]="center bottom"):(e=Math.min(f.__maxScrollTop,Math.max(0,e)),a=1),f.__indicatorY.indicator.style[f.__transformProperty]="translate3d(0,"+e+"px, 0) scaleY("+a+")")},__fadeScrollbars:function(a,b){var c=this;if(this.options.scrollbarsFade){var d="scroll-bar-fade-out";c.options.scrollbarsFade===!0&&(clearTimeout(c.__scrollbarFadeTimeout),"in"==a?(c.__indicatorX&&c.__indicatorX.indicator.classList.remove(d),c.__indicatorY&&c.__indicatorY.indicator.classList.remove(d)):c.__scrollbarFadeTimeout=setTimeout(function(){c.__indicatorX&&c.__indicatorX.indicator.classList.add(d),c.__indicatorY&&c.__indicatorY.indicator.classList.add(d)},b||c.options.scrollbarFadeDelay))}},__scrollingComplete:function(){var a=this;a.options.scrollingComplete(),a.__fadeScrollbars("out")},resize:function(){this.setDimensions(this.__container.clientWidth,this.__container.clientHeight,Math.max(this.__content.scrollWidth,this.__content.offsetWidth),Math.max(this.__content.scrollHeight,this.__content.offsetHeight))},getRenderFn:function(){var a,b=this,c=this.__content,d=document.documentElement.style;"MozAppearance"in d?a="gecko":"WebkitAppearance"in d?a="webkit":"string"==typeof navigator.cpuClass&&(a="trident");var e,f={trident:"ms",gecko:"Moz",webkit:"Webkit",presto:"O"}[a],g=document.createElement("div"),h=f+"Perspective",i=f+"Transform",j=f+"TransformOrigin";return b.__perspectiveProperty=i,b.__transformProperty=i,b.__transformOriginProperty=j,g.style[h]!==e?function(a,d){c.style[i]="translate3d("+-a+"px,"+-d+"px,0)",b.__repositionScrollbars(),b.triggerScrollEvent()}:g.style[i]!==e?function(a,d){c.style[i]="translate("+-a+"px,"+-d+"px)",b.__repositionScrollbars(),b.triggerScrollEvent()}:function(a,d,e){c.style.marginLeft=a?-a/e+"px":"",c.style.marginTop=d?-d/e+"px":"",c.style.zoom=e||"",b.__repositionScrollbars(),b.triggerScrollEvent()}},setDimensions:function(a,b,c,d){var e=this;a===+a&&(e.__clientWidth=a),b===+b&&(e.__clientHeight=b),c===+c&&(e.__contentWidth=c),d===+d&&(e.__contentHeight=d),e.__computeScrollMax(),e.__resizeScrollbars(),e.scrollTo(e.__scrollLeft,e.__scrollTop,!0)},setPosition:function(a,b){var c=this;c.__clientLeft=a||0,c.__clientTop=b||0},setSnapSize:function(a,b){var c=this;c.__snapWidth=a,c.__snapHeight=b},activatePullToRefresh:function(a,b,c,d){var e=this;e.__refreshHeight=a,e.__refreshActivate=b,e.__refreshDeactivate=c,e.__refreshStart=d},triggerPullToRefresh:function(){this.__publish(this.__scrollLeft,-this.__refreshHeight,this.__zoomLevel,!0),this.__refreshStart&&this.__refreshStart()},finishPullToRefresh:function(){var a=this;a.__refreshActive=!1,a.__refreshDeactivate&&a.__refreshDeactivate(),a.scrollTo(a.__scrollLeft,a.__scrollTop,!0)},getValues:function(){var a=this;return{left:a.__scrollLeft,top:a.__scrollTop,zoom:a.__zoomLevel}},getScrollMax:function(){var a=this;return{left:a.__maxScrollLeft,top:a.__maxScrollTop}},zoomTo:function(a,b,c,d){var e=this;if(!e.options.zooming)throw new Error("Zooming is not enabled!");e.__isDecelerating&&(core.effect.Animate.stop(e.__isDecelerating),e.__isDecelerating=!1);var f=e.__zoomLevel;null==c&&(c=e.__clientWidth/2),null==d&&(d=e.__clientHeight/2),a=Math.max(Math.min(a,e.options.maxZoom),e.options.minZoom),e.__computeScrollMax(a);var g=(c+e.__scrollLeft)*a/f-c,h=(d+e.__scrollTop)*a/f-d;g>e.__maxScrollLeft?g=e.__maxScrollLeft:0>g&&(g=0),h>e.__maxScrollTop?h=e.__maxScrollTop:0>h&&(h=0),e.__publish(g,h,a,b)},zoomBy:function(a,b,c,d){var e=this;e.zoomTo(e.__zoomLevel*a,b,c,d)},scrollTo:function(a,b,c,d){var e=this;if(e.__isDecelerating&&(core.effect.Animate.stop(e.__isDecelerating),e.__isDecelerating=!1),null!=d&&d!==e.__zoomLevel){if(!e.options.zooming)throw new Error("Zooming is not enabled!");a*=d,b*=d,e.__computeScrollMax(d)}else d=e.__zoomLevel;e.options.scrollingX?e.options.paging?a=Math.round(a/e.__clientWidth)*e.__clientWidth:e.options.snapping&&(a=Math.round(a/e.__snapWidth)*e.__snapWidth):a=e.__scrollLeft,e.options.scrollingY?e.options.paging?b=Math.round(b/e.__clientHeight)*e.__clientHeight:e.options.snapping&&(b=Math.round(b/e.__snapHeight)*e.__snapHeight):b=e.__scrollTop,a=Math.max(Math.min(e.__maxScrollLeft,a),0),b=Math.max(Math.min(e.__maxScrollTop,b),0),a===e.__scrollLeft&&b===e.__scrollTop&&(c=!1),e.__publish(a,b,d,c)},scrollBy:function(a,b,c){var d=this,e=d.__isAnimating?d.__scheduledLeft:d.__scrollLeft,f=d.__isAnimating?d.__scheduledTop:d.__scrollTop;d.scrollTo(e+(a||0),f+(b||0),c)},doMouseZoom:function(a,b,c,d){var e=this,f=a>0?.97:1.03;return e.zoomTo(e.__zoomLevel*f,!1,c-e.__clientLeft,d-e.__clientTop)},doTouchStart:function(a,b){if(this.hintResize(),null==a.length)throw new Error("Invalid touch list: "+a);if(b instanceof Date&&(b=b.valueOf()),"number"!=typeof b)throw new Error("Invalid timestamp value: "+b);var c=this;c.__fadeScrollbars("in"),c.__interruptedAnimation=!0,c.__isDecelerating&&(core.effect.Animate.stop(c.__isDecelerating),c.__isDecelerating=!1,c.__interruptedAnimation=!0),c.__isAnimating&&(core.effect.Animate.stop(c.__isAnimating),c.__isAnimating=!1,c.__interruptedAnimation=!0);var d,e,f=1===a.length;f?(d=a[0].pageX,e=a[0].pageY):(d=Math.abs(a[0].pageX+a[1].pageX)/2,e=Math.abs(a[0].pageY+a[1].pageY)/2),c.__initialTouchLeft=d,c.__initialTouchTop=e,c.__zoomLevelStart=c.__zoomLevel,c.__lastTouchLeft=d,c.__lastTouchTop=e,c.__lastTouchMove=b,c.__lastScale=1,c.__enableScrollX=!f&&c.options.scrollingX,c.__enableScrollY=!f&&c.options.scrollingY,c.__isTracking=!0,c.__didDecelerationComplete=!1,c.__isDragging=!f,c.__isSingleTouch=f,c.__positions=[]},doTouchMove:function(a,b,c){if(null==a.length)throw new Error("Invalid touch list: "+a);if(b instanceof Date&&(b=b.valueOf()),"number"!=typeof b)throw new Error("Invalid timestamp value: "+b);var d=this;if(d.__isTracking){var e,f;2===a.length?(e=Math.abs(a[0].pageX+a[1].pageX)/2,f=Math.abs(a[0].pageY+a[1].pageY)/2):(e=a[0].pageX,f=a[0].pageY);var g=d.__positions;if(d.__isDragging){var h=e-d.__lastTouchLeft,i=f-d.__lastTouchTop,j=d.__scrollLeft,k=d.__scrollTop,l=d.__zoomLevel;if(null!=c&&d.options.zooming){var m=l;if(l=l/d.__lastScale*c,l=Math.max(Math.min(l,d.options.maxZoom),d.options.minZoom),m!==l){var n=e-d.__clientLeft,o=f-d.__clientTop;j=(n+j)*l/m-n,k=(o+k)*l/m-o,d.__computeScrollMax(l)}}if(d.__enableScrollX){j-=h*this.options.speedMultiplier;var p=d.__maxScrollLeft;(j>p||0>j)&&(d.options.bouncing?j+=h/2*this.options.speedMultiplier:j=j>p?p:0)}if(d.__enableScrollY){k-=i*this.options.speedMultiplier;var q=d.__maxScrollTop;(k>q||0>k)&&(d.options.bouncing||d.__refreshHeight&&0>k?(k+=i/2*this.options.speedMultiplier,d.__enableScrollX||null==d.__refreshHeight||(!d.__refreshActive&&k<=-d.__refreshHeight?(d.__refreshActive=!0,d.__refreshActivate&&d.__refreshActivate()):d.__refreshActive&&k>-d.__refreshHeight&&(d.__refreshActive=!1,d.__refreshDeactivate&&d.__refreshDeactivate()))):k=k>q?q:0)}g.length>60&&g.splice(0,30),g.push(j,k,b),d.__publish(j,k,l)}else{var r=d.options.locking?3:0,s=5,t=Math.abs(e-d.__initialTouchLeft),u=Math.abs(f-d.__initialTouchTop);d.__enableScrollX=d.options.scrollingX&&t>=r,d.__enableScrollY=d.options.scrollingY&&u>=r,g.push(d.__scrollLeft,d.__scrollTop,b),d.__isDragging=(d.__enableScrollX||d.__enableScrollY)&&(t>=s||u>=s),d.__isDragging&&(d.__interruptedAnimation=!1)}d.__lastTouchLeft=e,d.__lastTouchTop=f,d.__lastTouchMove=b,d.__lastScale=c}},doTouchEnd:function(a){if(a instanceof Date&&(a=a.valueOf()),"number"!=typeof a)throw new Error("Invalid timestamp value: "+a);var b=this;if(b.__isTracking){if(b.__isTracking=!1,b.__isDragging)if(b.__isDragging=!1,b.__isSingleTouch&&b.options.animating&&a-b.__lastTouchMove<=100){for(var c=b.__positions,d=c.length-1,e=d,f=d;f>0&&c[f]>b.__lastTouchMove-100;f-=3)e=f;if(e!==d){var g=c[d]-c[e],h=b.__scrollLeft-c[e-2],i=b.__scrollTop-c[e-1];b.__decelerationVelocityX=h/g*(1e3/60),b.__decelerationVelocityY=i/g*(1e3/60);var j=b.options.paging||b.options.snapping?4:1;(Math.abs(b.__decelerationVelocityX)>j||Math.abs(b.__decelerationVelocityY)>j)&&(b.__refreshActive||b.__startDeceleration(a))}else b.__scrollingComplete()}else a-b.__lastTouchMove>100&&b.__scrollingComplete();b.__isDecelerating||(b.__refreshActive&&b.__refreshStart?(b.__publish(b.__scrollLeft,-b.__refreshHeight,b.__zoomLevel,!0),b.__refreshStart&&b.__refreshStart()):((b.__interruptedAnimation||b.__isDragging)&&b.__scrollingComplete(),b.scrollTo(b.__scrollLeft,b.__scrollTop,!0,b.__zoomLevel),b.__refreshActive&&(b.__refreshActive=!1,b.__refreshDeactivate&&b.__refreshDeactivate()))),b.__positions.length=0}},__publish:function(a,b,e,f){var g=this,h=g.__isAnimating;if(h&&(core.effect.Animate.stop(h),g.__isAnimating=!1),f&&g.options.animating){g.__scheduledLeft=a,g.__scheduledTop=b,g.__scheduledZoom=e;var i=g.__scrollLeft,j=g.__scrollTop,k=g.__zoomLevel,l=a-i,m=b-j,n=e-k,o=function(a,b,c){c&&(g.__scrollLeft=i+l*a,g.__scrollTop=j+m*a,g.__zoomLevel=k+n*a,g.__callback&&g.__callback(g.__scrollLeft,g.__scrollTop,g.__zoomLevel))},p=function(a){return g.__isAnimating===a},q=function(a,b,c){b===g.__isAnimating&&(g.__isAnimating=!1),(g.__didDecelerationComplete||c)&&g.__scrollingComplete(),g.options.zooming&&g.__computeScrollMax()};g.__isAnimating=core.effect.Animate.start(o,p,q,g.options.animationDuration,h?c:d)}else g.__scheduledLeft=g.__scrollLeft=a,g.__scheduledTop=g.__scrollTop=b,g.__scheduledZoom=g.__zoomLevel=e,g.__callback&&g.__callback(a,b,e),g.options.zooming&&g.__computeScrollMax()},__computeScrollMax:function(a){var b=this;null==a&&(a=b.__zoomLevel),b.__maxScrollLeft=Math.max(b.__contentWidth*a-b.__clientWidth,0),b.__maxScrollTop=Math.max(b.__contentHeight*a-b.__clientHeight,0),b.__didWaitForSize||0!=b.__maxScrollLeft||0!=b.__maxScrollTop||(b.__didWaitForSize=!0,b.__waitForSize())},__waitForSize:function(){var a=this;clearTimeout(a.__sizerTimeout);var b=function(){a.resize(),a.options.scrollingX&&0==a.__maxScrollLeft||a.options.scrollingY&&0==a.__maxScrollTop};b(),a.__sizerTimeout=setTimeout(b,1e3)},__startDeceleration:function(){var a=this;if(a.options.paging){var b=Math.max(Math.min(a.__scrollLeft,a.__maxScrollLeft),0),c=Math.max(Math.min(a.__scrollTop,a.__maxScrollTop),0),d=a.__clientWidth,e=a.__clientHeight;a.__minDecelerationScrollLeft=Math.floor(b/d)*d,a.__minDecelerationScrollTop=Math.floor(c/e)*e,a.__maxDecelerationScrollLeft=Math.ceil(b/d)*d,a.__maxDecelerationScrollTop=Math.ceil(c/e)*e}else a.__minDecelerationScrollLeft=0,a.__minDecelerationScrollTop=0,a.__maxDecelerationScrollLeft=a.__maxScrollLeft,a.__maxDecelerationScrollTop=a.__maxScrollTop;var f=function(b,c,d){a.__stepThroughDeceleration(d)};a.__minVelocityToKeepDecelerating=a.options.snapping?4:.1;var g=function(){var b=Math.abs(a.__decelerationVelocityX)>=a.__minVelocityToKeepDecelerating||Math.abs(a.__decelerationVelocityY)>=a.__minVelocityToKeepDecelerating;return b||(a.__didDecelerationComplete=!0),b},h=function(){a.__isDecelerating=!1,a.__didDecelerationComplete&&a.__scrollingComplete(),a.options.paging&&a.scrollTo(a.__scrollLeft,a.__scrollTop,a.options.snapping)};a.__isDecelerating=core.effect.Animate.start(f,g,h)},__stepThroughDeceleration:function(a){var b=this,c=b.__scrollLeft+b.__decelerationVelocityX,d=b.__scrollTop+b.__decelerationVelocityY;if(!b.options.bouncing){var e=Math.max(Math.min(b.__maxDecelerationScrollLeft,c),b.__minDecelerationScrollLeft);e!==c&&(c=e,b.__decelerationVelocityX=0);var f=Math.max(Math.min(b.__maxDecelerationScrollTop,d),b.__minDecelerationScrollTop);f!==d&&(d=f,b.__decelerationVelocityY=0)}if(a?b.__publish(c,d,b.__zoomLevel):(b.__scrollLeft=c,b.__scrollTop=d),!b.options.paging){var g=.95;b.__decelerationVelocityX*=g,b.__decelerationVelocityY*=g}if(b.options.bouncing){var h=0,i=0,j=b.options.penetrationDeceleration,k=b.options.penetrationAcceleration;if(c<b.__minDecelerationScrollLeft?h=b.__minDecelerationScrollLeft-c:c>b.__maxDecelerationScrollLeft&&(h=b.__maxDecelerationScrollLeft-c),d<b.__minDecelerationScrollTop?i=b.__minDecelerationScrollTop-d:d>b.__maxDecelerationScrollTop&&(i=b.__maxDecelerationScrollTop-d),0!==h){var l=h*b.__decelerationVelocityX<=b.__minDecelerationScrollLeft;l&&(b.__decelerationVelocityX+=h*j);var m=Math.abs(b.__decelerationVelocityX)<=b.__minVelocityToKeepDecelerating;(!l||m)&&(b.__decelerationVelocityX=h*k)}if(0!==i){var n=i*b.__decelerationVelocityY<=b.__minDecelerationScrollTop;n&&(b.__decelerationVelocityY+=i*j);var o=Math.abs(b.__decelerationVelocityY)<=b.__minVelocityToKeepDecelerating;(!n||o)&&(b.__decelerationVelocityY=i*k)}}}})}(ionic),function(a){"use strict";a.views.ActionSheet=a.views.View.inherit({initialize:function(a){this.el=a.el},show:function(){this.el.offsetWidth,this.el.classList.add("active")},hide:function(){this.el.offsetWidth,this.el.classList.remove("active")}})}(ionic),function(a){"use strict";a.views.HeaderBar=a.views.View.inherit({initialize:function(b){this.el=b.el,a.extend(this,{alignTitle:"center"},b),this.align()},align:a.animationFrameThrottle(function(b){var c=this.el.querySelector(b||".title");if(c){var d,e,f,g=this.el.childNodes,h=0,i=0,j=!0;for(d=0;d<g.length;d++)e=g[d],e.tagName&&"h1"==e.tagName.toLowerCase()?j=!1:(f=null,3==e.nodeType?f=a.DomUtil.getTextBounds(e):1==e.nodeType&&(f=e.getBoundingClientRect()),f&&(j?i+=f.width:h+=f.width));var k=Math.max(h,i)+10;"center"==this.alignTitle?(k>10&&(c.style.left=k+"px",c.style.right=k+"px"),c.offsetWidth<c.scrollWidth&&i>0&&(c.style.right=i+5+"px")):"left"==this.alignTitle?(c.classList.add("titleEl-left"),h>0&&(c.style.left=h+15+"px")):"right"==this.alignTitle&&(c.classList.add("titleEl-right"),i>0&&(c.style.right=i+15+"px"))}})})}(ionic),function(a){"use strict";var b="item",c="item-content",d="item-sliding",e="item-options",f="item-placeholder",g="item-reordering",h="item-drag",i=function(){};i.prototype={start:function(){},drag:function(){},end:function(){}};var j=function(a){this.dragThresholdX=a.dragThresholdX||10,this.el=a.el};j.prototype=new i,j.prototype.start=function(f){var g,h,i,j;f.target.classList.contains(c)?g=f.target:f.target.classList.contains(b)&&(g=f.target.querySelector("."+c)),g&&(g.classList.remove(d),i=parseFloat(g.style[a.CSS.TRANSFORM].replace("translate3d(","").split(",")[0])||0,h=g.parentNode.querySelector("."+e),h&&(j=h.offsetWidth,this._currentDrag={buttonsWidth:j,content:g,startOffsetX:i}))},j.prototype.drag=a.animationFrameThrottle(function(b){var c;if(this._currentDrag&&(!this._isDragging&&(Math.abs(b.gesture.deltaX)>this.dragThresholdX||Math.abs(this._currentDrag.startOffsetX)>0)&&(this._isDragging=!0),this._isDragging)){c=this._currentDrag.buttonsWidth;var d=Math.min(0,this._currentDrag.startOffsetX+b.gesture.deltaX);-c>d&&(d=Math.min(-c,-c+.4*(b.gesture.deltaX+c))),this._currentDrag.content.style[a.CSS.TRANSFORM]="translate3d("+d+"px, 0, 0)",this._currentDrag.content.style.webkitTransition="none"}}),j.prototype.end=function(b,c){var d=this;if(!this._currentDrag)return void(c&&c());var e=-this._currentDrag.buttonsWidth;b.gesture.deltaX>-(this._currentDrag.buttonsWidth/2)&&("left"==b.gesture.direction&&Math.abs(b.gesture.velocityX)<.3?e=0:"right"==b.gesture.direction&&(e=0)),a.requestAnimationFrame(function(){d._currentDrag.content.style[a.CSS.TRANSFORM]=0===e?"":"translate3d("+e+"px, 0, 0)",d._currentDrag.content.style[a.CSS.TRANSFORM]="",d._currentDrag=null,c&&c()})};var k=function(a){this.dragThresholdY=a.dragThresholdY||0,this.onReorder=a.onReorder,this.el=a.el,this.scrollEl=a.scrollEl,this.scrollView=a.scrollView};k.prototype=new i,k.prototype._moveElement=function(b){var c=b.gesture.center.pageY-this._currentDrag.elementHeight/2;this.el.style[a.CSS.TRANSFORM]="translate3d(0, "+c+"px, 0)"},k.prototype.start=function(b){var c=(this.el.offsetTop,a.DomUtil.getChildIndex(this.el,this.el.nodeName.toLowerCase())),d=this.el.offsetHeight,e=this.el.cloneNode(!0),h=(this.scrollEl||this.el).parentNode;e.classList.add(f),this.el.parentNode.insertBefore(e,this.el),this.el.classList.add(g),h.parentNode.appendChild(this.el),this._currentDrag={elementHeight:d,startIndex:c,placeholder:e,scrollHeight:scroll,list:e.parentNode},this._moveElement(b)},k.prototype.drag=a.animationFrameThrottle(function(a){if(this._currentDrag){var b=0,c=a.gesture.center.pageY;if(this.scrollView){var d=this.scrollEl;b=this.scrollView.getValues().top;var e=d.offsetTop,f=e-c+this._currentDrag.elementHeight/2,g=c+this._currentDrag.elementHeight/2-e-d.offsetHeight;a.gesture.deltaY<0&&f>0&&b>0&&this.scrollView.scrollBy(null,-f),a.gesture.deltaY>0&&g>0&&b<this.scrollView.getScrollMax().top&&this.scrollView.scrollBy(null,g)}!this._isDragging&&Math.abs(a.gesture.deltaY)>this.dragThresholdY&&(this._isDragging=!0),this._isDragging&&(this._moveElement(a),this._currentDrag.currentY=b+c-this._currentDrag.placeholder.parentNode.offsetTop,this._reorderItems())}}),k.prototype._reorderItems=function(){var b=(this._currentDrag.placeholder,Array.prototype.slice.call(this._currentDrag.placeholder.parentNode.children)),c=b.indexOf(this._currentDrag.placeholder),d=b[Math.max(0,c-1)],e=b[Math.min(b.length,c+1)],f=this._currentDrag.currentY;return d&&f<d.offsetTop+d.offsetHeight/2?(a.DomUtil.swapNodes(this._currentDrag.placeholder,d),c-1):e&&f>e.offsetTop+e.offsetHeight/2?(a.DomUtil.swapNodes(e,this._currentDrag.placeholder),c+1):void 0},k.prototype.end=function(b,c){if(!this._currentDrag)return void(c&&c());var d=this._currentDrag.placeholder,e=a.DomUtil.getChildIndex(d,d.nodeName.toLowerCase());this.el.classList.remove(g),this.el.style[a.CSS.TRANSFORM]="",d.parentNode.insertBefore(this.el,d),d.parentNode.removeChild(d),this.onReorder&&this.onReorder(this.el,this._currentDrag.startIndex,e),this._currentDrag=null,c&&c()},a.views.ListView=a.views.View.inherit({initialize:function(b){var c=this;b=a.extend({onReorder:function(){},virtualRemoveThreshold:-200,virtualAddThreshold:200},b),a.extend(this,b),!this.itemHeight&&this.listEl&&(this.itemHeight=this.listEl.children[0]&&parseInt(this.listEl.children[0].style.height,10)),this.onRefresh=b.onRefresh||function(){},this.onRefreshOpening=b.onRefreshOpening||function(){},this.onRefreshHolding=b.onRefreshHolding||function(){},window.ionic.onGesture("touch",function(a){c._handleTouch(a)},this.el),window.ionic.onGesture("release",function(a){c._handleEndDrag(a)},this.el),window.ionic.onGesture("drag",function(a){c._handleDrag(a)},this.el),this._initDrag()},stopRefreshing:function(){var a=this.el.querySelector(".list-refresher");a.style.height="0px"},didScroll:function(a){if(this.isVirtual){var b=this.itemHeight,c=(this.listEl.children.length,a.target.scrollHeight),d=this.el.parentNode.offsetHeight,e=(a.scrollTop,Math.max(0,a.scrollTop+this.virtualRemoveThreshold)),f=Math.min(c,Math.abs(a.scrollTop)+d+this.virtualAddThreshold),g=Math.floor((f-e)/b),h=parseInt(Math.abs(e/b),10),i=parseInt(Math.abs(f/b),10);this._virtualItemsToRemove=Array.prototype.slice.call(this.listEl.children,0,h);{Array.prototype.slice.call(this.listEl.children,h,h+g)}this.renderViewport&&this.renderViewport(e,f,h,i)}},didStopScrolling:function(){if(this.isVirtual)for(var a=0;a<this._virtualItemsToRemove.length;a++){{this._virtualItemsToRemove[a]}this.didHideItem&&this.didHideItem(a)}},_initDrag:function(){this._dragOp=null},_getItem:function(a){for(;a;){if(a.classList.contains(b))return a;a=a.parentNode}return null},_startDrag:function(b){var c=this;if(this._isDragging=!1,!a.DomUtil.getParentOrSelfWithClass(b.target,h)||"up"!=b.gesture.direction&&"down"!=b.gesture.direction){if(("left"==b.gesture.direction||"right"==b.gesture.direction)&&Math.abs(b.gesture.deltaX)>5)return this._dragOp=new j({el:this.el}),this._dragOp.start(b),void b.preventDefault()}else{var d=this._getItem(b.target);if(d)return this._dragOp=new k({el:d,scrollEl:this.scrollEl,scrollView:this.scrollView,onReorder:function(a,b,d){c.onReorder&&c.onReorder(a,b,d)}}),this._dragOp.start(b),void b.preventDefault()}},_handleEndDrag:function(a){var b=this;if(this._dragOp){clearTimeout(this._touchTimeout);for(var c=b.el.querySelectorAll(".item"),d=0,e=c.length;e>d;d++)c[d].classList.remove("active");this._dragOp.end(a,function(){b._initDrag()})}},_handleDrag:function(a){(Math.abs(a.gesture.deltaX)>10||Math.abs(a.gesture.deltaY)>10)&&clearTimeout(this._touchTimeout),clearTimeout(this._touchTimeout),this.isDragging||this._dragOp||this._startDrag(a),this._dragOp&&(a.gesture.srcEvent.preventDefault(),this._dragOp.drag(a))},_handleTouch:function(c){var d=this,e=a.DomUtil.getParentOrSelfWithClass(c.target,b);e&&(this._touchTimeout=setTimeout(function(){for(var a=d.el.querySelectorAll(".item"),b=0,c=a.length;c>b;b++)a[b].classList.remove("active");e.classList.add("active")},250))}})}(ionic),function(a){"use strict";a.views.Loading=a.views.View.inherit({initialize:function(a){this.el=a.el,this.maxWidth=a.maxWidth||200,this.showDelay=a.showDelay||0,this._loadingBox=this.el.querySelector(".loading")},show:function(){var a=this;if(this._loadingBox){var b=a._loadingBox,c=Math.min(a.maxWidth,Math.max(window.outerWidth-40,b.offsetWidth));b.style.width=c+"px",b.style.marginLeft=-b.offsetWidth/2+"px",b.style.marginTop=-b.offsetHeight/2+"px",this._showDelayTimeout=window.setTimeout(function(){a.el.classList.add("active")},a.showDelay)}},hide:function(){this.el.offsetWidth,window.clearTimeout(this._showDelayTimeout),this.el.classList.remove("active")}})}(ionic),function(a){"use strict";a.views.Modal=a.views.View.inherit({initialize:function(b){b=a.extend({focusFirstInput:!1,unfocusOnHide:!0,focusFirstDelay:600},b),a.extend(this,b),this.el=b.el},show:function(){var a=this;this.el.classList.add("active"),this.focusFirstInput&&window.setTimeout(function(){var b=a.el.querySelector("input, textarea");b&&b.focus&&b.focus()},this.focusFirstDelay)},hide:function(){if(this.el.classList.remove("active"),this.unfocusOnHide){var a=this.el.querySelectorAll("input, textarea");window.setTimeout(function(){for(var b=0;b<a.length;b++)a[b].blur&&a[b].blur()})}}})}(ionic),function(a){"use strict";a.views.NavBar=a.views.View.inherit({initialize:function(a){this.el=a.el,this._titleEl=this.el.querySelector(".title"),a.hidden&&this.hide()},hide:function(){this.el.classList.add("hidden")},show:function(){this.el.classList.remove("hidden")},shouldGoBack:function(){},setTitle:function(a){this._titleEl&&(this._titleEl.innerHTML=a)},showBackButton:function(a){var b=this;if(!this._currentBackButton){var c=document.createElement("a");c.className="button back",c.innerHTML="Back",this._currentBackButton=c,this._currentBackButton.onclick=function(){b.shouldGoBack&&b.shouldGoBack()}}a&&!this._currentBackButton.parentNode?this.el.insertBefore(this._currentBackButton,this.el.firstChild):!a&&this._currentBackButton.parentNode&&this._currentBackButton.parentNode.removeChild(this._currentBackButton)}})}(ionic),function(a){"use strict";a.views.Popup=a.views.View.inherit({initialize:function(a){this.el=a.el},setTitle:function(a){var b=el.querySelector(".popup-title");b&&(b.innerHTML=a)},alert:function(b){var c=this;a.requestAnimationFrame(function(){c.setTitle(b),c.el.classList.add("active")})},hide:function(){this.el.offsetWidth,this.el.classList.remove("active")}})}(ionic),function(a){"use strict";a.views.SideMenu=a.views.View.inherit({initialize:function(a){this.el=a.el,this.isEnabled=a.isEnabled||!0,this.setWidth(a.width)},getFullWidth:function(){return this.width},setWidth:function(a){this.width=a,this.el.style.width=a+"px"},setIsEnabled:function(a){this.isEnabled=a},bringUp:function(){"0"!==this.el.style.zIndex&&(this.el.style.zIndex="0")},pushDown:function(){"-1"!==this.el.style.zIndex&&(this.el.style.zIndex="-1")}}),a.views.SideMenuContent=a.views.View.inherit({initialize:function(b){a.extend(this,{animationClass:"menu-animated",onDrag:function(){},onEndDrag:function(){}},b),a.onGesture("drag",a.proxy(this._onDrag,this),this.el),a.onGesture("release",a.proxy(this._onEndDrag,this),this.el)},_onDrag:function(a){this.onDrag&&this.onDrag(a)},_onEndDrag:function(a){this.onEndDrag&&this.onEndDrag(a)},disableAnimation:function(){this.el.classList.remove(this.animationClass)},enableAnimation:function(){this.el.classList.add(this.animationClass)},getTranslateX:function(){return parseFloat(this.el.style[a.CSS.TRANSFORM].replace("translate3d(","").split(",")[0])},setTranslateX:a.animationFrameThrottle(function(b){this.el.style[a.CSS.TRANSFORM]="translate3d("+b+"px, 0, 0)"})})}(ionic),function(a){"use strict";a.views.Slider=a.views.View.inherit({initialize:function(a){function b(){p=t.children,s=p.length,p.length<2&&(a.continuous=!1),n.transitions&&a.continuous&&p.length<3&&(t.appendChild(p[0].cloneNode(!0)),t.appendChild(t.children[1].cloneNode(!0)),p=t.children),q=new Array(p.length),r=o.getBoundingClientRect().width||o.offsetWidth,t.style.width=p.length*r+"px";for(var b=p.length;b--;){var c=p[b];c.style.width=r+"px",c.setAttribute("data-index",b),n.transitions&&(c.style.left=b*-r+"px",g(b,u>b?-r:b>u?r:0,0))}a.continuous&&n.transitions&&(g(e(u-1),-r,0),g(e(u+1),r,0)),n.transitions||(t.style.left=u*-r+"px"),o.style.visibility="visible",a.slidesChanged&&a.slidesChanged()}function c(){a.continuous?f(u-1):u&&f(u-1)}function d(){a.continuous?f(u+1):u<p.length-1&&f(u+1)}function e(a){return(p.length+a%p.length)%p.length}function f(b,c){if(u!=b){if(n.transitions){var d=Math.abs(u-b)/(u-b);if(a.continuous){var f=d;d=-q[e(b)]/r,d!==f&&(b=-d*p.length+b)}for(var h=Math.abs(u-b)-1;h--;)g(e((b>u?b:u)-h-1),r*d,0);b=e(b),g(u,r*d,c||v),g(b,0,c||v),a.continuous&&g(e(b-d),-(r*d),0)}else b=e(b),i(u*-r,b*-r,c||v);u=b,m(a.callback&&a.callback(u,p[u]))}}function g(a,b,c){h(a,b,c),q[a]=b}function h(a,b,c){var d=p[a],e=d&&d.style;e&&(e.webkitTransitionDuration=e.MozTransitionDuration=e.msTransitionDuration=e.OTransitionDuration=e.transitionDuration=c+"ms",e.webkitTransform="translate("+b+"px,0)translateZ(0)",e.msTransform=e.MozTransform=e.OTransform="translateX("+b+"px)")}function i(b,c,d){if(!d)return void(t.style.left=c+"px");var e=+new Date,f=setInterval(function(){var g=+new Date-e;return g>d?(t.style.left=c+"px",y&&j(),a.transitionEnd&&a.transitionEnd.call(event,u,p[u]),void clearInterval(f)):void(t.style.left=(c-b)*(Math.floor(g/d*100)/100)+b+"px")},4)}function j(){w=setTimeout(d,y)}function k(){y=a.auto||0,clearTimeout(w)}var l=function(){},m=function(a){setTimeout(a||l,0)},n={addEventListener:!!window.addEventListener,touch:"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,transitions:function(a){var b=["transitionProperty","WebkitTransition","MozTransition","OTransition","msTransition"];for(var c in b)if(void 0!==a.style[b[c]])return!0;return!1}(document.createElement("swipe"))},o=a.el;if(o){var p,q,r,s,t=o.children[0];a=a||{};var u=parseInt(a.startSlide,10)||0,v=a.speed||300;a.continuous=void 0!==a.continuous?a.continuous:!0;var w,x,y=a.auto||0,z={},A={},B={handleEvent:function(c){switch(("mousedown"==c.type||"mouseup"==c.type||"mousemove"==c.type)&&(c.touches=[{pageX:c.pageX,pageY:c.pageY}]),c.type){case"mousedown":this.start(c);break;case"touchstart":this.start(c);break;case"touchmove":this.move(c);break;case"mousemove":this.move(c);break;case"touchend":m(this.end(c));break;case"mouseup":m(this.end(c));break;case"webkitTransitionEnd":case"msTransitionEnd":case"oTransitionEnd":case"otransitionend":case"transitionend":m(this.transitionEnd(c));break;case"resize":m(b)}a.stopPropagation&&c.stopPropagation()},start:function(a){var b=a.touches[0];z={x:b.pageX,y:b.pageY,time:+new Date},x=void 0,A={},n.touch?(t.addEventListener("touchmove",this,!1),t.addEventListener("touchend",this,!1)):(t.addEventListener("mousemove",this,!1),t.addEventListener("mouseup",this,!1),document.addEventListener("mouseup",this,!1))},move:function(b){if(!(b.touches.length>1||b.scale&&1!==b.scale)){a.disableScroll&&b.preventDefault();var c=b.touches[0];A={x:c.pageX-z.x,y:c.pageY-z.y},"undefined"==typeof x&&(x=!!(x||Math.abs(A.x)<Math.abs(A.y))),x||(b.preventDefault(),k(),a.continuous?(h(e(u-1),A.x+q[e(u-1)],0),h(u,A.x+q[u],0),h(e(u+1),A.x+q[e(u+1)],0)):(A.x=A.x/(!u&&A.x>0||u==p.length-1&&A.x<0?Math.abs(A.x)/r+1:1),h(u-1,A.x+q[u-1],0),h(u,A.x+q[u],0),h(u+1,A.x+q[u+1],0)))}},end:function(){var b=+new Date-z.time,c=Number(b)<250&&Math.abs(A.x)>20||Math.abs(A.x)>r/2,d=!u&&A.x>0||u==p.length-1&&A.x<0;a.continuous&&(d=!1);var f=A.x<0;x||(c&&!d?(f?(a.continuous?(g(e(u-1),-r,0),g(e(u+2),r,0)):g(u-1,-r,0),g(u,q[u]-r,v),g(e(u+1),q[e(u+1)]-r,v),u=e(u+1)):(a.continuous?(g(e(u+1),r,0),g(e(u-2),-r,0)):g(u+1,r,0),g(u,q[u]+r,v),g(e(u-1),q[e(u-1)]+r,v),u=e(u-1)),a.callback&&a.callback(u,p[u])):a.continuous?(g(e(u-1),-r,v),g(u,0,v),g(e(u+1),r,v)):(g(u-1,-r,v),g(u,0,v),g(u+1,r,v))),n.touch?(t.removeEventListener("touchmove",B,!1),t.removeEventListener("touchend",B,!1)):(t.removeEventListener("mousemove",B,!1),t.removeEventListener("mouseup",B,!1),document.removeEventListener("mouseup",B,!1))},transitionEnd:function(b){parseInt(b.target.getAttribute("data-index"),10)==u&&(y&&j(),a.transitionEnd&&a.transitionEnd.call(b,u,p[u]))}};this.setup=function(){b()},this.slide=function(a,b){k(),f(a,b)},this.prev=function(){k(),c()},this.next=function(){k(),d()},this.stop=function(){k()},this.getPos=function(){return u},this.getNumSlides=function(){return s},this.kill=function(){k(),t.style.width="",t.style.left="";for(var a=p.length;a--;){var b=p[a];b.style.width="",b.style.left="",n.transitions&&h(a,0,0)}n.addEventListener?(t.removeEventListener("touchstart",B,!1),t.removeEventListener("webkitTransitionEnd",B,!1),t.removeEventListener("msTransitionEnd",B,!1),t.removeEventListener("oTransitionEnd",B,!1),t.removeEventListener("otransitionend",B,!1),t.removeEventListener("transitionend",B,!1),window.removeEventListener("resize",B,!1)):window.onresize=null},this.load=function(){b(),y&&j(),n.addEventListener?(n.touch?t.addEventListener("touchstart",B,!1):t.addEventListener("mousedown",B,!1),n.transitions&&(t.addEventListener("webkitTransitionEnd",B,!1),t.addEventListener("msTransitionEnd",B,!1),t.addEventListener("oTransitionEnd",B,!1),t.addEventListener("otransitionend",B,!1),t.addEventListener("transitionend",B,!1)),window.addEventListener("resize",B,!1)):window.onresize=function(){b()}}}}})}(ionic),function(a){"use strict";a.views.TabBarItem=a.views.View.inherit({initialize:function(a){this.el=a,this._buildItem()
16
+ },create:function(b){var c=document.createElement("a");if(c.className="tab-item",b.icon){var d=document.createElement("i");d.className=b.icon,c.appendChild(d)}if(b.badge){var e=document.createElement("i");e.className="badge",e.innerHTML=b.badge,c.appendChild(e),c.className="tab-item has-badge"}return c.appendChild(document.createTextNode(b.title)),new a.views.TabBarItem(c)},_buildItem:function(){for(var b,c=this,d=Array.prototype.slice.call(this.el.children),e=0,f=d.length;f>e;e++)b=d[e],"i"==b.tagName.toLowerCase()&&/icon/.test(b.className)&&(this.icon=b.className),"i"==b.tagName.toLowerCase()&&/badge/.test(b.className)&&(this.badge=b.textContent.trim());for(this.title="",e=0,f=this.el.childNodes.length;f>e;e++)b=this.el.childNodes[e],"#text"===b.nodeName&&(this.title+=b.nodeValue.trim());this._tapHandler=function(a){c.onTap&&c.onTap(a)},a.on("tap",this._tapHandler,this.el)},onTap:function(){},destroy:function(){a.off("tap",this._tapHandler,this.el)},getIcon:function(){return this.icon},getTitle:function(){return this.title},getBadge:function(){return this.badge},setSelected:function(a){this.isSelected=a,a?this.el.classList.add("active"):this.el.classList.remove("active")}}),a.views.TabBar=a.views.View.inherit({initialize:function(a){this.el=a.el,this.items=[],this._buildItems()},getItems:function(){return this.items},addItem:function(b){var c=a.views.TabBarItem.prototype.create(b);this.appendItemElement(c),this.items.push(c),this._bindEventsOnItem(c)},appendItemElement:function(a){this.el&&this.el.appendChild(a.el)},removeItem:function(a){var b=this.items[a];b&&(b.onTap=void 0,b.destroy())},_bindEventsOnItem:function(a){var b=this;this._itemTapHandler||(this._itemTapHandler=function(){b.trySelectItem(this)}),a.onTap=this._itemTapHandler},getSelectedItem:function(){return this.selectedItem},setSelectedItem:function(a){this.selectedItem=this.items[a];for(var b=0,c=this.items.length;c>b;b+=1)this.items[b].setSelected(!1);this.selectedItem&&this.selectedItem.setSelected(!0)},selectItem:function(a){for(var b=0,c=this.items.length;c>b;b+=1)if(this.items[b]==a)return void this.setSelectedItem(b)},trySelectItem:function(a){for(var b=0,c=this.items.length;c>b;b+=1)if(this.items[b]==a)return void(this.tryTabSelect&&this.tryTabSelect(b))},_buildItems:function(){for(var b,c=Array.prototype.slice.call(this.el.children),d=0,e=c.length;e>d;d+=1)b=new a.views.TabBarItem(c[d]),this.items[d]=b,this._bindEventsOnItem(b);this.items.length>0&&(this.selectedItem=this.items[0])},destroy:function(){for(var a=0,b=this.items.length;b>a;a+=1)this.items[a].destroy();this.items.length=0}})}(window.ionic),function(a){"use strict";a.views.Toggle=a.views.View.inherit({initialize:function(a){this.el=a.el,this.checkbox=a.checkbox,this.track=a.track,this.handle=a.handle,this.openPercent=-1},tap:function(){"disabled"!==this.el.getAttribute("disabled")&&this.val(!this.checkbox.checked)},drag:function(a){var b=this.track.offsetLeft+this.handle.offsetWidth/2,c=this.track.offsetLeft+this.track.offsetWidth-this.handle.offsetWidth/2;a.pageX>=c-4?this.val(!0):a.pageX<=b?this.val(!1):this.setOpenPercent(Math.round(100*(1-(c-a.pageX)/(c-b))))},setOpenPercent:function(b){if(this.openPercent<0||b<this.openPercent-3||b>this.openPercent+3)if(this.openPercent=b,0===b)this.val(!1);else if(100===b)this.val(!0);else{var c=Math.round(b/100*this.track.offsetWidth-this.handle.offsetWidth);c=1>c?0:c,this.handle.style[a.CSS.TRANSFORM]="translate3d("+c+"px,0,0)"}},release:function(){this.val(this.openPercent>=50)},val:function(b){return(b===!0||b===!1)&&(""!==this.handle.style[a.CSS.TRANSFORM]&&(this.handle.style[a.CSS.TRANSFORM]=""),this.checkbox.checked=b,this.openPercent=b?100:0),this.checkbox.checked}})}(ionic),function(a){"use strict";a.controllers.ViewController=function(){this.initialize.apply(this,arguments)},a.controllers.ViewController.inherit=a.inherit,a.extend(a.controllers.ViewController.prototype,{initialize:function(){},destroy:function(){}})}(window.ionic),function(a){"use strict";a.controllers.NavController=a.controllers.ViewController.inherit({initialize:function(a){var b=this;this.navBar=a.navBar,this.content=a.content,this.controllers=a.controllers||[],this._updateNavBar(),this.navBar.shouldGoBack=function(){b.pop()}},getControllers:function(){return this.controllers},getTopController:function(){return this.controllers[this.controllers.length-1]},push:function(a){var b=this.controllers[this.controllers.length-1];this.controllers.push(a);var c=this.switchingController&&this.switchingController(a)||!0;if(c!==!1){b&&(b.isVisible=!1,b.visibilityChanged&&b.visibilityChanged("push"));var d=this.controllers[this.controllers.length-1];return d.isVisible=!0,d.visibilityChanged&&d.visibilityChanged(b?"push":"first"),this._updateNavBar(),a}},pop:function(){var a,b;if(!(this.controllers.length<2))return b=this.controllers.pop(),b&&(b.isVisible=!1,b.visibilityChanged&&b.visibilityChanged("pop")),a=this.controllers[this.controllers.length-1],a.isVisible=!0,a.visibilityChanged&&a.visibilityChanged("pop"),this._updateNavBar(),b},showNavBar:function(){this.navBar&&this.navBar.show()},hideNavBar:function(){this.navBar&&this.navBar.hide()},_updateNavBar:function(){this.getTopController()&&this.navBar&&(this.navBar.setTitle(this.getTopController().title),this.navBar.showBackButton(this.controllers.length>1?!0:!1))}})}(window.ionic),function(a){"use strict";a.controllers.SideMenuController=a.controllers.ViewController.inherit({initialize:function(a){var b=this;this.left=a.left,this.right=a.right,this.content=a.content,this.dragThresholdX=a.dragThresholdX||10,this._rightShowing=!1,this._leftShowing=!1,this._isDragging=!1,this.content&&(this.content.onDrag=function(a){b._handleDrag(a)},this.content.onEndDrag=function(a){b._endDrag(a)})},setContent:function(a){var b=this;this.content=a,this.content.onDrag=function(a){b._handleDrag(a)},this.content.endDrag=function(a){b._endDrag(a)}},toggleLeft:function(){this.content.enableAnimation();var a=this.getOpenAmount();this.openPercentage(a>0?0:100)},toggleRight:function(){this.content.enableAnimation();var a=this.getOpenAmount();this.openPercentage(0>a?0:-100)},close:function(){this.openPercentage(0)},getOpenAmount:function(){return this.content&&this.content.getTranslateX()||0},getOpenRatio:function(){var a=this.getOpenAmount();return a>=0?a/this.left.width:a/this.right.width},isOpen:function(){return 1==this.getOpenRatio()},getOpenPercentage:function(){return 100*this.getOpenRatio()},openPercentage:function(a){var b=a/100;if(this.left&&a>=0)this.openAmount(this.left.width*b);else if(this.right&&0>a){{this.right.width}this.openAmount(this.right.width*b)}},openAmount:function(a){var b=this.left&&this.left.width||0,c=this.right&&this.right.width||0;(!this.left||!this.left.isEnabled)&&a>0||(!this.right||!this.right.isEnabled)&&0>a||this._leftShowing&&a>b||this._rightShowing&&-c>a||(this.content.setTranslateX(a),a>=0?(this._leftShowing=!0,this._rightShowing=!1,this.right&&this.right.pushDown&&this.right.pushDown(),this.left&&this.left.bringUp&&this.left.bringUp()):(this._rightShowing=!0,this._leftShowing=!1,this.right&&this.right.bringUp&&this.right.bringUp(),this.left&&this.left.pushDown&&this.left.pushDown()))},snapToRest:function(a){this.content.enableAnimation(),this._isDragging=!1;var b=this.getOpenRatio();if(0!==b){var c=.3,d=a.gesture.velocityX,e=a.gesture.direction;this.openPercentage(b>0&&.5>b&&"right"==e&&c>d?0:b>.5&&"left"==e&&c>d?100:0>b&&b>-.5&&"left"==e&&c>d?0:.5>b&&"right"==e&&c>d?-100:"right"==e&&b>=0&&(b>=.5||d>c)?100:"left"==e&&0>=b&&(-.5>=b||d>c)?-100:0)}},_endDrag:function(a){this._isDragging&&this.snapToRest(a),this._startX=null,this._lastX=null,this._offsetX=null},_handleDrag:function(a){this._startX?this._lastX=a.gesture.touches[0].pageX:(this._startX=a.gesture.touches[0].pageX,this._lastX=this._startX),!this._isDragging&&Math.abs(this._lastX-this._startX)>this.dragThresholdX&&(this._startX=this._lastX,this._isDragging=!0,this.content.disableAnimation(),this._offsetX=this.getOpenAmount()),this._isDragging&&this.openAmount(this._offsetX+(this._lastX-this._startX))}})}(ionic),function(a){"use strict";a.controllers.TabBarController=a.controllers.ViewController.inherit({initialize:function(a){this.tabBar=a.tabBar,this._bindEvents(),this.controllers=[];for(var b=a.controllers||[],c=0;c<b.length;c++)this.addController(b[c]);this.controllerWillChange=a.controllerWillChange||function(){},this.controllerChanged=a.controllerChanged||function(){},this.setSelectedController(0)},_bindEvents:function(){var a=this;this.tabBar.tryTabSelect=function(b){a.setSelectedController(b)}},selectController:function(a){var b=!0;this.controllerWillChange&&this.controllerWillChange(this.controllers[a],a)===!1&&(b=!1),b&&this.setSelectedController(a)},setSelectedController:function(a){if(!(a>=this.controllers.length)){var b=this.selectedController,c=this.selectedIndex;this.selectedController=this.controllers[a],this.selectedIndex=a,this._showController(a),this.tabBar.setSelectedItem(a),this.controllerChanged&&this.controllerChanged(b,c,this.selectedController,this.selectedIndex)}},_showController:function(a){for(var b,c=0,d=this.controllers.length;d>c;c++)b=this.controllers[c],b.isVisible=!1,b.visibilityChanged&&b.visibilityChanged();b=this.controllers[a],b.isVisible=!0,b.visibilityChanged&&b.visibilityChanged()},_clearSelected:function(){this.selectedController=null,this.selectedIndex=-1},getController:function(a){return this.controllers[a]},getControllers:function(){return this.controllers},getSelectedController:function(){return this.selectedController},getSelectedControllerIndex:function(){return this.selectedIndex},addController:function(a){this.controllers.push(a),this.tabBar.addItem({title:a.title,icon:a.icon,badge:a.badge}),this.selectedController||this.setSelectedController(0)},setControllers:function(a){this.controllers=a,this._clearSelected(),this.selectController(0)}})}(window.ionic);
@@ -1,9 +1,8 @@
1
- @charset "UTF-8";
2
1
  /*!
3
- * Copyright 2013 Drifty Co.
2
+ * Copyright 2014 Drifty Co.
4
3
  * http://drifty.com/
5
4
  *
6
- * Ionic, v0.9.17
5
+ * Ionic, v0.9.26
7
6
  * A powerful HTML5 mobile app framework.
8
7
  * http://ionicframework.com/
9
8
  *
@@ -13,550 +12,19 @@
13
12
  *
14
13
  */
15
14
  /*!
16
- Ionicons, v1.4.0
15
+ Ionicons, v#{$ionicons-version}
17
16
  Created by Ben Sperry for the Ionic Framework, http://ionicons.com/
18
- https://twitter.com/helloimben https://twitter.com/ionicframework
17
+ https://twitter.com/benjsperry https://twitter.com/ionicframework
19
18
  MIT License: https://github.com/driftyco/ionicons
20
19
  */
21
20
  @font-face {
22
21
  font-family: "Ionicons";
23
- src: url("<%= font_path('ionic/ionicons.eot') %>?v=1.4.0");
24
- src: url("<%= font_path('ionic/ionicons.eot') %>?v=1.4.0#iefix") format("embedded-opentype"), url("<%= font_path('ionic/ionicons.ttf') %>?v=1.4.0") format("truetype"), url("<%= font_path('ionic/ionicons.woff') %>?v=1.4.0") format("woff"), url("<%= font_path('ionic/ionicons.svg') %>?v=1.4.0#Ionicons") format("svg");
22
+ src: url("<%= font_path('ionic/ionicons.eot') %>?v=1.4.1");
23
+ src: url("<%= font_path('ionic/ionicons.eot') %>?v=1.4.1#iefix") format("embedded-opentype"), url("<%= font_path('ionic/ionicons.ttf') %>?v=1.4.1") format("truetype"), url("<%= font_path('ionic/ionicons.woff') %>?v=1.4.1") format("woff"), url("<%= font_path('ionic/ionicons.svg') %>?v=1.4.1#Ionicons") format("svg");
25
24
  font-weight: normal;
26
25
  font-style: normal; }
27
26
 
28
- .ion, .ion-loading-a,
29
- .ion-loading-b,
30
- .ion-loading-c,
31
- .ion-loading-d,
32
- .ion-looping,
33
- .ion-refreshing,
34
- .ion-ios7-reloading, .ionicons,
35
- .ion-alert,
36
- .ion-alert-circled,
37
- .ion-android-add,
38
- .ion-android-add-contact,
39
- .ion-android-alarm,
40
- .ion-android-archive,
41
- .ion-android-arrow-back,
42
- .ion-android-arrow-down-left,
43
- .ion-android-arrow-down-right,
44
- .ion-android-arrow-up-left,
45
- .ion-android-arrow-up-right,
46
- .ion-android-battery,
47
- .ion-android-book,
48
- .ion-android-calendar,
49
- .ion-android-call,
50
- .ion-android-camera,
51
- .ion-android-chat,
52
- .ion-android-checkmark,
53
- .ion-android-clock,
54
- .ion-android-close,
55
- .ion-android-contact,
56
- .ion-android-contacts,
57
- .ion-android-data,
58
- .ion-android-developer,
59
- .ion-android-display,
60
- .ion-android-download,
61
- .ion-android-dropdown,
62
- .ion-android-earth,
63
- .ion-android-folder,
64
- .ion-android-forums,
65
- .ion-android-friends,
66
- .ion-android-hand,
67
- .ion-android-image,
68
- .ion-android-inbox,
69
- .ion-android-information,
70
- .ion-android-keypad,
71
- .ion-android-lightbulb,
72
- .ion-android-locate,
73
- .ion-android-location,
74
- .ion-android-mail,
75
- .ion-android-microphone,
76
- .ion-android-mixer,
77
- .ion-android-more,
78
- .ion-android-note,
79
- .ion-android-playstore,
80
- .ion-android-printer,
81
- .ion-android-promotion,
82
- .ion-android-reminder,
83
- .ion-android-remove,
84
- .ion-android-search,
85
- .ion-android-send,
86
- .ion-android-settings,
87
- .ion-android-share,
88
- .ion-android-social,
89
- .ion-android-social-user,
90
- .ion-android-sort,
91
- .ion-android-star,
92
- .ion-android-stopwatch,
93
- .ion-android-storage,
94
- .ion-android-system-back,
95
- .ion-android-system-home,
96
- .ion-android-system-windows,
97
- .ion-android-timer,
98
- .ion-android-trash,
99
- .ion-android-volume,
100
- .ion-android-wifi,
101
- .ion-archive,
102
- .ion-arrow-down-a,
103
- .ion-arrow-down-b,
104
- .ion-arrow-down-c,
105
- .ion-arrow-expand,
106
- .ion-arrow-graph-down-left,
107
- .ion-arrow-graph-down-right,
108
- .ion-arrow-graph-up-left,
109
- .ion-arrow-graph-up-right,
110
- .ion-arrow-left-a,
111
- .ion-arrow-left-b,
112
- .ion-arrow-left-c,
113
- .ion-arrow-move,
114
- .ion-arrow-resize,
115
- .ion-arrow-return-left,
116
- .ion-arrow-return-right,
117
- .ion-arrow-right-a,
118
- .ion-arrow-right-b,
119
- .ion-arrow-right-c,
120
- .ion-arrow-shrink,
121
- .ion-arrow-swap,
122
- .ion-arrow-up-a,
123
- .ion-arrow-up-b,
124
- .ion-arrow-up-c,
125
- .ion-at,
126
- .ion-bag,
127
- .ion-battery-charging,
128
- .ion-battery-empty,
129
- .ion-battery-full,
130
- .ion-battery-half,
131
- .ion-battery-low,
132
- .ion-beaker,
133
- .ion-beer,
134
- .ion-bluetooth,
135
- .ion-bookmark,
136
- .ion-briefcase,
137
- .ion-bug,
138
- .ion-calculator,
139
- .ion-calendar,
140
- .ion-camera,
141
- .ion-card,
142
- .ion-chatbox,
143
- .ion-chatbox-working,
144
- .ion-chatboxes,
145
- .ion-chatbubble,
146
- .ion-chatbubble-working,
147
- .ion-chatbubbles,
148
- .ion-checkmark,
149
- .ion-checkmark-circled,
150
- .ion-checkmark-round,
151
- .ion-chevron-down,
152
- .ion-chevron-left,
153
- .ion-chevron-right,
154
- .ion-chevron-up,
155
- .ion-clipboard,
156
- .ion-clock,
157
- .ion-close,
158
- .ion-close-circled,
159
- .ion-close-round,
160
- .ion-cloud,
161
- .ion-code,
162
- .ion-code-download,
163
- .ion-code-working,
164
- .ion-coffee,
165
- .ion-compass,
166
- .ion-compose,
167
- .ion-connection-bars,
168
- .ion-contrast,
169
- .ion-disc,
170
- .ion-document,
171
- .ion-document-text,
172
- .ion-drag,
173
- .ion-earth,
174
- .ion-edit,
175
- .ion-egg,
176
- .ion-eject,
177
- .ion-email,
178
- .ion-eye,
179
- .ion-eye-disabled,
180
- .ion-female,
181
- .ion-filing,
182
- .ion-film-marker,
183
- .ion-flag,
184
- .ion-flash,
185
- .ion-flash-off,
186
- .ion-flask,
187
- .ion-folder,
188
- .ion-fork,
189
- .ion-fork-repo,
190
- .ion-forward,
191
- .ion-game-controller-a,
192
- .ion-game-controller-b,
193
- .ion-gear-a,
194
- .ion-gear-b,
195
- .ion-grid,
196
- .ion-hammer,
197
- .ion-headphone,
198
- .ion-heart,
199
- .ion-help,
200
- .ion-help-buoy,
201
- .ion-help-circled,
202
- .ion-home,
203
- .ion-icecream,
204
- .ion-icon-social-google-plus,
205
- .ion-icon-social-google-plus-outline,
206
- .ion-image,
207
- .ion-images,
208
- .ion-information,
209
- .ion-information-circled,
210
- .ion-ionic,
211
- .ion-ios7-alarm,
212
- .ion-ios7-alarm-outline,
213
- .ion-ios7-albums,
214
- .ion-ios7-albums-outline,
215
- .ion-ios7-arrow-back,
216
- .ion-ios7-arrow-down,
217
- .ion-ios7-arrow-forward,
218
- .ion-ios7-arrow-left,
219
- .ion-ios7-arrow-right,
220
- .ion-ios7-arrow-thin-down,
221
- .ion-ios7-arrow-thin-left,
222
- .ion-ios7-arrow-thin-right,
223
- .ion-ios7-arrow-thin-up,
224
- .ion-ios7-arrow-up,
225
- .ion-ios7-at,
226
- .ion-ios7-at-outline,
227
- .ion-ios7-bell,
228
- .ion-ios7-bell-outline,
229
- .ion-ios7-bolt,
230
- .ion-ios7-bolt-outline,
231
- .ion-ios7-bookmarks,
232
- .ion-ios7-bookmarks-outline,
233
- .ion-ios7-box,
234
- .ion-ios7-box-outline,
235
- .ion-ios7-briefcase,
236
- .ion-ios7-briefcase-outline,
237
- .ion-ios7-browsers,
238
- .ion-ios7-browsers-outline,
239
- .ion-ios7-calculator,
240
- .ion-ios7-calculator-outline,
241
- .ion-ios7-calendar,
242
- .ion-ios7-calendar-outline,
243
- .ion-ios7-camera,
244
- .ion-ios7-camera-outline,
245
- .ion-ios7-cart,
246
- .ion-ios7-cart-outline,
247
- .ion-ios7-chatboxes,
248
- .ion-ios7-chatboxes-outline,
249
- .ion-ios7-chatbubble,
250
- .ion-ios7-chatbubble-outline,
251
- .ion-ios7-checkmark,
252
- .ion-ios7-checkmark-empty,
253
- .ion-ios7-checkmark-outline,
254
- .ion-ios7-circle-filled,
255
- .ion-ios7-circle-outline,
256
- .ion-ios7-clock,
257
- .ion-ios7-clock-outline,
258
- .ion-ios7-close,
259
- .ion-ios7-close-empty,
260
- .ion-ios7-close-outline,
261
- .ion-ios7-cloud,
262
- .ion-ios7-cloud-download,
263
- .ion-ios7-cloud-download-outline,
264
- .ion-ios7-cloud-outline,
265
- .ion-ios7-cloud-upload,
266
- .ion-ios7-cloud-upload-outline,
267
- .ion-ios7-cloudy,
268
- .ion-ios7-cloudy-night,
269
- .ion-ios7-cloudy-night-outline,
270
- .ion-ios7-cloudy-outline,
271
- .ion-ios7-cog,
272
- .ion-ios7-cog-outline,
273
- .ion-ios7-compose,
274
- .ion-ios7-compose-outline,
275
- .ion-ios7-contact,
276
- .ion-ios7-contact-outline,
277
- .ion-ios7-copy,
278
- .ion-ios7-copy-outline,
279
- .ion-ios7-download,
280
- .ion-ios7-download-outline,
281
- .ion-ios7-drag,
282
- .ion-ios7-email,
283
- .ion-ios7-email-outline,
284
- .ion-ios7-eye,
285
- .ion-ios7-eye-outline,
286
- .ion-ios7-fastforward,
287
- .ion-ios7-fastforward-outline,
288
- .ion-ios7-filing,
289
- .ion-ios7-filing-outline,
290
- .ion-ios7-film,
291
- .ion-ios7-film-outline,
292
- .ion-ios7-flag,
293
- .ion-ios7-flag-outline,
294
- .ion-ios7-folder,
295
- .ion-ios7-folder-outline,
296
- .ion-ios7-gear,
297
- .ion-ios7-gear-outline,
298
- .ion-ios7-glasses,
299
- .ion-ios7-glasses-outline,
300
- .ion-ios7-heart,
301
- .ion-ios7-heart-outline,
302
- .ion-ios7-help,
303
- .ion-ios7-help-empty,
304
- .ion-ios7-help-outline,
305
- .ion-ios7-infinite,
306
- .ion-ios7-infinite-outline,
307
- .ion-ios7-information,
308
- .ion-ios7-information-empty,
309
- .ion-ios7-information-outline,
310
- .ion-ios7-ionic-outline,
311
- .ion-ios7-keypad,
312
- .ion-ios7-keypad-outline,
313
- .ion-ios7-lightbulb,
314
- .ion-ios7-lightbulb-outline,
315
- .ion-ios7-location,
316
- .ion-ios7-location-outline,
317
- .ion-ios7-locked,
318
- .ion-ios7-locked-outline,
319
- .ion-ios7-medkit,
320
- .ion-ios7-medkit-outline,
321
- .ion-ios7-mic,
322
- .ion-ios7-mic-off,
323
- .ion-ios7-mic-outline,
324
- .ion-ios7-minus,
325
- .ion-ios7-minus-empty,
326
- .ion-ios7-minus-outline,
327
- .ion-ios7-monitor,
328
- .ion-ios7-monitor-outline,
329
- .ion-ios7-moon,
330
- .ion-ios7-moon-outline,
331
- .ion-ios7-more,
332
- .ion-ios7-more-outline,
333
- .ion-ios7-musical-note,
334
- .ion-ios7-musical-notes,
335
- .ion-ios7-navigate,
336
- .ion-ios7-navigate-outline,
337
- .ion-ios7-paperplane,
338
- .ion-ios7-paperplane-outline,
339
- .ion-ios7-partlysunny,
340
- .ion-ios7-partlysunny-outline,
341
- .ion-ios7-pause,
342
- .ion-ios7-pause-outline,
343
- .ion-ios7-people,
344
- .ion-ios7-people-outline,
345
- .ion-ios7-person,
346
- .ion-ios7-person-outline,
347
- .ion-ios7-personadd,
348
- .ion-ios7-personadd-outline,
349
- .ion-ios7-photos,
350
- .ion-ios7-photos-outline,
351
- .ion-ios7-pie,
352
- .ion-ios7-pie-outline,
353
- .ion-ios7-play,
354
- .ion-ios7-play-outline,
355
- .ion-ios7-plus,
356
- .ion-ios7-plus-empty,
357
- .ion-ios7-plus-outline,
358
- .ion-ios7-pricetag,
359
- .ion-ios7-pricetag-outline,
360
- .ion-ios7-printer,
361
- .ion-ios7-printer-outline,
362
- .ion-ios7-rainy,
363
- .ion-ios7-rainy-outline,
364
- .ion-ios7-recording,
365
- .ion-ios7-recording-outline,
366
- .ion-ios7-redo,
367
- .ion-ios7-redo-outline,
368
- .ion-ios7-refresh,
369
- .ion-ios7-refresh-empty,
370
- .ion-ios7-refresh-outline,
371
- .ion-ios7-reload,
372
- .ion-ios7-rewind,
373
- .ion-ios7-rewind-outline,
374
- .ion-ios7-search,
375
- .ion-ios7-search-strong,
376
- .ion-ios7-skipbackward,
377
- .ion-ios7-skipbackward-outline,
378
- .ion-ios7-skipforward,
379
- .ion-ios7-skipforward-outline,
380
- .ion-ios7-snowy,
381
- .ion-ios7-speedometer,
382
- .ion-ios7-speedometer-outline,
383
- .ion-ios7-star,
384
- .ion-ios7-star-outline,
385
- .ion-ios7-stopwatch,
386
- .ion-ios7-stopwatch-outline,
387
- .ion-ios7-sunny,
388
- .ion-ios7-sunny-outline,
389
- .ion-ios7-telephone,
390
- .ion-ios7-telephone-outline,
391
- .ion-ios7-thunderstorm,
392
- .ion-ios7-thunderstorm-outline,
393
- .ion-ios7-time,
394
- .ion-ios7-time-outline,
395
- .ion-ios7-timer,
396
- .ion-ios7-timer-outline,
397
- .ion-ios7-trash,
398
- .ion-ios7-trash-outline,
399
- .ion-ios7-undo,
400
- .ion-ios7-undo-outline,
401
- .ion-ios7-unlocked,
402
- .ion-ios7-unlocked-outline,
403
- .ion-ios7-upload,
404
- .ion-ios7-upload-outline,
405
- .ion-ios7-videocam,
406
- .ion-ios7-videocam-outline,
407
- .ion-ios7-volume-high,
408
- .ion-ios7-volume-low,
409
- .ion-ios7-wineglass,
410
- .ion-ios7-wineglass-outline,
411
- .ion-ios7-world,
412
- .ion-ios7-world-outline,
413
- .ion-ipad,
414
- .ion-iphone,
415
- .ion-ipod,
416
- .ion-jet,
417
- .ion-key,
418
- .ion-knife,
419
- .ion-laptop,
420
- .ion-leaf,
421
- .ion-levels,
422
- .ion-lightbulb,
423
- .ion-link,
424
- .ion-load-a,
425
- .ion-load-b,
426
- .ion-load-c,
427
- .ion-load-d,
428
- .ion-location,
429
- .ion-locked,
430
- .ion-log-in,
431
- .ion-log-out,
432
- .ion-loop,
433
- .ion-magnet,
434
- .ion-male,
435
- .ion-man,
436
- .ion-map,
437
- .ion-medkit,
438
- .ion-mic-a,
439
- .ion-mic-b,
440
- .ion-mic-c,
441
- .ion-minus,
442
- .ion-minus-circled,
443
- .ion-minus-round,
444
- .ion-model-s,
445
- .ion-monitor,
446
- .ion-more,
447
- .ion-music-note,
448
- .ion-navicon,
449
- .ion-navicon-round,
450
- .ion-navigate,
451
- .ion-no-smoking,
452
- .ion-nuclear,
453
- .ion-paper-airplane,
454
- .ion-paperclip,
455
- .ion-pause,
456
- .ion-person,
457
- .ion-person-add,
458
- .ion-person-stalker,
459
- .ion-pie-graph,
460
- .ion-pin,
461
- .ion-pinpoint,
462
- .ion-pizza,
463
- .ion-plane,
464
- .ion-play,
465
- .ion-playstation,
466
- .ion-plus,
467
- .ion-plus-circled,
468
- .ion-plus-round,
469
- .ion-pound,
470
- .ion-power,
471
- .ion-pricetag,
472
- .ion-pricetags,
473
- .ion-printer,
474
- .ion-radio-waves,
475
- .ion-record,
476
- .ion-refresh,
477
- .ion-reply,
478
- .ion-reply-all,
479
- .ion-search,
480
- .ion-settings,
481
- .ion-share,
482
- .ion-shuffle,
483
- .ion-skip-backward,
484
- .ion-skip-forward,
485
- .ion-social-android,
486
- .ion-social-android-outline,
487
- .ion-social-apple,
488
- .ion-social-apple-outline,
489
- .ion-social-bitcoin,
490
- .ion-social-bitcoin-outline,
491
- .ion-social-buffer,
492
- .ion-social-buffer-outline,
493
- .ion-social-designernews,
494
- .ion-social-designernews-outline,
495
- .ion-social-dribbble,
496
- .ion-social-dribbble-outline,
497
- .ion-social-dropbox,
498
- .ion-social-dropbox-outline,
499
- .ion-social-facebook,
500
- .ion-social-facebook-outline,
501
- .ion-social-freebsd-devil,
502
- .ion-social-github,
503
- .ion-social-github-outline,
504
- .ion-social-googleplus,
505
- .ion-social-googleplus-outline,
506
- .ion-social-hackernews,
507
- .ion-social-hackernews-outline,
508
- .ion-social-linkedin,
509
- .ion-social-linkedin-outline,
510
- .ion-social-pinterest,
511
- .ion-social-pinterest-outline,
512
- .ion-social-reddit,
513
- .ion-social-reddit-outline,
514
- .ion-social-rss,
515
- .ion-social-rss-outline,
516
- .ion-social-skype,
517
- .ion-social-skype-outline,
518
- .ion-social-tumblr,
519
- .ion-social-tumblr-outline,
520
- .ion-social-tux,
521
- .ion-social-twitter,
522
- .ion-social-twitter-outline,
523
- .ion-social-vimeo,
524
- .ion-social-vimeo-outline,
525
- .ion-social-windows,
526
- .ion-social-windows-outline,
527
- .ion-social-wordpress,
528
- .ion-social-wordpress-outline,
529
- .ion-social-yahoo,
530
- .ion-social-yahoo-outline,
531
- .ion-social-youtube,
532
- .ion-social-youtube-outline,
533
- .ion-speakerphone,
534
- .ion-speedometer,
535
- .ion-spoon,
536
- .ion-star,
537
- .ion-stats-bars,
538
- .ion-steam,
539
- .ion-stop,
540
- .ion-thermometer,
541
- .ion-thumbsdown,
542
- .ion-thumbsup,
543
- .ion-trash-a,
544
- .ion-trash-b,
545
- .ion-umbrella,
546
- .ion-unlocked,
547
- .ion-upload,
548
- .ion-usb,
549
- .ion-videocamera,
550
- .ion-volume-high,
551
- .ion-volume-low,
552
- .ion-volume-medium,
553
- .ion-volume-mute,
554
- .ion-waterdrop,
555
- .ion-wifi,
556
- .ion-wineglass,
557
- .ion-woman,
558
- .ion-wrench,
559
- .ion-xbox {
27
+ .ion, .ion-loading-a, .ion-loading-b, .ion-loading-c, .ion-loading-d, .ion-looping, .ion-refreshing, .ion-ios7-reloading, .ionicons, .ion-alert, .ion-alert-circled, .ion-android-add, .ion-android-add-contact, .ion-android-alarm, .ion-android-archive, .ion-android-arrow-back, .ion-android-arrow-down-left, .ion-android-arrow-down-right, .ion-android-arrow-up-left, .ion-android-arrow-up-right, .ion-android-battery, .ion-android-book, .ion-android-calendar, .ion-android-call, .ion-android-camera, .ion-android-chat, .ion-android-checkmark, .ion-android-clock, .ion-android-close, .ion-android-contact, .ion-android-contacts, .ion-android-data, .ion-android-developer, .ion-android-display, .ion-android-download, .ion-android-dropdown, .ion-android-earth, .ion-android-folder, .ion-android-forums, .ion-android-friends, .ion-android-hand, .ion-android-image, .ion-android-inbox, .ion-android-information, .ion-android-keypad, .ion-android-lightbulb, .ion-android-locate, .ion-android-location, .ion-android-mail, .ion-android-microphone, .ion-android-mixer, .ion-android-more, .ion-android-note, .ion-android-playstore, .ion-android-printer, .ion-android-promotion, .ion-android-reminder, .ion-android-remove, .ion-android-search, .ion-android-send, .ion-android-settings, .ion-android-share, .ion-android-social, .ion-android-social-user, .ion-android-sort, .ion-android-star, .ion-android-stopwatch, .ion-android-storage, .ion-android-system-back, .ion-android-system-home, .ion-android-system-windows, .ion-android-timer, .ion-android-trash, .ion-android-volume, .ion-android-wifi, .ion-archive, .ion-arrow-down-a, .ion-arrow-down-b, .ion-arrow-down-c, .ion-arrow-expand, .ion-arrow-graph-down-left, .ion-arrow-graph-down-right, .ion-arrow-graph-up-left, .ion-arrow-graph-up-right, .ion-arrow-left-a, .ion-arrow-left-b, .ion-arrow-left-c, .ion-arrow-move, .ion-arrow-resize, .ion-arrow-return-left, .ion-arrow-return-right, .ion-arrow-right-a, .ion-arrow-right-b, .ion-arrow-right-c, .ion-arrow-shrink, .ion-arrow-swap, .ion-arrow-up-a, .ion-arrow-up-b, .ion-arrow-up-c, .ion-at, .ion-bag, .ion-battery-charging, .ion-battery-empty, .ion-battery-full, .ion-battery-half, .ion-battery-low, .ion-beaker, .ion-beer, .ion-bluetooth, .ion-bookmark, .ion-briefcase, .ion-bug, .ion-calculator, .ion-calendar, .ion-camera, .ion-card, .ion-chatbox, .ion-chatbox-working, .ion-chatboxes, .ion-chatbubble, .ion-chatbubble-working, .ion-chatbubbles, .ion-checkmark, .ion-checkmark-circled, .ion-checkmark-round, .ion-chevron-down, .ion-chevron-left, .ion-chevron-right, .ion-chevron-up, .ion-clipboard, .ion-clock, .ion-close, .ion-close-circled, .ion-close-round, .ion-cloud, .ion-code, .ion-code-download, .ion-code-working, .ion-coffee, .ion-compass, .ion-compose, .ion-connection-bars, .ion-contrast, .ion-disc, .ion-document, .ion-document-text, .ion-drag, .ion-earth, .ion-edit, .ion-egg, .ion-eject, .ion-email, .ion-eye, .ion-eye-disabled, .ion-female, .ion-filing, .ion-film-marker, .ion-flag, .ion-flash, .ion-flash-off, .ion-flask, .ion-folder, .ion-fork, .ion-fork-repo, .ion-forward, .ion-game-controller-a, .ion-game-controller-b, .ion-gear-a, .ion-gear-b, .ion-grid, .ion-hammer, .ion-headphone, .ion-heart, .ion-help, .ion-help-buoy, .ion-help-circled, .ion-home, .ion-icecream, .ion-icon-social-google-plus, .ion-icon-social-google-plus-outline, .ion-image, .ion-images, .ion-information, .ion-information-circled, .ion-ionic, .ion-ios7-alarm, .ion-ios7-alarm-outline, .ion-ios7-albums, .ion-ios7-albums-outline, .ion-ios7-arrow-back, .ion-ios7-arrow-down, .ion-ios7-arrow-forward, .ion-ios7-arrow-left, .ion-ios7-arrow-right, .ion-ios7-arrow-thin-down, .ion-ios7-arrow-thin-left, .ion-ios7-arrow-thin-right, .ion-ios7-arrow-thin-up, .ion-ios7-arrow-up, .ion-ios7-at, .ion-ios7-at-outline, .ion-ios7-bell, .ion-ios7-bell-outline, .ion-ios7-bolt, .ion-ios7-bolt-outline, .ion-ios7-bookmarks, .ion-ios7-bookmarks-outline, .ion-ios7-box, .ion-ios7-box-outline, .ion-ios7-briefcase, .ion-ios7-briefcase-outline, .ion-ios7-browsers, .ion-ios7-browsers-outline, .ion-ios7-calculator, .ion-ios7-calculator-outline, .ion-ios7-calendar, .ion-ios7-calendar-outline, .ion-ios7-camera, .ion-ios7-camera-outline, .ion-ios7-cart, .ion-ios7-cart-outline, .ion-ios7-chatboxes, .ion-ios7-chatboxes-outline, .ion-ios7-chatbubble, .ion-ios7-chatbubble-outline, .ion-ios7-checkmark, .ion-ios7-checkmark-empty, .ion-ios7-checkmark-outline, .ion-ios7-circle-filled, .ion-ios7-circle-outline, .ion-ios7-clock, .ion-ios7-clock-outline, .ion-ios7-close, .ion-ios7-close-empty, .ion-ios7-close-outline, .ion-ios7-cloud, .ion-ios7-cloud-download, .ion-ios7-cloud-download-outline, .ion-ios7-cloud-outline, .ion-ios7-cloud-upload, .ion-ios7-cloud-upload-outline, .ion-ios7-cloudy, .ion-ios7-cloudy-night, .ion-ios7-cloudy-night-outline, .ion-ios7-cloudy-outline, .ion-ios7-cog, .ion-ios7-cog-outline, .ion-ios7-compose, .ion-ios7-compose-outline, .ion-ios7-contact, .ion-ios7-contact-outline, .ion-ios7-copy, .ion-ios7-copy-outline, .ion-ios7-download, .ion-ios7-download-outline, .ion-ios7-drag, .ion-ios7-email, .ion-ios7-email-outline, .ion-ios7-eye, .ion-ios7-eye-outline, .ion-ios7-fastforward, .ion-ios7-fastforward-outline, .ion-ios7-filing, .ion-ios7-filing-outline, .ion-ios7-film, .ion-ios7-film-outline, .ion-ios7-flag, .ion-ios7-flag-outline, .ion-ios7-folder, .ion-ios7-folder-outline, .ion-ios7-gear, .ion-ios7-gear-outline, .ion-ios7-glasses, .ion-ios7-glasses-outline, .ion-ios7-heart, .ion-ios7-heart-outline, .ion-ios7-help, .ion-ios7-help-empty, .ion-ios7-help-outline, .ion-ios7-infinite, .ion-ios7-infinite-outline, .ion-ios7-information, .ion-ios7-information-empty, .ion-ios7-information-outline, .ion-ios7-ionic-outline, .ion-ios7-keypad, .ion-ios7-keypad-outline, .ion-ios7-lightbulb, .ion-ios7-lightbulb-outline, .ion-ios7-location, .ion-ios7-location-outline, .ion-ios7-locked, .ion-ios7-locked-outline, .ion-ios7-medkit, .ion-ios7-medkit-outline, .ion-ios7-mic, .ion-ios7-mic-off, .ion-ios7-mic-outline, .ion-ios7-minus, .ion-ios7-minus-empty, .ion-ios7-minus-outline, .ion-ios7-monitor, .ion-ios7-monitor-outline, .ion-ios7-moon, .ion-ios7-moon-outline, .ion-ios7-more, .ion-ios7-more-outline, .ion-ios7-musical-note, .ion-ios7-musical-notes, .ion-ios7-navigate, .ion-ios7-navigate-outline, .ion-ios7-paperplane, .ion-ios7-paperplane-outline, .ion-ios7-partlysunny, .ion-ios7-partlysunny-outline, .ion-ios7-pause, .ion-ios7-pause-outline, .ion-ios7-people, .ion-ios7-people-outline, .ion-ios7-person, .ion-ios7-person-outline, .ion-ios7-personadd, .ion-ios7-personadd-outline, .ion-ios7-photos, .ion-ios7-photos-outline, .ion-ios7-pie, .ion-ios7-pie-outline, .ion-ios7-play, .ion-ios7-play-outline, .ion-ios7-plus, .ion-ios7-plus-empty, .ion-ios7-plus-outline, .ion-ios7-pricetag, .ion-ios7-pricetag-outline, .ion-ios7-printer, .ion-ios7-printer-outline, .ion-ios7-rainy, .ion-ios7-rainy-outline, .ion-ios7-recording, .ion-ios7-recording-outline, .ion-ios7-redo, .ion-ios7-redo-outline, .ion-ios7-refresh, .ion-ios7-refresh-empty, .ion-ios7-refresh-outline, .ion-ios7-reload, .ion-ios7-rewind, .ion-ios7-rewind-outline, .ion-ios7-search, .ion-ios7-search-strong, .ion-ios7-skipbackward, .ion-ios7-skipbackward-outline, .ion-ios7-skipforward, .ion-ios7-skipforward-outline, .ion-ios7-snowy, .ion-ios7-speedometer, .ion-ios7-speedometer-outline, .ion-ios7-star, .ion-ios7-star-outline, .ion-ios7-stopwatch, .ion-ios7-stopwatch-outline, .ion-ios7-sunny, .ion-ios7-sunny-outline, .ion-ios7-telephone, .ion-ios7-telephone-outline, .ion-ios7-thunderstorm, .ion-ios7-thunderstorm-outline, .ion-ios7-time, .ion-ios7-time-outline, .ion-ios7-timer, .ion-ios7-timer-outline, .ion-ios7-trash, .ion-ios7-trash-outline, .ion-ios7-undo, .ion-ios7-undo-outline, .ion-ios7-unlocked, .ion-ios7-unlocked-outline, .ion-ios7-upload, .ion-ios7-upload-outline, .ion-ios7-videocam, .ion-ios7-videocam-outline, .ion-ios7-volume-high, .ion-ios7-volume-low, .ion-ios7-wineglass, .ion-ios7-wineglass-outline, .ion-ios7-world, .ion-ios7-world-outline, .ion-ipad, .ion-iphone, .ion-ipod, .ion-jet, .ion-key, .ion-knife, .ion-laptop, .ion-leaf, .ion-levels, .ion-lightbulb, .ion-link, .ion-load-a, .ion-load-b, .ion-load-c, .ion-load-d, .ion-location, .ion-locked, .ion-log-in, .ion-log-out, .ion-loop, .ion-magnet, .ion-male, .ion-man, .ion-map, .ion-medkit, .ion-mic-a, .ion-mic-b, .ion-mic-c, .ion-minus, .ion-minus-circled, .ion-minus-round, .ion-model-s, .ion-monitor, .ion-more, .ion-music-note, .ion-navicon, .ion-navicon-round, .ion-navigate, .ion-no-smoking, .ion-nuclear, .ion-paper-airplane, .ion-paperclip, .ion-pause, .ion-person, .ion-person-add, .ion-person-stalker, .ion-pie-graph, .ion-pin, .ion-pinpoint, .ion-pizza, .ion-plane, .ion-play, .ion-playstation, .ion-plus, .ion-plus-circled, .ion-plus-round, .ion-pound, .ion-power, .ion-pricetag, .ion-pricetags, .ion-printer, .ion-radio-waves, .ion-record, .ion-refresh, .ion-reply, .ion-reply-all, .ion-search, .ion-settings, .ion-share, .ion-shuffle, .ion-skip-backward, .ion-skip-forward, .ion-social-android, .ion-social-android-outline, .ion-social-apple, .ion-social-apple-outline, .ion-social-bitcoin, .ion-social-bitcoin-outline, .ion-social-buffer, .ion-social-buffer-outline, .ion-social-designernews, .ion-social-designernews-outline, .ion-social-dribbble, .ion-social-dribbble-outline, .ion-social-dropbox, .ion-social-dropbox-outline, .ion-social-facebook, .ion-social-facebook-outline, .ion-social-freebsd-devil, .ion-social-github, .ion-social-github-outline, .ion-social-googleplus, .ion-social-googleplus-outline, .ion-social-hackernews, .ion-social-hackernews-outline, .ion-social-linkedin, .ion-social-linkedin-outline, .ion-social-pinterest, .ion-social-pinterest-outline, .ion-social-reddit, .ion-social-reddit-outline, .ion-social-rss, .ion-social-rss-outline, .ion-social-skype, .ion-social-skype-outline, .ion-social-tumblr, .ion-social-tumblr-outline, .ion-social-tux, .ion-social-twitter, .ion-social-twitter-outline, .ion-social-vimeo, .ion-social-vimeo-outline, .ion-social-windows, .ion-social-windows-outline, .ion-social-wordpress, .ion-social-wordpress-outline, .ion-social-yahoo, .ion-social-yahoo-outline, .ion-social-youtube, .ion-social-youtube-outline, .ion-speakerphone, .ion-speedometer, .ion-spoon, .ion-star, .ion-stats-bars, .ion-steam, .ion-stop, .ion-thermometer, .ion-thumbsdown, .ion-thumbsup, .ion-trash-a, .ion-trash-b, .ion-umbrella, .ion-unlocked, .ion-upload, .ion-usb, .ion-videocamera, .ion-volume-high, .ion-volume-low, .ion-volume-medium, .ion-volume-mute, .ion-waterdrop, .ion-wifi, .ion-wineglass, .ion-woman, .ion-wrench, .ion-xbox {
560
28
  display: inline-block;
561
29
  font-family: "Ionicons";
562
30
  speak: none;
@@ -569,13 +37,7 @@
569
37
  -webkit-font-smoothing: antialiased;
570
38
  -moz-osx-font-smoothing: grayscale; }
571
39
 
572
- .ion-spin, .ion-loading-a,
573
- .ion-loading-b,
574
- .ion-loading-c,
575
- .ion-loading-d,
576
- .ion-looping,
577
- .ion-refreshing,
578
- .ion-ios7-reloading {
40
+ .ion-spin, .ion-loading-a, .ion-loading-b, .ion-loading-c, .ion-loading-d, .ion-looping, .ion-refreshing, .ion-ios7-reloading {
579
41
  -webkit-animation: spin 1s infinite linear;
580
42
  -moz-animation: spin 1s infinite linear;
581
43
  -o-animation: spin 1s infinite linear;
@@ -616,11 +78,20 @@
616
78
  100% {
617
79
  transform: rotate(359deg); } }
618
80
 
81
+
619
82
  .ion-loading-a {
620
83
  -webkit-animation-timing-function: steps(8, start);
621
84
  -moz-animation-timing-function: steps(8, start);
622
85
  animation-timing-function: steps(8, start); }
623
86
 
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
624
95
  .ion-alert:before {
625
96
  content: "\f101"; }
626
97
 
@@ -2209,19 +1680,7 @@
2209
1680
  * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
2210
1681
  * http://cssreset.com
2211
1682
  */
2212
- html, body, div, span, applet, object, iframe,
2213
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
2214
- a, abbr, acronym, address, big, cite, code,
2215
- del, dfn, em, img, ins, kbd, q, s, samp,
2216
- small, strike, strong, sub, sup, tt, var,
2217
- b, i, u, center,
2218
- dl, dt, dd, ol, ul, li,
2219
- fieldset, form, label, legend,
2220
- table, caption, tbody, tfoot, thead, tr, th, td,
2221
- article, aside, canvas, details, embed, fieldset,
2222
- figure, figcaption, footer, header, hgroup,
2223
- menu, nav, output, ruby, section, summary,
2224
- time, mark, audio, video {
1683
+ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, i, u, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, fieldset, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
2225
1684
  margin: 0;
2226
1685
  padding: 0;
2227
1686
  border: 0;
@@ -2235,8 +1694,7 @@ ol, ul {
2235
1694
  blockquote, q {
2236
1695
  quotes: none; }
2237
1696
 
2238
- blockquote:before, blockquote:after,
2239
- q:before, q:after {
1697
+ blockquote:before, blockquote:after, q:before, q:after {
2240
1698
  content: '';
2241
1699
  content: none; }
2242
1700
 
@@ -2251,8 +1709,7 @@ audio:not([controls]) {
2251
1709
  /**
2252
1710
  * Hide the `template` element in IE, Safari, and Firefox < 22.
2253
1711
  */
2254
- [hidden],
2255
- template {
1712
+ [hidden], template {
2256
1713
  display: none; }
2257
1714
 
2258
1715
  script {
@@ -2289,11 +1746,7 @@ body {
2289
1746
  /**
2290
1747
  * Remove default outlines.
2291
1748
  */
2292
- :focus,
2293
- a:focus,
2294
- button:focus,
2295
- a:active,
2296
- a:hover {
1749
+ :focus, a:focus, button:focus, a:active, a:hover {
2297
1750
  outline: 0; }
2298
1751
 
2299
1752
  /* *
@@ -2308,8 +1761,7 @@ a {
2308
1761
  /**
2309
1762
  * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
2310
1763
  */
2311
- b,
2312
- strong {
1764
+ b, strong {
2313
1765
  font-weight: bold; }
2314
1766
 
2315
1767
  /**
@@ -2329,10 +1781,7 @@ hr {
2329
1781
  /**
2330
1782
  * Correct font family set oddly in Safari 5 and Chrome.
2331
1783
  */
2332
- code,
2333
- kbd,
2334
- pre,
2335
- samp {
1784
+ code, kbd, pre, samp {
2336
1785
  font-size: 1em;
2337
1786
  font-family: monospace, serif; }
2338
1787
 
@@ -2357,8 +1806,7 @@ small {
2357
1806
  /**
2358
1807
  * Prevent `sub` and `sup` affecting `line-height` in all browsers.
2359
1808
  */
2360
- sub,
2361
- sup {
1809
+ sub, sup {
2362
1810
  position: relative;
2363
1811
  vertical-align: baseline;
2364
1812
  font-size: 75%;
@@ -2395,10 +1843,7 @@ legend {
2395
1843
  * 4. Remove any default :focus styles
2396
1844
  * 5. Make sure webkit font smoothing is being inherited
2397
1845
  */
2398
- button,
2399
- input,
2400
- select,
2401
- textarea {
1846
+ button, input, select, textarea {
2402
1847
  margin: 0;
2403
1848
  /* 3 */
2404
1849
  font-size: 100%;
@@ -2418,8 +1863,7 @@ textarea {
2418
1863
  * Address Firefox 4+ setting `line-height` on `input` using `importnt` in
2419
1864
  * the UA stylesheet.
2420
1865
  */
2421
- button,
2422
- input {
1866
+ button, input {
2423
1867
  line-height: normal; }
2424
1868
 
2425
1869
  /**
@@ -2428,8 +1872,7 @@ input {
2428
1872
  * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
2429
1873
  * Correct `select` style inheritance in Firefox 4+ and Opera.
2430
1874
  */
2431
- button,
2432
- select {
1875
+ button, select {
2433
1876
  text-transform: none; }
2434
1877
 
2435
1878
  /**
@@ -2439,10 +1882,7 @@ select {
2439
1882
  * 3. Improve usability and consistency of cursor style between image-type
2440
1883
  * `input` and others.
2441
1884
  */
2442
- button,
2443
- html input[type="button"],
2444
- input[type="reset"],
2445
- input[type="submit"] {
1885
+ button, html input[type="button"], input[type="reset"], input[type="submit"] {
2446
1886
  cursor: pointer;
2447
1887
  /* 3 */
2448
1888
  -webkit-appearance: button;
@@ -2451,8 +1891,7 @@ input[type="submit"] {
2451
1891
  /**
2452
1892
  * Re-set default cursor for disabled elements.
2453
1893
  */
2454
- button[disabled],
2455
- html input[disabled] {
1894
+ button[disabled], html input[disabled] {
2456
1895
  cursor: default; }
2457
1896
 
2458
1897
  /**
@@ -2472,15 +1911,13 @@ input[type="search"] {
2472
1911
  * Remove inner padding and search cancel button in Safari 5 and Chrome
2473
1912
  * on OS X.
2474
1913
  */
2475
- input[type="search"]::-webkit-search-cancel-button,
2476
- input[type="search"]::-webkit-search-decoration {
1914
+ input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
2477
1915
  -webkit-appearance: none; }
2478
1916
 
2479
1917
  /**
2480
1918
  * Remove inner padding and border in Firefox 4+.
2481
1919
  */
2482
- button::-moz-focus-inner,
2483
- input::-moz-focus-inner {
1920
+ button::-moz-focus-inner, input::-moz-focus-inner {
2484
1921
  padding: 0;
2485
1922
  border: 0; }
2486
1923
 
@@ -2508,9 +1945,7 @@ table {
2508
1945
  * Scaffolding
2509
1946
  * --------------------------------------------------
2510
1947
  */
2511
- *,
2512
- *:before,
2513
- *:after {
1948
+ *, *:before, *:after {
2514
1949
  -webkit-box-sizing: border-box;
2515
1950
  -moz-box-sizing: border-box;
2516
1951
  box-sizing: border-box; }
@@ -2518,14 +1953,16 @@ table {
2518
1953
  a {
2519
1954
  -webkit-user-drag: none;
2520
1955
  -webkit-tap-highlight-color: transparent; }
1956
+ a[href]:hover {
1957
+ cursor: pointer; }
2521
1958
 
2522
1959
  img {
2523
1960
  -webkit-user-drag: none; }
2524
1961
 
2525
1962
  body, .ionic-body {
1963
+ -webkit-touch-callout: none;
2526
1964
  -webkit-font-smoothing: antialiased;
2527
1965
  font-smoothing: antialiased;
2528
- -webkit-backface-visibility: hidden;
2529
1966
  -webkit-text-size-adjust: none;
2530
1967
  -moz-text-size-adjust: none;
2531
1968
  text-size-adjust: none;
@@ -2543,43 +1980,37 @@ body, .ionic-body {
2543
1980
  overflow: hidden;
2544
1981
  margin: 0;
2545
1982
  padding: 0;
2546
- color: black;
1983
+ color: #000;
2547
1984
  word-wrap: break-word;
2548
1985
  font-size: 14px;
2549
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
1986
+ font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
2550
1987
  line-height: 20px;
2551
1988
  text-rendering: optimizeLegibility;
1989
+ -webkit-backface-visibility: hidden;
2552
1990
  -webkit-user-drag: none; }
2553
1991
 
2554
- .content:before,
2555
- .content:after {
2556
- display: block;
2557
- overflow: hidden;
2558
- height: 0;
2559
- content: "\00a0"; }
1992
+ body.grade-b, body.grade-c {
1993
+ text-rendering: auto; }
2560
1994
 
2561
1995
  .content {
2562
- position: absolute;
2563
- width: 100%;
2564
- height: 100%; }
1996
+ position: relative; }
2565
1997
 
2566
1998
  .scroll-content {
1999
+ position: absolute;
2567
2000
  top: 0;
2568
2001
  right: 0;
2569
2002
  bottom: 0;
2570
2003
  left: 0;
2571
- position: absolute;
2572
2004
  overflow: hidden;
2573
- -webkit-backface-visibility: hidden;
2574
2005
  margin-top: -1px;
2575
2006
  width: auto;
2576
2007
  height: auto; }
2577
2008
 
2578
2009
  .scroll-view {
2579
- overflow: hidden;
2580
2010
  position: relative;
2581
- -webkit-backface-visibility: hidden;
2582
- margin-top: -1px; }
2011
+ overflow: hidden;
2012
+ margin-top: -1px;
2013
+ height: 100%; }
2583
2014
 
2584
2015
  /**
2585
2016
  * Scroll is the scroll view component available for complex and custom
@@ -2606,26 +2037,29 @@ body, .ionic-body {
2606
2037
  position: absolute;
2607
2038
  z-index: 9999; }
2608
2039
 
2040
+ .ng-animate .scroll-bar {
2041
+ visibility: hidden; }
2042
+
2609
2043
  .scroll-bar-h {
2610
- height: 3px;
2611
- left: 2px;
2612
2044
  right: 2px;
2613
- bottom: 3px; }
2045
+ bottom: 3px;
2046
+ left: 2px;
2047
+ height: 3px; }
2614
2048
  .scroll-bar-h .scroll-bar-indicator {
2615
2049
  height: 100%; }
2616
2050
 
2617
2051
  .scroll-bar-v {
2618
- width: 3px;
2619
- bottom: 2px;
2620
2052
  top: 2px;
2621
- right: 3px; }
2053
+ right: 3px;
2054
+ bottom: 2px;
2055
+ width: 3px; }
2622
2056
  .scroll-bar-v .scroll-bar-indicator {
2623
2057
  width: 100%; }
2624
2058
 
2625
2059
  .scroll-bar-indicator {
2626
2060
  position: absolute;
2627
- background: rgba(0, 0, 0, 0.3);
2628
2061
  border-radius: 4px;
2062
+ background: rgba(0, 0, 0, 0.3);
2629
2063
  opacity: 1; }
2630
2064
  .scroll-bar-indicator.scroll-bar-fade-out {
2631
2065
  -webkit-transition: opacity 0.3s linear;
@@ -2633,34 +2067,45 @@ body, .ionic-body {
2633
2067
  transition: opacity 0.3s linear;
2634
2068
  opacity: 0; }
2635
2069
 
2070
+ .grade-b .scroll-bar-indicator, .grade-c .scroll-bar-indicator {
2071
+ border-radius: 0;
2072
+ background: #aaa; }
2073
+ .grade-b .scroll-bar-indicator.scroll-bar-fade-out, .grade-c .scroll-bar-indicator.scroll-bar-fade-out {
2074
+ -webkit-transition: none;
2075
+ -moz-transition: none;
2076
+ transition: none; }
2077
+
2636
2078
  .scroll-refresher {
2079
+ position: absolute;
2080
+ top: -60px;
2081
+ right: 0;
2082
+ left: 0;
2637
2083
  overflow: hidden;
2638
- margin-top: -60px;
2639
- height: 60px;
2640
- position: relative; }
2084
+ margin: auto;
2085
+ height: 60px; }
2641
2086
  .scroll-refresher .icon-refreshing {
2642
- display: none;
2643
2087
  -webkit-animation-duration: 1.5s;
2644
2088
  -moz-animation-duration: 1.5s;
2645
- animation-duration: 1.5s; }
2089
+ animation-duration: 1.5s;
2090
+ display: none; }
2646
2091
 
2647
2092
  .scroll-refresher-content {
2648
2093
  position: absolute;
2649
- left: 0;
2650
2094
  bottom: 15px;
2095
+ left: 0;
2651
2096
  width: 100%;
2097
+ color: #666666;
2652
2098
  text-align: center;
2653
- font-size: 30px;
2654
- color: #666666; }
2099
+ font-size: 30px; }
2655
2100
 
2656
2101
  .ionic-refresher-content {
2657
2102
  position: absolute;
2658
- left: 0;
2659
2103
  bottom: 15px;
2104
+ left: 0;
2660
2105
  width: 100%;
2106
+ color: #666666;
2661
2107
  text-align: center;
2662
- font-size: 30px;
2663
- color: #666666; }
2108
+ font-size: 30px; }
2664
2109
  .ionic-refresher-content .icon-pulling {
2665
2110
  -webkit-animation-duration: 200ms;
2666
2111
  -moz-animation-duration: 200ms;
@@ -2699,6 +2144,24 @@ body, .ionic-body {
2699
2144
  -moz-animation-name: refresh-spin;
2700
2145
  animation-name: refresh-spin; }
2701
2146
 
2147
+ ion-infinite-scroll .scroll-infinite {
2148
+ position: relative;
2149
+ overflow: hidden;
2150
+ margin-top: -70px;
2151
+ height: 60px; }
2152
+
2153
+ .scroll-infinite-content {
2154
+ position: absolute;
2155
+ bottom: 15px;
2156
+ left: 0;
2157
+ width: 100%;
2158
+ color: #666666;
2159
+ text-align: center;
2160
+ font-size: 30px; }
2161
+
2162
+ ion-infinite-scroll.active .scroll-infinite {
2163
+ margin-top: -30px; }
2164
+
2702
2165
  .overflow-scroll {
2703
2166
  overflow-x: hidden;
2704
2167
  overflow-y: scroll;
@@ -2728,14 +2191,16 @@ body, .ionic-body {
2728
2191
  bottom: 49px; }
2729
2192
 
2730
2193
  .pane {
2731
- position: fixed;
2194
+ -webkit-transform: translate3d(0, 0, 0);
2195
+ -moz-transform: translate3d(0, 0, 0);
2196
+ transform: translate3d(0, 0, 0);
2732
2197
  z-index: 1; }
2733
2198
 
2734
2199
  .view {
2735
- position: absolute;
2736
2200
  z-index: 1; }
2737
2201
 
2738
2202
  .pane, .view {
2203
+ position: absolute;
2739
2204
  top: 0;
2740
2205
  right: 0;
2741
2206
  bottom: 0;
@@ -2766,52 +2231,24 @@ cite {
2766
2231
  .text-center {
2767
2232
  text-align: center; }
2768
2233
 
2769
- h1, h2, h3, h4, h5, h6,
2770
- .h1, .h2, .h3, .h4, .h5, .h6 {
2771
- color: black;
2234
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
2235
+ color: #000;
2772
2236
  font-weight: 500;
2773
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
2774
- line-height: 1.1; }
2775
- h1 small, h2 small, h3 small, h4 small, h5 small, h6 small,
2776
- .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small {
2237
+ font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
2238
+ line-height: 1.2; }
2239
+ h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small {
2777
2240
  font-weight: normal;
2778
2241
  line-height: 1; }
2779
2242
 
2780
- h1, .h1,
2781
- h2, .h2,
2782
- h3, .h3 {
2243
+ h1, .h1, h2, .h2, h3, .h3 {
2783
2244
  margin-top: 20px;
2784
2245
  margin-bottom: 10px; }
2785
- h1:first-child, .h1:first-child,
2786
- h2:first-child, .h2:first-child,
2787
- h3:first-child, .h3:first-child {
2246
+ h1:first-child, .h1:first-child, h2:first-child, .h2:first-child, h3:first-child, .h3:first-child {
2788
2247
  margin-top: 0; }
2789
- h1 + h1, h1 + .h1,
2790
- h1 + h2, h1 + .h2,
2791
- h1 + h3, h1 + .h3, .h1 + h1, .h1 + .h1,
2792
- .h1 + h2, .h1 + .h2,
2793
- .h1 + h3, .h1 + .h3,
2794
- h2 + h1,
2795
- h2 + .h1,
2796
- h2 + h2,
2797
- h2 + .h2,
2798
- h2 + h3,
2799
- h2 + .h3, .h2 + h1, .h2 + .h1,
2800
- .h2 + h2, .h2 + .h2,
2801
- .h2 + h3, .h2 + .h3,
2802
- h3 + h1,
2803
- h3 + .h1,
2804
- h3 + h2,
2805
- h3 + .h2,
2806
- h3 + h3,
2807
- h3 + .h3, .h3 + h1, .h3 + .h1,
2808
- .h3 + h2, .h3 + .h2,
2809
- .h3 + h3, .h3 + .h3 {
2248
+ h1 + h1, h1 + .h1, h1 + h2, h1 + .h2, h1 + h3, h1 + .h3, .h1 + h1, .h1 + .h1, .h1 + h2, .h1 + .h2, .h1 + h3, .h1 + .h3, h2 + h1, h2 + .h1, h2 + h2, h2 + .h2, h2 + h3, h2 + .h3, .h2 + h1, .h2 + .h1, .h2 + h2, .h2 + .h2, .h2 + h3, .h2 + .h3, h3 + h1, h3 + .h1, h3 + h2, h3 + .h2, h3 + h3, h3 + .h3, .h3 + h1, .h3 + .h1, .h3 + h2, .h3 + .h2, .h3 + h3, .h3 + .h3 {
2810
2249
  margin-top: 10px; }
2811
2250
 
2812
- h4, .h4,
2813
- h5, .h5,
2814
- h6, .h6 {
2251
+ h4, .h4, h5, .h5, h6, .h6 {
2815
2252
  margin-top: 10px;
2816
2253
  margin-bottom: 10px; }
2817
2254
 
@@ -2839,15 +2276,13 @@ h1 small, .h1 small {
2839
2276
  h2 small, .h2 small {
2840
2277
  font-size: 18px; }
2841
2278
 
2842
- h3 small, .h3 small,
2843
- h4 small, .h4 small {
2279
+ h3 small, .h3 small, h4 small, .h4 small {
2844
2280
  font-size: 14px; }
2845
2281
 
2846
2282
  dl {
2847
2283
  margin-bottom: 20px; }
2848
2284
 
2849
- dt,
2850
- dd {
2285
+ dt, dd {
2851
2286
  line-height: 1.42857; }
2852
2287
 
2853
2288
  dt {
@@ -2869,10 +2304,7 @@ blockquote {
2869
2304
  blockquote small:before {
2870
2305
  content: '\2014 \00A0'; }
2871
2306
 
2872
- q:before,
2873
- q:after,
2874
- blockquote:before,
2875
- blockquote:after {
2307
+ q:before, q:after, blockquote:before, blockquote:after {
2876
2308
  content: ""; }
2877
2309
 
2878
2310
  address {
@@ -2926,7 +2358,7 @@ a.subdued {
2926
2358
  position: fixed;
2927
2359
  top: 0;
2928
2360
  left: 0;
2929
- z-index: 10;
2361
+ z-index: 11;
2930
2362
  width: 100%;
2931
2363
  height: 100%;
2932
2364
  background-color: rgba(0, 0, 0, 0); }
@@ -3011,12 +2443,11 @@ a.subdued {
3011
2443
  animation-name: actionSheetOut; }
3012
2444
 
3013
2445
  .action-sheet {
3014
- position: fixed;
3015
- bottom: 0;
3016
- left: 15px;
3017
- z-index: 10;
3018
- overflow: hidden;
3019
- width: calc(100% - 30px); }
2446
+ margin-left: 15px;
2447
+ margin-right: 15px;
2448
+ width: auto;
2449
+ z-index: 11;
2450
+ overflow: hidden; }
3020
2451
  .action-sheet .button {
3021
2452
  display: block;
3022
2453
  padding: 1px;
@@ -3028,6 +2459,11 @@ a.subdued {
3028
2459
  .action-sheet .button.destructive {
3029
2460
  color: #ef4e3a; }
3030
2461
 
2462
+ .action-sheet-wrapper {
2463
+ width: 100%;
2464
+ position: fixed;
2465
+ bottom: 0; }
2466
+
3031
2467
  .action-sheet-title {
3032
2468
  padding: 10px;
3033
2469
  color: #666666;
@@ -3047,6 +2483,13 @@ a.subdued {
3047
2483
  .action-sheet-group .button:first-child:last-child {
3048
2484
  border-width: 0; }
3049
2485
 
2486
+ .action-sheet-open {
2487
+ pointer-events: none; }
2488
+ .action-sheet-open.modal-open .modal {
2489
+ pointer-events: none; }
2490
+ .action-sheet-open .action-sheet {
2491
+ pointer-events: auto; }
2492
+
3050
2493
  /**
3051
2494
  * Bar (Headers and Footers)
3052
2495
  * --------------------------------------------------
@@ -3058,6 +2501,9 @@ a.subdued {
3058
2501
  display: -moz-flex;
3059
2502
  display: -ms-flexbox;
3060
2503
  display: flex;
2504
+ -webkit-transform: translate3d(0, 0, 0);
2505
+ -moz-transform: translate3d(0, 0, 0);
2506
+ transform: translate3d(0, 0, 0);
3061
2507
  -webkit-user-select: none;
3062
2508
  -moz-user-select: none;
3063
2509
  -ms-user-select: none;
@@ -3073,7 +2519,7 @@ a.subdued {
3073
2519
  border-width: 0;
3074
2520
  border-style: solid;
3075
2521
  border-top: 1px solid transparent;
3076
- border-bottom: 1px solid #dddddd;
2522
+ border-bottom: 1px solid #ddd;
3077
2523
  background-color: white;
3078
2524
  /* border-width: 1px will actually create 2 device pixels on retina */
3079
2525
  /* this nifty trick sets an actual 1px border on hi-res displays */
@@ -3081,7 +2527,7 @@ a.subdued {
3081
2527
  @media (min--moz-device-pixel-ratio: 1.5), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
3082
2528
  .bar {
3083
2529
  border: none;
3084
- background-image: linear-gradient(0deg, #dddddd, #dddddd 50%, transparent 50%);
2530
+ background-image: linear-gradient(0deg, #ddd, #ddd 50%, transparent 50%);
3085
2531
  background-position: bottom;
3086
2532
  background-size: 100% 1px;
3087
2533
  background-repeat: no-repeat; } }
@@ -3100,67 +2546,67 @@ a.subdued {
3100
2546
  height: 28px; }
3101
2547
  .bar.bar-light {
3102
2548
  background-color: white;
3103
- border-color: #dddddd;
3104
- background-image: linear-gradient(0deg, #dddddd, #dddddd 50%, transparent 50%);
3105
- color: #444444; }
2549
+ border-color: #ddd;
2550
+ background-image: linear-gradient(0deg, #ddd, #ddd 50%, transparent 50%);
2551
+ color: #444; }
3106
2552
  .bar.bar-light .title {
3107
- color: #444444; }
2553
+ color: #444; }
3108
2554
  .bar.bar-stable {
3109
2555
  background-color: #f8f8f8;
3110
2556
  border-color: #b2b2b2;
3111
2557
  background-image: linear-gradient(0deg, #b2b2b2, #b2b2b2 50%, transparent 50%);
3112
- color: #444444; }
2558
+ color: #444; }
3113
2559
  .bar.bar-stable .title {
3114
- color: #444444; }
2560
+ color: #444; }
3115
2561
  .bar.bar-positive {
3116
2562
  background-color: #4a87ee;
3117
- border-color: #145dd7;
3118
- background-image: linear-gradient(0deg, #145dd7, #145dd7 50%, transparent 50%);
3119
- color: white; }
2563
+ border-color: #145fd7;
2564
+ background-image: linear-gradient(0deg, #145fd7, #145fd7 50%, transparent 50%);
2565
+ color: #fff; }
3120
2566
  .bar.bar-positive .title {
3121
- color: white; }
2567
+ color: #fff; }
3122
2568
  .bar.bar-calm {
3123
2569
  background-color: #43cee6;
3124
- border-color: #1aaac3;
3125
- background-image: linear-gradient(0deg, #1aaac3, #1aaac3 50%, transparent 50%);
3126
- color: white; }
2570
+ border-color: #1aacc3;
2571
+ background-image: linear-gradient(0deg, #1aacc3, #1aacc3 50%, transparent 50%);
2572
+ color: #fff; }
3127
2573
  .bar.bar-calm .title {
3128
- color: white; }
2574
+ color: #fff; }
3129
2575
  .bar.bar-assertive {
3130
2576
  background-color: #ef4e3a;
3131
- border-color: #cc2511;
3132
- background-image: linear-gradient(0deg, #cc2511, #cc2511 50%, transparent 50%);
3133
- color: white; }
2577
+ border-color: #cc2311;
2578
+ background-image: linear-gradient(0deg, #cc2311, #cc2311 50%, transparent 50%);
2579
+ color: #fff; }
3134
2580
  .bar.bar-assertive .title {
3135
- color: white; }
2581
+ color: #fff; }
3136
2582
  .bar.bar-balanced {
3137
2583
  background-color: #66cc33;
3138
- border-color: #478f24;
3139
- background-image: linear-gradient(0deg, #478f24, #478f24 50%, transparent 50%);
3140
- color: white; }
2584
+ border-color: #498f24;
2585
+ background-image: linear-gradient(0deg, #498f24, #498f24 50%, transparent 50%);
2586
+ color: #fff; }
3141
2587
  .bar.bar-balanced .title {
3142
- color: white; }
2588
+ color: #fff; }
3143
2589
  .bar.bar-energized {
3144
2590
  background-color: #f0b840;
3145
- border-color: #d39511;
3146
- background-image: linear-gradient(0deg, #d39511, #d39511 50%, transparent 50%);
3147
- color: white; }
2591
+ border-color: #d39211;
2592
+ background-image: linear-gradient(0deg, #d39211, #d39211 50%, transparent 50%);
2593
+ color: #fff; }
3148
2594
  .bar.bar-energized .title {
3149
- color: white; }
2595
+ color: #fff; }
3150
2596
  .bar.bar-royal {
3151
2597
  background-color: #8a6de9;
3152
2598
  border-color: #552bdf;
3153
2599
  background-image: linear-gradient(0deg, #552bdf, #552bdf 50%, transparent 50%);
3154
- color: white; }
2600
+ color: #fff; }
3155
2601
  .bar.bar-royal .title {
3156
- color: white; }
2602
+ color: #fff; }
3157
2603
  .bar.bar-dark {
3158
2604
  background-color: #444444;
3159
- border-color: #111111;
3160
- background-image: linear-gradient(0deg, #111111, #111111 50%, transparent 50%);
3161
- color: white; }
2605
+ border-color: #111;
2606
+ background-image: linear-gradient(0deg, #111, #111 50%, transparent 50%);
2607
+ color: #fff; }
3162
2608
  .bar.bar-dark .title {
3163
- color: white; }
2609
+ color: #fff; }
3164
2610
  .bar .title {
3165
2611
  position: absolute;
3166
2612
  top: 0;
@@ -3173,8 +2619,8 @@ a.subdued {
3173
2619
  text-align: center;
3174
2620
  text-overflow: ellipsis;
3175
2621
  white-space: nowrap;
3176
- font-size: 18px;
3177
- line-height: 42px; }
2622
+ font-size: 17px;
2623
+ line-height: 44px; }
3178
2624
  .bar .title.title-left {
3179
2625
  text-align: left; }
3180
2626
  .bar .title.title-right {
@@ -3186,218 +2632,224 @@ a.subdued {
3186
2632
  padding: 0 8px;
3187
2633
  min-width: initial;
3188
2634
  min-height: 31px;
3189
- font-size: 12px;
3190
- line-height: 30px; }
3191
- .bar .button .icon, .bar .button.icon:before, .bar .button.icon-left:before, .bar .button.icon-right:before {
2635
+ font-size: 13px;
2636
+ font-weight: 400;
2637
+ line-height: 32px; }
2638
+ .bar .button.button-icon:before, .bar .button .icon:before, .bar .button.icon:before, .bar .button.icon-left:before, .bar .button.icon-right:before {
3192
2639
  padding-right: 2px;
3193
2640
  padding-left: 2px;
3194
- font-size: 24px;
3195
- line-height: 30px; }
3196
- .bar .button.button-icon .icon, .bar .button.button-icon.icon:before, .bar .button.button-icon.icon-left:before, .bar .button.button-icon.icon-right:before {
2641
+ font-size: 20px;
2642
+ line-height: 32px; }
2643
+ .bar .button.button-icon .icon:before, .bar .button.button-icon:before, .bar .button.button-icon.icon-left:before, .bar .button.button-icon.icon-right:before {
2644
+ vertical-align: top;
2645
+ font-size: 32px;
3197
2646
  line-height: 32px; }
3198
2647
  .bar .button.button-clear {
3199
- font-size: 18px;
2648
+ font-size: 17px;
2649
+ font-weight: 300;
3200
2650
  padding-right: 2px;
3201
2651
  padding-left: 2px; }
2652
+ .bar .button.button-clear .icon:before, .bar .button.button-clear.icon:before, .bar .button.button-clear.icon-left:before, .bar .button.button-clear.icon-right:before {
2653
+ font-size: 32px;
2654
+ line-height: 32px; }
2655
+ .bar .button.back-button:active, .bar .button.back-button.active {
2656
+ opacity: 1; }
3202
2657
  .bar .button-bar > .button, .bar .buttons > .button {
3203
2658
  min-height: 31px;
3204
- line-height: 30px; }
2659
+ line-height: 32px; }
3205
2660
  .bar .button-bar + .button, .bar .button + .button-bar {
3206
2661
  margin-left: 5px; }
3207
- .bar .title + .button:last-child,
3208
- .bar > .button + .button:last-child,
3209
- .bar > .button.pull-right,
3210
- .bar .title + .buttons {
2662
+ .bar .title + .button:last-child, .bar > .button + .button:last-child, .bar > .button.pull-right, .bar .title + .buttons {
3211
2663
  position: absolute;
3212
- top: 5px;
2664
+ top: 6px;
3213
2665
  right: 5px;
3214
2666
  bottom: 5px; }
3215
2667
 
3216
2668
  .bar-light .button {
3217
- color: #444444;
2669
+ color: #444;
3218
2670
  background-color: white;
3219
- border-color: #dddddd; }
2671
+ border-color: #ddd; }
3220
2672
  .bar-light .button:hover {
3221
- color: #444444;
2673
+ color: #444;
3222
2674
  text-decoration: none; }
3223
2675
  .bar-light .button.active, .bar-light .button:active {
3224
2676
  background-color: #fafafa;
3225
2677
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
3226
- border-color: #cccccc; }
2678
+ border-color: #ccc; }
3227
2679
  .bar-light .button.button-clear {
3228
- color: #444444;
2680
+ color: #444;
3229
2681
  background: none;
3230
2682
  border-color: transparent;
3231
2683
  box-shadow: none;
3232
- font-size: 18px; }
2684
+ font-size: 17px; }
3233
2685
  .bar-light .button.button-icon {
3234
2686
  background: none;
3235
2687
  border-color: transparent; }
3236
2688
 
3237
2689
  .bar-stable .button {
3238
- color: #444444;
2690
+ color: #444;
3239
2691
  background-color: #f8f8f8;
3240
2692
  border-color: #b2b2b2; }
3241
2693
  .bar-stable .button:hover {
3242
- color: #444444;
2694
+ color: #444;
3243
2695
  text-decoration: none; }
3244
2696
  .bar-stable .button.active, .bar-stable .button:active {
3245
2697
  background-color: #e5e5e5;
3246
2698
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
3247
2699
  border-color: #a2a2a2; }
3248
2700
  .bar-stable .button.button-clear {
3249
- color: #444444;
2701
+ color: #444;
3250
2702
  background: none;
3251
2703
  border-color: transparent;
3252
2704
  box-shadow: none;
3253
- font-size: 18px; }
2705
+ font-size: 17px; }
3254
2706
  .bar-stable .button.button-icon {
3255
2707
  background: none;
3256
2708
  border-color: transparent; }
3257
2709
 
3258
2710
  .bar-positive .button {
3259
- color: white;
2711
+ color: #fff;
3260
2712
  background-color: #4a87ee;
3261
- border-color: #145dd7; }
2713
+ border-color: #145fd7; }
3262
2714
  .bar-positive .button:hover {
3263
- color: white;
2715
+ color: #fff;
3264
2716
  text-decoration: none; }
3265
2717
  .bar-positive .button.active, .bar-positive .button:active {
3266
- background-color: #145dd7;
2718
+ background-color: #145fd7;
3267
2719
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
3268
- border-color: #145dd7; }
2720
+ border-color: #145fd7; }
3269
2721
  .bar-positive .button.button-clear {
3270
- color: white;
2722
+ color: #fff;
3271
2723
  background: none;
3272
2724
  border-color: transparent;
3273
2725
  box-shadow: none;
3274
- font-size: 18px; }
2726
+ font-size: 17px; }
3275
2727
  .bar-positive .button.button-icon {
3276
2728
  background: none;
3277
2729
  border-color: transparent; }
3278
2730
 
3279
2731
  .bar-calm .button {
3280
- color: white;
2732
+ color: #fff;
3281
2733
  background-color: #43cee6;
3282
- border-color: #1aaac3; }
2734
+ border-color: #1aacc3; }
3283
2735
  .bar-calm .button:hover {
3284
- color: white;
2736
+ color: #fff;
3285
2737
  text-decoration: none; }
3286
2738
  .bar-calm .button.active, .bar-calm .button:active {
3287
- background-color: #1aaac3;
2739
+ background-color: #1aacc3;
3288
2740
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
3289
- border-color: #1aaac3; }
2741
+ border-color: #1aacc3; }
3290
2742
  .bar-calm .button.button-clear {
3291
- color: white;
2743
+ color: #fff;
3292
2744
  background: none;
3293
2745
  border-color: transparent;
3294
2746
  box-shadow: none;
3295
- font-size: 18px; }
2747
+ font-size: 17px; }
3296
2748
  .bar-calm .button.button-icon {
3297
2749
  background: none;
3298
2750
  border-color: transparent; }
3299
2751
 
3300
2752
  .bar-assertive .button {
3301
- color: white;
2753
+ color: #fff;
3302
2754
  background-color: #ef4e3a;
3303
- border-color: #cc2511; }
2755
+ border-color: #cc2311; }
3304
2756
  .bar-assertive .button:hover {
3305
- color: white;
2757
+ color: #fff;
3306
2758
  text-decoration: none; }
3307
2759
  .bar-assertive .button.active, .bar-assertive .button:active {
3308
- background-color: #cc2511;
2760
+ background-color: #cc2311;
3309
2761
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
3310
- border-color: #cc2511; }
2762
+ border-color: #cc2311; }
3311
2763
  .bar-assertive .button.button-clear {
3312
- color: white;
2764
+ color: #fff;
3313
2765
  background: none;
3314
2766
  border-color: transparent;
3315
2767
  box-shadow: none;
3316
- font-size: 18px; }
2768
+ font-size: 17px; }
3317
2769
  .bar-assertive .button.button-icon {
3318
2770
  background: none;
3319
2771
  border-color: transparent; }
3320
2772
 
3321
2773
  .bar-balanced .button {
3322
- color: white;
2774
+ color: #fff;
3323
2775
  background-color: #66cc33;
3324
- border-color: #478f24; }
2776
+ border-color: #498f24; }
3325
2777
  .bar-balanced .button:hover {
3326
- color: white;
2778
+ color: #fff;
3327
2779
  text-decoration: none; }
3328
2780
  .bar-balanced .button.active, .bar-balanced .button:active {
3329
- background-color: #478f24;
2781
+ background-color: #498f24;
3330
2782
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
3331
- border-color: #478f24; }
2783
+ border-color: #498f24; }
3332
2784
  .bar-balanced .button.button-clear {
3333
- color: white;
2785
+ color: #fff;
3334
2786
  background: none;
3335
2787
  border-color: transparent;
3336
2788
  box-shadow: none;
3337
- font-size: 18px; }
2789
+ font-size: 17px; }
3338
2790
  .bar-balanced .button.button-icon {
3339
2791
  background: none;
3340
2792
  border-color: transparent; }
3341
2793
 
3342
2794
  .bar-energized .button {
3343
- color: white;
2795
+ color: #fff;
3344
2796
  background-color: #f0b840;
3345
- border-color: #d39511; }
2797
+ border-color: #d39211; }
3346
2798
  .bar-energized .button:hover {
3347
- color: white;
2799
+ color: #fff;
3348
2800
  text-decoration: none; }
3349
2801
  .bar-energized .button.active, .bar-energized .button:active {
3350
- background-color: #d39511;
2802
+ background-color: #d39211;
3351
2803
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
3352
- border-color: #d39511; }
2804
+ border-color: #d39211; }
3353
2805
  .bar-energized .button.button-clear {
3354
- color: white;
2806
+ color: #fff;
3355
2807
  background: none;
3356
2808
  border-color: transparent;
3357
2809
  box-shadow: none;
3358
- font-size: 18px; }
2810
+ font-size: 17px; }
3359
2811
  .bar-energized .button.button-icon {
3360
2812
  background: none;
3361
2813
  border-color: transparent; }
3362
2814
 
3363
2815
  .bar-royal .button {
3364
- color: white;
2816
+ color: #fff;
3365
2817
  background-color: #8a6de9;
3366
2818
  border-color: #552bdf; }
3367
2819
  .bar-royal .button:hover {
3368
- color: white;
2820
+ color: #fff;
3369
2821
  text-decoration: none; }
3370
2822
  .bar-royal .button.active, .bar-royal .button:active {
3371
2823
  background-color: #552bdf;
3372
2824
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
3373
2825
  border-color: #552bdf; }
3374
2826
  .bar-royal .button.button-clear {
3375
- color: white;
2827
+ color: #fff;
3376
2828
  background: none;
3377
2829
  border-color: transparent;
3378
2830
  box-shadow: none;
3379
- font-size: 18px; }
2831
+ font-size: 17px; }
3380
2832
  .bar-royal .button.button-icon {
3381
2833
  background: none;
3382
2834
  border-color: transparent; }
3383
2835
 
3384
2836
  .bar-dark .button {
3385
- color: white;
2837
+ color: #fff;
3386
2838
  background-color: #444444;
3387
- border-color: #111111; }
2839
+ border-color: #111; }
3388
2840
  .bar-dark .button:hover {
3389
- color: white;
2841
+ color: #fff;
3390
2842
  text-decoration: none; }
3391
2843
  .bar-dark .button.active, .bar-dark .button:active {
3392
2844
  background-color: #262626;
3393
2845
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
3394
- border-color: black; }
2846
+ border-color: #000; }
3395
2847
  .bar-dark .button.button-clear {
3396
- color: white;
2848
+ color: #fff;
3397
2849
  background: none;
3398
2850
  border-color: transparent;
3399
2851
  box-shadow: none;
3400
- font-size: 18px; }
2852
+ font-size: 17px; }
3401
2853
  .bar-dark .button.button-icon {
3402
2854
  background: none;
3403
2855
  border-color: transparent; }
@@ -3447,10 +2899,13 @@ a.subdued {
3447
2899
  -webkit-justify-content: center;
3448
2900
  -moz-justify-content: center;
3449
2901
  justify-content: center;
2902
+ -webkit-transform: translate3d(0, 0, 0);
2903
+ -moz-transform: translate3d(0, 0, 0);
2904
+ transform: translate3d(0, 0, 0);
3450
2905
  background-color: #f8f8f8;
3451
2906
  background-image: linear-gradient(0deg, #b2b2b2, #b2b2b2 50%, transparent 50%);
3452
2907
  border-color: #b2b2b2;
3453
- color: #444444;
2908
+ color: #444;
3454
2909
  position: absolute;
3455
2910
  bottom: 0;
3456
2911
  z-index: 5;
@@ -3460,51 +2915,81 @@ a.subdued {
3460
2915
  border-top-width: 1px;
3461
2916
  background-size: 0;
3462
2917
  line-height: 49px; }
2918
+ .tabs .tab-item .badge {
2919
+ background-color: #444;
2920
+ color: #f8f8f8; }
3463
2921
  .tabs.tabs-light {
3464
- background-color: white;
3465
- background-image: linear-gradient(0deg, #dddddd, #dddddd 50%, transparent 50%);
3466
- border-color: #dddddd;
3467
- color: #444444; }
2922
+ background-color: #fff;
2923
+ background-image: linear-gradient(0deg, #ddd, #ddd 50%, transparent 50%);
2924
+ border-color: #ddd;
2925
+ color: #444; }
2926
+ .tabs.tabs-light .tab-item .badge {
2927
+ background-color: #444;
2928
+ color: #fff; }
3468
2929
  .tabs.tabs-stable {
3469
2930
  background-color: #f8f8f8;
3470
2931
  background-image: linear-gradient(0deg, #b2b2b2, #b2b2b2 50%, transparent 50%);
3471
2932
  border-color: #b2b2b2;
3472
- color: #444444; }
2933
+ color: #444; }
2934
+ .tabs.tabs-stable .tab-item .badge {
2935
+ background-color: #444;
2936
+ color: #f8f8f8; }
3473
2937
  .tabs.tabs-positive {
3474
2938
  background-color: #4a87ee;
3475
- background-image: linear-gradient(0deg, #145dd7, #145dd7 50%, transparent 50%);
3476
- border-color: #145dd7;
3477
- color: white; }
2939
+ background-image: linear-gradient(0deg, #145fd7, #145fd7 50%, transparent 50%);
2940
+ border-color: #145fd7;
2941
+ color: #fff; }
2942
+ .tabs.tabs-positive .tab-item .badge {
2943
+ background-color: #fff;
2944
+ color: #4a87ee; }
3478
2945
  .tabs.tabs-calm {
3479
2946
  background-color: #43cee6;
3480
- background-image: linear-gradient(0deg, #1aaac3, #1aaac3 50%, transparent 50%);
3481
- border-color: #1aaac3;
3482
- color: white; }
2947
+ background-image: linear-gradient(0deg, #1aacc3, #1aacc3 50%, transparent 50%);
2948
+ border-color: #1aacc3;
2949
+ color: #fff; }
2950
+ .tabs.tabs-calm .tab-item .badge {
2951
+ background-color: #fff;
2952
+ color: #43cee6; }
3483
2953
  .tabs.tabs-assertive {
3484
2954
  background-color: #ef4e3a;
3485
- background-image: linear-gradient(0deg, #cc2511, #cc2511 50%, transparent 50%);
3486
- border-color: #cc2511;
3487
- color: white; }
2955
+ background-image: linear-gradient(0deg, #cc2311, #cc2311 50%, transparent 50%);
2956
+ border-color: #cc2311;
2957
+ color: #fff; }
2958
+ .tabs.tabs-assertive .tab-item .badge {
2959
+ background-color: #fff;
2960
+ color: #ef4e3a; }
3488
2961
  .tabs.tabs-balanced {
3489
2962
  background-color: #66cc33;
3490
- background-image: linear-gradient(0deg, #478f24, #478f24 50%, transparent 50%);
3491
- border-color: #478f24;
3492
- color: white; }
2963
+ background-image: linear-gradient(0deg, #498f24, #498f24 50%, transparent 50%);
2964
+ border-color: #498f24;
2965
+ color: #fff; }
2966
+ .tabs.tabs-balanced .tab-item .badge {
2967
+ background-color: #fff;
2968
+ color: #66cc33; }
3493
2969
  .tabs.tabs-energized {
3494
2970
  background-color: #f0b840;
3495
- background-image: linear-gradient(0deg, #d39511, #d39511 50%, transparent 50%);
3496
- border-color: #d39511;
3497
- color: white; }
2971
+ background-image: linear-gradient(0deg, #d39211, #d39211 50%, transparent 50%);
2972
+ border-color: #d39211;
2973
+ color: #fff; }
2974
+ .tabs.tabs-energized .tab-item .badge {
2975
+ background-color: #fff;
2976
+ color: #f0b840; }
3498
2977
  .tabs.tabs-royal {
3499
2978
  background-color: #8a6de9;
3500
2979
  background-image: linear-gradient(0deg, #552bdf, #552bdf 50%, transparent 50%);
3501
2980
  border-color: #552bdf;
3502
- color: white; }
2981
+ color: #fff; }
2982
+ .tabs.tabs-royal .tab-item .badge {
2983
+ background-color: #fff;
2984
+ color: #8a6de9; }
3503
2985
  .tabs.tabs-dark {
3504
- background-color: #444444;
3505
- background-image: linear-gradient(0deg, #111111, #111111 50%, transparent 50%);
3506
- border-color: #111111;
3507
- color: white; }
2986
+ background-color: #444;
2987
+ background-image: linear-gradient(0deg, #111, #111 50%, transparent 50%);
2988
+ border-color: #111;
2989
+ color: #fff; }
2990
+ .tabs.tabs-dark .tab-item .badge {
2991
+ background-color: #fff;
2992
+ color: #444; }
3508
2993
  @media (min--moz-device-pixel-ratio: 1.5), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
3509
2994
  .tabs {
3510
2995
  padding-top: 2px;
@@ -3515,7 +3000,10 @@ a.subdued {
3515
3000
  background-repeat: no-repeat; } }
3516
3001
 
3517
3002
  .tabs-top {
3518
- top: 44px; }
3003
+ top: 44px;
3004
+ padding-top: 0;
3005
+ padding-bottom: 2px;
3006
+ background-position: bottom; }
3519
3007
 
3520
3008
  .tab-item {
3521
3009
  -webkit-box-flex: 1;
@@ -3535,11 +3023,12 @@ a.subdued {
3535
3023
  white-space: nowrap;
3536
3024
  font-weight: 400;
3537
3025
  font-size: 14px;
3538
- font-family: "Helvetica Neue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
3026
+ font-family: "Helvetica Neue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
3539
3027
  opacity: 0.7; }
3028
+ .tab-item:hover {
3029
+ cursor: pointer; }
3540
3030
 
3541
- .tabs-icon-top .tab-item,
3542
- .tabs-icon-bottom .tab-item {
3031
+ .tabs-icon-top .tab-item, .tabs-icon-bottom .tab-item {
3543
3032
  font-size: 12px;
3544
3033
  line-height: 14px; }
3545
3034
 
@@ -3549,25 +3038,42 @@ a.subdued {
3549
3038
  height: 32px;
3550
3039
  font-size: 32px; }
3551
3040
 
3552
- .tabs-icon-left .tab-item,
3553
- .tabs-icon-right .tab-item {
3041
+ .tabs-icon-left .tab-item, .tabs-icon-right .tab-item {
3554
3042
  font-size: 12px; }
3555
- .tabs-icon-left .tab-item .icon,
3556
- .tabs-icon-right .tab-item .icon {
3043
+ .tabs-icon-left .tab-item .icon, .tabs-icon-right .tab-item .icon {
3557
3044
  display: inline-block;
3558
- vertical-align: top;
3559
- font-size: 24px;
3560
- line-height: 49px; }
3045
+ vertical-align: top; }
3046
+ .tabs-icon-left .tab-item .icon:before, .tabs-icon-right .tab-item .icon:before {
3047
+ font-size: 24px;
3048
+ line-height: 49px; }
3049
+
3050
+ .tabs-icon-left .tab-item .icon {
3051
+ padding-right: 3px; }
3052
+
3053
+ .tabs-icon-right .tab-item .icon {
3054
+ padding-left: 3px; }
3561
3055
 
3562
3056
  .tabs-icon-only .icon {
3563
3057
  line-height: inherit; }
3564
3058
 
3059
+ .tab-item.has-badge {
3060
+ position: relative; }
3061
+
3062
+ .tab-item .badge {
3063
+ position: absolute;
3064
+ padding: 2px 6px;
3065
+ top: 2%;
3066
+ right: 10%;
3067
+ font-size: 12px;
3068
+ height: auto;
3069
+ line-height: 16px; }
3070
+
3565
3071
  /* Navigational tab */
3566
3072
  /* Active state for tab */
3567
3073
  .tab-item.active, .tab-item:active {
3568
3074
  opacity: 1; }
3569
3075
  .tab-item.active.tab-item-light, .tab-item:active.tab-item-light {
3570
- color: white; }
3076
+ color: #fff; }
3571
3077
  .tab-item.active.tab-item-stable, .tab-item:active.tab-item-stable {
3572
3078
  color: #f8f8f8; }
3573
3079
  .tab-item.active.tab-item-positive, .tab-item:active.tab-item-positive {
@@ -3583,7 +3089,7 @@ a.subdued {
3583
3089
  .tab-item.active.tab-item-royal, .tab-item:active.tab-item-royal {
3584
3090
  color: #8a6de9; }
3585
3091
  .tab-item.active.tab-item-dark, .tab-item:active.tab-item-dark {
3586
- color: #444444; }
3092
+ color: #444; }
3587
3093
 
3588
3094
  .item.tabs {
3589
3095
  display: -webkit-box;
@@ -3593,7 +3099,7 @@ a.subdued {
3593
3099
  display: -ms-flexbox;
3594
3100
  display: flex;
3595
3101
  padding: 0; }
3596
- .item.tabs .icon {
3102
+ .item.tabs .icon:before {
3597
3103
  position: relative; }
3598
3104
 
3599
3105
  /**
@@ -3613,8 +3119,21 @@ a.subdued {
3613
3119
  background-color: #fff; }
3614
3120
 
3615
3121
  .menu-content {
3122
+ -webkit-transform: none;
3123
+ -moz-transform: none;
3124
+ transform: none;
3616
3125
  box-shadow: -1px 0px 2px rgba(0, 0, 0, 0.2), 1px 0px 2px rgba(0, 0, 0, 0.2); }
3617
3126
 
3127
+ .grade-b .menu-content, .grade-c .menu-content {
3128
+ right: -1px;
3129
+ left: -1px;
3130
+ -webkit-box-sizing: content-box;
3131
+ -moz-box-sizing: content-box;
3132
+ box-sizing: content-box;
3133
+ border-right: 1px solid #ccc;
3134
+ border-left: 1px solid #ccc;
3135
+ box-shadow: none; }
3136
+
3618
3137
  .menu-left {
3619
3138
  left: 0; }
3620
3139
 
@@ -3641,11 +3160,16 @@ a.subdued {
3641
3160
  overflow: hidden;
3642
3161
  min-height: 100%;
3643
3162
  width: 100%;
3644
- background-color: white;
3163
+ background-color: #fff;
3645
3164
  opacity: 0; }
3646
3165
  .modal.active {
3647
3166
  height: 100%; }
3648
3167
 
3168
+ .modal-open {
3169
+ pointer-events: none; }
3170
+ .modal-open .modal {
3171
+ pointer-events: auto; }
3172
+
3649
3173
  /**
3650
3174
  * Popups
3651
3175
  * --------------------------------------------------
@@ -3663,6 +3187,7 @@ a.subdued {
3663
3187
  position: fixed;
3664
3188
  top: 0;
3665
3189
  left: 0;
3190
+ z-index: 10;
3666
3191
  visibility: hidden;
3667
3192
  width: 100%;
3668
3193
  height: 100%; }
@@ -3693,9 +3218,9 @@ a.subdued {
3693
3218
  * --------------------------------------------------
3694
3219
  */
3695
3220
  .item {
3696
- color: #444444;
3697
- background-color: white;
3698
- border-color: #dddddd;
3221
+ color: #444;
3222
+ background-color: #fff;
3223
+ border-color: #ddd;
3699
3224
  -webkit-transition: margin-left 0.2s ease-in-out, margin-right 0.2s ease-in-out, left 0.2s ease-in-out;
3700
3225
  -moz-transition: margin-left 0.2s ease-in-out, margin-right 0.2s ease-in-out, left 0.2s ease-in-out;
3701
3226
  transition: margin-left 0.2s ease-in-out, margin-right 0.2s ease-in-out, left 0.2s ease-in-out;
@@ -3722,102 +3247,81 @@ a.subdued {
3722
3247
  .item p {
3723
3248
  color: #666;
3724
3249
  font-size: 14px; }
3725
- .item h1:last-child,
3726
- .item h2:last-child,
3727
- .item h3:last-child,
3728
- .item h4:last-child,
3729
- .item h5:last-child,
3730
- .item h6:last-child,
3731
- .item p:last-child {
3250
+ .item h1:last-child, .item h2:last-child, .item h3:last-child, .item h4:last-child, .item h5:last-child, .item h6:last-child, .item p:last-child {
3732
3251
  margin-bottom: 0; }
3733
3252
  .item .badge {
3734
3253
  float: right; }
3735
3254
  .item .badge + .badge {
3736
3255
  margin-right: 5px; }
3737
3256
  .item.item-light {
3738
- color: #444444;
3739
- background-color: white;
3740
- border-color: #dddddd; }
3257
+ color: #444;
3258
+ background-color: #fff;
3259
+ border-color: #ddd; }
3741
3260
  .item.item-stable {
3742
- color: #444444;
3261
+ color: #444;
3743
3262
  background-color: #f8f8f8;
3744
3263
  border-color: #b2b2b2; }
3745
3264
  .item.item-positive {
3746
- color: white;
3265
+ color: #fff;
3747
3266
  background-color: #4a87ee;
3748
- border-color: #145dd7; }
3267
+ border-color: #145fd7; }
3749
3268
  .item.item-calm {
3750
- color: white;
3269
+ color: #fff;
3751
3270
  background-color: #43cee6;
3752
- border-color: #1aaac3; }
3271
+ border-color: #1aacc3; }
3753
3272
  .item.item-assertive {
3754
- color: white;
3273
+ color: #fff;
3755
3274
  background-color: #ef4e3a;
3756
- border-color: #cc2511; }
3275
+ border-color: #cc2311; }
3757
3276
  .item.item-balanced {
3758
- color: white;
3277
+ color: #fff;
3759
3278
  background-color: #66cc33;
3760
- border-color: #478f24; }
3279
+ border-color: #498f24; }
3761
3280
  .item.item-energized {
3762
- color: white;
3281
+ color: #fff;
3763
3282
  background-color: #f0b840;
3764
- border-color: #d39511; }
3283
+ border-color: #d39211; }
3765
3284
  .item.item-royal {
3766
- color: white;
3285
+ color: #fff;
3767
3286
  background-color: #8a6de9;
3768
3287
  border-color: #552bdf; }
3769
3288
  .item.item-dark {
3770
- color: white;
3771
- background-color: #444444;
3772
- border-color: #111111; }
3773
-
3774
- a.item.active, .ionic-pseudo a.item:active, button.item.active, .ionic-pseudo button.item:active {
3775
- background-color: #d9d9d9;
3776
- border-color: #cccccc; }
3777
- a.item.item-light.active, .ionic-pseudo a.item.item-light:active, button.item.item-light.active, .ionic-pseudo button.item.item-light:active {
3778
- background-color: #fafafa;
3779
- border-color: #cccccc; }
3780
- a.item.item-stable.active, .ionic-pseudo a.item.item-stable:active, button.item.item-stable.active, .ionic-pseudo button.item.item-stable:active {
3781
- background-color: #e5e5e5;
3782
- border-color: #a2a2a2; }
3783
- a.item.item-positive.active, .ionic-pseudo a.item.item-positive:active, button.item.item-positive.active, .ionic-pseudo button.item.item-positive:active {
3784
- background-color: #145dd7;
3785
- border-color: #145dd7; }
3786
- a.item.item-calm.active, .ionic-pseudo a.item.item-calm:active, button.item.item-calm.active, .ionic-pseudo button.item.item-calm:active {
3787
- background-color: #1aaac3;
3788
- border-color: #1aaac3; }
3789
- a.item.item-assertive.active, .ionic-pseudo a.item.item-assertive:active, button.item.item-assertive.active, .ionic-pseudo button.item.item-assertive:active {
3790
- background-color: #cc2511;
3791
- border-color: #cc2511; }
3792
- a.item.item-balanced.active, .ionic-pseudo a.item.item-balanced:active, button.item.item-balanced.active, .ionic-pseudo button.item.item-balanced:active {
3793
- background-color: #478f24;
3794
- border-color: #478f24; }
3795
- a.item.item-energized.active, .ionic-pseudo a.item.item-energized:active, button.item.item-energized.active, .ionic-pseudo button.item.item-energized:active {
3796
- background-color: #d39511;
3797
- border-color: #d39511; }
3798
- a.item.item-royal.active, .ionic-pseudo a.item.item-royal:active, button.item.item-royal.active, .ionic-pseudo button.item.item-royal:active {
3799
- background-color: #552bdf;
3800
- border-color: #552bdf; }
3801
- a.item.item-dark.active, .ionic-pseudo a.item.item-dark:active, button.item.item-dark.active, .ionic-pseudo button.item.item-dark:active {
3802
- background-color: #262626;
3803
- border-color: black; }
3804
-
3805
- .item,
3806
- .item h1,
3807
- .item h2,
3808
- .item h3,
3809
- .item h4,
3810
- .item h5,
3811
- .item h6,
3812
- .item p,
3813
- .item-content,
3814
- .item-content h1,
3815
- .item-content h2,
3816
- .item-content h3,
3817
- .item-content h4,
3818
- .item-content h5,
3819
- .item-content h6,
3820
- .item-content p {
3289
+ color: #fff;
3290
+ background-color: #444;
3291
+ border-color: #111; }
3292
+
3293
+ .item.active, .ionic-pseudo .item:active, .item-complex.active .item-content {
3294
+ background-color: #D9D9D9;
3295
+ border-color: #ccc; }
3296
+ .item.active.item-light, .ionic-pseudo .item:active.item-light, .item-complex.active .item-content.item-light {
3297
+ background-color: #fafafa;
3298
+ border-color: #ccc; }
3299
+ .item.active.item-stable, .ionic-pseudo .item:active.item-stable, .item-complex.active .item-content.item-stable {
3300
+ background-color: #e5e5e5;
3301
+ border-color: #a2a2a2; }
3302
+ .item.active.item-positive, .ionic-pseudo .item:active.item-positive, .item-complex.active .item-content.item-positive {
3303
+ background-color: #145fd7;
3304
+ border-color: #145fd7; }
3305
+ .item.active.item-calm, .ionic-pseudo .item:active.item-calm, .item-complex.active .item-content.item-calm {
3306
+ background-color: #1aacc3;
3307
+ border-color: #1aacc3; }
3308
+ .item.active.item-assertive, .ionic-pseudo .item:active.item-assertive, .item-complex.active .item-content.item-assertive {
3309
+ background-color: #cc2311;
3310
+ border-color: #cc2311; }
3311
+ .item.active.item-balanced, .ionic-pseudo .item:active.item-balanced, .item-complex.active .item-content.item-balanced {
3312
+ background-color: #498f24;
3313
+ border-color: #498f24; }
3314
+ .item.active.item-energized, .ionic-pseudo .item:active.item-energized, .item-complex.active .item-content.item-energized {
3315
+ background-color: #d39211;
3316
+ border-color: #d39211; }
3317
+ .item.active.item-royal, .ionic-pseudo .item:active.item-royal, .item-complex.active .item-content.item-royal {
3318
+ background-color: #552bdf;
3319
+ border-color: #552bdf; }
3320
+ .item.active.item-dark, .ionic-pseudo .item:active.item-dark, .item-complex.active .item-content.item-dark {
3321
+ background-color: #262626;
3322
+ border-color: #000; }
3323
+
3324
+ .item, .item h1, .item h2, .item h3, .item h4, .item h5, .item h6, .item p, .item-content, .item-content h1, .item-content h2, .item-content h3, .item-content h4, .item-content h5, .item-content h6, .item-content p {
3821
3325
  overflow: hidden;
3822
3326
  text-overflow: ellipsis;
3823
3327
  white-space: nowrap; }
@@ -3837,13 +3341,10 @@ a.item {
3837
3341
  * Basically .item-complex removes any default settings which
3838
3342
  * .item added, so that .item-content looks them as just .item.
3839
3343
  */
3840
- .item-complex,
3841
- a.item.item-complex,
3842
- button.item.item-complex {
3344
+ .item-complex, a.item.item-complex, button.item.item-complex {
3843
3345
  padding: 0; }
3844
3346
 
3845
- .item-complex .item-content,
3846
- .item-radio .item-content {
3347
+ .item-complex .item-content, .item-radio .item-content {
3847
3348
  /**
3848
3349
  * The content area of a complex list item. This area can
3849
3350
  * Slide left and right and be dragged to support different
@@ -3863,33 +3364,11 @@ a.item-content {
3863
3364
  color: inherit;
3864
3365
  text-decoration: none; }
3865
3366
 
3866
- .item-text-wrap,
3867
- .item-text-wrap h1,
3868
- .item-text-wrap h2,
3869
- .item-text-wrap h3,
3870
- .item-text-wrap h4,
3871
- .item-text-wrap h5,
3872
- .item-text-wrap h6,
3873
- .item-text-wrap p,
3874
- .item-complex.item-text-wrap .item-content,
3875
- .item-body h1,
3876
- .item-body h2,
3877
- .item-body h3,
3878
- .item-body h4,
3879
- .item-body h5,
3880
- .item-body h6,
3881
- .item-body p {
3367
+ .item-text-wrap .item, .item-text-wrap, .item-text-wrap h1, .item-text-wrap h2, .item-text-wrap h3, .item-text-wrap h4, .item-text-wrap h5, .item-text-wrap h6, .item-text-wrap p, .item-complex.item-text-wrap .item-content, .item-body h1, .item-body h2, .item-body h3, .item-body h4, .item-body h5, .item-body h6, .item-body p {
3882
3368
  overflow: hidden;
3883
3369
  white-space: normal; }
3884
3370
 
3885
- .item-complex.item-text-wrap,
3886
- .item-complex.item-text-wrap h1,
3887
- .item-complex.item-text-wrap h2,
3888
- .item-complex.item-text-wrap h3,
3889
- .item-complex.item-text-wrap h4,
3890
- .item-complex.item-text-wrap h5,
3891
- .item-complex.item-text-wrap h6,
3892
- .item-complex.item-text-wrap p {
3371
+ .item-complex.item-text-wrap, .item-complex.item-text-wrap h1, .item-complex.item-text-wrap h2, .item-complex.item-text-wrap h3, .item-complex.item-text-wrap h4, .item-complex.item-text-wrap h5, .item-complex.item-text-wrap h6, .item-complex.item-text-wrap p {
3893
3372
  overflow: hidden;
3894
3373
  white-space: nowrap; }
3895
3374
 
@@ -3897,8 +3376,7 @@ a.item-content {
3897
3376
  * Item Icons
3898
3377
  * --------------------------------------------------
3899
3378
  */
3900
- .item-icon-left .icon,
3901
- .item-icon-right .icon {
3379
+ .item-icon-left .icon, .item-icon-right .icon {
3902
3380
  display: -webkit-box;
3903
3381
  display: -webkit-flex;
3904
3382
  display: -moz-box;
@@ -3914,8 +3392,7 @@ a.item-content {
3914
3392
  top: 0;
3915
3393
  height: 100%;
3916
3394
  font-size: 32px; }
3917
- .item-icon-left .icon:before,
3918
- .item-icon-right .icon:before {
3395
+ .item-icon-left .icon:before, .item-icon-right .icon:before {
3919
3396
  display: block;
3920
3397
  width: 28px;
3921
3398
  text-align: center; }
@@ -3959,8 +3436,7 @@ a.item-content {
3959
3436
  .item-button-left {
3960
3437
  padding-left: 67.5px; }
3961
3438
 
3962
- .item-button-left > .button,
3963
- .item-button-left .item-content > .button {
3439
+ .item-button-left > .button, .item-button-left .item-content > .button {
3964
3440
  display: -webkit-box;
3965
3441
  display: -webkit-flex;
3966
3442
  display: -moz-box;
@@ -3975,25 +3451,25 @@ a.item-content {
3975
3451
  position: absolute;
3976
3452
  top: 7.5px;
3977
3453
  left: 7.5px;
3978
- min-width: initial;
3979
- min-height: 32px;
3980
- font-size: 32px; }
3981
- .item-button-left > .button .icon,
3982
- .item-button-left .item-content > .button .icon {
3454
+ min-width: 34px;
3455
+ min-height: 34px;
3456
+ font-size: 18px;
3457
+ line-height: 32px; }
3458
+ .item-button-left > .button .icon:before, .item-button-left .item-content > .button .icon:before {
3983
3459
  position: relative;
3984
3460
  left: auto;
3985
3461
  width: auto;
3986
3462
  line-height: 31px; }
3463
+ .item-button-left > .button > .button, .item-button-left .item-content > .button > .button {
3464
+ margin: 0px 2px;
3465
+ min-height: 34px;
3466
+ font-size: 18px;
3467
+ line-height: 32px; }
3987
3468
 
3988
- .item-button-right,
3989
- a.item.item-button-right,
3990
- button.item.item-button-right {
3469
+ .item-button-right, a.item.item-button-right, button.item.item-button-right {
3991
3470
  padding-right: 75px; }
3992
3471
 
3993
- .item-button-right > .button,
3994
- .item-button-right .item-content > .button,
3995
- .item-button-right > .buttons,
3996
- .item-button-right .item-content > .buttons {
3472
+ .item-button-right > .button, .item-button-right .item-content > .button, .item-button-right > .buttons, .item-button-right .item-content > .buttons {
3997
3473
  display: -webkit-box;
3998
3474
  display: -webkit-flex;
3999
3475
  display: -moz-box;
@@ -4008,24 +3484,21 @@ button.item.item-button-right {
4008
3484
  position: absolute;
4009
3485
  top: 7.5px;
4010
3486
  right: 15px;
4011
- min-width: initial;
4012
- min-height: 32px;
4013
- font-size: 32px; }
4014
- .item-button-right > .button .icon,
4015
- .item-button-right .item-content > .button .icon,
4016
- .item-button-right > .buttons .icon,
4017
- .item-button-right .item-content > .buttons .icon {
3487
+ min-width: 34px;
3488
+ min-height: 34px;
3489
+ font-size: 18px;
3490
+ line-height: 32px; }
3491
+ .item-button-right > .button .icon:before, .item-button-right .item-content > .button .icon:before, .item-button-right > .buttons .icon:before, .item-button-right .item-content > .buttons .icon:before {
4018
3492
  position: relative;
4019
3493
  left: auto;
4020
3494
  width: auto;
4021
3495
  line-height: 31px; }
4022
- .item-button-right > .button > .button,
4023
- .item-button-right .item-content > .button > .button,
4024
- .item-button-right > .buttons > .button,
4025
- .item-button-right .item-content > .buttons > .button {
3496
+ .item-button-right > .button > .button, .item-button-right .item-content > .button > .button, .item-button-right > .buttons > .button, .item-button-right .item-content > .buttons > .button {
4026
3497
  margin: 0px 2px;
4027
- min-height: 32px;
4028
- font-size: 32px; }
3498
+ min-width: 34px;
3499
+ min-height: 34px;
3500
+ font-size: 18px;
3501
+ line-height: 32px; }
4029
3502
 
4030
3503
  /**
4031
3504
  * Auto Right Arrow Icon
@@ -4033,12 +3506,10 @@ button.item.item-button-right {
4033
3506
  * By default, if an .item is created out of an <a> or <button>
4034
3507
  * then a arrow will be added to the right side of the item.
4035
3508
  */
4036
- a.item,
4037
- button.item {
3509
+ a.item, button.item, .item a[href].item-content, .item[ng-click] a.item-content {
4038
3510
  padding-right: 40px; }
4039
3511
 
4040
- a.item:after,
4041
- button.item:after {
3512
+ a.item:after, button.item:after, .item a[href].item-content:after, .item[ng-click] a.item-content:after {
4042
3513
  /* By default, both <a> and <button> have right side arrow icons */
4043
3514
  display: -webkit-box;
4044
3515
  display: -webkit-flex;
@@ -4068,10 +3539,13 @@ button.item:after {
4068
3539
  line-height: 1;
4069
3540
  speak: none; }
4070
3541
 
4071
- a.item-icon-right:after,
4072
- button.item-icon-right:after,
4073
- a.item-button-right:after,
4074
- button.item-button-right:after {
3542
+ .grade-b a.item:after, .grade-b button.item:after, .grade-b .item a[href].item-content:after, .grade-b .item[ng-click] a.item-content:after, .grade-c a.item:after, .grade-c button.item:after, .grade-c .item a[href].item-content:after, .grade-c .item[ng-click] a.item-content:after {
3543
+ -webkit-font-smoothing: none;
3544
+ font-smoothing: none;
3545
+ content: '>';
3546
+ font-family: 'monospace'; }
3547
+
3548
+ a.item-icon-right:after, button.item-icon-right:after, a.item-button-right:after, button.item-button-right:after, .item a.item-content:after {
4075
3549
  display: none; }
4076
3550
 
4077
3551
  .item-avatar {
@@ -4086,10 +3560,10 @@ button.item-button-right:after {
4086
3560
  width: 100%;
4087
3561
  border-radius: 4px; }
4088
3562
 
4089
- .item-thumbnail-left {
3563
+ .item-thumbnail-left, .item-thumbnail-left .item-content {
4090
3564
  padding-left: 105px;
4091
3565
  min-height: 100px; }
4092
- .item-thumbnail-left > img:first-child, .item-thumbnail-left > .item-image {
3566
+ .item-thumbnail-left > img:first-child, .item-thumbnail-left > .item-image, .item-thumbnail-left .item-content > img:first-child, .item-thumbnail-left .item-content > .item-image {
4093
3567
  position: absolute;
4094
3568
  top: 10px;
4095
3569
  left: 10px;
@@ -4097,10 +3571,13 @@ button.item-button-right:after {
4097
3571
  max-height: 80px;
4098
3572
  width: 100%; }
4099
3573
 
4100
- .item-thumbnail-right {
3574
+ .item-thumbnail-left.item-complex {
3575
+ padding-left: 0; }
3576
+
3577
+ .item-thumbnail-right, .item-thumbnail-right .item-content {
4101
3578
  padding-right: 105px;
4102
3579
  min-height: 100px; }
4103
- .item-thumbnail-right > img:first-child, .item-thumbnail-right > .item-image {
3580
+ .item-thumbnail-right > img:first-child, .item-thumbnail-right > .item-image, .item-thumbnail-right .item-content > img:first-child, .item-thumbnail-right .item-content > .item-image {
4104
3581
  position: absolute;
4105
3582
  top: 10px;
4106
3583
  right: 10px;
@@ -4108,6 +3585,9 @@ button.item-button-right:after {
4108
3585
  max-height: 80px;
4109
3586
  width: 100%; }
4110
3587
 
3588
+ .item-thumbnail-left.item-complex {
3589
+ padding-right: 0; }
3590
+
4111
3591
  .item-image {
4112
3592
  padding: 0;
4113
3593
  text-align: center; }
@@ -4128,8 +3608,8 @@ button.item-button-right:after {
4128
3608
  padding-top: 7.5px;
4129
3609
  padding-bottom: 7.5px;
4130
3610
  min-height: 30px;
4131
- background-color: whitesmoke;
4132
- color: #222222;
3611
+ background-color: #f5f5f5;
3612
+ color: #222;
4133
3613
  font-weight: bold; }
4134
3614
 
4135
3615
  .item-note {
@@ -4139,7 +3619,7 @@ button.item-button-right:after {
4139
3619
 
4140
3620
  .item-reordering {
4141
3621
  position: absolute;
4142
- z-index: 20;
3622
+ z-index: 9;
4143
3623
  width: 100%; }
4144
3624
 
4145
3625
  .item-placeholder {
@@ -4251,10 +3731,14 @@ button.item-button-right:after {
4251
3731
  */
4252
3732
  .list {
4253
3733
  position: relative;
4254
- margin-bottom: 20px;
4255
3734
  padding-top: 1px;
4256
3735
  padding-bottom: 1px;
4257
- padding-left: 0; }
3736
+ padding-left: 0;
3737
+ margin-bottom: 20px; }
3738
+
3739
+ /* If a list is the last item in a container, don't add margin-bottom */
3740
+ .list:last-child {
3741
+ margin-bottom: 0px; }
4258
3742
 
4259
3743
  /**
4260
3744
  * List editing styles. These trigger when the entire list goes into
@@ -4278,7 +3762,7 @@ button.item-button-right:after {
4278
3762
  margin-top: 20px;
4279
3763
  padding: 5px 15px;
4280
3764
  background-color: transparent;
4281
- color: #222222;
3765
+ color: #222;
4282
3766
  font-weight: bold; }
4283
3767
 
4284
3768
  .card.list .list-item {
@@ -4290,47 +3774,34 @@ button.item-button-right:after {
4290
3774
  * --------------------------------------------------
4291
3775
  * A card and list-inset are close to the same thing, except a card as a box shadow.
4292
3776
  */
4293
- .card,
4294
- .list-inset {
3777
+ .card, .list-inset {
4295
3778
  overflow: hidden;
4296
3779
  margin: 20px 10px;
4297
3780
  border-radius: 2px;
4298
- background-color: white; }
3781
+ background-color: #fff; }
4299
3782
 
4300
3783
  .card {
4301
3784
  padding-top: 1px;
4302
3785
  padding-bottom: 1px;
4303
3786
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }
4304
3787
 
4305
- .card .item:first-child,
4306
- .list-inset .item:first-child,
4307
- .padding > .list .item:first-child {
3788
+ .card .item:first-child, .list-inset .item:first-child, .padding > .list .item:first-child {
4308
3789
  border-top-left-radius: 2px;
4309
3790
  border-top-right-radius: 2px; }
4310
- .card .item:first-child .item-content,
4311
- .list-inset .item:first-child .item-content,
4312
- .padding > .list .item:first-child .item-content {
3791
+ .card .item:first-child .item-content, .list-inset .item:first-child .item-content, .padding > .list .item:first-child .item-content {
4313
3792
  border-top-left-radius: 2px;
4314
3793
  border-top-right-radius: 2px; }
4315
- .card .item:last-child,
4316
- .list-inset .item:last-child,
4317
- .padding > .list .item:last-child {
3794
+ .card .item:last-child, .list-inset .item:last-child, .padding > .list .item:last-child {
4318
3795
  border-bottom-right-radius: 2px;
4319
3796
  border-bottom-left-radius: 2px; }
4320
- .card .item:last-child .item-content,
4321
- .list-inset .item:last-child .item-content,
4322
- .padding > .list .item:last-child .item-content {
3797
+ .card .item:last-child .item-content, .list-inset .item:last-child .item-content, .padding > .list .item:last-child .item-content {
4323
3798
  border-bottom-right-radius: 2px;
4324
3799
  border-bottom-left-radius: 2px; }
4325
3800
 
4326
- .card .item:last-child,
4327
- .list-inset .item:last-child {
3801
+ .card .item:last-child, .list-inset .item:last-child {
4328
3802
  margin-bottom: -1px; }
4329
3803
 
4330
- .card .item,
4331
- .list-inset .item,
4332
- .padding > .list .item,
4333
- .padding-horizontal > .list .item {
3804
+ .card .item, .list-inset .item, .padding > .list .item, .padding-horizontal > .list .item {
4334
3805
  margin-right: 0;
4335
3806
  margin-left: 0; }
4336
3807
 
@@ -4340,23 +3811,13 @@ button.item-button-right:after {
4340
3811
  .padding-right > .list .item {
4341
3812
  margin-right: 0; }
4342
3813
 
4343
- /**
4344
- * Nav
4345
- * --------------------------------------------------
4346
- */
4347
- .nav-page {
4348
- position: absolute;
4349
- width: 100%;
4350
- height: 100%;
4351
- background-color: white; }
4352
-
4353
3814
  /**
4354
3815
  * Badges
4355
3816
  * --------------------------------------------------
4356
3817
  */
4357
3818
  .badge {
4358
3819
  background-color: transparent;
4359
- color: #aaaaaa;
3820
+ color: #AAAAAA;
4360
3821
  display: inline-block;
4361
3822
  padding: 3px 8px;
4362
3823
  min-width: 10px;
@@ -4369,33 +3830,34 @@ button.item-button-right:after {
4369
3830
  line-height: 16px; }
4370
3831
  .badge:empty {
4371
3832
  display: none; }
4372
- .badge.badge-light {
4373
- background-color: white;
4374
- color: #444444; }
4375
- .badge.badge-stable {
4376
- background-color: #f8f8f8;
4377
- color: #444444; }
4378
- .badge.badge-positive {
4379
- background-color: #4a87ee;
4380
- color: white; }
4381
- .badge.badge-calm {
4382
- background-color: #43cee6;
4383
- color: white; }
4384
- .badge.badge-assertive {
4385
- background-color: #ef4e3a;
4386
- color: white; }
4387
- .badge.badge-balanced {
4388
- background-color: #66cc33;
4389
- color: white; }
4390
- .badge.badge-energized {
4391
- background-color: #f0b840;
4392
- color: white; }
4393
- .badge.badge-royal {
4394
- background-color: #8a6de9;
4395
- color: white; }
4396
- .badge.badge-dark {
4397
- background-color: #444444;
4398
- color: white; }
3833
+
3834
+ .tabs .tab-item .badge.badge-light, .badge.badge-light {
3835
+ background-color: #fff;
3836
+ color: #444; }
3837
+ .tabs .tab-item .badge.badge-stable, .badge.badge-stable {
3838
+ background-color: #f8f8f8;
3839
+ color: #444; }
3840
+ .tabs .tab-item .badge.badge-positive, .badge.badge-positive {
3841
+ background-color: #4a87ee;
3842
+ color: #fff; }
3843
+ .tabs .tab-item .badge.badge-calm, .badge.badge-calm {
3844
+ background-color: #43cee6;
3845
+ color: #fff; }
3846
+ .tabs .tab-item .badge.badge-assertive, .badge.badge-assertive {
3847
+ background-color: #ef4e3a;
3848
+ color: #fff; }
3849
+ .tabs .tab-item .badge.badge-balanced, .badge.badge-balanced {
3850
+ background-color: #66cc33;
3851
+ color: #fff; }
3852
+ .tabs .tab-item .badge.badge-energized, .badge.badge-energized {
3853
+ background-color: #f0b840;
3854
+ color: #fff; }
3855
+ .tabs .tab-item .badge.badge-royal, .badge.badge-royal {
3856
+ background-color: #8a6de9;
3857
+ color: #fff; }
3858
+ .tabs .tab-item .badge.badge-dark, .badge.badge-dark {
3859
+ background-color: #444;
3860
+ color: #fff; }
4399
3861
 
4400
3862
  .button .badge {
4401
3863
  position: relative;
@@ -4411,12 +3873,14 @@ button.item-button-right:after {
4411
3873
  visibility: hidden; }
4412
3874
 
4413
3875
  .slider-slides {
4414
- position: relative; }
3876
+ position: relative;
3877
+ height: 100%; }
4415
3878
 
4416
3879
  .slider-slide {
4417
3880
  display: block;
4418
3881
  position: relative;
4419
3882
  width: 100%;
3883
+ height: 100%;
4420
3884
  float: left;
4421
3885
  vertical-align: top; }
4422
3886
 
@@ -4433,7 +3897,7 @@ button.item-button-right:after {
4433
3897
  display: inline-block;
4434
3898
  margin: 0px 3px;
4435
3899
  width: 15px;
4436
- color: #fff;
3900
+ color: #000;
4437
3901
  text-decoration: none;
4438
3902
  opacity: 0.3; }
4439
3903
  .slider-pager .slider-pager-page.active {
@@ -4471,7 +3935,7 @@ button.item-button-right:after {
4471
3935
  overflow-y: auto;
4472
3936
  width: 320px;
4473
3937
  height: 100%;
4474
- border-right: 1px solid #eeeeee; }
3938
+ border-right: 1px solid #eee; }
4475
3939
  @media all and (max-width: 568px) {
4476
3940
  .split-pane-menu {
4477
3941
  border-right: none; } }
@@ -4496,28 +3960,21 @@ legend {
4496
3960
  margin-bottom: 1.42857;
4497
3961
  padding: 0;
4498
3962
  width: 100%;
4499
- border: 1px solid #dddddd;
4500
- color: #444444;
3963
+ border: 1px solid #ddd;
3964
+ color: #444;
4501
3965
  font-size: 21px;
4502
3966
  line-height: 2.85714; }
4503
3967
  legend small {
4504
3968
  color: #f8f8f8;
4505
3969
  font-size: 1.07143; }
4506
3970
 
4507
- label,
4508
- input,
4509
- button,
4510
- select,
4511
- textarea {
3971
+ label, input, button, select, textarea {
4512
3972
  font-size: 14px;
4513
3973
  font-weight: normal;
4514
3974
  line-height: 1.42857; }
4515
3975
 
4516
- input,
4517
- button,
4518
- select,
4519
- textarea {
4520
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
3976
+ input, button, select, textarea {
3977
+ font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; }
4521
3978
 
4522
3979
  .item-input {
4523
3980
  display: -webkit-box;
@@ -4562,7 +4019,7 @@ textarea {
4562
4019
  text-align: center;
4563
4020
  font-size: 16px; }
4564
4021
  .item-input.item.active, .ionic-pseudo .item-input.item:active {
4565
- border-color: #dddddd;
4022
+ border-color: #ddd;
4566
4023
  background-color: transparent; }
4567
4024
  .item-input .button-bar {
4568
4025
  -webkit-border-radius: 0;
@@ -4637,11 +4094,15 @@ textarea {
4637
4094
  flex: 1 0 100px;
4638
4095
  padding: 7px 10px 7px 3px;
4639
4096
  max-width: 200px;
4640
- color: #444444;
4097
+ color: #444;
4641
4098
  font-weight: bold; }
4642
4099
 
4643
4100
  .placeholder-icon {
4644
4101
  color: #aaa; }
4102
+ .placeholder-icon:first-child {
4103
+ padding-right: 6px; }
4104
+ .placeholder-icon:last-child {
4105
+ padding-left: 6px; }
4645
4106
 
4646
4107
  .item-stacked-label {
4647
4108
  display: block;
@@ -4652,115 +4113,64 @@ textarea {
4652
4113
  padding: 4px 0;
4653
4114
  vertical-align: middle; }
4654
4115
 
4655
- .item-stacked-label input,
4656
- .item-stacked-label textarea {
4116
+ .item-stacked-label input, .item-stacked-label textarea {
4657
4117
  -webkit-border-radius: 2px;
4658
4118
  -moz-border-radius: 2px;
4659
4119
  border-radius: 2px;
4660
4120
  overflow: hidden;
4661
4121
  padding: 4px 8px 3px;
4662
4122
  border: none;
4663
- background-color: white; }
4123
+ background-color: #fff; }
4664
4124
 
4665
4125
  .item-stacked-label input {
4666
4126
  height: 46px; }
4667
4127
 
4668
- select,
4669
- textarea,
4670
- input[type="text"],
4671
- input[type="password"],
4672
- input[type="datetime"],
4673
- input[type="datetime-local"],
4674
- input[type="date"],
4675
- input[type="month"],
4676
- input[type="time"],
4677
- input[type="week"],
4678
- input[type="number"],
4679
- input[type="email"],
4680
- input[type="url"],
4681
- input[type="search"],
4682
- input[type="tel"],
4683
- input[type="color"] {
4128
+ select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
4684
4129
  display: block;
4685
4130
  height: 34px;
4686
- color: #111111;
4131
+ color: #111;
4687
4132
  vertical-align: middle;
4688
4133
  font-size: 14px;
4689
4134
  line-height: 20px; }
4690
4135
 
4691
- input,
4692
- textarea {
4136
+ input, textarea {
4693
4137
  width: 100%; }
4694
4138
 
4695
4139
  textarea {
4696
4140
  height: auto; }
4697
4141
 
4698
- textarea,
4699
- input[type="text"],
4700
- input[type="password"],
4701
- input[type="datetime"],
4702
- input[type="datetime-local"],
4703
- input[type="date"],
4704
- input[type="month"],
4705
- input[type="time"],
4706
- input[type="week"],
4707
- input[type="number"],
4708
- input[type="email"],
4709
- input[type="url"],
4710
- input[type="search"],
4711
- input[type="tel"],
4712
- input[type="color"] {
4142
+ textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
4713
4143
  border: 0; }
4714
4144
 
4715
- input[type="radio"],
4716
- input[type="checkbox"] {
4145
+ input[type="radio"], input[type="checkbox"] {
4717
4146
  margin: 0;
4718
4147
  line-height: normal; }
4719
4148
 
4720
- input[type="file"],
4721
- input[type="image"],
4722
- input[type="submit"],
4723
- input[type="reset"],
4724
- input[type="button"],
4725
- input[type="radio"],
4726
- input[type="checkbox"] {
4149
+ input[type="file"], input[type="image"], input[type="submit"], input[type="reset"], input[type="button"], input[type="radio"], input[type="checkbox"] {
4727
4150
  width: auto; }
4728
4151
 
4729
- select[multiple],
4730
- select[size] {
4152
+ select[multiple], select[size] {
4731
4153
  height: auto; }
4732
4154
 
4733
- select,
4734
- input[type="file"] {
4155
+ select, input[type="file"] {
4735
4156
  line-height: 34px; }
4736
4157
 
4737
4158
  select {
4738
- border: 1px solid #dddddd;
4739
- background-color: white; }
4159
+ border: 1px solid #ddd;
4160
+ background-color: #fff; }
4740
4161
 
4741
- input:-moz-placeholder,
4742
- textarea:-moz-placeholder {
4162
+ input:-moz-placeholder, textarea:-moz-placeholder {
4743
4163
  color: #aaaaaa; }
4744
- input:-ms-input-placeholder,
4745
- textarea:-ms-input-placeholder {
4164
+ input:-ms-input-placeholder, textarea:-ms-input-placeholder {
4746
4165
  color: #aaaaaa; }
4747
- input::-webkit-input-placeholder,
4748
- textarea::-webkit-input-placeholder {
4166
+ input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
4749
4167
  color: #aaaaaa; }
4750
4168
 
4751
- input[disabled],
4752
- select[disabled],
4753
- textarea[disabled],
4754
- input[readonly],
4755
- select[readonly],
4756
- textarea[readonly] {
4169
+ input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
4757
4170
  background-color: #f8f8f8;
4758
4171
  cursor: not-allowed; }
4759
4172
 
4760
- input[type="radio"][disabled],
4761
- input[type="checkbox"][disabled],
4762
- input[type="radio"][readonly],
4763
- input[type="checkbox"][readonly] {
4173
+ input[type="radio"][disabled], input[type="checkbox"][disabled], input[type="radio"][readonly], input[type="checkbox"][readonly] {
4764
4174
  background-color: transparent; }
4765
4175
 
4766
4176
  /**
@@ -4786,11 +4196,11 @@ input[type="checkbox"][readonly] {
4786
4196
  display: table;
4787
4197
  width: 100%;
4788
4198
  height: 100%;
4789
- border: 1px solid #4a87ee;
4199
+ border: 1px solid #4A87EE;
4790
4200
  border-radius: 50%;
4791
- background: white;
4201
+ background: #fff;
4792
4202
  content: ' ';
4793
- transition: background-color .1s ease-in-out; }
4203
+ transition: background-color 0.1s ease-in-out; }
4794
4204
 
4795
4205
  /* the checkmark within the box */
4796
4206
  .checkbox input:after {
@@ -4801,12 +4211,12 @@ input[type="checkbox"][readonly] {
4801
4211
  -moz-transform: rotate(-45deg);
4802
4212
  transform: rotate(-45deg);
4803
4213
  position: absolute;
4804
- top: 34%;
4214
+ top: 30%;
4805
4215
  left: 26%;
4806
4216
  display: table;
4807
4217
  width: 14px;
4808
4218
  height: 10.33333px;
4809
- border: 3px solid white;
4219
+ border: 3px solid #fff;
4810
4220
  border-top: 0;
4811
4221
  border-right: 0;
4812
4222
  content: ' ';
@@ -4815,7 +4225,7 @@ input[type="checkbox"][readonly] {
4815
4225
  /* what the background looks like when its checked */
4816
4226
  .checkbox input:checked:before {
4817
4227
  border: 0;
4818
- background: #4a87ee; }
4228
+ background: #4A87EE; }
4819
4229
 
4820
4230
  /* what the checkmark looks like when its checked */
4821
4231
  .checkbox input:checked:after {
@@ -4874,9 +4284,9 @@ input[type="checkbox"][readonly] {
4874
4284
  box-sizing: border-box;
4875
4285
  width: 54px;
4876
4286
  height: 32px;
4877
- border: solid 2px #e5e5e5;
4287
+ border: solid 2px #E5E5E5;
4878
4288
  border-radius: 20px;
4879
- background-color: #e5e5e5;
4289
+ background-color: #E5E5E5;
4880
4290
  content: ' ';
4881
4291
  cursor: pointer; }
4882
4292
 
@@ -4893,7 +4303,7 @@ input[type="checkbox"][readonly] {
4893
4303
  width: 28px;
4894
4304
  height: 28px;
4895
4305
  border-radius: 50%;
4896
- background-color: white;
4306
+ background-color: #fff;
4897
4307
  /* used to create a larger (but hidden) hit area to slide the handle */ }
4898
4308
  .toggle .handle:before {
4899
4309
  position: absolute;
@@ -4904,15 +4314,15 @@ input[type="checkbox"][readonly] {
4904
4314
 
4905
4315
  /* the track when the toggle is "on" */
4906
4316
  .toggle input:checked + .track {
4907
- border-color: #4a87ee;
4908
- background-color: #4a87ee; }
4317
+ border-color: #4A87EE;
4318
+ background-color: #4A87EE; }
4909
4319
 
4910
4320
  /* the handle when the toggle is "on" */
4911
4321
  .toggle input:checked + .track .handle {
4912
4322
  -webkit-transform: translate3d(22px, 0, 0);
4913
4323
  -moz-transform: translate3d(22px, 0, 0);
4914
4324
  transform: translate3d(22px, 0, 0);
4915
- background-color: white; }
4325
+ background-color: #fff; }
4916
4326
 
4917
4327
  /* make sure list item content have enough padding on right to fit the toggle */
4918
4328
  .item-toggle {
@@ -4927,6 +4337,9 @@ input[type="checkbox"][readonly] {
4927
4337
  right: 15px;
4928
4338
  z-index: 3; }
4929
4339
 
4340
+ .toggle input:disabled + .track {
4341
+ opacity: 0.6; }
4342
+
4930
4343
  /**
4931
4344
  * Radio Button Inputs
4932
4345
  * --------------------------------------------------
@@ -4953,7 +4366,8 @@ input[type="checkbox"][readonly] {
4953
4366
 
4954
4367
  .item-radio input {
4955
4368
  /* hide any radio button inputs elements (the ugly circles) */
4956
- display: none; }
4369
+ position: absolute;
4370
+ left: -9999px; }
4957
4371
  .item-radio input:checked ~ .item-content {
4958
4372
  /* style the item content when its checked */
4959
4373
  background: #f7f7f7; }
@@ -4961,6 +4375,16 @@ input[type="checkbox"][readonly] {
4961
4375
  /* show the checkmark icon when its checked */
4962
4376
  visibility: visible; }
4963
4377
 
4378
+ .item-radio {
4379
+ -webkit-animation: androidCheckedbugfix infinite 1s; }
4380
+
4381
+ @-webkit-keyframes androidCheckedbugfix {
4382
+ from {
4383
+ padding: 0; }
4384
+
4385
+ to {
4386
+ padding: 0; } }
4387
+
4964
4388
  /**
4965
4389
  * Range
4966
4390
  * --------------------------------------------------
@@ -4975,7 +4399,8 @@ input[type="range"] {
4975
4399
  width: auto;
4976
4400
  height: 35px;
4977
4401
  outline: none;
4978
- background: linear-gradient(to right, #cccccc 0%, #cccccc 100%);
4402
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ccc), color-stop(100%, #ccc));
4403
+ background: linear-gradient(to right, #ccc 0%, #ccc 100%);
4979
4404
  background-position: center;
4980
4405
  background-size: 99% 4px;
4981
4406
  background-repeat: no-repeat;
@@ -4985,7 +4410,7 @@ input[type="range"] {
4985
4410
  width: 20px;
4986
4411
  height: 20px;
4987
4412
  border-radius: 10px;
4988
- background-color: white;
4413
+ background-color: #fff;
4989
4414
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 1px 3px 5px rgba(0, 0, 0, 0.25);
4990
4415
  cursor: pointer;
4991
4416
  -webkit-appearance: none; }
@@ -4996,7 +4421,7 @@ input[type="range"] {
4996
4421
  left: -2001px;
4997
4422
  width: 2000px;
4998
4423
  height: 4px;
4999
- background: #444444;
4424
+ background: #444;
5000
4425
  content: ' '; }
5001
4426
  input[type="range"]::-webkit-slider-thumb:after {
5002
4427
  /* create a larger (but hidden) hit area */
@@ -5020,7 +4445,7 @@ input[type="range"] {
5020
4445
  align-items: center;
5021
4446
  padding: 2px 4px; }
5022
4447
  .range.range-light input::-webkit-slider-thumb:before {
5023
- background: #dddddd; }
4448
+ background: #ddd; }
5024
4449
  .range.range-stable input::-webkit-slider-thumb:before {
5025
4450
  background: #b2b2b2; }
5026
4451
  .range.range-positive input::-webkit-slider-thumb:before {
@@ -5036,7 +4461,7 @@ input[type="range"] {
5036
4461
  .range.range-royal input::-webkit-slider-thumb:before {
5037
4462
  background: #8a6de9; }
5038
4463
  .range.range-dark input::-webkit-slider-thumb:before {
5039
- background: #444444; }
4464
+ background: #444; }
5040
4465
 
5041
4466
  .range .icon {
5042
4467
  -webkit-box-flex: 0;
@@ -5059,8 +4484,7 @@ input[type="range"] {
5059
4484
  flex: 1;
5060
4485
  display: block;
5061
4486
  margin-right: 10px;
5062
- margin-left: 10px;
5063
- width: 100%; }
4487
+ margin-left: 10px; }
5064
4488
 
5065
4489
  .range-label {
5066
4490
  -webkit-box-flex: 0;
@@ -5084,7 +4508,7 @@ input[type="range"] {
5084
4508
  * --------------------------------------------------
5085
4509
  */
5086
4510
  .button {
5087
- color: #444444;
4511
+ color: #444;
5088
4512
  background-color: #f8f8f8;
5089
4513
  border-color: #b2b2b2;
5090
4514
  position: relative;
@@ -5092,7 +4516,7 @@ input[type="range"] {
5092
4516
  margin: 0;
5093
4517
  padding: 1px 12px 0 12px;
5094
4518
  min-width: 52px;
5095
- min-height: 42px;
4519
+ min-height: 47px;
5096
4520
  border-width: 1px;
5097
4521
  border-style: solid;
5098
4522
  border-radius: 2px;
@@ -5100,44 +4524,54 @@ input[type="range"] {
5100
4524
  text-align: center;
5101
4525
  text-overflow: ellipsis;
5102
4526
  font-size: 16px;
5103
- line-height: 41px;
4527
+ line-height: 42px;
5104
4528
  cursor: pointer; }
5105
4529
  .button:hover {
5106
- color: #444444;
4530
+ color: #444;
5107
4531
  text-decoration: none; }
5108
4532
  .button.active, .button:active {
5109
4533
  background-color: #e5e5e5;
5110
4534
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
5111
4535
  border-color: #a2a2a2; }
5112
- .button .icon, .button.icon:before, .button.icon-left:before, .button.icon-right:before {
4536
+ .button:after {
4537
+ position: absolute;
4538
+ top: -6px;
4539
+ right: -8px;
4540
+ bottom: -6px;
4541
+ left: -8px;
4542
+ content: ' '; }
4543
+ .button .icon {
4544
+ vertical-align: top; }
4545
+ .button .icon:before, .button.icon:before, .button.icon-left:before, .button.icon-right:before {
5113
4546
  display: inline-block;
5114
4547
  padding: 0 0 1px 0;
5115
4548
  vertical-align: inherit;
5116
4549
  font-size: 24px;
5117
- line-height: 40px; }
4550
+ line-height: 41px; }
5118
4551
  .button.icon-left:before {
5119
- padding-right: .2em;
4552
+ float: left;
4553
+ padding-right: 0.2em;
5120
4554
  padding-left: 0; }
5121
4555
  .button.icon-right:before {
5122
4556
  float: right;
5123
4557
  padding-right: 0;
5124
- padding-left: .2em; }
4558
+ padding-left: 0.2em; }
5125
4559
  .button.button-block, .button.button-full {
5126
4560
  margin-top: 10px;
5127
4561
  margin-bottom: 10px; }
5128
4562
  .button.button-light {
5129
- color: #444444;
5130
- background-color: white;
5131
- border-color: #dddddd; }
4563
+ color: #444;
4564
+ background-color: #fff;
4565
+ border-color: #ddd; }
5132
4566
  .button.button-light:hover {
5133
- color: #444444;
4567
+ color: #444;
5134
4568
  text-decoration: none; }
5135
4569
  .button.button-light.active, .button.button-light:active {
5136
4570
  background-color: #fafafa;
5137
4571
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
5138
- border-color: #cccccc; }
4572
+ border-color: #ccc; }
5139
4573
  .button.button-light.button-clear {
5140
- color: #dddddd;
4574
+ color: #ddd;
5141
4575
  background: none;
5142
4576
  border-color: transparent;
5143
4577
  box-shadow: none; }
@@ -5146,18 +4580,18 @@ input[type="range"] {
5146
4580
  border-color: transparent; }
5147
4581
  .button.button-light.button-outline {
5148
4582
  background: transparent;
5149
- border-color: #dddddd;
5150
- color: #dddddd; }
4583
+ border-color: #ddd;
4584
+ color: #ddd; }
5151
4585
  .button.button-light.button-outline.active, .button.button-light.button-outline:active {
5152
- background-color: #dddddd;
4586
+ background-color: #ddd;
5153
4587
  color: #fff;
5154
4588
  box-shadow: none; }
5155
4589
  .button.button-stable {
5156
- color: #444444;
4590
+ color: #444;
5157
4591
  background-color: #f8f8f8;
5158
4592
  border-color: #b2b2b2; }
5159
4593
  .button.button-stable:hover {
5160
- color: #444444;
4594
+ color: #444;
5161
4595
  text-decoration: none; }
5162
4596
  .button.button-stable.active, .button.button-stable:active {
5163
4597
  background-color: #e5e5e5;
@@ -5180,16 +4614,16 @@ input[type="range"] {
5180
4614
  color: #fff;
5181
4615
  box-shadow: none; }
5182
4616
  .button.button-positive {
5183
- color: white;
4617
+ color: #fff;
5184
4618
  background-color: #4a87ee;
5185
- border-color: #145dd7; }
4619
+ border-color: #145fd7; }
5186
4620
  .button.button-positive:hover {
5187
- color: white;
4621
+ color: #fff;
5188
4622
  text-decoration: none; }
5189
4623
  .button.button-positive.active, .button.button-positive:active {
5190
- background-color: #145dd7;
4624
+ background-color: #145fd7;
5191
4625
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
5192
- border-color: #145dd7; }
4626
+ border-color: #145fd7; }
5193
4627
  .button.button-positive.button-clear {
5194
4628
  color: #4a87ee;
5195
4629
  background: none;
@@ -5207,16 +4641,16 @@ input[type="range"] {
5207
4641
  color: #fff;
5208
4642
  box-shadow: none; }
5209
4643
  .button.button-calm {
5210
- color: white;
4644
+ color: #fff;
5211
4645
  background-color: #43cee6;
5212
- border-color: #1aaac3; }
4646
+ border-color: #1aacc3; }
5213
4647
  .button.button-calm:hover {
5214
- color: white;
4648
+ color: #fff;
5215
4649
  text-decoration: none; }
5216
4650
  .button.button-calm.active, .button.button-calm:active {
5217
- background-color: #1aaac3;
4651
+ background-color: #1aacc3;
5218
4652
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
5219
- border-color: #1aaac3; }
4653
+ border-color: #1aacc3; }
5220
4654
  .button.button-calm.button-clear {
5221
4655
  color: #43cee6;
5222
4656
  background: none;
@@ -5234,16 +4668,16 @@ input[type="range"] {
5234
4668
  color: #fff;
5235
4669
  box-shadow: none; }
5236
4670
  .button.button-assertive {
5237
- color: white;
4671
+ color: #fff;
5238
4672
  background-color: #ef4e3a;
5239
- border-color: #cc2511; }
4673
+ border-color: #cc2311; }
5240
4674
  .button.button-assertive:hover {
5241
- color: white;
4675
+ color: #fff;
5242
4676
  text-decoration: none; }
5243
4677
  .button.button-assertive.active, .button.button-assertive:active {
5244
- background-color: #cc2511;
4678
+ background-color: #cc2311;
5245
4679
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
5246
- border-color: #cc2511; }
4680
+ border-color: #cc2311; }
5247
4681
  .button.button-assertive.button-clear {
5248
4682
  color: #ef4e3a;
5249
4683
  background: none;
@@ -5261,16 +4695,16 @@ input[type="range"] {
5261
4695
  color: #fff;
5262
4696
  box-shadow: none; }
5263
4697
  .button.button-balanced {
5264
- color: white;
4698
+ color: #fff;
5265
4699
  background-color: #66cc33;
5266
- border-color: #478f24; }
4700
+ border-color: #498f24; }
5267
4701
  .button.button-balanced:hover {
5268
- color: white;
4702
+ color: #fff;
5269
4703
  text-decoration: none; }
5270
4704
  .button.button-balanced.active, .button.button-balanced:active {
5271
- background-color: #478f24;
4705
+ background-color: #498f24;
5272
4706
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
5273
- border-color: #478f24; }
4707
+ border-color: #498f24; }
5274
4708
  .button.button-balanced.button-clear {
5275
4709
  color: #66cc33;
5276
4710
  background: none;
@@ -5288,16 +4722,16 @@ input[type="range"] {
5288
4722
  color: #fff;
5289
4723
  box-shadow: none; }
5290
4724
  .button.button-energized {
5291
- color: white;
4725
+ color: #fff;
5292
4726
  background-color: #f0b840;
5293
- border-color: #d39511; }
4727
+ border-color: #d39211; }
5294
4728
  .button.button-energized:hover {
5295
- color: white;
4729
+ color: #fff;
5296
4730
  text-decoration: none; }
5297
4731
  .button.button-energized.active, .button.button-energized:active {
5298
- background-color: #d39511;
4732
+ background-color: #d39211;
5299
4733
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
5300
- border-color: #d39511; }
4734
+ border-color: #d39211; }
5301
4735
  .button.button-energized.button-clear {
5302
4736
  color: #f0b840;
5303
4737
  background: none;
@@ -5315,11 +4749,11 @@ input[type="range"] {
5315
4749
  color: #fff;
5316
4750
  box-shadow: none; }
5317
4751
  .button.button-royal {
5318
- color: white;
4752
+ color: #fff;
5319
4753
  background-color: #8a6de9;
5320
4754
  border-color: #552bdf; }
5321
4755
  .button.button-royal:hover {
5322
- color: white;
4756
+ color: #fff;
5323
4757
  text-decoration: none; }
5324
4758
  .button.button-royal.active, .button.button-royal:active {
5325
4759
  background-color: #552bdf;
@@ -5342,18 +4776,18 @@ input[type="range"] {
5342
4776
  color: #fff;
5343
4777
  box-shadow: none; }
5344
4778
  .button.button-dark {
5345
- color: white;
5346
- background-color: #444444;
5347
- border-color: #111111; }
4779
+ color: #fff;
4780
+ background-color: #444;
4781
+ border-color: #111; }
5348
4782
  .button.button-dark:hover {
5349
- color: white;
4783
+ color: #fff;
5350
4784
  text-decoration: none; }
5351
4785
  .button.button-dark.active, .button.button-dark:active {
5352
4786
  background-color: #262626;
5353
4787
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
5354
- border-color: black; }
4788
+ border-color: #000; }
5355
4789
  .button.button-dark.button-clear {
5356
- color: #444444;
4790
+ color: #444;
5357
4791
  background: none;
5358
4792
  border-color: transparent;
5359
4793
  box-shadow: none; }
@@ -5362,30 +4796,30 @@ input[type="range"] {
5362
4796
  border-color: transparent; }
5363
4797
  .button.button-dark.button-outline {
5364
4798
  background: transparent;
5365
- border-color: #444444;
5366
- color: #444444; }
4799
+ border-color: #444;
4800
+ color: #444; }
5367
4801
  .button.button-dark.button-outline.active, .button.button-dark.button-outline:active {
5368
- background-color: #444444;
4802
+ background-color: #444;
5369
4803
  color: #fff;
5370
4804
  box-shadow: none; }
5371
4805
 
5372
4806
  .button-small {
5373
4807
  padding: 0 4px;
5374
4808
  min-width: 28px;
5375
- min-height: 28px;
4809
+ min-height: 31px;
5376
4810
  font-size: 12px;
5377
- line-height: 27px; }
5378
- .button-small .icon, .button-small.icon:before, .button-small.icon-left:before, .button-small.icon-right:before {
4811
+ line-height: 28px; }
4812
+ .button-small .icon:before, .button-small.icon:before, .button-small.icon-left:before, .button-small.icon-right:before {
5379
4813
  font-size: 16px;
5380
4814
  line-height: 26px; }
5381
4815
 
5382
4816
  .button-large {
5383
4817
  padding: 0 16px;
5384
- min-width: 66px;
5385
- min-height: 54px;
5386
- font-size: 18px;
4818
+ min-width: 68px;
4819
+ min-height: 59px;
4820
+ font-size: 20px;
5387
4821
  line-height: 53px; }
5388
- .button-large .icon, .button-large.icon:before, .button-large.icon-left:before, .button-large.icon-right:before {
4822
+ .button-large .icon:before, .button-large.icon:before, .button-large.icon-left:before, .button-large.icon-right:before {
5389
4823
  padding-bottom: 2px;
5390
4824
  font-size: 32px;
5391
4825
  line-height: 51px; }
@@ -5403,7 +4837,7 @@ input[type="range"] {
5403
4837
  background: none;
5404
4838
  box-shadow: none;
5405
4839
  opacity: 0.3; }
5406
- .button-icon .icon, .button-icon.icon:before {
4840
+ .button-icon .icon:before, .button-icon.icon:before {
5407
4841
  font-size: 32px; }
5408
4842
 
5409
4843
  .button-clear {
@@ -5448,14 +4882,9 @@ input[type="range"] {
5448
4882
  display: block;
5449
4883
  clear: both; }
5450
4884
  .button-block:after {
5451
- display: block;
5452
- visibility: hidden;
5453
- clear: both;
5454
- height: 0;
5455
- content: "."; }
4885
+ clear: both; }
5456
4886
 
5457
- .button-full,
5458
- .button-full > .button {
4887
+ .button-full, .button-full > .button {
5459
4888
  display: block;
5460
4889
  margin-right: 0;
5461
4890
  margin-left: 0;
@@ -5463,14 +4892,17 @@ input[type="range"] {
5463
4892
  border-left-width: 0;
5464
4893
  border-radius: 0; }
5465
4894
 
5466
- button.button-block,
5467
- button.button-full,
5468
- .button-full > button.button {
4895
+ button.button-block, button.button-full, .button-full > button.button, input.button.button-block {
5469
4896
  width: 100%; }
5470
4897
 
5471
4898
  a.button {
5472
4899
  text-decoration: none; }
5473
4900
 
4901
+ .button.disabled, .button[disabled] {
4902
+ opacity: 0.4;
4903
+ cursor: default !important;
4904
+ pointer-events: none; }
4905
+
5474
4906
  /**
5475
4907
  * Button Bar
5476
4908
  * --------------------------------------------------
@@ -5520,6 +4952,8 @@ a.button {
5520
4952
  text-align: center;
5521
4953
  text-overflow: ellipsis;
5522
4954
  white-space: nowrap; }
4955
+ .button-bar > .button:before, .button-bar > .button .icon:before {
4956
+ line-height: 44px; }
5523
4957
  .button-bar > .button:first-child {
5524
4958
  border-radius: 2px 0px 0px 2px; }
5525
4959
  .button-bar > .button:last-child {
@@ -5550,6 +4984,19 @@ a.button {
5550
4984
  transform: translate3d(0, 0, 0);
5551
4985
  opacity: 1; } }
5552
4986
 
4987
+ @-moz-keyframes slideInUp {
4988
+ 0% {
4989
+ -webkit-transform: translate3d(0, 100%, 0);
4990
+ -moz-transform: translate3d(0, 100%, 0);
4991
+ transform: translate3d(0, 100%, 0);
4992
+ opacity: 0; }
4993
+
4994
+ 100% {
4995
+ -webkit-transform: translate3d(0, 0, 0);
4996
+ -moz-transform: translate3d(0, 0, 0);
4997
+ transform: translate3d(0, 0, 0);
4998
+ opacity: 1; } }
4999
+
5553
5000
  @-webkit-keyframes slideOutUp {
5554
5001
  0% {
5555
5002
  -webkit-transform: translate3d(0, 0, 0);
@@ -5563,6 +5010,19 @@ a.button {
5563
5010
  transform: translate3d(0, 100%, 0);
5564
5011
  opacity: 0; } }
5565
5012
 
5013
+ @-moz-keyframes slideOutUp {
5014
+ 0% {
5015
+ -webkit-transform: translate3d(0, 0, 0);
5016
+ -moz-transform: translate3d(0, 0, 0);
5017
+ transform: translate3d(0, 0, 0);
5018
+ opacity: 1; }
5019
+
5020
+ 100% {
5021
+ -webkit-transform: translate3d(0, 100%, 0);
5022
+ -moz-transform: translate3d(0, 100%, 0);
5023
+ transform: translate3d(0, 100%, 0);
5024
+ opacity: 0; } }
5025
+
5566
5026
  @-webkit-keyframes slideInFromLeft {
5567
5027
  from {
5568
5028
  -webkit-transform: translate3d(-100%, 0, 0); }
@@ -5605,14 +5065,14 @@ a.button {
5605
5065
  to {
5606
5066
  transform: translateX(0); } }
5607
5067
 
5608
- @-webkit-keyframes slideOutToleft {
5068
+ @-webkit-keyframes slideOutToLeft {
5609
5069
  from {
5610
5070
  -webkit-transform: translate3d(0, 0, 0); }
5611
5071
 
5612
5072
  to {
5613
5073
  -webkit-transform: translate3d(-100%, 0, 0); } }
5614
5074
 
5615
- @-moz-keyframes slideOutToleft {
5075
+ @-moz-keyframes slideOutToLeft {
5616
5076
  from {
5617
5077
  -moz-transform: translateX(0); }
5618
5078
 
@@ -5725,8 +5185,7 @@ a.button {
5725
5185
  * NEW content slides IN from the RIGHT, OLD slides OUT to the LEFT
5726
5186
  * Reverse: NEW content slides IN from the LEFT, OLD slides OUT to the RIGHT
5727
5187
  */
5728
- .slide-left-right > .ng-enter, .slide-left-right.ng-enter,
5729
- .slide-left-right > .ng-leave, .slide-left-right.ng-leave {
5188
+ .slide-left-right > .ng-enter, .slide-left-right.ng-enter, .slide-left-right > .ng-leave, .slide-left-right.ng-leave {
5730
5189
  -webkit-transition: all ease-in-out 250ms;
5731
5190
  -moz-transition: all ease-in-out 250ms;
5732
5191
  transition: all ease-in-out 250ms;
@@ -5779,8 +5238,7 @@ a.button {
5779
5238
  * iOS7 style slide left to right
5780
5239
  * --------------------------------------------------
5781
5240
  */
5782
- .slide-left-right-ios7 > .ng-enter, .slide-left-right-ios7.ng-enter,
5783
- .slide-left-right-ios7 > .ng-leave, .slide-left-right-ios7.ng-leave {
5241
+ .slide-left-right-ios7 > .ng-enter, .slide-left-right-ios7.ng-enter, .slide-left-right-ios7 > .ng-leave, .slide-left-right-ios7.ng-leave {
5784
5242
  -webkit-transition: all ease-in-out 250ms;
5785
5243
  -moz-transition: all ease-in-out 250ms;
5786
5244
  transition: all ease-in-out 250ms;
@@ -5789,8 +5247,9 @@ a.button {
5789
5247
  right: -1px;
5790
5248
  bottom: 0;
5791
5249
  left: -1px;
5792
- border-left: 1px solid #ddd;
5793
- border-right: 1px solid #ddd; }
5250
+ width: auto;
5251
+ border-right: 1px solid #ddd;
5252
+ border-left: 1px solid #ddd; }
5794
5253
  .slide-left-right-ios7 > .ng-enter, .slide-left-right-ios7.ng-enter {
5795
5254
  /* NEW content placed far RIGHT BEFORE it slides IN from the RIGHT */
5796
5255
  -webkit-transform: translate3d(100%, 0, 0);
@@ -5815,8 +5274,9 @@ a.button {
5815
5274
  right: -1px;
5816
5275
  bottom: 0;
5817
5276
  left: -1px;
5818
- border-left: 1px solid #ddd;
5819
- border-right: 1px solid #ddd; }
5277
+ width: auto;
5278
+ border-right: 1px solid #ddd;
5279
+ border-left: 1px solid #ddd; }
5820
5280
  .slide-left-right-ios7.reverse > .ng-enter, .slide-left-right-ios7.reverse.ng-enter {
5821
5281
  /* NEW content placed far LEFT BEFORE it slides IN from the LEFT */
5822
5282
  -webkit-transform: translate3d(-100%, 0, 0);
@@ -5914,6 +5374,7 @@ a.button {
5914
5374
  -moz-animation-fill-mode: both;
5915
5375
  animation-fill-mode: both; }
5916
5376
 
5377
+
5917
5378
  .slide-out-left-add {
5918
5379
  -webkit-transform: translate3d(0, 0, 0);
5919
5380
  -moz-transform: translate3d(0, 0, 0);
@@ -6014,6 +5475,7 @@ a.button {
6014
5475
  -moz-animation-fill-mode: both;
6015
5476
  animation-fill-mode: both; }
6016
5477
 
5478
+
6017
5479
  .slide-out-right-add {
6018
5480
  -webkit-transform: translate3d(0, 0, 0);
6019
5481
  -moz-transform: translate3d(0, 0, 0);
@@ -6034,9 +5496,9 @@ a.button {
6034
5496
  animation-name: slideOutToRight; }
6035
5497
 
6036
5498
  .slide-in-up {
6037
- -webkit-transform: translate3d(0, 0%, 0);
6038
- -moz-transform: translate3d(0, 0%, 0);
6039
- transform: translate3d(0, 0%, 0);
5499
+ -webkit-transform: translate3d(0, 0, 0);
5500
+ -moz-transform: translate3d(0, 0, 0);
5501
+ transform: translate3d(0, 0, 0);
6040
5502
  opacity: 1; }
6041
5503
  .slide-in-up.ng-enter, .slide-in-up .ng-enter {
6042
5504
  -webkit-transform: translate3d(0, 100%, 0);
@@ -6078,9 +5540,9 @@ a.button {
6078
5540
  -webkit-animation-timing-function: cubic-bezier(0.1, 0.7, 0.1, 1);
6079
5541
  -moz-animation-timing-function: cubic-bezier(0.1, 0.7, 0.1, 1);
6080
5542
  animation-timing-function: cubic-bezier(0.1, 0.7, 0.1, 1);
6081
- -webkit-animation-fill-mode: both;
6082
- -moz-animation-fill-mode: both;
6083
- animation-fill-mode: both; }
5543
+ -webkit-animation-fill-mode: forwards;
5544
+ -moz-animation-fill-mode: forwards;
5545
+ animation-fill-mode: forwards; }
6084
5546
 
6085
5547
  .slide-in-up-add-active {
6086
5548
  -webkit-animation-name: slideInUp;
@@ -6123,11 +5585,10 @@ a.button {
6123
5585
  /**
6124
5586
  * Some component specific animations
6125
5587
  */
6126
- .nav-title-slide-ios7 > .ng-enter, .nav-title-slide-ios7.ng-enter,
6127
- .nav-title-slide-ios7 > .ng-leave, .nav-title-slide-ios7.ng-leave {
6128
- -webkit-transition: all 350ms;
6129
- -moz-transition: all 350ms;
6130
- transition: all 350ms;
5588
+ .nav-title-slide-ios7 > .ng-enter, .nav-title-slide-ios7.ng-enter, .nav-title-slide-ios7 > .ng-leave, .nav-title-slide-ios7.ng-leave {
5589
+ -webkit-transition: all 250ms;
5590
+ -moz-transition: all 250ms;
5591
+ transition: all 250ms;
6131
5592
  -webkit-transition-timing-function: ease-in-out;
6132
5593
  -moz-transition-timing-function: ease-in-out;
6133
5594
  transition-timing-function: ease-in-out;
@@ -6147,27 +5608,22 @@ a.button {
6147
5608
  -moz-transform: translate3d(-30%, 0, 0);
6148
5609
  transform: translate3d(-30%, 0, 0);
6149
5610
  opacity: 0; }
6150
-
6151
- .reverse .nav-title-slide-ios7 > .ng-enter, .reverse .nav-title-slide-ios7.ng-enter,
6152
- .reverse .nav-title-slide-ios7 > .ng-leave, .reverse .nav-title-slide-ios7.ng-leave {
6153
- -webkit-transition: all 350ms;
6154
- -moz-transition: all 350ms;
6155
- transition: all 350ms;
6156
- -webkit-transition-timing-function: ease-in-out;
6157
- -moz-transition-timing-function: ease-in-out;
6158
- transition-timing-function: ease-in-out;
5611
+ .nav-title-slide-ios7.reverse > .ng-enter, .nav-title-slide-ios7.reverse.ng-enter, .nav-title-slide-ios7.reverse > .ng-leave, .nav-title-slide-ios7.reverse.ng-leave {
5612
+ -webkit-transition: all ease-in-out 250ms;
5613
+ -moz-transition: all ease-in-out 250ms;
5614
+ transition: all ease-in-out 250ms;
6159
5615
  opacity: 1; }
6160
- .reverse .nav-title-slide-ios7 > .ng-enter, .reverse .nav-title-slide-ios7.ng-enter {
5616
+ .nav-title-slide-ios7.reverse > .ng-enter, .nav-title-slide-ios7.reverse.ng-enter {
6161
5617
  -webkit-transform: translate3d(-30%, 0, 0);
6162
5618
  -moz-transform: translate3d(-30%, 0, 0);
6163
5619
  transform: translate3d(-30%, 0, 0);
6164
5620
  opacity: 0; }
6165
- .reverse .nav-title-slide-ios7 > .ng-enter.ng-enter-active, .reverse .nav-title-slide-ios7.ng-enter.ng-enter-active {
5621
+ .nav-title-slide-ios7.reverse > .ng-enter.ng-enter-active, .nav-title-slide-ios7.reverse.ng-enter.ng-enter-active {
6166
5622
  -webkit-transform: translate3d(0, 0, 0);
6167
5623
  -moz-transform: translate3d(0, 0, 0);
6168
5624
  transform: translate3d(0, 0, 0);
6169
5625
  opacity: 1; }
6170
- .reverse .nav-title-slide-ios7 > .ng-leave.ng-leave-active, .reverse .nav-title-slide-ios7.ng-leave.ng-leave-active {
5626
+ .nav-title-slide-ios7.reverse > .ng-leave.ng-leave-active, .nav-title-slide-ios7.reverse.ng-leave.ng-leave-active {
6171
5627
  -webkit-transform: translate3d(30%, 0, 0);
6172
5628
  -moz-transform: translate3d(30%, 0, 0);
6173
5629
  transform: translate3d(30%, 0, 0);
@@ -6362,23 +5818,99 @@ a.button {
6362
5818
  flex: 0 0 90%;
6363
5819
  max-width: 90%; }
6364
5820
 
5821
+ /* Responsive Grid Classes */
5822
+ /* Adding a class of responsive-X to a row */
5823
+ /* will trigger the flex-direction to */
5824
+ /* change to column and add some margin */
5825
+ /* to any columns in the row for clearity */
5826
+ @media (max-width: 567px) {
5827
+ .responsive-sm {
5828
+ -webkit-box-direction: normal;
5829
+ -moz-box-direction: normal;
5830
+ -webkit-box-orient: vertical;
5831
+ -moz-box-orient: vertical;
5832
+ -webkit-flex-direction: column;
5833
+ -ms-flex-direction: column;
5834
+ flex-direction: column; }
5835
+ .responsive-sm .col {
5836
+ width: 100%;
5837
+ margin-bottom: 15px; } }
5838
+
5839
+ @media (max-width: 767px) {
5840
+ .responsive-md {
5841
+ -webkit-box-direction: normal;
5842
+ -moz-box-direction: normal;
5843
+ -webkit-box-orient: vertical;
5844
+ -moz-box-orient: vertical;
5845
+ -webkit-flex-direction: column;
5846
+ -ms-flex-direction: column;
5847
+ flex-direction: column; }
5848
+ .responsive-md .col {
5849
+ width: 100%;
5850
+ margin-bottom: 15px; } }
5851
+
5852
+ @media (max-width: 1023px) {
5853
+ .responsive-lg {
5854
+ -webkit-box-direction: normal;
5855
+ -moz-box-direction: normal;
5856
+ -webkit-box-orient: vertical;
5857
+ -moz-box-orient: vertical;
5858
+ -webkit-flex-direction: column;
5859
+ -ms-flex-direction: column;
5860
+ flex-direction: column; }
5861
+ .responsive-lg .col {
5862
+ width: 100%;
5863
+ margin-bottom: 15px; } }
5864
+
6365
5865
  /**
6366
5866
  * Utility Classes
6367
5867
  * --------------------------------------------------
6368
5868
  */
6369
- .hidden,
6370
5869
  .hide {
6371
5870
  display: none; }
6372
5871
 
5872
+ .opacity-hide {
5873
+ opacity: 0; }
5874
+
5875
+ .grade-b .opacity-hide, .grade-c .opacity-hide {
5876
+ opacity: 1;
5877
+ display: none; }
5878
+
6373
5879
  .show {
6374
5880
  display: block; }
6375
5881
 
5882
+ .opacity-show {
5883
+ opacity: 1; }
5884
+
6376
5885
  .invisible {
6377
5886
  visibility: hidden; }
6378
5887
 
5888
+ .hide-footer .bar-footer, .hide-footer .tabs {
5889
+ display: none; }
5890
+ .hide-footer .has-footer, .hide-footer .has-tabs {
5891
+ bottom: 0; }
5892
+
6379
5893
  .inline {
6380
5894
  display: inline-block; }
6381
5895
 
5896
+ .disable-pointer-events {
5897
+ pointer-events: none; }
5898
+
5899
+ .enable-pointer-events {
5900
+ pointer-events: auto; }
5901
+
5902
+ .disable-user-behavior {
5903
+ -webkit-user-select: none;
5904
+ -moz-user-select: none;
5905
+ -ms-user-select: none;
5906
+ user-select: none;
5907
+ -webkit-touch-callout: none;
5908
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
5909
+ -webkit-tap-highlight-color: transparent;
5910
+ -webkit-user-drag: none;
5911
+ -ms-touch-action: none;
5912
+ -ms-content-zooming: none; }
5913
+
6382
5914
  .block {
6383
5915
  display: block;
6384
5916
  clear: both; }
@@ -6408,20 +5940,16 @@ a.button {
6408
5940
  .padding {
6409
5941
  padding: 10px; }
6410
5942
 
6411
- .padding-top,
6412
- .padding-vertical {
5943
+ .padding-top, .padding-vertical {
6413
5944
  padding-top: 10px; }
6414
5945
 
6415
- .padding-right,
6416
- .padding-horizontal {
5946
+ .padding-right, .padding-horizontal {
6417
5947
  padding-right: 10px; }
6418
5948
 
6419
- .padding-bottom,
6420
- .padding-vertical {
5949
+ .padding-bottom, .padding-vertical {
6421
5950
  padding-bottom: 10px; }
6422
5951
 
6423
- .padding-left,
6424
- .padding-horizontal {
5952
+ .padding-left, .padding-horizontal {
6425
5953
  padding-left: 10px; }
6426
5954
 
6427
5955
  /**
@@ -6434,18 +5962,18 @@ a.button {
6434
5962
  /**
6435
5963
  * Utility Colors
6436
5964
  * --------------------------------------------------
6437
- * Utility colors are added to help set a naming convention. You'll
6438
- * notice we purposely do not use words like "red" or "blue", but
5965
+ * Utility colors are added to help set a naming convention. You'll
5966
+ * notice we purposely do not use words like "red" or "blue", but
6439
5967
  * instead have colors which represent an emotion or generic theme.
6440
5968
  */
6441
5969
  .light, a.light {
6442
- color: white; }
5970
+ color: #fff; }
6443
5971
 
6444
5972
  .light-bg {
6445
- background-color: white; }
5973
+ background-color: #fff; }
6446
5974
 
6447
5975
  .light-border {
6448
- border-color: #dddddd; }
5976
+ border-color: #ddd; }
6449
5977
 
6450
5978
  .stable, a.stable {
6451
5979
  color: #f8f8f8; }
@@ -6463,7 +5991,7 @@ a.button {
6463
5991
  background-color: #4a87ee; }
6464
5992
 
6465
5993
  .positive-border {
6466
- border-color: #145dd7; }
5994
+ border-color: #145fd7; }
6467
5995
 
6468
5996
  .calm, a.calm {
6469
5997
  color: #43cee6; }
@@ -6472,7 +6000,7 @@ a.button {
6472
6000
  background-color: #43cee6; }
6473
6001
 
6474
6002
  .calm-border {
6475
- border-color: #1aaac3; }
6003
+ border-color: #1aacc3; }
6476
6004
 
6477
6005
  .assertive, a.assertive {
6478
6006
  color: #ef4e3a; }
@@ -6481,7 +6009,7 @@ a.button {
6481
6009
  background-color: #ef4e3a; }
6482
6010
 
6483
6011
  .assertive-border {
6484
- border-color: #cc2511; }
6012
+ border-color: #cc2311; }
6485
6013
 
6486
6014
  .balanced, a.balanced {
6487
6015
  color: #66cc33; }
@@ -6490,7 +6018,7 @@ a.button {
6490
6018
  background-color: #66cc33; }
6491
6019
 
6492
6020
  .balanced-border {
6493
- border-color: #478f24; }
6021
+ border-color: #498f24; }
6494
6022
 
6495
6023
  .energized, a.energized {
6496
6024
  color: #f0b840; }
@@ -6499,7 +6027,7 @@ a.button {
6499
6027
  background-color: #f0b840; }
6500
6028
 
6501
6029
  .energized-border {
6502
- border-color: #d39511; }
6030
+ border-color: #d39211; }
6503
6031
 
6504
6032
  .royal, a.royal {
6505
6033
  color: #8a6de9; }
@@ -6511,36 +6039,38 @@ a.button {
6511
6039
  border-color: #552bdf; }
6512
6040
 
6513
6041
  .dark, a.dark {
6514
- color: #444444; }
6042
+ color: #444; }
6515
6043
 
6516
6044
  .dark-bg {
6517
- background-color: #444444; }
6045
+ background-color: #444; }
6518
6046
 
6519
6047
  .dark-border {
6520
- border-color: #111111; }
6048
+ border-color: #111; }
6521
6049
 
6522
6050
  /**
6523
6051
  * Platform
6524
6052
  * --------------------------------------------------
6053
+ * Platform specific tweaks when in Cordova.
6525
6054
  */
6526
- .platform-ios7 .bar-header {
6055
+ .platform-ios7.platform-cordova:not(.fullscreen) .bar-header {
6527
6056
  height: 64px; }
6528
- .platform-ios7 .bar-header > * {
6057
+ .platform-ios7.platform-cordova:not(.fullscreen) .bar-header.item-input-inset .item-input-wrapper {
6058
+ margin-top: 19px !important; }
6059
+ .platform-ios7.platform-cordova:not(.fullscreen) .bar-header > * {
6529
6060
  margin-top: 20px; }
6530
- .platform-ios7 .has-header {
6531
- top: 64px; }
6532
- .platform-ios7 .bar-subheader {
6061
+ .platform-ios7.platform-cordova:not(.fullscreen) .has-header, .platform-ios7.platform-cordova:not(.fullscreen) .bar-subheader {
6533
6062
  top: 64px; }
6534
- .platform-ios7 .has-subheader {
6063
+ .platform-ios7.platform-cordova:not(.fullscreen) .has-subheader {
6535
6064
  top: 108px; }
6536
6065
 
6537
- .platform-android .bar-header {
6066
+ .platform-ios7.status-bar-hide {
6067
+ margin-bottom: 20px; }
6068
+
6069
+ .platform-android.platform-cordova .bar-header {
6538
6070
  height: 48px; }
6539
- .platform-android .has-header {
6540
- top: 48px; }
6541
- .platform-android .bar-subheader {
6071
+ .platform-android.platform-cordova .has-header, .platform-android.platform-cordova .bar-subheader {
6542
6072
  top: 48px; }
6543
- .platform-android .has-subheader {
6073
+ .platform-android.platform-cordova .has-subheader {
6544
6074
  top: 96px; }
6545
- .platform-android .title {
6075
+ .platform-android.platform-cordova .title {
6546
6076
  line-height: 48px; }