framework7-rails 0.7.1.1 → 0.7.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +65 -3
- data/app/helpers/app_helper.rb +22 -0
- data/framework7-rails.gemspec +1 -0
- data/lib/framework7/rails/version.rb +1 -1
- data/lib/generators/f7/install/install_generator.rb +28 -0
- data/lib/generators/f7/install/templates/application.css +14 -0
- data/lib/generators/f7/install/templates/application.js +17 -0
- data/lib/generators/f7/layout/layout_generator.rb +0 -8
- data/lib/generators/f7/layout/templates/app.js.coffee.erb +4 -3
- data/lib/generators/f7/layout/templates/layout.html.erb +77 -10
- data/vendor/assets/javascripts/framework7.js +374 -152
- data/vendor/assets/javascripts/framework7.min.js +5 -5
- data/vendor/assets/stylesheets/framework7.css +18 -9
- data/vendor/assets/stylesheets/framework7.min.css +4 -4
- metadata +20 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
|
-
* Framework7 0.7.
|
3
|
-
* Full Featured HTML Framework For Building
|
2
|
+
* Framework7 0.7.4
|
3
|
+
* Full Featured HTML Framework For Building iOS 7 Apps
|
4
4
|
*
|
5
5
|
* http://www.idangero.us/framework7
|
6
6
|
*
|
@@ -10,7 +10,7 @@
|
|
10
10
|
*
|
11
11
|
* Licensed under MIT
|
12
12
|
*
|
13
|
-
* Released on: April
|
13
|
+
* Released on: April 13, 2014
|
14
14
|
*/
|
15
|
-
!function(){"use strict";window.Framework7=function(a){function c(a,c,e){var f,g,h,i,j,k,l,m,n=b(a.container);if(c||"string"==typeof e)d._tempDomElement.innerHTML=e;else if("length"in e&&e.length>1){d._tempDomElement=document.createElement("div");for(var o=0;o<e.length;o++)b(d._tempDomElement).append(e[o])}else d._tempDomElement.innerHTML="",b(d._tempDomElement).append(e);if(a.params.subEvents&&b(d._tempDomElement).find(".page").each(function(){var c=this;b(c).find("iframe").on("load",function(){a.attachSubEvents(c,this.contentWindow.document)})}),f=b(".page",d._tempDomElement),f.length>1&&(f=b(d._tempDomElement).find(".view-main .page")),0===f.length||f.length>1)return void(d.allowPageChange=!0);if(f.addClass("page-on-right"),h=n.find(".page:not(.cached)"),h.length>1){for(i=0;i<h.length-2;i++)a.params.domCache?b(h[i]).addClass("cached"):b(h[i]).remove();a.params.domCache?b(h[i]).addClass("cached"):b(h[i]).remove()}if(g=n.find(".page:not(.cached)"),a.params.dynamicNavbar&&(m=!0,k=b(".navbar-inner",d._tempDomElement),k.length>1&&(k=b(".view-main .navbar-inner",d._tempDomElement)),(0===k.length||k>1)&&(m=!1),l=n.find(".navbar"),j=l.find(".navbar-inner:not(.cached)"),j.length>0)){for(i=0;i<j.length-1;i++)a.params.domCache?b(j[i]).addClass("cached"):b(j[i]).remove();0===k.length&&1===j.length&&(a.params.domCache?b(j[0]).addClass("cached"):b(j[0]).remove()),j=l.find(".navbar-inner:not(.cached)")}m&&(k.addClass("navbar-on-right"),l.append(k[0])),c||(c="#content-"+a.history.length,a.params.domCache||(1===a.history.length&&(a.contentCache[a.history[0]]={nav:j,page:g}),a.contentCache[c]={nav:k,page:f})),a.url=c,a.history.push(c),b(a.pagesContainer).append(f[0]),d.pageInitCallback(a,f[0],c,"right"),m&&k.find(".sliding").each(function(){b(this).transform("translate3d("+this.f7NavbarRightOffset+"px,0,0)")});f[0].clientLeft;d.pageAnimCallbacks("before",a,{pageContainer:f[0],url:c,position:"left",oldPage:g,newPage:f}),f.addClass("page-from-right-to-center"),g.addClass("page-from-center-to-left").removeClass("page-on-center"),m&&(k.removeClass("navbar-on-right").addClass("navbar-from-right-to-center"),k.find(".sliding").each(function(){b(this).transform("translate3d(0px,0,0)")}),j.removeClass("navbar-on-center").addClass("navbar-from-center-to-left"),j.find(".sliding").each(function(){b(this).transform("translate3d("+this.f7NavbarLeftOffset+"px,0,0)")})),f.animationEnd(function(){d.allowPageChange=!0,f.toggleClass("page-from-right-to-center page-on-center page-on-right"),g.toggleClass("page-from-center-to-left page-on-left"),m&&(k.toggleClass("navbar-from-right-to-center navbar-on-center"),j.toggleClass("navbar-from-center-to-left navbar-on-left")),d.pageAnimCallbacks("after",a,{pageContainer:f[0],url:c,position:"right",oldPage:g,newPage:f})})}var d=this;d._animFrame=function(a){return window.requestAnimationFrame?window.requestAnimationFrame(a):window.webkitRequestAnimationFrame?window.webkitRequestAnimationFrame(a):window.mozRequestAnimationFrame?window.mozRequestAnimationFrame(a):window.setTimeout(a,1e3/60)},d.params={cache:!0,cacheDuration:6e5,preloadPreviousPage:!0,fastClicks:!0,swipeBackPage:!0,swipeBackPageThreshold:0,swipeBackPageActiveArea:30,swipeBackPageBoxShadow:!0,ajaxLinks:!1,pullToRefresh:!0,swipeout:!0,swipeoutNoFollow:!1,panelsCloseByOutside:!0,panelsVisibleZIndex:6e3,panelsAnimationDuration:400,modalTemplate:'<div class="modal {{noButtons}}"><div class="modal-inner">{{if title}}<div class="modal-title">{{title}}</div>{{/if title}}<div class="modal-text">{{text}}</div>{{afterText}}</div><div class="modal-buttons">{{buttons}}</div></div>',modalActionsTemplate:'<div class="actions-modal">{{buttons}}</div>',modalButtonOk:"OK",modalButtonCancel:"Cancel",modalTitle:"Framework7",modalCloseByOutside:!1,modalActionsCloseByOutside:!0,modalPopupCloseByOutside:!0,modalPreloaderTitle:"Loading... ",init:!0};for(var e in a)d.params[e]=a[e];d.$=b,d.touchEvents={start:b.supportTouch?"touchstart":"mousedown",move:b.supportTouch?"touchmove":"mousemove",end:b.supportTouch?"touchend":"mouseup"},d.views=[],d.addView=function(a,c){if(a){var e=b(a);if(0!==e.length){var f=e[0];"undefined"==typeof c&&(c={});var g=f.getAttribute("data-url")||c.startUrl,h={container:f,selector:a,params:c||{},history:[],contentCache:{},url:f.getAttribute("data-url")||c.startUrl,pagesContainer:b(".pages",f)[0],main:b(f).hasClass("view-main"),loadContent:function(a){d.loadContent(h,a)},loadPage:function(a){d.loadPage(h,a)},goBack:function(a){d.goBack(h,a)},hideNavbar:function(){d.hideNavbar(f)},showNavbar:function(){d.showNavbar(f)},hideToolbar:function(){d.hideToolbar(f)},showToolbar:function(){d.showToolbar(f)}};return h.main?(h.url=g||document.location.href,h.history.push(h.url)):g&&h.history.push(h.url),f.f7View=h,d.views.push(h),d.initViewEvents(h),h}}},d.initViewEvents=function(a){function c(b){x&&d.params.swipeBackPage&&!u&&!d.swipeoutOpenedEl&&(v=!1,u=!0,g=void 0,w.x="touchstart"===b.type?b.targetTouches[0].pageX:b.pageX,w.y="touchstart"===b.type?b.targetTouches[0].pageY:b.pageY,l=(new Date).getTime(),r=a.params.dynamicNavbar&&t.find(".navbar-inner").length>1)}function e(a,c){if(u){var e="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,f="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY;if("undefined"==typeof g&&(g=!!(g||Math.abs(f-w.y)>Math.abs(e-w.x))),g)return void(u=!1);if(!v){var l=!1;if(j=t.width(),h=b(c||a.target).is(".page")?b(c||a.target):b(c||a.target).parents(".page"),i=t.find(".page-on-left:not(.cached)"),w.x-t.offset().left>d.params.swipeBackPageActiveArea&&(l=!0),(0===i.length||0===h.length)&&(l=!0),l)return void(u=!1);r&&(m=t.find(".navbar-on-center:not(.cached)"),n=t.find(".navbar-on-left:not(.cached)"),o=m.find(".left, .center, .right"),p=n.find(".left, .center, .right"))}v=!0,a.preventDefault(),k=e-w.x-d.params.swipeBackPageThreshold,0>k&&(k=0);var x=k/j;h.transform("translate3d("+k+"px,0,0)"),d.params.swipeBackPageBoxShadow&&"android"!==d.device.os&&(h[0].style.boxShadow="0px 0px 12px rgba(0,0,0,"+(.5-.5*x)+")");var y=k/5-j/5;if(1===d.device.pixelRatio&&(y=Math.round(y)),i.transform("translate3d("+y+"px,0,0)"),i[0].style.opacity=.9+.1*x,r){for(q=0;q<o.length;q++)if(s=b(o[q]),s[0].style.opacity=1-1.3*x,s[0].className.indexOf("sliding")>=0){var z=x*s[0].f7NavbarRightOffset;1===d.device.pixelRatio&&(z=Math.round(z)),s.transform("translate3d("+z+"px,0,0)")}for(q=0;q<p.length;q++)if(s=b(p[q]),s[0].style.opacity=1.3*x-.3,s[0].className.indexOf("sliding")>=0){var A=s[0].f7NavbarLeftOffset*(1-x);1===d.device.pixelRatio&&(A=Math.round(A)),s.transform("translate3d("+A+"px,0,0)")}}}}function f(){if(!u||!v)return u=!1,void(v=!1);u=!1,v=!1;var c=(new Date).getTime()-l,e=!1;if((300>c&&k>10||c>=300&&k>j/2)&&(h.removeClass("page-on-center").addClass("page-on-right"),i.removeClass("page-on-left").addClass("page-on-center"),r&&(m.removeClass("navbar-on-center").addClass("navbar-on-right"),n.removeClass("navbar-on-left").addClass("navbar-on-center")),e=!0),b([h[0],i[0]]).transform("").css({opacity:"",boxShadow:""}).addClass("page-transitioning"),r&&(o.css({opacity:""}).each(function(){var a=e?this.f7NavbarRightOffset:0;b(this).transform("translate3d("+a+"px,0,0)")}).addClass("page-transitioning"),p.transform("").css({opacity:""}).each(function(){var a=e?0:this.f7NavbarLeftOffset;b(this).transform("translate3d("+a+"px,0,0)")}).addClass("page-transitioning")),x=!1,d.allowPageChange=!1,e){var f=a.history[a.history.length-2];a.url=f,d.pageAnimCallbacks("before",a,{pageContainer:i[0],url:f,position:"left",newPage:i,oldPage:h})}h.transitionEnd(function(){b([h[0],i[0]]).removeClass("page-transitioning"),r&&(o.removeClass("page-transitioning"),o.transform("").css({opacity:""}),p.removeClass("page-transitioning"),p.transform("").css({opacity:""})),x=!0,d.allowPageChange=!0,e&&d.afterGoBack(a,h,i)})}if(d.params.swipeBackPage){var g,h,i,j,k,l,m,n,o,p,q,r,s,t=b(a.container),u=!1,v=!1,w={},x=!0;t.on(d.touchEvents.start,c),t.on(d.touchEvents.move,e),t.on(d.touchEvents.end,f),a.attachSubEvents=function(a,g){b(g).on(d.touchEvents.start,function(b){return c.apply(a,[b,a])}),b(g).on(d.touchEvents.move,function(b){return e.apply(a,[b,a])}),b(g).on(d.touchEvents.end,function(a,b){return f.apply(b,[a,b])})}}},d.sizeNavbars=function(a){var c=a?b(a).find(".navbar .navbar-inner:not(.cached)"):b(".navbar .navbar-inner:not(.cached)");c.each(function(){var a,c,d=b(this),e=d.find(".left"),f=d.find(".right"),g=d.find(".center"),h=0===e.length,i=0===f.length,j=h?0:e.outerWidth(!0),k=i?0:f.outerWidth(!0),l=g.outerWidth(!0),m=d.width();i&&(a=m-l),h&&(a=0),h||i||(a=(m-k-l+j)/2);var n=(m-l)/2;m-j-k>l?(j>n&&(n=j),n+l>m-k&&(n=m-k-l),c=n-a):c=0,g.css({left:c+"px"}),g.hasClass("sliding")&&(g[0].f7NavbarLeftOffset=-(a+c),g[0].f7NavbarRightOffset=m-a-c-l),!h&&e.hasClass("sliding")&&(e[0].f7NavbarLeftOffset=-j,e[0].f7NavbarRightOffset=(m-e.outerWidth())/2),!i&&f.hasClass("sliding")&&(f[0].f7NavbarLeftOffset=-(m-f.outerWidth())/2,f[0].f7NavbarRightOffset=k)})},d.hideNavbar=function(a){return b(a).addClass("hidden-navbar"),!0},d.showNavbar=function(a){var c=b(a);return c.addClass("hiding-navbar").removeClass("hidden-navbar").find(".navbar").transitionEnd(function(){c.removeClass("hiding-navbar")}),!0},d.hideToolbar=function(a){return b(a).addClass("hidden-toolbar"),!0},d.showToolbar=function(a){var c=b(a);c.addClass("hiding-toolbar").removeClass("hidden-toolbar").find(".toolbar").transitionEnd(function(){c.removeClass("hiding-toolbar")})},d.cache=[],d.removeFromCache=function(a){for(var b=!1,c=0;c<d.cache.length;c++)d.cache[c].url===a&&(b=c);b!==!1&&d.cache.splice(b,1)},d.xhr=!1,d.get=function(a,c){if(d.params.cache)for(var e=0;e<d.cache.length;e++)if(d.cache[e].url===a&&(new Date).getTime()-d.cache[e].time<d.params.cacheDuration)return c(d.cache[e].data),!1;var f=new XMLHttpRequest;return f.open("GET",a,!0),f.onload=function(){d.params.onAjaxComplete&&d.params.onAjaxComplete(f),b(document).trigger("ajaxComplete",{xhr:f}),c&&(200===this.status||0===this.status?(c(this.responseText,!1),d.params.cache&&(d.removeFromCache(a),d.cache.push({url:a,time:(new Date).getTime(),data:this.responseText}))):c(this.responseText,!0))},d.params.onAjaxStart&&d.params.onAjaxStart(f),b(document).trigger("ajaxStart",{xhr:f}),d.xhr=f,f.send(),f},d.pageInitCallback=function(a,c,e,f){if(!c.f7PageInitialized){c.f7PageInitialized=!0;var g={container:c,url:e,query:b.parseUrlQuery(e||""),name:b(c).attr("data-page"),view:a,from:f};d.params.onPageBeforeInit&&d.params.onPageBeforeInit(g),a&&a.params.onPageBeforeInit&&a.params.onPageBeforeInit(g),b(document).trigger("pageBeforeInit",{page:g}),d.initPage(c),d.params.onPageInit&&d.params.onPageInit(g),a&&a.params.onPageInit&&a.params.onPageInit(g),b(document).trigger("pageInit",{page:g})}},d.pageAnimCallbacks=function(a,c,e){var f={container:e.pageContainer,url:e.url,query:b.parseUrlQuery(e.url||""),name:b(e.pageContainer).attr("data-page"),view:c,from:e.position},g=e.oldPage,h=e.newPage;"after"===a&&(d.params.onPageAfterAnimation&&d.params.onPageAfterAnimation(f),c.params.onPageAfterAnimation&&c.params.onPageAfterAnimation(f),b(document).trigger("pageAfterAnimation",{page:f})),"before"===a&&(b(c.container).attr("data-page",f.name),h.hasClass("no-navbar")&&!g.hasClass("no-navbar")&&c.hideNavbar(),!h.hasClass("no-navbar")&&g.hasClass("no-navbar")&&c.showNavbar(),h.hasClass("no-toolbar")&&!g.hasClass("no-toolbar")&&c.hideToolbar(),!h.hasClass("no-toolbar")&&g.hasClass("no-toolbar")&&c.showToolbar(),d.params.onPageBeforeAnimation&&d.params.onPageBeforeAnimation(f),c.params.onPageBeforeAnimation&&c.params.onPageBeforeAnimation(f),b(document).trigger("pageBeforeAnimation",{page:f}))},d.initPage=function(a){d.sizeNavbars&&d.sizeNavbars(b(a).parents(".view")[0]),d.initMessages&&d.initMessages(a)},d.allowPageChange=!0,d._tempDomElement=document.createElement("div"),d.loadContent=function(a,b){return d.allowPageChange?(d.allowPageChange=!1,d.xhr&&(d.xhr.abort(),d.xhr=!1),c(a,null,b),void(d.allowPageChange=!0)):!1},d.loadPage=function(a,b){return d.allowPageChange?a.url===b?!1:(d.allowPageChange=!1,d.xhr&&(d.xhr.abort(),d.xhr=!1),void d.get(b,function(e,f){return f?void(d.allowPageChange=!0):void c(a,b,e)})):!1},d.goBack=function(a,c,e){function f(){if(h=b(".page",d._tempDomElement),h.length>1&&(h=b(d._tempDomElement).find(".view-main .page")),0===h.length||h.length>1)return void(d.allowPageChange=!0);if(h.addClass("page-on-left"),g=b(m.find(".page")[0]),a.params.dynamicNavbar&&(l=!0,j=b(".navbar-inner",d._tempDomElement),j.length>1&&(j=b(".view-main .navbar-inner",d._tempDomElement)),(0===j.length||j>1)&&(l=!1)),l&&(k=m.find(".navbar"),i=k.find(".navbar-inner"),j.addClass(i.length>0?"navbar-on-left":"navbar-on-center"),i.length>1&&(b(i[0]).remove(),i=k.find(".navbar-inner")),k.prepend(j[0])),b(a.pagesContainer).prepend(h[0]),d.pageInitCallback(a,h[0],c,"left"),l&&j.hasClass("navbar-on-left")&&j.find(".sliding").each(function(){b(this).transform("translate3d("+this.f7NavbarLeftOffset+"px,0,0)")}),e)return h.addClass("page-on-left"),void(d.allowPageChange=!0);a.url=c;h[0].clientLeft;d.pageAnimCallbacks("before",a,{pageContainer:h[0],url:c,position:"left",oldPage:g,newPage:h}),h.addClass("page-from-left-to-center"),g.removeClass("page-on-center").addClass("page-from-center-to-right"),l&&(j.removeClass("navbar-on-left").addClass("navbar-from-left-to-center"),j.find(".sliding").each(function(){b(this).transform("translate3d(0px,0,0)")}),i.removeClass("navbar-on-center").addClass("navbar-from-center-to-right"),i.find(".sliding").each(function(){b(this).transform("translate3d("+this.f7NavbarRightOffset+"px,0,0)")})),h.animationEnd(function(){d.afterGoBack(a,g[0],h[0]),d.pageAnimCallbacks("after",a,{pageContainer:h[0],url:c,position:"left",oldPage:g,newPage:h})})}if(!d.allowPageChange)return!1;d.allowPageChange=!1,d.xhr&&(d.xhr.abort(),d.xhr=!1);var g,h,i,j,k,l,m=b(a.container),n=m.find(".page");if(n.length>1){if(e)return void(d.allowPageChange=!0);if(a.url=a.history[a.history.length-2],h=b(n[n.length-2]),g=b(n[n.length-1]),a.params.dynamicNavbar){l=!0;var o=m.find(".navbar-inner:not(.cached)");j=b(o[0]),i=b(o[1])}d.pageAnimCallbacks("before",a,{pageContainer:h[0],url:c,position:"left",oldPage:g,newPage:h}),h.removeClass("page-on-left").addClass("page-from-left-to-center"),g.removeClass("page-on-center").addClass("page-from-center-to-right"),l&&(j.removeClass("navbar-on-left").addClass("navbar-from-left-to-center"),j.find(".sliding").each(function(){b(this).transform("translate3d(0px,0,0)")}),i.removeClass("navbar-on-center").addClass("navbar-from-center-to-right"),i.find(".sliding").each(function(){b(this).transform("translate3d("+this.f7NavbarRightOffset+"px,0,0)")})),h.animationEnd(function(){d.afterGoBack(a,g[0],h[0]),d.pageAnimCallbacks("after",a,{pageContainer:h[0],url:c,position:"left",oldPage:g,newPage:h})})}else{if(c&&0===c.indexOf("#")&&(c=void 0),a.history.length>1&&(c=a.history[a.history.length-2]),!c)return void(d.allowPageChange=!0);if(!a.params.domCache&&c in a.contentCache){var p=a.contentCache[c];return d._tempDomElement=document.createElement("div"),b(d._tempDomElement).append(p.nav[0]).append(p.page[0]),void f()}d.get(c,function(a,b){return b?void(d.allowPageChange=!0):(d._tempDomElement.innerHTML=a,void f())})}},d.afterGoBack=function(a,c,e){if(c=b(c),e=b(e),c.remove(),e.removeClass("page-from-left-to-center page-on-left").addClass("page-on-center"),d.allowPageChange=!0,a.params.dynamicNavbar){{var f=b(a.container).find(".navbar-inner:not(.cached)");b(f[1]).remove(),b(f[0]).removeClass("navbar-on-left navbar-from-left-to-center").addClass("navbar-on-center")}if(d.params.preloadPreviousPage&&a.params.domCache){var g=b(a.container).find(".navbar-inner.cached");b(g[g.length-1]).removeClass("cached")}}if(a.history.pop(),!a.params.domCache&&a.url&&a.url.indexOf("#content-")>-1&&a.url in a.contentCache&&(a.contentCache[a.url]=null,delete a.contentCache[a.url]),d.params.preloadPreviousPage){if(a.params.domCache){var h=b(a.container).find(".page.cached");b(h[h.length-1]).removeClass("cached")}d.goBack(a,!1,!0)}};var f=document.createElement("div");return d.modal=function(a){a=a||{};var c="";if(a.buttons&&a.buttons.length>0)for(var e=0;e<a.buttons.length;e++)c+='<span class="modal-button'+(a.buttons[e].bold?" modal-button-bold":"")+'">'+a.buttons[e].text+"</span>";var g=d.params.modalTemplate;g=a.title?g.replace(/{{if\ title}}/g,"").replace(/{{\/if\ title}}/g,""):g.split("{{if title}}")[0]+g.split("{{/if title}}")[1];var h=g.replace(/{{title}}/g,a.title||"").replace(/{{text}}/g,a.text||"").replace(/{{afterText}}/g,a.afterText||"").replace(/{{buttons}}/g,c).replace(/{{noButtons}}/g,a.buttons&&0!==a.buttons.length?"":"modal-no-buttons");f.innerHTML=h;var i=b(f).children();return b("body").append(i[0]),i.find(".modal-button").each(function(c,e){b(e).on("click",function(b){a.buttons[c].close!==!1&&d.closeModal(i),a.buttons[c].onClick&&a.buttons[c].onClick(i,b)})}),d.openModal(i),i[0]},d.alert=function(a,b){return d.modal({text:a||"",title:b||d.params.modalTitle,buttons:[{text:d.params.modalButtonOk,bold:!0}]})},d.confirm=function(a,b,c){return d.modal({text:a||"",title:d.params.modalTitle||"",buttons:[{text:d.params.modalButtonCancel,onClick:c},{text:d.params.modalButtonOk,bold:!0,onClick:b}]})},d.prompt=function(a,c,e){return d.modal({text:a||"",title:d.params.modalTitle||"",afterText:'<input type="text" class="modal-prompt-input">',buttons:[{text:d.params.modalButtonCancel,onClick:function(a){e&&e(b(a).find(".modal-prompt-input").val())}},{text:d.params.modalButtonOk,bold:!0,onClick:function(a){c&&c(b(a).find(".modal-prompt-input").val())}}]})},d.showPreloader=function(a){return d.modal({title:a||d.params.modalPreloaderTitle,text:'<div class="preloader"></div>'})},d.hidePreloader=function(){d.closeModal()},d.showIndicator=function(){b("body").append('<div class="preloader-indicator-overlay"></div><div class="preloader-indicator-modal"><span class="preloader preloader-white"></span></div>')},d.hideIndicator=function(){b(".preloader-indicator-overlay, .preloader-indicator-modal").remove()},d.actions=function(a){a=a||[],a.length>0&&!b.isArray(a[0])&&(a=[a]);for(var c=d.params.modalActionsTemplate,e="",g=0;g<a.length;g++)for(var h=0;h<a[g].length;h++){0===h&&(e+='<div class="actions-modal-group">');var i=a[g][h],j=i.label?"actions-modal-label":"actions-modal-button";i.bold&&(j+=" actions-modal-button-bold"),i.red&&(j+=" actions-modal-button-red"),e+='<span class="'+j+'">'+i.text+"</span>",h===a[g].length-1&&(e+="</div>")}var k=c.replace(/{{buttons}}/g,e);f.innerHTML=k;var l=b(f).children();b("body").append(l[0]);var m=l.find(".actions-modal-group");return m.each(function(c,e){var f=c;b(e).children().each(function(c,e){var g=c,h=a[f][g];b(e).hasClass("actions-modal-button")&&b(e).on("click",function(a){h.close!==!1&&d.closeModal(l),h.onClick&&h.onClick(l,a)})})}),d.openModal(l),l[0]},d.popover=function(a,c,e){function f(){a.css({left:"",top:""});var d=a.width(),e=a.height(),f=a.find(".popover-angle"),g=f.width()/2;f.removeClass("on-left on-right on-top on-bottom").css({left:"",top:""});var h=c.outerWidth(),i=c.outerHeight(),j=c.offset(),k=c.parents(".page");k.length>0&&(j.top=j.top-k[0].scrollTop);var l=b(window).height(),m=b(window).width(),n=0,o=0,p=0,q="top";e+g<j.top?n=j.top-e-g:e+g<l-j.top-i?(q="bottom",n=j.top+i+g):(q="middle",n=i/2+j.top-e/2,p=n,0>n?n=5:n+e>l&&(n=l-e-5),p-=n),"top"===q||"bottom"===q?(o=h/2+j.left-d/2,p=o,5>o&&(o=5),o+d>m&&(o=m-d-5),"top"===q&&f.addClass("on-bottom"),"bottom"===q&&f.addClass("on-top"),p-=o,f.css({left:d/2-g+p+"px"})):"middle"===q&&(o=j.left-d-g,f.addClass("on-right"),5>o&&(o=j.left+h+g,f.removeClass("on-right").addClass("on-left")),o+d>m&&(o=m-d-5,f.removeClass("on-right").addClass("on-left")),f.css({top:e/2-g+p+"px"})),a.css({top:n+"px",left:o+"px"})}if("undefined"==typeof e&&(e=!0),"string"==typeof a&&a.indexOf("<")>=0){var g=document.createElement("div");if(g.innerHTML=a,!(g.childNodes.length>0))return!1;a=g.childNodes[0],e&&a.classList.add("remove-on-close"),b("body").append(a)}return a=b(a),c=b(c),0===a.length||0===c.length?!1:(0===a.find(".popover-angle").length&&a.append('<div class="popover-angle"></div>'),a.show(),f(),b(window).on("resize",f),a.on("close",function(){b(window).off("resize",f)}),d.openModal(a),a[0])},d.popup=function(a,c){if("undefined"==typeof c&&(c=!0),"string"==typeof a&&a.indexOf("<")>=0){var e=document.createElement("div");if(e.innerHTML=a,!(e.childNodes.length>0))return!1;a=e.childNodes[0],c&&a.classList.add("remove-on-close"),b("body").append(a)}return a=b(a),0===a.length?!1:(a.show(),a.find(".view").length>0&&d.sizeNavbars(a.find(".view")[0]),d.openModal(a),a[0])},d.openModal=function(a){if(a=b(a),0===b(".modal-overlay").length){var c=document.createElement("div");c.className="modal-overlay",b("body").append(c)}var d=a.hasClass("popover"),e=a.hasClass("popup");d||e||a.css({marginTop:-a.outerHeight()/2+"px"});a[0].clientLeft;return a.trigger("open"),b(".modal-overlay").addClass("modal-overlay-visible"),b(a).addClass("modal-in"),!0},d.closeModal=function(a){a=b(a||".modal-in"),b(".modal-overlay").removeClass("modal-overlay-visible"),a.trigger("close");var c=a.hasClass("popover"),d=a.hasClass("popup"),e=a.hasClass("remove-on-close");return c?(a.removeClass("modal-in modal-out").trigger("closed").hide(),e&&a.remove()):a.removeClass("modal-in").addClass("modal-out").transitionEnd(function(){a.trigger("closed"),d||a.remove(),d&&a.removeClass("modal-out").hide(),e&&a.remove()}),!0},d.allowPanelOpen=!0,d.openPanel=function(a){if(!d.allowPanelOpen)return!1;var c=b(".panel-"+a);if(0===c.length||c.hasClass("active"))return!1;d.closePanel(),d.allowPanelOpen=!1;var e=c.hasClass("panel-reveal")?"reveal":"cover";c.css({display:"block"}).addClass("active"),c.trigger("open");var f=(c[0].clientLeft,"reveal"===e?b(".views"):c),g=!1;return f.transitionEnd(function(a){b(a.target).is(f)&&(g||c.trigger("opened")),d.allowPanelOpen=!0}),setTimeout(function(){g||c.trigger("opened")},d.params.panelsAnimationDuration),b("body").addClass("with-panel-"+a+"-"+e),!0},d.closePanel=function(){var a=b(".panel.active");if(0===a.length)return!1;var c=a.hasClass("panel-reveal")?"reveal":"cover",d=a.hasClass("panel-left")?"left":"right";a.removeClass("active");var e="reveal"===c?b(".views"):a;a.trigger("close"),e.transitionEnd(function(){a.css({display:""}),a.trigger("closed"),b("body").removeClass("panel-closing")}),b("body").addClass("panel-closing").removeClass("with-panel-"+d+"-"+c)},d.initMessages=function(a){var c=b(a),e=c.find(".messages");if(0!==e.length){var f=c.find(".page-content");f[0].scrollTop=e.height()-f.height(),d.updateMessagesAngles(e)}},d.addMessage=function(a){if(a=a||{},a.type=a.type||"sent",!a.text||0===a.length)return!1;var c=b(".messages-content");if(0===c.length)return!1;var e=c.find(".messages"),f="";a.day&&(f+='<div class="messages-date">'+a.day+(a.time?",":"")+(a.time?" <span>"+a.time+"</span>":"")+"</div>");var g=a.text.indexOf("<img")>=0,h="message message-"+a.type+(g?" message-pic":"")+" message-appear";f+='<div class="'+h+'">'+a.text+"</div>",e.append(f),d.updateMessagesAngles(e),d.scrollMessagesContainer(c)},d.updateMessagesAngles=function(a){a.find(".message-sent").each(function(){var a=b(this);a.next().hasClass("message-sent")?a.removeClass("message-last"):a.addClass("message-last")}),a.find(".message-received").each(function(){var a=b(this);a.next().hasClass("message-received")?a.removeClass("message-last"):a.addClass("message-last")})},d.scrollMessagesContainer=function(a){function c(){a[0].scrollTop<g?(a[0].scrollTop=a[0].scrollTop+Math.floor(h),d._animFrame(c)):a[0].scrollTop=g}if(a=b(a||".messages-content"),0!==a.length){var e=a.find(".messages"),f=a[0].scrollTop,g=e.height()-a.height(),h=(g-f)/12;d._animFrame(c)}},d.swipeoutOpenedEl=void 0,d.allowSwipeout=!0,d.initSwipeout=function(){function a(a){d.allowSwipeout&&(g=!1,f=!0,h=void 0,q.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,q.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY,i=(new Date).getTime())}function c(a){if(f){var c="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,e="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY;if("undefined"==typeof h&&(h=!!(h||Math.abs(e-q.y)>Math.abs(c-q.x))),h)return void(f=!1);if(g||(k=b(this),l=k.find(".swipeout-content"),m=k.find(".swipeout-actions-inner"),n=m.width(),p=k.hasClass("swipeout-opened"),k.removeClass("transitioning")),g=!0,a.preventDefault(),j=c-q.x,o=j-(p?n:0),o>0&&(o=0),-n>o&&(o=-n-Math.pow(-o-n,.8)),d.params.swipeoutNoFollow){if(0>j&&!p)return d.swipeoutOpen(k),f=!1,void(g=!1);if(j>0&&p)return d.swipeoutClose(k),f=!1,void(g=!1)}else l.transform("translate3d("+o+"px,0,0)")}}function e(){if(!f||!g)return f=!1,void(g=!1);f=!1,g=!1;var a=(new Date).getTime()-i;0!==o&&o!==-n&&(d.allowSwipeout=!1);var b;b=p?300>a&&o>-(n-10)||a>=300&&o>-n/2?"close":"open":300>a&&-10>o||a>=300&&-n/2>o?"open":"close","open"===b?(d.swipeoutOpenedEl=k,k.trigger("open"),k.addClass("swipeout-opened transitioning"),l.transform("translate3d("+-n+"px,0,0)")):(k.trigger("close"),d.swipeoutOpenedEl=void 0,k.addClass("transitioning").removeClass("swipeout-opened"),l.transform("translate3d(0px,0,0)")),l.transitionEnd(function(){d.allowSwipeout=!0,k.trigger("open"===b?"opened":"closed")})}var f,g,h,i,j,k,l,m,n,o,p,q={};b(document).on(d.touchEvents.start,function(a){if(d.swipeoutOpenedEl){var c=b(a.target);d.swipeoutOpenedEl.is(c[0])||c.parents(".swipeout").is(d.swipeoutOpenedEl)||c.hasClass("modal-in")||c.parents(".modal-in").length>0||c.hasClass("modal-overlay")||d.swipeoutClose(d.swipeoutOpenedEl)}}),b(document).on(d.touchEvents.start,".list-block li.swipeout",a),b(document).on(d.touchEvents.move,".list-block li.swipeout",c),b(document).on(d.touchEvents.end,".list-block li.swipeout",e)},d.swipeoutOpen=function(a){if(a=b(a),a.hasClass("swipeout")&&0!==a.length){a.length>1&&(a=b(a[0])),a.trigger("open").addClass("transitioning swipeout-opened");var c=a.find(".swipeout-actions-inner");a.find(".swipeout-content").transform("translate3d(-"+c.width()+"px,0,0)").transitionEnd(function(){a.trigger("opened")}),d.swipeoutOpenedEl=a}},d.swipeoutClose=function(a){a=b(a),0!==a.length&&(d.allowSwipeout=!1,a.trigger("close"),a.removeClass("swipeout-opened").addClass("transitioning").find(".swipeout-content").transform("translate3d(0px,0,0)").transitionEnd(function(){a.trigger("closed"),d.allowSwipeout=!0}),d.swipeoutOpenedEl[0]===a[0]&&(d.swipeoutOpenedEl=void 0))},d.swipeoutDelete=function(a){if(a=b(a),0!==a.length){a.length>1&&(a=b(a[0])),d.swipeoutOpenedEl=void 0,a.trigger("delete"),a.css({height:a.outerHeight()+"px"});{a[0].clientLeft}a.css({height:"0px"}).addClass("deleting transitioning").transitionEnd(function(){a.trigger("deleted"),a.remove()}),a.find(".swipeout-content").transform("translate3d(-100%,0,0)")}},d.initPullToRefresh=function(){function a(a){f||(g=!1,f=!0,h=void 0,l.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,l.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY,j=(new Date).getTime())}function c(a){if(f){var c="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,e="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY;return"undefined"==typeof h&&(h=!!(h||Math.abs(e-l.y)>Math.abs(c-l.x))),h?(g||(k=b(this),k.removeClass("transitioning"),o=k.hasClass("refreshing")?44:0,n=k[0].scrollHeight===k[0].offsetHeight||"ios"!==d.device.os?!0:!1),g=!0,i=e-l.y,i>0&&k[0].scrollTop<=0||k[0].scrollTop<0?(n&&(a.preventDefault(),k.transform("translate3d(0,"+(Math.pow(i,.85)+o)+"px,0)")),void(n&&Math.pow(i,.85)>44||!n&&i>=88?(m=!0,k.addClass("pull-up")):(m=!1,k.removeClass("pull-up")))):(k.removeClass("pull-up"),void(m=!1))):void(f=!1)}}function e(){return f&&g?(k.addClass("transitioning"),k.transform(""),m&&(k.addClass("refreshing"),k.trigger("refresh",{done:function(){d.pullToRefreshDone(k)}})),f=!1,void(g=!1)):(f=!1,void(g=!1))}var f,g,h,i,j,k,l={},m=!1,n=!1,o=0;b(document).on(d.touchEvents.start,".pull-to-refresh-content",a),b(document).on(d.touchEvents.move,".pull-to-refresh-content",c),b(document).on(d.touchEvents.end,".pull-to-refresh-content",e)},d.pullToRefreshDone=function(a){a=b(a),0===a.length&&(a=b(".pull-to-refresh-content.refreshing")),a.removeClass("refreshing").addClass("transitioning"),a.transitionEnd(function(){a.removeClass("transitioning pull-up")})},d.initFastClicks=function(){function a(a){var b=a.nodeName.toLowerCase(),c="button checkbox file image radio submit".split(" ");return a.disabled||a.readOnly?!1:"textarea"===b?!0:"select"===b?"android"===d.device.os?!1:!0:"input"===b&&c.indexOf(a.type)<0?!0:void 0}function c(a){if(a.targetTouches.length>1)return!0;if("ios"===d.device.os){var c=window.getSelection();if(c.rangeCount&&!c.isCollapsed)return l=!0,!0}k=!0,j=a.target,i=(new Date).getTime(),g=a.targetTouches[0].pageX,h=a.targetTouches[0].pageY,"ios"===d.device.os&&(m=void 0,b(j).parents().each(function(){var a=this;a.scrollHeight>a.offsetHeight&&!m&&(m=a,m.f7ScrollTop=m.scrollTop)}))}function e(){k&&(k=!1,j=null)}function f(b){if(!k)return l||b.preventDefault(),!0;var c=(new Date).getTime();if(c-i>200)return!0;if(b.preventDefault(),k=!1,"ios"===d.device.os&&m&&m.scrollTop!==m.f7ScrollTop)return!1;a(j)&&j.focus();var e=b.changedTouches[0],f=document.createEvent("MouseEvents"),g="click";"android"===d.device.os&&"select"===j.nodeName.toLowerCase()&&(g="mousedown"),f.initMouseEvent(g,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),j.dispatchEvent(f)}if(b.supportTouch){var g,h,i,j,k,l,m;b(document).on("touchstart",c),b(document).on("touchmove",e),b(document).on("touchend",f)}},d.initClickEvents=function(){function a(a){var c=b(this),e=c.attr("href");if(!c.hasClass("external")){if("a"===c[0].nodeName.toLowerCase()&&a.preventDefault(),c.hasClass("open-panel")&&d.openPanel(1===b(".panel").length?b(".panel").hasClass("panel-left")?"left":"right":"right"===c.attr("data-panel")?"right":"left"),c.hasClass("close-panel")&&d.closePanel(),c.hasClass("panel-overlay")&&d.params.panelsCloseByOutside&&d.closePanel(),c.hasClass("open-popover")){var f;f=c.attr("data-popover")?c.attr("data-popover"):".popover",d.popover(f,c)}var g;if(c.hasClass("open-popup")&&(g=c.attr("data-popup")?c.attr("data-popup"):".popup",d.popup(g)),c.hasClass("close-popup")&&d.closeModal(".popup.modal-in"),c.hasClass("modal-overlay")&&(b(".modal.modal-in").length>0&&d.params.modalCloseByOutside&&d.closeModal(),b(".actions-modal.modal-in").length>0&&d.params.modalActionsCloseByOutside&&d.closeModal(),b(".popup.modal-in").length>0&&d.params.modalPopupCloseByOutside&&d.closeModal(),b(".popover.modal-in").length>0&&d.closeModal(".popover.modal-in")),c.hasClass("tab-link")){var h=b(c.attr("href"));if(0===h.length)return;{h.parent().find(".tab.active").removeClass("active")}h.addClass("active"),h.trigger("show");var i=c.parent();if((i.hasClass("buttons-row")||c.parents(".tabbar").length>0)&&(i.find(".active").removeClass("active"),c.addClass("active")),h.find(".navbar").length>0){var j;j=h.hasClass("view")?h[0]:h.parents(".view")[0],d.sizeNavbars(j)}}if(c.hasClass("swipeout-delete"))if(c.attr("data-confirm")){d.confirm(c.attr("data-confirm"),function(){d.swipeoutDelete(c.parents(".swipeout"))})}else d.swipeoutDelete(c.parents(".swipeout"));if(!d.params.ajaxLinks||c.is(d.params.ajaxLinks)){var k=e&&e.length>0&&0!==e.indexOf("#");if(k||c.hasClass("back")){var l;if(c.attr("data-view")?l=b(c.attr("data-view"))[0].f7View:(l=c.parents(".view")[0]&&c.parents(".view")[0].f7View,l&&l.params.linksView&&(l=b(l.params.linksView)[0].f7View)),!l)for(var m=0;m<d.views.length;m++)d.views[m].main&&(l=d.views[m]);if(!l)return;c.hasClass("back")?l.goBack(c.attr("href")):l.loadPage(c.attr("href"))}}}}b(document).on("click","a, .open-panel, .close-panel, .panel-overlay, .modal-overlay, .swipeout-delete, .close-popup, .open-popup, .open-popover",a)},d.initResize=function(){b(window).on("resize",d.resize),b(window).on("orientationchange",d.orientationchange)},d.resize=function(){d.sizeNavbars&&d.sizeNavbars()
|
16
|
-
},d.orientationchange=function(){d.device&&d.device.minimalUi&&(90===window.orientation||-90===window.orientation)&&(document.body.scrollTop=0)},d.getDeviceInfo=function(){var a={},c=navigator.userAgent,e=c.match(/(Android);?[\s\/]+([\d.]+)?/),f=c.match(/(iPad).*OS\s([\d_]+)/),g=c.match(/(iPod)(.*OS\s([\d_]+))?/),h=!f&&c.match(/(iPhone\sOS)\s([\d_]+)/);if(e&&(a.os="android",a.osVersion=e[2]),(f||h||g)&&(a.os="ios"),a.iphone=!1,a.ipad=!1,h&&!g&&(a.osVersion=h[2].replace(/_/g,"."),a.iphone=!0),f&&(a.osVersion=f[2].replace(/_/g,"."),a.ipad=!0),g&&(a.osVersion=g[3]?g[3].replace(/_/g,"."):null,a.iphone=!0),a.webview=(h||f||g)&&c.match(/.*AppleWebKit(?!.*Safari)/i),a.os&&"ios"===a.os){var i=a.osVersion.split(".");a.minimalUi=!a.webview&&(g||h)&&(1*i[0]===7?1*i[1]>=1:1*i[0]>7)&&b('meta[name="viewport"]').length>0&&b('meta[name="viewport"]').attr("content").indexOf("minimal-ui")>=0}var j=b(window).width(),k=b(window).height();if(a.statusBar=!1,a.webview&&(320===j&&568===k||568===j&&320===k||320===j&&480===k||480===j&&320===k||768===j&&1024===k||1024===j&&768===k)?(console.log(a.webview),a.statusBar=!0):a.statusBar=!1,a.pixelRatio=window.devicePixelRatio||1,a.os){var l=a.os+" "+a.os+"-"+a.osVersion.replace(/\./g,"-")+" "+a.os+"-"+a.osVersion.split(".")[0];b("html").addClass(l)}a.statusBar?b("html").addClass("with-statusbar-overlay"):b("html").removeClass("with-statusbar-overlay"),d.device=a},d.init=function(){d.getDeviceInfo&&d.getDeviceInfo(),d.initFastClicks&&d.params.fastClicks&&d.initFastClicks(),d.initClickEvents&&d.initClickEvents(),d.initSwipeout&&d.params.swipeout&&d.initSwipeout(),d.initPullToRefresh&&d.params.pullToRefresh&&d.initPullToRefresh(),b(".page").each(function(){var a=b(this),c=a.parents(".view"),e=c[0].f7View||!1,f=e&&e.url?e.url:!1;c&&c.attr("data-page",a.attr("data-page")||void 0),d.pageInitCallback(e,this,f,"center")}),d.initResize&&d.initResize(),d.params.onAppInit&&d.params.onAppInit()},d.params.init&&d.init(),d};var a=function(a){var b=this,c=0;for(c=0;c<a.length;c++)b[c]=a[c];return b.length=a.length,this};a.prototype={addClass:function(a){for(var b=a.split(" "),c=0;c<b.length;c++)for(var d=0;d<this.length;d++)this[d].classList.add(b[c]);return this},removeClass:function(a){for(var b=a.split(" "),c=0;c<b.length;c++)for(var d=0;d<this.length;d++)this[d].classList.remove(b[c]);return this},hasClass:function(a){return this[0]?this[0].className.indexOf(a)>=0:!1},toggleClass:function(a){for(var b=a.split(" "),c=0;c<b.length;c++)for(var d=0;d<this.length;d++)this[d].classList.toggle(b[c]);return this},attr:function(a,b){if("undefined"==typeof b)return this[0].getAttribute(a);for(var c=0;c<this.length;c++)this[c].setAttribute(a,b);return this},val:function(a){if("undefined"==typeof a)return this[0]?this[0].value:null;for(var b=0;b<this.length;b++)this[b].value=a;return this},transform:function(a){for(var b=0;b<this.length;b++){var c=this[b].style;c.webkitTransform=c.MsTransform=c.msTransform=c.MozTransform=c.OTransform=c.transform=a}return this},transition:function(a){for(var b=0;b<this.length;b++){var c=this[b].style;c.webkitTransitionDuration=c.MsTransitionDuration=c.msTransitionDuration=c.MozTransitionDuration=c.OTransitionDuration=c.transitionDuration=a+"ms"}return this},on:function(a,c,d){function e(a){var e=a.target;if(b(e).is(c))d.call(e,a);else for(var f=b(e).parents(),g=0;g<f.length;g++)b(f[g]).is(c)&&d.call(f[g],a)}var f,g,h=a.split(" ");for(f=0;f<this.length;f++)if(2===arguments.length||c===!1)for(2===arguments.length&&(d=arguments[1]),g=0;g<h.length;g++)this[f].addEventListener(h[g],d,!1);else for(g=0;g<h.length;g++)this[f].addEventListener(h[g],e,!1);return this},off:function(a,b){for(var c=0;c<this.length;c++)this[c].removeEventListener(a,b,!1);return this},trigger:function(a,b){for(var c=0;c<this.length;c++){var d;try{d=new CustomEvent(a,{detail:b,bubbles:!0,cancelable:!0})}catch(e){d=document.createEvent("Event"),d.initEvent(a,!0,!0),d.detail=b}this[c].dispatchEvent(d)}return this},transitionEnd:function(a){function b(f){for(a.call(this,f),c=0;c<d.length;c++)e.off(d[c],b)}var c,d=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],e=this;if(a)for(c=0;c<d.length;c++)e.on(d[c],b);return this},animationEnd:function(a){function b(f){for(a(f),c=0;c<d.length;c++)e.off(d[c],b)}var c,d=["webkitAnimationEnd","OAnimationEnd","MSAnimationEnd","animationend"],e=this;if(a)for(c=0;c<d.length;c++)e.on(d[c],b);return this},width:function(){return this[0]===window?window.innerWidth:this.length>0?parseFloat(this.css("width"))-parseFloat(this.css("padding-left"))-parseFloat(this.css("padding-right")):null},outerWidth:function(a){return this.length>0?a?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?this[0].offsetHeight-parseFloat(this.css("padding-top"))-parseFloat(this.css("padding-bottom")):null},outerHeight:function(a){return this.length>0?a?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var a=this[0],b=a.getBoundingClientRect(),c=document.body,d=a.clientTop||c.clientTop||0,e=a.clientLeft||c.clientLeft||0,f=window.pageYOffset||a.scrollTop,g=window.pageXOffset||a.scrollLeft;return{top:b.top+f-d,left:b.left+g-e}}return null},hide:function(){for(var a=0;a<this.length;a++)this[a].style.display="none";return this},show:function(){for(var a=0;a<this.length;a++)this[a].style.display="block";return this},css:function(a){if("string"!=typeof a){for(var b=0;b<this.length;b++)for(var c in a)this[b].style[c]=a[c];return this}return this[0]?window.getComputedStyle(this[0],null).getPropertyValue(a):void 0},each:function(a){for(var b=0;b<this.length;b++)a.call(this[b],b,this[b]);return this},html:function(a){if("undefined"==typeof a)return this[0].innerHTML;for(var b=0;b<this.length;b++)this[b].innerHTML=a;return this},text:function(a){if("undefined"==typeof a)return this[0]?this[0].textContent.trim():null;for(var b=0;b<this.length;b++)this[0].textContent=a},is:function(a){var b;b="string"==typeof a?document.querySelectorAll(a):a.nodeType?[a]:a;for(var c=0;c<b.length;c++)if(b[c]===this[0])return!0;return!1},indexOf:function(a){for(var b=0;b<this.length;b++)if(this[b]===a)return b},append:function(a){for(var b=0;b<this.length;b++)if("string"==typeof a){var c=document.createElement("div");for(c.innerHTML=a;c.firstChild;)this[b].appendChild(c.firstChild)}else this[b].appendChild(a);return this},prepend:function(a){for(var b=0;b<this.length;b++)if("string"==typeof a){var c=document.createElement("div");c.innerHTML=a;for(var d=c.childNodes.length-1;d>=0;d--)this[b].insertBefore(c.childNodes[d],this[b].childNodes[0])}else this[b].insertBefore(a,this[b].childNodes[0]);return this},insertBefore:function(a){for(var c=b(a),d=0;d<this.length;d++)if(1===c.length)c[0].parentNode.insertBefore(this[d],c[0]);else if(c.length>1)for(var e=0;e<c.length;e++)c[e].parentNode.insertBefore(this[d].cloneNode(!0),c[e])},next:function(){return new a(this.length>0?this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},prev:function(){return new a(this.length>0?this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},parent:function(a){for(var c=[],d=0;d<this.length;d++)a?b(this[d].parentNode).is(a)&&c.push(this[d].parentNode):c.push(this[d].parentNode);return b(b.unique(c))},parents:function(a){for(var c=[],d=0;d<this.length;d++)for(var e=this[d].parentNode;e;)a?b(e).is(a)&&c.push(e):c.push(e),e=e.parentNode;return b(b.unique(c))},find:function(b){for(var c=[],d=0;d<this.length;d++)for(var e=this[d].querySelectorAll(b),f=0;f<e.length;f++)c.push(e[f]);return new a(c)},children:function(c){for(var d=[],e=0;e<this.length;e++)for(var f=this[e].childNodes,g=0;g<f.length;g++)c?1===f[g].nodeType&&b(f[g]).is(c)&&d.push(f[g]):1===f[g].nodeType&&d.push(f[g]);return new a(b.unique(d))},remove:function(){for(var a=0;a<this.length;a++)this[a].parentNode&&this[a].parentNode.removeChild(this[a]);return this}};var b=function(b,c){var d=[],e=0;if(b)if("string"==typeof b){var f=(c||document).querySelectorAll(b);for(e=0;e<f.length;e++)d.push(f[e])}else if(b.nodeType||b===window||b===document)d.push(b);else if(b.length>0&&b[0].nodeType)for(e=0;e<b.length;e++)d.push(b[e]);return new a(d)};b.parseUrlQuery=function(a){var b,c,d,e={};for(a.indexOf("?")>=0&&(a=a.split("?")[1]),c=a.split("&"),b=0;b<c.length;b++)d=c[b].split("="),e[d[0]]=d[1];return e},b.isArray=function(a){return"[object Array]"===Object.prototype.toString.apply(a)?!0:!1},b.unique=function(a){for(var b=[],c=0;c<a.length;c++)-1===b.indexOf(a[c])&&b.push(a[c]);return b},b.trim=function(a){return a.trim()},b.supportTouch=function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),b.fn=a.prototype,Framework7.$=b}();
|
15
|
+
!function(){"use strict";window.Framework7=function(a){function c(a,c,d){c=b(c);var e=c.find(a);return e.length>1&&("string"==typeof d.selector&&(e=c.find(d.selector+" "+a)),e.length>1&&(e=c.find(".view-main "+a))),1===e.length?e:void 0}function d(a,b,c){"to-left"===c&&(a.removeClass("page-on-center").addClass("page-from-center-to-left"),b.addClass("page-from-right-to-center")),"to-right"===c&&(a.removeClass("page-on-left").addClass("page-from-left-to-center"),b.removeClass("page-on-center").addClass("page-from-center-to-right"))}function e(a,c,d){"to-left"===d&&(c.removeClass("navbar-on-right").addClass("navbar-from-right-to-center"),c.find(".sliding").each(function(){var a=b(this);a.transform("translate3d(0px,0,0)"),g.params.animateNavBackIcon&&a.hasClass("left")&&a.find(".back .icon").length>0&&a.find(".back .icon").transform("translate3d(0px,0,0)")}),a.removeClass("navbar-on-center").addClass("navbar-from-center-to-left"),a.find(".sliding").each(function(){var a=b(this);g.params.animateNavBackIcon&&(a.hasClass("center")&&c.find(".sliding.left .back .icon").length>0&&(this.f7NavbarLeftOffset+=c.find(".sliding.left .back span")[0].offsetLeft),a.hasClass("left")&&a.find(".back .icon").length>0&&a.find(".back .icon").transform("translate3d("+-this.f7NavbarLeftOffset+"px,0,0)")),a.transform("translate3d("+this.f7NavbarLeftOffset+"px,0,0)")})),"to-right"===d&&(a.removeClass("navbar-on-left").addClass("navbar-from-left-to-center"),a.find(".sliding").each(function(){var a=b(this);a.transform("translate3d(0px,0,0)"),g.params.animateNavBackIcon&&a.hasClass("left")&&a.find(".back .icon").length>0&&a.find(".back .icon").transform("translate3d(0px,0,0)")}),c.removeClass("navbar-on-center").addClass("navbar-from-center-to-right"),c.find(".sliding").each(function(){var a=b(this);g.params.animateNavBackIcon&&a.hasClass("left")&&a.find(".back .icon").length>0&&a.find(".back .icon").transform("translate3d("+-this.f7NavbarRightOffset+"px,0,0)"),a.transform("translate3d("+this.f7NavbarRightOffset+"px,0,0)")}))}function f(a,f,h){var i,j,k,l,m,n,o,p,q=b(a.container);if(g._tempDomElement.innerHTML="",f||"string"==typeof h)g._tempDomElement.innerHTML=h;else if("length"in h&&h.length>1)for(var r=0;r<h.length;r++)b(g._tempDomElement).append(h[r]);else b(g._tempDomElement).append(h);if(a.params.subEvents&&b(g._tempDomElement).find(".page").each(function(){var c=this;b(c).find("iframe").on("load",function(){a.attachSubEvents(c,this.contentWindow.document)})}),i=c(".page",g._tempDomElement,a),!i)return void(g.allowPageChange=!0);if(i.addClass("page-on-right"),k=q.find(".page:not(.cached)"),k.length>1){for(l=0;l<k.length-2;l++)a.params.domCache?b(k[l]).addClass("cached"):b(k[l]).remove();a.params.domCache?b(k[l]).addClass("cached"):b(k[l]).remove()}if(j=q.find(".page:not(.cached)"),a.params.dynamicNavbar&&(p=!0,n=c(".navbar-inner",g._tempDomElement,a),n||(p=!1),o=q.find(".navbar"),m=o.find(".navbar-inner:not(.cached)"),m.length>0)){for(l=0;l<m.length-1;l++)a.params.domCache?b(m[l]).addClass("cached"):b(m[l]).remove();n||1!==m.length||(a.params.domCache?b(m[0]).addClass("cached"):b(m[0]).remove()),m=o.find(".navbar-inner:not(.cached)")}p&&(n.addClass("navbar-on-right"),o.append(n[0])),f||(f="#content-"+a.history.length,a.params.domCache||(1===a.history.length&&(a.contentCache[a.history[0]]={nav:m,page:j}),a.contentCache[f]={nav:n,page:i})),a.url=f,a.history.push(f),b(a.pagesContainer).append(i[0]),g.pageInitCallback(a,i[0],f,"right"),p&&n.find(".sliding").each(function(){var a=b(this);a.transform("translate3d("+this.f7NavbarRightOffset+"px,0,0)"),g.params.animateNavBackIcon&&a.hasClass("left")&&a.find(".back .icon").length>0&&a.find(".back .icon").transform("translate3d("+-this.f7NavbarRightOffset+"px,0,0)")});i[0].clientLeft;g.pageAnimCallbacks("before",a,{pageContainer:i[0],url:f,position:"left",oldPage:j,newPage:i}),d(j,i,"to-left",a),p&&e(m,n,"to-left",a),i.animationEnd(function(){g.allowPageChange=!0,i.removeClass("page-from-right-to-center page-on-right").addClass("page-on-center"),j.removeClass("page-from-center-to-left").addClass("page-on-left"),p&&(n.removeClass("navbar-from-right-to-center").addClass("navbar-on-center"),m.removeClass("navbar-from-center-to-left").addClass("navbar-on-left")),g.pageAnimCallbacks("after",a,{pageContainer:i[0],url:f,position:"right",oldPage:j,newPage:i})})}var g=this;g._animFrame=function(a){return window.requestAnimationFrame?window.requestAnimationFrame(a):window.webkitRequestAnimationFrame?window.webkitRequestAnimationFrame(a):window.mozRequestAnimationFrame?window.mozRequestAnimationFrame(a):window.setTimeout(a,1e3/60)},g.params={cache:!0,cacheDuration:6e5,preloadPreviousPage:!0,fastClicks:!0,animateNavBackIcon:!1,swipeBackPage:!0,swipeBackPageThreshold:0,swipeBackPageActiveArea:30,swipeBackPageBoxShadow:!0,ajaxLinks:!1,pullToRefresh:!0,swipeout:!0,swipeoutNoFollow:!1,smartSelectBackTemplate:'<div class="left"><a href="#" class="back link"><i class="icon icon-back-blue"></i><span>Back</span></a></div>',panelsCloseByOutside:!0,panelsVisibleZIndex:6e3,panelsAnimationDuration:400,modalTemplate:'<div class="modal {{noButtons}}"><div class="modal-inner">{{if title}}<div class="modal-title">{{title}}</div>{{/if title}}<div class="modal-text">{{text}}</div>{{afterText}}</div><div class="modal-buttons">{{buttons}}</div></div>',modalActionsTemplate:'<div class="actions-modal">{{buttons}}</div>',modalButtonOk:"OK",modalButtonCancel:"Cancel",modalTitle:"Framework7",modalCloseByOutside:!1,modalActionsCloseByOutside:!0,modalPopupCloseByOutside:!0,modalPreloaderTitle:"Loading... ",init:!0};for(var h in a)g.params[h]=a[h];g.$=b,g.touchEvents={start:b.supportTouch?"touchstart":"mousedown",move:b.supportTouch?"touchmove":"mousemove",end:b.supportTouch?"touchend":"mouseup"},g.views=[],g.addView=function(a,c){if(a){var d=b(a);if(0!==d.length){var e=d[0];"undefined"==typeof c&&(c={});var f={container:e,selector:a,params:c||{},history:[],contentCache:{},url:e.getAttribute("data-url")||document.location.href,pagesContainer:b(".pages",e)[0],main:d.hasClass("view-main"),loadContent:function(a){g.loadContent(f,a)},loadPage:function(a){g.loadPage(f,a)},goBack:function(a){g.goBack(f,a)},hideNavbar:function(){g.hideNavbar(e)},showNavbar:function(){g.showNavbar(e)},hideToolbar:function(){g.hideToolbar(e)},showToolbar:function(){g.showToolbar(e)}};return f.url&&f.history.push(f.url),e.f7View=f,g.views.push(f),g.initViewEvents(f),f}}},g.initViewEvents=function(a){function c(b){z&&g.params.swipeBackPage&&!w&&!g.swipeoutOpenedEl&&(x=!1,w=!0,f=void 0,y.x="touchstart"===b.type?b.targetTouches[0].pageX:b.pageX,y.y="touchstart"===b.type?b.targetTouches[0].pageY:b.pageY,l=(new Date).getTime(),t=a.params.dynamicNavbar&&v.find(".navbar-inner").length>1)}function d(a,c){if(w){var d="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,e="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY;if("undefined"==typeof f&&(f=!!(f||Math.abs(e-y.y)>Math.abs(d-y.x))),f)return void(w=!1);if(!x){var l=!1;if(j=v.width(),h=b(c||a.target).is(".page")?b(c||a.target):b(c||a.target).parents(".page"),i=v.find(".page-on-left:not(.cached)"),y.x-v.offset().left>g.params.swipeBackPageActiveArea&&(l=!0),(0===i.length||0===h.length)&&(l=!0),l)return void(w=!1);t&&(m=v.find(".navbar-on-center:not(.cached)"),n=v.find(".navbar-on-left:not(.cached)"),o=m.find(".left, .center, .right"),p=n.find(".left, .center, .right"),g.params.animateNavBackIcon&&(q=m.find(".left.sliding .back .icon"),r=n.find(".left.sliding .back .icon")))}x=!0,a.preventDefault(),k=d-y.x-g.params.swipeBackPageThreshold,0>k&&(k=0);var z=k/j;h.transform("translate3d("+k+"px,0,0)"),g.params.swipeBackPageBoxShadow&&"android"!==g.device.os&&(h[0].style.boxShadow="0px 0px 12px rgba(0,0,0,"+(.5-.5*z)+")");var A=k/5-j/5;if(1===g.device.pixelRatio&&(A=Math.round(A)),i.transform("translate3d("+A+"px,0,0)"),i[0].style.opacity=.9+.1*z,t){for(s=0;s<o.length;s++)if(u=b(o[s]),u[0].style.opacity=1-1.3*z,u[0].className.indexOf("sliding")>=0){var B=z*u[0].f7NavbarRightOffset;1===g.device.pixelRatio&&(B=Math.round(B)),u.transform("translate3d("+B+"px,0,0)"),g.params.animateNavBackIcon&&u[0].className.indexOf("left")>=0&&q.length>0&&q.transform("translate3d("+-B+"px,0,0)")}for(s=0;s<p.length;s++)if(u=b(p[s]),u[0].style.opacity=1.3*z-.3,u[0].className.indexOf("sliding")>=0){var C=u[0].f7NavbarLeftOffset*(1-z);1===g.device.pixelRatio&&(C=Math.round(C)),u.transform("translate3d("+C+"px,0,0)"),g.params.animateNavBackIcon&&u[0].className.indexOf("left")>=0&&r.length>0&&r.transform("translate3d("+-C+"px,0,0)")}}}}function e(){if(!w||!x)return w=!1,void(x=!1);if(w=!1,x=!1,0===k)return b([h[0],i[0]]).transform("").css({opacity:"",boxShadow:""}),void(t&&(o.transform("").css({opacity:""}),p.transform("").css({opacity:""}),q&&q.length>0&&q.transform(""),r&&q.length>0&&r.transform("")));var c=(new Date).getTime()-l,d=!1;if((300>c&&k>10||c>=300&&k>j/2)&&(h.removeClass("page-on-center").addClass("page-on-right"),i.removeClass("page-on-left").addClass("page-on-center"),t&&(m.removeClass("navbar-on-center").addClass("navbar-on-right"),n.removeClass("navbar-on-left").addClass("navbar-on-center")),d=!0),b([h[0],i[0]]).transform("").css({opacity:"",boxShadow:""}).addClass("page-transitioning"),t&&(o.css({opacity:""}).each(function(){var a=d?this.f7NavbarRightOffset:0,c=b(this);c.transform("translate3d("+a+"px,0,0)"),g.params.animateNavBackIcon&&c.hasClass("left")&&q.length>0&&q.addClass("page-transitioning").transform("translate3d("+-a+"px,0,0)")}).addClass("page-transitioning"),p.transform("").css({opacity:""}).each(function(){var a=d?0:this.f7NavbarLeftOffset,c=b(this);c.transform("translate3d("+a+"px,0,0)"),g.params.animateNavBackIcon&&c.hasClass("left")&&r.length>0&&r.addClass("page-transitioning").transform("translate3d("+-a+"px,0,0)")}).addClass("page-transitioning")),z=!1,g.allowPageChange=!1,d){var e=a.history[a.history.length-2];a.url=e,g.pageAnimCallbacks("before",a,{pageContainer:i[0],url:e,position:"left",newPage:i,oldPage:h})}h.transitionEnd(function(){b([h[0],i[0]]).removeClass("page-transitioning"),t&&(o.removeClass("page-transitioning").transform("").css({opacity:""}),p.removeClass("page-transitioning").transform("").css({opacity:""}),q&&q.length>0&&q.removeClass("page-transitioning").transform(""),r&&r.length>0&&r.removeClass("page-transitioning").transform("")),z=!0,g.allowPageChange=!0,d&&g.afterGoBack(a,h,i)})}if(g.params.swipeBackPage){var f,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=b(a.container),w=!1,x=!1,y={},z=!0;v.on(g.touchEvents.start,c),v.on(g.touchEvents.move,d),v.on(g.touchEvents.end,e),a.attachSubEvents=function(a,f){b(f).on(g.touchEvents.start,function(b){return c.apply(a,[b,a])}),b(f).on(g.touchEvents.move,function(b){return d.apply(a,[b,a])}),b(f).on(g.touchEvents.end,function(a,b){return e.apply(b,[a,b])})}}},g.sizeNavbars=function(a){var c=a?b(a).find(".navbar .navbar-inner:not(.cached)"):b(".navbar .navbar-inner:not(.cached)");c.each(function(){var a,c,d=b(this),e=d.find(".left"),f=d.find(".right"),g=d.find(".center"),h=0===e.length,i=0===f.length,j=h?0:e.outerWidth(!0),k=i?0:f.outerWidth(!0),l=g.outerWidth(!0),m=d.width();i&&(a=m-l),h&&(a=0),h||i||(a=(m-k-l+j)/2);var n=(m-l)/2;m-j-k>l?(j>n&&(n=j),n+l>m-k&&(n=m-k-l),c=n-a):c=0,g.css({left:c+"px"}),g.hasClass("sliding")&&(g[0].f7NavbarLeftOffset=-(a+c),g[0].f7NavbarRightOffset=m-a-c-l),!h&&e.hasClass("sliding")&&(e[0].f7NavbarLeftOffset=-j,e[0].f7NavbarRightOffset=(m-e.outerWidth())/2),!i&&f.hasClass("sliding")&&(f[0].f7NavbarLeftOffset=-(m-f.outerWidth())/2,f[0].f7NavbarRightOffset=k)})},g.hideNavbar=function(a){return b(a).addClass("hidden-navbar"),!0},g.showNavbar=function(a){var c=b(a);return c.addClass("hiding-navbar").removeClass("hidden-navbar").find(".navbar").transitionEnd(function(){c.removeClass("hiding-navbar")}),!0},g.hideToolbar=function(a){return b(a).addClass("hidden-toolbar"),!0},g.showToolbar=function(a){var c=b(a);c.addClass("hiding-toolbar").removeClass("hidden-toolbar").find(".toolbar").transitionEnd(function(){c.removeClass("hiding-toolbar")})},g.cache=[],g.removeFromCache=function(a){for(var b=!1,c=0;c<g.cache.length;c++)g.cache[c].url===a&&(b=c);b!==!1&&g.cache.splice(b,1)},g.xhr=!1,g.get=function(a,c){if(g.params.cache)for(var d=0;d<g.cache.length;d++)if(g.cache[d].url===a&&(new Date).getTime()-g.cache[d].time<g.params.cacheDuration)return c(g.cache[d].data),!1;var e=new XMLHttpRequest;return e.open("GET",a,!0),e.onload=function(){g.params.onAjaxComplete&&g.params.onAjaxComplete(e),b(document).trigger("ajaxComplete",{xhr:e}),c&&(200===this.status||0===this.status?(c(this.responseText,!1),g.params.cache&&(g.removeFromCache(a),g.cache.push({url:a,time:(new Date).getTime(),data:this.responseText}))):c(this.responseText,!0))},g.params.onAjaxStart&&g.params.onAjaxStart(e),b(document).trigger("ajaxStart",{xhr:e}),g.xhr=e,e.send(),e},g.pageInitCallback=function(a,c,d,e){if(!c.f7PageInitialized){c.f7PageInitialized=!0;var f={container:c,url:d,query:b.parseUrlQuery(d||""),name:b(c).attr("data-page"),view:a,from:e};b(f.container).trigger("pageBeforeInit",{page:f}),g.initPage(c),b(f.container).trigger("pageInit",{page:f})}},g.pageAnimCallbacks=function(a,c,d){var e={container:d.pageContainer,url:d.url,query:b.parseUrlQuery(d.url||""),name:b(d.pageContainer).attr("data-page"),view:c,from:d.position},f=d.oldPage,g=d.newPage;"after"===a&&b(e.container).trigger("pageAfterAnimation",{page:e}),"before"===a&&(b(c.container).attr("data-page",e.name),g.hasClass("no-navbar")&&!f.hasClass("no-navbar")&&c.hideNavbar(),!g.hasClass("no-navbar")&&f.hasClass("no-navbar")&&c.showNavbar(),g.hasClass("no-toolbar")&&!f.hasClass("no-toolbar")&&c.hideToolbar(),!g.hasClass("no-toolbar")&&f.hasClass("no-toolbar")&&c.showToolbar(),b(e.container).trigger("pageBeforeAnimation",{page:e}))},g.initPage=function(a){g.sizeNavbars&&g.sizeNavbars(b(a).parents(".view")[0]),g.initMessages&&g.initMessages(a),g.initSmartSelects&&g.initSmartSelects(a)},g.allowPageChange=!0,g._tempDomElement=document.createElement("div"),g.loadContent=function(a,b){return g.allowPageChange?(g.allowPageChange=!1,g.xhr&&(g.xhr.abort(),g.xhr=!1),void f(a,null,b)):!1},g.loadPage=function(a,b){return g.allowPageChange?a.url===b?!1:(g.allowPageChange=!1,g.xhr&&(g.xhr.abort(),g.xhr=!1),void g.get(b,function(c,d){return d?void(g.allowPageChange=!0):void f(a,b,c)})):!1},g.goBack=function(a,f,h){function i(){g.pageAnimCallbacks("before",a,{pageContainer:l[0],url:f,position:"left",oldPage:k,newPage:l}),d(l,k,"to-right",a),p&&e(n,m,"to-right",a),l.animationEnd(function(){g.afterGoBack(a,k[0],l[0]),g.pageAnimCallbacks("after",a,{pageContainer:l[0],url:f,position:"left",oldPage:k,newPage:l})})}function j(){if(l=c(".page",g._tempDomElement,a),!l)return void(g.allowPageChange=!0);if(l.addClass("page-on-left"),k=b(q.find(".page")[0]),a.params.dynamicNavbar&&(p=!0,n=c(".navbar-inner",g._tempDomElement,a),n||(p=!1)),p&&(o=q.find(".navbar"),m=o.find(".navbar-inner"),n.addClass(m.length>0?"navbar-on-left":"navbar-on-center"),m.length>1&&(b(m[0]).remove(),m=o.find(".navbar-inner")),o.prepend(n[0])),b(a.pagesContainer).prepend(l[0]),g.pageInitCallback(a,l[0],f,"left"),p&&n.hasClass("navbar-on-left")&&n.find(".sliding").each(function(){var a=b(this);g.params.animateNavBackIcon&&(a.hasClass("left")&&a.find(".back .icon").length>0&&a.find(".back .icon").transform("translate3d("+-this.f7NavbarLeftOffset+"px,0,0)"),a.hasClass("center")&&m.find(".left .back .icon").length>0&&(this.f7NavbarLeftOffset+=m.find(".left .back span")[0].offsetLeft)),a.transform("translate3d("+this.f7NavbarLeftOffset+"px,0,0)")}),h)return l.addClass("page-on-left"),void(g.allowPageChange=!0);a.url=f;l[0].clientLeft;i()}if(!g.allowPageChange)return!1;g.allowPageChange=!1,g.xhr&&(g.xhr.abort(),g.xhr=!1);var k,l,m,n,o,p,q=b(a.container),r=q.find(".page");if(r.length>1){if(h)return void(g.allowPageChange=!0);if(a.url=a.history[a.history.length-2],l=b(r[r.length-2]),k=b(r[r.length-1]),a.params.dynamicNavbar){p=!0;var s=q.find(".navbar-inner:not(.cached)");n=b(s[0]),m=b(s[1])}i()}else{if(f&&0===f.indexOf("#")&&(f=void 0),a.history.length>1&&(f=a.history[a.history.length-2]),!f)return void(g.allowPageChange=!0);if(!a.params.domCache&&f in a.contentCache){var t=a.contentCache[f];return g._tempDomElement.innerHTML="",b(g._tempDomElement).append(t.nav[0]).append(t.page[0]),void j()}g.get(f,function(a,b){return b?void(g.allowPageChange=!0):(g._tempDomElement.innerHTML=a,void j())})}},g.afterGoBack=function(a,c,d){if(c=b(c),d=b(d),c.remove(),d.removeClass("page-from-left-to-center page-on-left").addClass("page-on-center"),g.allowPageChange=!0,a.params.dynamicNavbar){{var e=b(a.container).find(".navbar-inner:not(.cached)");b(e[1]).remove(),b(e[0]).removeClass("navbar-on-left navbar-from-left-to-center").addClass("navbar-on-center")}if(g.params.preloadPreviousPage&&a.params.domCache){var f=b(a.container).find(".navbar-inner.cached");b(f[f.length-1]).removeClass("cached")}}if(a.history.pop(),!a.params.domCache&&a.url&&a.url.indexOf("#content-")>-1&&a.url in a.contentCache&&(a.contentCache[a.url]=null,delete a.contentCache[a.url]),g.params.preloadPreviousPage){if(a.params.domCache){var h=b(a.container).find(".page.cached");b(h[h.length-1]).removeClass("cached")}g.goBack(a,!1,!0)}};var i=document.createElement("div");return g.modal=function(a){a=a||{};var c="";if(a.buttons&&a.buttons.length>0)for(var d=0;d<a.buttons.length;d++)c+='<span class="modal-button'+(a.buttons[d].bold?" modal-button-bold":"")+'">'+a.buttons[d].text+"</span>";var e=g.params.modalTemplate;e=a.title?e.replace(/{{if\ title}}/g,"").replace(/{{\/if\ title}}/g,""):e.split("{{if title}}")[0]+e.split("{{/if title}}")[1];var f=e.replace(/{{title}}/g,a.title||"").replace(/{{text}}/g,a.text||"").replace(/{{afterText}}/g,a.afterText||"").replace(/{{buttons}}/g,c).replace(/{{noButtons}}/g,a.buttons&&0!==a.buttons.length?"":"modal-no-buttons");i.innerHTML=f;var h=b(i).children();return b("body").append(h[0]),h.find(".modal-button").each(function(c,d){b(d).on("click",function(b){a.buttons[c].close!==!1&&g.closeModal(h),a.buttons[c].onClick&&a.buttons[c].onClick(h,b)})}),g.openModal(h),h[0]},g.alert=function(a,b){return g.modal({text:a||"",title:b||g.params.modalTitle,buttons:[{text:g.params.modalButtonOk,bold:!0}]})},g.confirm=function(a,b,c){return g.modal({text:a||"",title:g.params.modalTitle||"",buttons:[{text:g.params.modalButtonCancel,onClick:c},{text:g.params.modalButtonOk,bold:!0,onClick:b}]})},g.prompt=function(a,c,d){return g.modal({text:a||"",title:g.params.modalTitle||"",afterText:'<input type="text" class="modal-prompt-input">',buttons:[{text:g.params.modalButtonCancel,onClick:function(a){d&&d(b(a).find(".modal-prompt-input").val())}},{text:g.params.modalButtonOk,bold:!0,onClick:function(a){c&&c(b(a).find(".modal-prompt-input").val())}}]})},g.showPreloader=function(a){return g.modal({title:a||g.params.modalPreloaderTitle,text:'<div class="preloader"></div>'})},g.hidePreloader=function(){g.closeModal()},g.showIndicator=function(){b("body").append('<div class="preloader-indicator-overlay"></div><div class="preloader-indicator-modal"><span class="preloader preloader-white"></span></div>')},g.hideIndicator=function(){b(".preloader-indicator-overlay, .preloader-indicator-modal").remove()},g.actions=function(a){a=a||[],a.length>0&&!b.isArray(a[0])&&(a=[a]);for(var c=g.params.modalActionsTemplate,d="",e=0;e<a.length;e++)for(var f=0;f<a[e].length;f++){0===f&&(d+='<div class="actions-modal-group">');var h=a[e][f],j=h.label?"actions-modal-label":"actions-modal-button";h.bold&&(j+=" actions-modal-button-bold"),h.red&&(j+=" actions-modal-button-red"),d+='<span class="'+j+'">'+h.text+"</span>",f===a[e].length-1&&(d+="</div>")}var k=c.replace(/{{buttons}}/g,d);i.innerHTML=k;var l=b(i).children();b("body").append(l[0]);var m=l.find(".actions-modal-group");return m.each(function(c,d){var e=c;b(d).children().each(function(c,d){var f=c,h=a[e][f];b(d).hasClass("actions-modal-button")&&b(d).on("click",function(a){h.close!==!1&&g.closeModal(l),h.onClick&&h.onClick(l,a)})})}),g.openModal(l),l[0]},g.popover=function(a,c,d){function e(){a.css({left:"",top:""});var d=a.width(),e=a.height(),f=a.find(".popover-angle"),g=f.width()/2;f.removeClass("on-left on-right on-top on-bottom").css({left:"",top:""});var h=c.outerWidth(),i=c.outerHeight(),j=c.offset(),k=c.parents(".page");k.length>0&&(j.top=j.top-k[0].scrollTop);var l=b(window).height(),m=b(window).width(),n=0,o=0,p=0,q="top";e+g<j.top?n=j.top-e-g:e+g<l-j.top-i?(q="bottom",n=j.top+i+g):(q="middle",n=i/2+j.top-e/2,p=n,0>n?n=5:n+e>l&&(n=l-e-5),p-=n),"top"===q||"bottom"===q?(o=h/2+j.left-d/2,p=o,5>o&&(o=5),o+d>m&&(o=m-d-5),"top"===q&&f.addClass("on-bottom"),"bottom"===q&&f.addClass("on-top"),p-=o,f.css({left:d/2-g+p+"px"})):"middle"===q&&(o=j.left-d-g,f.addClass("on-right"),5>o&&(o=j.left+h+g,f.removeClass("on-right").addClass("on-left")),o+d>m&&(o=m-d-5,f.removeClass("on-right").addClass("on-left")),f.css({top:e/2-g+p+"px"})),a.css({top:n+"px",left:o+"px"})}if("undefined"==typeof d&&(d=!0),"string"==typeof a&&a.indexOf("<")>=0){var f=document.createElement("div");if(f.innerHTML=a,!(f.childNodes.length>0))return!1;a=f.childNodes[0],d&&a.classList.add("remove-on-close"),b("body").append(a)}return a=b(a),c=b(c),0===a.length||0===c.length?!1:(0===a.find(".popover-angle").length&&a.append('<div class="popover-angle"></div>'),a.show(),e(),b(window).on("resize",e),a.on("close",function(){b(window).off("resize",e)}),g.openModal(a),a[0])},g.popup=function(a,c){if("undefined"==typeof c&&(c=!0),"string"==typeof a&&a.indexOf("<")>=0){var d=document.createElement("div");if(d.innerHTML=a,!(d.childNodes.length>0))return!1;a=d.childNodes[0],c&&a.classList.add("remove-on-close"),b("body").append(a)}return a=b(a),0===a.length?!1:(a.show(),a.find(".view").length>0&&g.sizeNavbars(a.find(".view")[0]),g.openModal(a),a[0])},g.openModal=function(a){if(a=b(a),0===b(".modal-overlay").length){var c=document.createElement("div");c.className="modal-overlay",b("body").append(c)}var d=a.hasClass("popover"),e=a.hasClass("popup");d||e||a.css({marginTop:-a.outerHeight()/2+"px"});a[0].clientLeft;return a.trigger("open"),b(".modal-overlay").addClass("modal-overlay-visible"),b(a).addClass("modal-in"),!0},g.closeModal=function(a){a=b(a||".modal-in"),b(".modal-overlay").removeClass("modal-overlay-visible"),a.trigger("close");var c=a.hasClass("popover"),d=a.hasClass("popup"),e=a.hasClass("remove-on-close");return c?(a.removeClass("modal-in modal-out").trigger("closed").hide(),e&&a.remove()):a.removeClass("modal-in").addClass("modal-out").transitionEnd(function(){a.trigger("closed"),d||a.remove(),d&&a.removeClass("modal-out").hide(),e&&a.remove()}),!0},g.allowPanelOpen=!0,g.openPanel=function(a){if(!g.allowPanelOpen)return!1;var c=b(".panel-"+a);if(0===c.length||c.hasClass("active"))return!1;g.closePanel(),g.allowPanelOpen=!1;var d=c.hasClass("panel-reveal")?"reveal":"cover";c.css({display:"block"}).addClass("active"),c.trigger("open"),c.find(".view").length>0&&g.sizeNavbars&&g.sizeNavbars(c.find(".view")[0]);var e=(c[0].clientLeft,"reveal"===d?b(".views"):c),f=!1;return e.transitionEnd(function(a){b(a.target).is(e)&&(f||c.trigger("opened")),g.allowPanelOpen=!0}),setTimeout(function(){f||c.trigger("opened")},g.params.panelsAnimationDuration),b("body").addClass("with-panel-"+a+"-"+d),!0},g.closePanel=function(){var a=b(".panel.active");if(0===a.length)return!1;var c=a.hasClass("panel-reveal")?"reveal":"cover",d=a.hasClass("panel-left")?"left":"right";a.removeClass("active");var e="reveal"===c?b(".views"):a;a.trigger("close"),e.transitionEnd(function(){a.css({display:""}),a.trigger("closed"),b("body").removeClass("panel-closing")}),b("body").addClass("panel-closing").removeClass("with-panel-"+d+"-"+c)},g.initMessages=function(a){var c=b(a),d=c.find(".messages");if(0!==d.length){var e=c.find(".page-content");e[0].scrollTop=d.height()-e.height(),g.updateMessagesAngles(d)}},g.addMessage=function(a){if(a=a||{},a.type=a.type||"sent",!a.text||0===a.length)return!1;var c=b(".messages-content");if(0===c.length)return!1;var d=c.find(".messages"),e="";a.day&&(e+='<div class="messages-date">'+a.day+(a.time?",":"")+(a.time?" <span>"+a.time+"</span>":"")+"</div>");var f=a.text.indexOf("<img")>=0,h="message message-"+a.type+(f?" message-pic":"")+" message-appear";e+='<div class="'+h+'">'+a.text+"</div>",d.append(e),g.updateMessagesAngles(d),g.scrollMessagesContainer(c)},g.updateMessagesAngles=function(a){a.find(".message-sent").each(function(){var a=b(this);a.next().hasClass("message-sent")?a.removeClass("message-last"):a.addClass("message-last")}),a.find(".message-received").each(function(){var a=b(this);a.next().hasClass("message-received")?a.removeClass("message-last"):a.addClass("message-last")})},g.scrollMessagesContainer=function(a){function c(){a[0].scrollTop<f?(a[0].scrollTop=a[0].scrollTop+Math.floor(h),g._animFrame(c)):a[0].scrollTop=f}if(a=b(a||".messages-content"),0!==a.length){var d=a.find(".messages"),e=a[0].scrollTop,f=d.height()-a.height(),h=(f-e)/12;g._animFrame(c)}},g.swipeoutOpenedEl=void 0,g.allowSwipeout=!0,g.initSwipeout=function(){function a(a){g.allowSwipeout&&(f=!1,e=!0,h=void 0,q.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,q.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY,i=(new Date).getTime())}function c(a){if(e){var c="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,d="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY;if("undefined"==typeof h&&(h=!!(h||Math.abs(d-q.y)>Math.abs(c-q.x))),h)return void(e=!1);if(f||(k=b(this),l=k.find(".swipeout-content"),m=k.find(".swipeout-actions-inner"),n=m.width(),p=k.hasClass("swipeout-opened"),k.removeClass("transitioning")),f=!0,a.preventDefault(),j=c-q.x,o=j-(p?n:0),o>0&&(o=0),-n>o&&(o=-n-Math.pow(-o-n,.8)),g.params.swipeoutNoFollow){if(0>j&&!p)return g.swipeoutOpen(k),e=!1,void(f=!1);if(j>0&&p)return g.swipeoutClose(k),e=!1,void(f=!1)}else l.transform("translate3d("+o+"px,0,0)")}}function d(){if(!e||!f)return e=!1,void(f=!1);e=!1,f=!1;var a=(new Date).getTime()-i;0!==o&&o!==-n&&(g.allowSwipeout=!1);var b;b=p?300>a&&o>-(n-10)||a>=300&&o>-n/2?"close":"open":300>a&&-10>o||a>=300&&-n/2>o?"open":"close","open"===b?(g.swipeoutOpenedEl=k,k.trigger("open"),k.addClass("swipeout-opened transitioning"),l.transform("translate3d("+-n+"px,0,0)")):(k.trigger("close"),g.swipeoutOpenedEl=void 0,k.addClass("transitioning").removeClass("swipeout-opened"),l.transform("translate3d(0px,0,0)")),l.transitionEnd(function(){g.allowSwipeout=!0,k.trigger("open"===b?"opened":"closed")})}var e,f,h,i,j,k,l,m,n,o,p,q={};b(document).on(g.touchEvents.start,function(a){if(g.swipeoutOpenedEl){var c=b(a.target);g.swipeoutOpenedEl.is(c[0])||c.parents(".swipeout").is(g.swipeoutOpenedEl)||c.hasClass("modal-in")||c.parents(".modal-in").length>0||c.hasClass("modal-overlay")||g.swipeoutClose(g.swipeoutOpenedEl)}}),b(document).on(g.touchEvents.start,".list-block li.swipeout",a),b(document).on(g.touchEvents.move,".list-block li.swipeout",c),b(document).on(g.touchEvents.end,".list-block li.swipeout",d)},g.swipeoutOpen=function(a){if(a=b(a),a.hasClass("swipeout")&&0!==a.length){a.length>1&&(a=b(a[0])),a.trigger("open").addClass("transitioning swipeout-opened");var c=a.find(".swipeout-actions-inner");a.find(".swipeout-content").transform("translate3d(-"+c.width()+"px,0,0)").transitionEnd(function(){a.trigger("opened")}),g.swipeoutOpenedEl=a}},g.swipeoutClose=function(a){a=b(a),0!==a.length&&(g.allowSwipeout=!1,a.trigger("close"),a.removeClass("swipeout-opened").addClass("transitioning").find(".swipeout-content").transform("translate3d(0px,0,0)").transitionEnd(function(){a.trigger("closed"),g.allowSwipeout=!0}),g.swipeoutOpenedEl[0]===a[0]&&(g.swipeoutOpenedEl=void 0))},g.swipeoutDelete=function(a){if(a=b(a),0!==a.length){a.length>1&&(a=b(a[0])),g.swipeoutOpenedEl=void 0,a.trigger("delete"),a.css({height:a.outerHeight()+"px"});{a[0].clientLeft}a.css({height:"0px"}).addClass("deleting transitioning").transitionEnd(function(){a.trigger("deleted"),a.remove()}),a.find(".swipeout-content").transform("translate3d(-100%,0,0)")}},g.initSmartSelects=function(a){var c=b(a);if(0!==c.length){var d=c.find(".smart-select");0!==d.length&&d.each(function(){var a=b(this),c=a.find("select");if(0!==c.length){var d=c[0];if(0!==d.length){for(var e,f=0;f<d.length;f++)d[f].selected&&(e=d[f].textContent.trim());var g=a.find(".item-after");0===g.length?a.find(".item-inner").append('<div class="item-after">'+e+"</div>"):g.text(e)}}})}},g.smartSelectOpen=function(a){function c(d){var f=d.detail.page;f.name===p&&(b(document).off("pageInit",c),b(f.container).find('input[name="'+j+'"]').on("change",function(){var c=this.value;e.value=c,b(e).trigger("change");var d=a.find('option[value="'+c+'"]').text();a.find(".item-after").text(d)}))}if(a=b(a),0!==a.length){var d=a.parents(".view");if(0!==d.length&&(d=d[0].f7View)){var e=a.find("select")[0],f={};f.length=e.length;for(var h=0;h<e.length;h++)f[h]={value:e[h].value,text:e[h].textContent.trim(),selected:e[h].selected};for(var i=a.find(".item-title").text(),j="radio-"+(new Date).getTime(),k="",l=0;l<f.length;l++){var m=f[l].selected?"checked":"";k+='<li><label class="label-radio item-content"><input type="radio" name="'+j+'" value="'+f[l].value+'" '+m+'><div class="item-inner"><div class="item-title">'+f[l].text+"</div></div></label></li>"}var n='<div class="navbar"> <div class="navbar-inner">'+g.params.smartSelectBackTemplate+' <div class="center sliding">'+i+"</div> </div></div>",o="static";a.parents(".navbar-through").length>0&&(o="through"),a.parents(".navbar-fixed").length>0&&(o="fixed");var p="smart-select-"+j,q=("through"===o?n:"")+'<div class="pages"> <div data-page="'+p+'" class="page">'+("fixed"===o?n:"")+' <div class="page-content">'+("static"===o?n:"")+' <div class="list-block"> <ul>'+k+" </ul> </div> </div> </div></div>";b(document).on("pageInit",c),d.loadContent(q)}}},g.initPullToRefresh=function(){function a(a){e||(f=!1,e=!0,h=void 0,l.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,l.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY,j=(new Date).getTime())}function c(a){if(e){var c="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,d="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY;return"undefined"==typeof h&&(h=!!(h||Math.abs(d-l.y)>Math.abs(c-l.x))),h?(f||(k=b(this),k.removeClass("transitioning"),o=k.hasClass("refreshing")?44:0,n=k[0].scrollHeight===k[0].offsetHeight||"ios"!==g.device.os?!0:!1),f=!0,i=d-l.y,i>0&&k[0].scrollTop<=0||k[0].scrollTop<0?(n&&(a.preventDefault(),k.transform("translate3d(0,"+(Math.pow(i,.85)+o)+"px,0)")),void(n&&Math.pow(i,.85)>44||!n&&i>=88?(m=!0,k.addClass("pull-up")):(m=!1,k.removeClass("pull-up")))):(k.removeClass("pull-up"),void(m=!1))):void(e=!1)}}function d(){return e&&f?(k.addClass("transitioning"),k.transform(""),m&&(k.addClass("refreshing"),k.trigger("refresh",{done:function(){g.pullToRefreshDone(k)}})),e=!1,void(f=!1)):(e=!1,void(f=!1))}var e,f,h,i,j,k,l={},m=!1,n=!1,o=0;b(document).on(g.touchEvents.start,".pull-to-refresh-content",a),b(document).on(g.touchEvents.move,".pull-to-refresh-content",c),b(document).on(g.touchEvents.end,".pull-to-refresh-content",d)},g.pullToRefreshDone=function(a){a=b(a),0===a.length&&(a=b(".pull-to-refresh-content.refreshing")),a.removeClass("refreshing").addClass("transitioning"),a.transitionEnd(function(){a.removeClass("transitioning pull-up")})},g.initFastClicks=function(){function a(a){var b=a.nodeName.toLowerCase(),c="button checkbox file image radio submit".split(" ");return a.disabled||a.readOnly?!1:"textarea"===b?!0:"select"===b?"android"===g.device.os?!1:!0:"input"===b&&c.indexOf(a.type)<0?!0:void 0}function c(a){if(a.targetTouches.length>1)return!0;if("ios"===g.device.os){var c=window.getSelection();if(c.rangeCount&&!c.isCollapsed)return l=!0,!0}k=!0,j=a.target,i=(new Date).getTime(),f=a.targetTouches[0].pageX,h=a.targetTouches[0].pageY,"ios"===g.device.os&&(m=void 0,b(j).parents().each(function(){var a=this;
|
16
|
+
a.scrollHeight>a.offsetHeight&&!m&&(m=a,m.f7ScrollTop=m.scrollTop)}))}function d(){k&&(k=!1,j=null)}function e(b){if(!k)return l||b.preventDefault(),!0;var c=(new Date).getTime();if(c-i>200)return!0;if(b.preventDefault(),k=!1,"ios"===g.device.os&&m&&m.scrollTop!==m.f7ScrollTop)return!1;a(j)&&j.focus();var d=b.changedTouches[0],e=document.createEvent("MouseEvents"),f="click";"android"===g.device.os&&"select"===j.nodeName.toLowerCase()&&(f="mousedown"),e.initMouseEvent(f,!0,!0,window,1,d.screenX,d.screenY,d.clientX,d.clientY,!1,!1,!1,!1,0,null),j.dispatchEvent(e)}if(b.supportTouch){var f,h,i,j,k,l,m;b(document).on("touchstart",c),b(document).on("touchmove",d),b(document).on("touchend",e)}},g.initClickEvents=function(){function a(a){var c=b(this),d=c.attr("href");if("a"===c[0].nodeName.toLowerCase()){if(c.hasClass("external"))return;a.preventDefault()}if(c.hasClass("smart-select")&&g.smartSelectOpen&&g.smartSelectOpen(c),c.hasClass("open-panel")&&g.openPanel(1===b(".panel").length?b(".panel").hasClass("panel-left")?"left":"right":"right"===c.attr("data-panel")?"right":"left"),c.hasClass("close-panel")&&g.closePanel(),c.hasClass("panel-overlay")&&g.params.panelsCloseByOutside&&g.closePanel(),c.hasClass("open-popover")){var e;e=c.attr("data-popover")?c.attr("data-popover"):".popover",g.popover(e,c)}var f;if(c.hasClass("open-popup")&&(f=c.attr("data-popup")?c.attr("data-popup"):".popup",g.popup(f)),c.hasClass("close-popup")&&g.closeModal(".popup.modal-in"),c.hasClass("modal-overlay")&&(b(".modal.modal-in").length>0&&g.params.modalCloseByOutside&&g.closeModal(),b(".actions-modal.modal-in").length>0&&g.params.modalActionsCloseByOutside&&g.closeModal(),b(".popup.modal-in").length>0&&g.params.modalPopupCloseByOutside&&g.closeModal(),b(".popover.modal-in").length>0&&g.closeModal(".popover.modal-in")),c.hasClass("tab-link")){var h=b(c.attr("href"));if(0===h.length)return;{h.parent().find(".tab.active").removeClass("active")}h.addClass("active"),h.trigger("show");var i=c.parent();if((i.hasClass("buttons-row")||c.parents(".tabbar").length>0)&&(i.find(".active").removeClass("active"),c.addClass("active")),h.find(".navbar").length>0){var j;j=h.hasClass("view")?h[0]:h.parents(".view")[0],g.sizeNavbars(j)}}if(c.hasClass("swipeout-delete"))if(c.attr("data-confirm")){g.confirm(c.attr("data-confirm"),function(){g.swipeoutDelete(c.parents(".swipeout"))})}else g.swipeoutDelete(c.parents(".swipeout"));if(!g.params.ajaxLinks||c.is(g.params.ajaxLinks)){var k=d&&d.length>0&&0!==d.indexOf("#");if(k||c.hasClass("back")){var l;if(c.attr("data-view")?l=b(c.attr("data-view"))[0].f7View:(l=c.parents(".view")[0]&&c.parents(".view")[0].f7View,l&&l.params.linksView&&(l=b(l.params.linksView)[0].f7View)),!l)for(var m=0;m<g.views.length;m++)g.views[m].main&&(l=g.views[m]);if(!l)return;c.hasClass("back")?l.goBack(c.attr("href")):l.loadPage(c.attr("href"))}}}b(document).on("click","a, .open-panel, .close-panel, .panel-overlay, .modal-overlay, .swipeout-delete, .close-popup, .open-popup, .open-popover, .smart-select",a)},g.initResize=function(){b(window).on("resize",g.resize),b(window).on("orientationchange",g.orientationchange)},g.resize=function(){g.sizeNavbars&&g.sizeNavbars()},g.orientationchange=function(){g.device&&g.device.minimalUi&&(90===window.orientation||-90===window.orientation)&&(document.body.scrollTop=0)},g.getDeviceInfo=function(){var a={},c=navigator.userAgent,d=c.match(/(Android);?[\s\/]+([\d.]+)?/),e=c.match(/(iPad).*OS\s([\d_]+)/),f=c.match(/(iPod)(.*OS\s([\d_]+))?/),h=!e&&c.match(/(iPhone\sOS)\s([\d_]+)/);if(d&&(a.os="android",a.osVersion=d[2],a.android=!0),(e||h||f)&&(a.os="ios",a.ios=!0),a.iphone=!1,a.ipad=!1,h&&!f&&(a.osVersion=h[2].replace(/_/g,"."),a.iphone=!0),e&&(a.osVersion=e[2].replace(/_/g,"."),a.ipad=!0),f&&(a.osVersion=f[3]?f[3].replace(/_/g,"."):null,a.iphone=!0),a.webview=(h||e||f)&&c.match(/.*AppleWebKit(?!.*Safari)/i),a.os&&"ios"===a.os){var i=a.osVersion.split(".");a.minimalUi=!a.webview&&(f||h)&&(1*i[0]===7?1*i[1]>=1:1*i[0]>7)&&b('meta[name="viewport"]').length>0&&b('meta[name="viewport"]').attr("content").indexOf("minimal-ui")>=0}var j=b(window).width(),k=b(window).height();if(a.statusBar=!1,a.statusBar=a.webview&&(320===j&&568===k||568===j&&320===k||320===j&&480===k||480===j&&320===k||768===j&&1024===k||1024===j&&768===k)?!0:!1,a.pixelRatio=window.devicePixelRatio||1,a.os){var l=a.os+" "+a.os+"-"+a.osVersion.replace(/\./g,"-")+" "+a.os+"-"+a.osVersion.split(".")[0];b("html").addClass(l)}a.statusBar?b("html").addClass("with-statusbar-overlay"):b("html").removeClass("with-statusbar-overlay"),g.device=a},g.init=function(){g.getDeviceInfo&&g.getDeviceInfo(),g.initFastClicks&&g.params.fastClicks&&g.initFastClicks(),g.initClickEvents&&g.initClickEvents(),g.initSwipeout&&g.params.swipeout&&g.initSwipeout(),g.initPullToRefresh&&g.params.pullToRefresh&&g.initPullToRefresh(),b(".page").each(function(){var a=b(this),c=a.parents(".view"),d=c[0].f7View||!1,e=d&&d.url?d.url:!1;c&&c.attr("data-page",a.attr("data-page")||void 0),g.pageInitCallback(d,this,e,"center")}),g.initResize&&g.initResize(),g.params.onAppInit&&g.params.onAppInit()},g.params.init&&g.init(),g};var a=function(a){var b=this,c=0;for(c=0;c<a.length;c++)b[c]=a[c];return b.length=a.length,this};a.prototype={addClass:function(a){for(var b=a.split(" "),c=0;c<b.length;c++)for(var d=0;d<this.length;d++)this[d].classList.add(b[c]);return this},removeClass:function(a){for(var b=a.split(" "),c=0;c<b.length;c++)for(var d=0;d<this.length;d++)this[d].classList.remove(b[c]);return this},hasClass:function(a){return this[0]?this[0].className.indexOf(a)>=0:!1},toggleClass:function(a){for(var b=a.split(" "),c=0;c<b.length;c++)for(var d=0;d<this.length;d++)this[d].classList.toggle(b[c]);return this},attr:function(a,b){if("undefined"==typeof b)return this[0].getAttribute(a);for(var c=0;c<this.length;c++)this[c].setAttribute(a,b);return this},val:function(a){if("undefined"==typeof a)return this[0]?this[0].value:null;for(var b=0;b<this.length;b++)this[b].value=a;return this},transform:function(a){for(var b=0;b<this.length;b++){var c=this[b].style;c.webkitTransform=c.MsTransform=c.msTransform=c.MozTransform=c.OTransform=c.transform=a}return this},transition:function(a){for(var b=0;b<this.length;b++){var c=this[b].style;c.webkitTransitionDuration=c.MsTransitionDuration=c.msTransitionDuration=c.MozTransitionDuration=c.OTransitionDuration=c.transitionDuration=a+"ms"}return this},on:function(a,c,d){function e(a){var e=a.target;if(b(e).is(c))d.call(e,a);else for(var f=b(e).parents(),g=0;g<f.length;g++)b(f[g]).is(c)&&d.call(f[g],a)}var f,g,h=a.split(" ");for(f=0;f<this.length;f++)if(2===arguments.length||c===!1)for(2===arguments.length&&(d=arguments[1]),g=0;g<h.length;g++)this[f].addEventListener(h[g],d,!1);else for(g=0;g<h.length;g++)this[f].addEventListener(h[g],e,!1);return this},off:function(a,b){for(var c=0;c<this.length;c++)this[c].removeEventListener(a,b,!1);return this},trigger:function(a,b){for(var c=0;c<this.length;c++){var d;try{d=new CustomEvent(a,{detail:b,bubbles:!0,cancelable:!0})}catch(e){d=document.createEvent("Event"),d.initEvent(a,!0,!0),d.detail=b}this[c].dispatchEvent(d)}return this},transitionEnd:function(a){function b(f){for(a.call(this,f),c=0;c<d.length;c++)e.off(d[c],b)}var c,d=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],e=this;if(a)for(c=0;c<d.length;c++)e.on(d[c],b);return this},animationEnd:function(a){function b(f){for(a(f),c=0;c<d.length;c++)e.off(d[c],b)}var c,d=["webkitAnimationEnd","OAnimationEnd","MSAnimationEnd","animationend"],e=this;if(a)for(c=0;c<d.length;c++)e.on(d[c],b);return this},width:function(){return this[0]===window?window.innerWidth:this.length>0?parseFloat(this.css("width"))-parseFloat(this.css("padding-left"))-parseFloat(this.css("padding-right")):null},outerWidth:function(a){return this.length>0?a?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?this[0].offsetHeight-parseFloat(this.css("padding-top"))-parseFloat(this.css("padding-bottom")):null},outerHeight:function(a){return this.length>0?a?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var a=this[0],b=a.getBoundingClientRect(),c=document.body,d=a.clientTop||c.clientTop||0,e=a.clientLeft||c.clientLeft||0,f=window.pageYOffset||a.scrollTop,g=window.pageXOffset||a.scrollLeft;return{top:b.top+f-d,left:b.left+g-e}}return null},hide:function(){for(var a=0;a<this.length;a++)this[a].style.display="none";return this},show:function(){for(var a=0;a<this.length;a++)this[a].style.display="block";return this},css:function(a){if("string"!=typeof a){for(var b=0;b<this.length;b++)for(var c in a)this[b].style[c]=a[c];return this}return this[0]?window.getComputedStyle(this[0],null).getPropertyValue(a):void 0},each:function(a){for(var b=0;b<this.length;b++)a.call(this[b],b,this[b]);return this},html:function(a){if("undefined"==typeof a)return this[0].innerHTML;for(var b=0;b<this.length;b++)this[b].innerHTML=a;return this},text:function(a){if("undefined"==typeof a)return this[0]?this[0].textContent.trim():null;for(var b=0;b<this.length;b++)this[0].textContent=a},is:function(a){var b;b="string"==typeof a?document.querySelectorAll(a):a.nodeType?[a]:a;for(var c=0;c<b.length;c++)if(b[c]===this[0])return!0;return!1},indexOf:function(a){for(var b=0;b<this.length;b++)if(this[b]===a)return b},index:function(){if(this[0]){for(var a=this[0],b=0;null!=(a=a.previousSibling);)b++;return b}return void 0},append:function(a){for(var b=0;b<this.length;b++)if("string"==typeof a){var c=document.createElement("div");for(c.innerHTML=a;c.firstChild;)this[b].appendChild(c.firstChild)}else this[b].appendChild(a);return this},prepend:function(a){for(var b=0;b<this.length;b++)if("string"==typeof a){var c=document.createElement("div");c.innerHTML=a;for(var d=c.childNodes.length-1;d>=0;d--)this[b].insertBefore(c.childNodes[d],this[b].childNodes[0])}else this[b].insertBefore(a,this[b].childNodes[0]);return this},insertBefore:function(a){for(var c=b(a),d=0;d<this.length;d++)if(1===c.length)c[0].parentNode.insertBefore(this[d],c[0]);else if(c.length>1)for(var e=0;e<c.length;e++)c[e].parentNode.insertBefore(this[d].cloneNode(!0),c[e])},next:function(){return new a(this.length>0?this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},prev:function(){return new a(this.length>0?this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},parent:function(a){for(var c=[],d=0;d<this.length;d++)a?b(this[d].parentNode).is(a)&&c.push(this[d].parentNode):c.push(this[d].parentNode);return b(b.unique(c))},parents:function(a){for(var c=[],d=0;d<this.length;d++)for(var e=this[d].parentNode;e;)a?b(e).is(a)&&c.push(e):c.push(e),e=e.parentNode;return b(b.unique(c))},find:function(b){for(var c=[],d=0;d<this.length;d++)for(var e=this[d].querySelectorAll(b),f=0;f<e.length;f++)c.push(e[f]);return new a(c)},children:function(c){for(var d=[],e=0;e<this.length;e++)for(var f=this[e].childNodes,g=0;g<f.length;g++)c?1===f[g].nodeType&&b(f[g]).is(c)&&d.push(f[g]):1===f[g].nodeType&&d.push(f[g]);return new a(b.unique(d))},remove:function(){for(var a=0;a<this.length;a++)this[a].parentNode&&this[a].parentNode.removeChild(this[a]);return this}};var b=function(b,c){var d=[],e=0;if(b)if("string"==typeof b){var f=(c||document).querySelectorAll(b);for(e=0;e<f.length;e++)d.push(f[e])}else if(b.nodeType||b===window||b===document)d.push(b);else if(b.length>0&&b[0].nodeType)for(e=0;e<b.length;e++)d.push(b[e]);return new a(d)};b.parseUrlQuery=function(a){var b,c,d,e={};for(a.indexOf("?")>=0&&(a=a.split("?")[1]),c=a.split("&"),b=0;b<c.length;b++)d=c[b].split("="),e[d[0]]=d[1];return e},b.isArray=function(a){return"[object Array]"===Object.prototype.toString.apply(a)?!0:!1},b.unique=function(a){for(var b=[],c=0;c<a.length;c++)-1===b.indexOf(a[c])&&b.push(a[c]);return b},b.trim=function(a){return a.trim()},b.supportTouch=function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),b.fn=a.prototype,Framework7.$=b}();
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
|
-
* Framework7 0.7.
|
3
|
-
* Full Featured HTML Framework For Building
|
2
|
+
* Framework7 0.7.4
|
3
|
+
* Full Featured HTML Framework For Building iOS 7 Apps
|
4
4
|
*
|
5
5
|
* http://www.idangero.us/framework7
|
6
6
|
*
|
@@ -10,7 +10,7 @@
|
|
10
10
|
*
|
11
11
|
* Licensed under MIT
|
12
12
|
*
|
13
|
-
* Released on: April
|
13
|
+
* Released on: April 13, 2014
|
14
14
|
*/
|
15
15
|
/*=============
|
16
16
|
Framework 7
|
@@ -1542,6 +1542,12 @@ i.icon.icon-form-url {
|
|
1542
1542
|
overflow: hidden;
|
1543
1543
|
text-overflow: ellipsis;
|
1544
1544
|
font-size: 14px;
|
1545
|
+
font-family: inherit;
|
1546
|
+
cursor: pointer;
|
1547
|
+
}
|
1548
|
+
input[type="submit"].button,
|
1549
|
+
input[type="button"].button {
|
1550
|
+
width: 100%;
|
1545
1551
|
}
|
1546
1552
|
.button:active {
|
1547
1553
|
background: rgba(0, 122, 255, 0.15);
|
@@ -1727,10 +1733,11 @@ label.label-radio input[type="radio"] ~ .item-inner {
|
|
1727
1733
|
}
|
1728
1734
|
label.label-radio input[type="checkbox"]:checked ~ .item-inner,
|
1729
1735
|
label.label-radio input[type="radio"]:checked ~ .item-inner {
|
1730
|
-
background: url("../assets/i-form-radio-blue.png") no-repeat
|
1731
|
-
background:
|
1732
|
-
background:
|
1733
|
-
background:
|
1736
|
+
background: url("../assets/i-form-radio-blue.png") no-repeat center;
|
1737
|
+
background-position: -webkit-calc(100% - 15px) center;
|
1738
|
+
background-position: -moz-calc(100% - 15px) center;
|
1739
|
+
background-position: -ms-calc(100% - 15px) center;
|
1740
|
+
background-position: calc(100% - 15px) center;
|
1734
1741
|
-webkit-background-size: auto 10px;
|
1735
1742
|
background-size: auto 10px;
|
1736
1743
|
}
|
@@ -1749,6 +1756,9 @@ label.label-checkbox:active .item-inner,
|
|
1749
1756
|
label.label-radio:active .item-inner {
|
1750
1757
|
border-bottom: 1px solid transparent;
|
1751
1758
|
}
|
1759
|
+
.smart-select select {
|
1760
|
+
display: none;
|
1761
|
+
}
|
1752
1762
|
/* === Modals === */
|
1753
1763
|
.modal-overlay,
|
1754
1764
|
.preloader-indicator-overlay {
|
@@ -2195,9 +2205,8 @@ input.modal-prompt-input {
|
|
2195
2205
|
}
|
2196
2206
|
.panel {
|
2197
2207
|
z-index: 1000;
|
2198
|
-
background: rgba(0, 0, 0, 0);
|
2199
2208
|
display: none;
|
2200
|
-
background: #
|
2209
|
+
background: #111;
|
2201
2210
|
-webkit-box-sizing: border-box;
|
2202
2211
|
-moz-box-sizing: border-box;
|
2203
2212
|
box-sizing: border-box;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
|
-
* Framework7 0.7.
|
3
|
-
* Full Featured HTML Framework For Building
|
2
|
+
* Framework7 0.7.4
|
3
|
+
* Full Featured HTML Framework For Building iOS 7 Apps
|
4
4
|
*
|
5
5
|
* http://www.idangero.us/framework7
|
6
6
|
*
|
@@ -10,6 +10,6 @@
|
|
10
10
|
*
|
11
11
|
* Licensed under MIT
|
12
12
|
*
|
13
|
-
* Released on: April
|
13
|
+
* Released on: April 13, 2014
|
14
14
|
*/
|
15
|
-
html,body{position:relative;height:100%;width:100%;overflow-x:hidden}body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;margin:0;padding:0;color:#000;font-size:14px;line-height:1.4;width:100%;-webkit-text-size-adjust:100%;background:#fff;overflow:hidden}@media all and (width:1024px) and (height:691px) and (orientation:landscape){html,body{height:671px}}@media all and (width:1024px) and (height:692px) and (orientation:landscape){html,body{height:672px}}*{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}a,input,textarea,select{outline:0}a{text-decoration:none;color:#007aff}p{margin:1em 0}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.row>[class*=col-]{float:left;margin-left:15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row>[class*=col-]:first-child{margin-left:0}.no-gutter.row>[class*=col-]{margin-left:0}.row .col-100{width:100%;width:-webkit-calc((100% - 15px*0) / 1);width:-moz-calc((100% - 15px*0) / 1);width:calc((100% - 15px*0) / 1)}.row.no-gutter .col-100{width:100%}.row .col-95{width:95%;width:-webkit-calc((100% - 15px*0.05263157894736836) / 1.0526315789473684);width:-moz-calc((100% - 15px*0.05263157894736836) / 1.0526315789473684);width:calc((100% - 15px*0.05263157894736836) / 1.0526315789473684)}.row.no-gutter .col-95{width:95%}.row .col-90{width:90%;width:-webkit-calc((100% - 15px*0.11111111111111116) / 1.1111111111111112);width:-moz-calc((100% - 15px*0.11111111111111116) / 1.1111111111111112);width:calc((100% - 15px*0.11111111111111116) / 1.1111111111111112)}.row.no-gutter .col-90{width:90%}.row .col-85{width:85%;width:-webkit-calc((100% - 15px*0.17647058823529416) / 1.1764705882352942);width:-moz-calc((100% - 15px*0.17647058823529416) / 1.1764705882352942);width:calc((100% - 15px*0.17647058823529416) / 1.1764705882352942)}.row.no-gutter .col-85{width:85%}.row .col-80{width:80%;width:-webkit-calc((100% - 15px*0.25) / 1.25);width:-moz-calc((100% - 15px*0.25) / 1.25);width:calc((100% - 15px*0.25) / 1.25)}.row.no-gutter .col-80{width:80%}.row .col-75{width:75%;width:-webkit-calc((100% - 15px*0.33333333333333326) / 1.3333333333333333);width:-moz-calc((100% - 15px*0.33333333333333326) / 1.3333333333333333);width:calc((100% - 15px*0.33333333333333326) / 1.3333333333333333)}.row.no-gutter .col-75{width:75%}.row .col-66{width:66.66666666666666%;width:-webkit-calc((100% - 15px*0.5000000000000002) / 1.5000000000000002);width:-moz-calc((100% - 15px*0.5000000000000002) / 1.5000000000000002);width:calc((100% - 15px*0.5000000000000002) / 1.5000000000000002)}.row.no-gutter .col-66{width:66.66666666666666%}.row .col-60{width:60%;width:-webkit-calc((100% - 15px*0.6666666666666667) / 1.6666666666666667);width:-moz-calc((100% - 15px*0.6666666666666667) / 1.6666666666666667);width:calc((100% - 15px*0.6666666666666667) / 1.6666666666666667)}.row.no-gutter .col-60{width:60%}.row .col-50{width:50%;width:-webkit-calc((100% - 15px*1) / 2);width:-moz-calc((100% - 15px*1) / 2);width:calc((100% - 15px*1) / 2)}.row.no-gutter .col-50{width:50%}.row .col-40{width:40%;width:-webkit-calc((100% - 15px*1.5) / 2.5);width:-moz-calc((100% - 15px*1.5) / 2.5);width:calc((100% - 15px*1.5) / 2.5)}.row.no-gutter .col-40{width:40%}.row .col-33{width:33.333333333333336%;width:-webkit-calc((100% - 15px*2) / 3);width:-moz-calc((100% - 15px*2) / 3);width:calc((100% - 15px*2) / 3)}.row.no-gutter .col-33{width:33.333333333333336%}.row .col-25{width:25%;width:-webkit-calc((100% - 15px*3) / 4);width:-moz-calc((100% - 15px*3) / 4);width:calc((100% - 15px*3) / 4)}.row.no-gutter .col-25{width:25%}.row .col-20{width:20%;width:-webkit-calc((100% - 15px*4) / 5);width:-moz-calc((100% - 15px*4) / 5);width:calc((100% - 15px*4) / 5)}.row.no-gutter .col-20{width:20%}.row .col-15{width:15%;width:-webkit-calc((100% - 15px*5.666666666666667) / 6.666666666666667);width:-moz-calc((100% - 15px*5.666666666666667) / 6.666666666666667);width:calc((100% - 15px*5.666666666666667) / 6.666666666666667)}.row.no-gutter .col-15{width:15%}.row .col-10{width:10%;width:-webkit-calc((100% - 15px*9) / 10);width:-moz-calc((100% - 15px*9) / 10);width:calc((100% - 15px*9) / 10)}.row.no-gutter .col-10{width:10%}.row .col-5{width:5%;width:-webkit-calc((100% - 15px*19) / 20);width:-moz-calc((100% - 15px*19) / 20);width:calc((100% - 15px*19) / 20)}.row.no-gutter .col-5{width:5%}.views,.view{position:relative;width:100%;height:100%;z-index:5000}.views{overflow:auto;-webkit-overflow-scrolling:touch}.view{overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.pages{position:relative;width:100%;height:100%;overflow:hidden;background:#000}.page{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;background:#efeff4;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1;-webkit-box-shadow:none;box-shadow:none}.page.cached{display:none}.page-on-left{opacity:.9;-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);-webkit-transform:translate3d(-20%,0,0);-ms-transform:translate3d(-20%,0,0);transform:translate3d(-20%,0,0)}.page-on-center{opacity:1;-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.page-on-right{-webkit-box-shadow:none;box-shadow:none;opacity:1;-webkit-transform:translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.page-content{overflow:auto;-webkit-overflow-scrolling:touch;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:100%}.page-transitioning{-webkit-transition-duration:400ms;transition-duration:400ms}.page-from-right-to-center{-webkit-animation:pageFromRightToCenter 400ms forwards;animation:pageFromRightToCenter 400ms forwards}.page-from-center-to-right{-webkit-animation:pageFromCenterToRight 400ms forwards;animation:pageFromCenterToRight 400ms forwards}@-webkit-keyframes pageFromRightToCenter{from{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:translate3d(100%,0,0)}to{-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);-webkit-transform:translate3d(0,0,0)}}@-webkit-keyframes pageFromCenterToRight{from{-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);-webkit-transform:translate3d(0,0,0)}to{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:translate3d(100%,0,0)}}@keyframes pageFromRightToCenter{from{-webkit-box-shadow:none;box-shadow:none;transform:translate3d(100%,0,0)}to{-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);transform:translate3d(0,0,0)}}@keyframes pageFromCenterToRight{from{-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);transform:translate3d(0,0,0)}to{-webkit-box-shadow:none;box-shadow:none;transform:translate3d(100%,0,0)}}.page-from-center-to-left{-webkit-animation:pageFromCenterToLeft 400ms forwards;animation:pageFromCenterToLeft 400ms forwards}.page-from-left-to-center{-webkit-animation:pageFromLeftToCenter 400ms forwards;animation:pageFromLeftToCenter 400ms forwards}@-webkit-keyframes pageFromCenterToLeft{from{opacity:1;-webkit-transform:translate3d(0,0,0)}to{opacity:.9;-webkit-transform:translate3d(-20%,0,0)}}@-webkit-keyframes pageFromLeftToCenter{from{opacity:.9;-webkit-transform:translate3d(-20%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0)}}@keyframes pageFromCenterToLeft{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:.9;transform:translate3d(-20%,0,0)}}@keyframes pageFromLeftToCenter{from{opacity:.9;transform:translate3d(-20%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}html.android .page{box-shadow:none!important}html.android .page-from-right-to-center{-webkit-animation:pageFromRightToCenterDegrade 400ms forwards;animation:pageFromRightToCenterDegrade 400ms forwards}html.android .page-from-center-to-right{-webkit-animation:pageFromCenterToRightDegrade 400ms forwards;animation:pageFromCenterToRightDegrade 400ms forwards}@-webkit-keyframes pageFromRightToCenterDegrade{from{-webkit-transform:translate3d(100%,0,0)}to{-webkit-transform:translate3d(0,0,0)}}@-webkit-keyframes pageFromCenterToRightDegrade{from{-webkit-transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(100%,0,0)}}@keyframes pageFromRightToCenterDegrade{from{transform:translate3d(100%,0,0)}to{transform:translate3d(0,0,0)}}@keyframes pageFromCenterToRightDegrade{from{transform:translate3d(0,0,0)}to{transform:translate3d(100%,0,0)}}.navbar-inner,.toolbar-inner{position:absolute;left:0;top:0;width:100%;height:100%;padding:0 8px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.navbar,.toolbar{height:44px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:17px;position:relative;margin:0;z-index:500}.navbar b,.toolbar b{font-weight:500}.navbar a.link,.toolbar a.link{line-height:44px;height:44px;color:#007aff;text-decoration:none;position:relative;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-transition-duration:300ms;transition-duration:300ms}.navbar a.link:active,.toolbar a.link:active{opacity:.3;-webkit-transition-duration:0ms;transition-duration:0ms}.navbar a.link i+span,.toolbar a.link i+span,.navbar a.link i+i,.toolbar a.link i+i{margin-left:7px}.navbar a.icon-only,.toolbar a.icon-only{min-width:44px;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;margin:0}.navbar i.icon,.toolbar i.icon{display:block}.navbar{left:0;top:0;background:#f7f7f8;border-bottom:1px solid #c4c4c4}.navbar .center{font-size:17px;font-weight:500;text-align:center;margin:0;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex-shrink:10;-ms-flex:0 10 auto;flex-shrink:10;line-height:43px}.navbar .left,.navbar .right{-webkit-flex-shrink:0;-ms-flex:0 0 auto;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.navbar .left a+a,.navbar .right a+a{margin-left:15px}.navbar .left{margin-right:10px}.navbar .right{margin-left:10px}.toolbar{left:0;bottom:0;background:#f7f7f8;border-top:1px solid #c4c4c4}.toolbar a{-webkit-flex-shrink:1;-ms-flex:0 1 auto;flex-shrink:1;position:relative;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tabbar{color:#929292;z-index:5001}.tabbar a{color:#929292}.tabbar a.active{color:#007aff}.tabbar a.tab-link{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;overflow:visible;-webkit-box-flex:1;-ms-flex:1;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.tabbar-labels{height:50px}.tabbar-labels a.tab-link{padding-top:4px;padding-bottom:4px;height:100%}.tabbar-labels span.tabbar-label{line-height:1;display:block;letter-spacing:.01em;font-size:10px;position:relative;text-overflow:ellipsis;white-space:nowrap}@media all and (min-width:768px){.tabbar .toolbar-inner{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.tabbar a.tab-link{width:auto;min-width:105px}.tabbar-labels{height:55px}.tabbar-labels span.tabbar-label{font-size:14px}}.navbar-from-right-to-center .left,.navbar-from-right-to-center .right,.navbar-from-right-to-center .center{-webkit-animation:navbarElementFadeIn 400ms forwards;animation:navbarElementFadeIn 400ms forwards}.navbar-from-right-to-center .sliding{opacity:1}.navbar-from-center-to-right .left,.navbar-from-center-to-right .right,.navbar-from-center-to-right .center{-webkit-animation:navbarElementFadeOut 400ms forwards;animation:navbarElementFadeOut 400ms forwards}.navbar-from-center-to-right .sliding{opacity:0}@-webkit-keyframes navbarElementFadeIn{from{opacity:0}to{opacity:1}}@keyframes navbarElementFadeIn{from{opacity:0}to{opacity:1}}.navbar-from-center-to-left .left,.navbar-from-center-to-left .right,.navbar-from-center-to-left .center{-webkit-animation:navbarElementFadeOut 400ms forwards;animation:navbarElementFadeOut 400ms forwards}.navbar-from-center-to-left .sliding{opacity:0}.navbar-from-left-to-center .left,.navbar-from-left-to-center .right,.navbar-from-left-to-center .center{-webkit-animation:navbarElementFadeIn 400ms forwards;animation:navbarElementFadeIn 400ms forwards}.navbar-from-left-to-center .sliding{opacity:1}.navbar-on-left .left,.navbar-on-left .right,.navbar-on-left .center{opacity:0}.navbar-on-left .sliding{opacity:0}.navbar-on-right .left,.navbar-on-right .right,.navbar-on-right .center{opacity:0}.navbar-on-right .sliding{opacity:0}@-webkit-keyframes navbarElementFadeOut{from{opacity:1}to{opacity:0}}@keyframes navbarElementFadeOut{from{opacity:1}to{opacity:0}}.navbar-from-right-to-center .left.sliding .back.link .icon,.navbar-from-center-to-right .left.sliding .back.link .icon,.navbar-from-center-to-left .left.sliding .back.link .icon,.navbar-from-left-to-center .left.sliding .back.link .icon{-webkit-transition-duration:400ms;transition-duration:400ms}.navbar-from-right-to-center .sliding,.navbar-from-center-to-right .sliding,.navbar-from-center-to-left .sliding,.navbar-from-left-to-center .sliding{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-animation:none;animation:none}.page>.navbar,.view>.navbar,.views>.navbar,.page>.toolbar,.view>.toolbar,.views>.toolbar{position:absolute}.navbar-through .page-content{padding-top:44px}.toolbar-through .page-content{padding-bottom:44px}.navbar-fixed .page-content{padding-top:44px}.toolbar-fixed .page-content{padding-bottom:44px}.hidden-navbar .navbar{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,-100%,0);-ms-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}.hiding-navbar .navbar{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.page.no-navbar .page-content{padding-top:0}.hidden-toolbar .toolbar{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.hiding-toolbar .toolbar{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.page.no-toolbar .page-content{padding-bottom:0}i.icon{display:inline-block;vertical-align:middle;background-size:100% auto;background-position:center;background-repeat:no-repeat;font-style:normal;position:relative}i.icon.icon-back-blue{width:12px;height:20px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z' fill='%23007aff'/></svg>")}i.icon.icon-back-white{width:12px;height:20px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z' fill='%23fff'/></svg>")}i.icon.icon-back-black{width:12px;height:20px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z' fill='%23000'/></svg>")}i.icon.icon-bars-blue{width:21px;height:13px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 26' fill='%23007aff'><rect width='4' height='4'/><rect x='8' y='1' width='34' height='2'/><rect y='11' width='4' height='4'/><rect x='8' y='12' width='34' height='2'/><rect y='22' width='4' height='4'/><rect x='8' y='23' width='34' height='2'/></svg>")}i.icon.icon-bars-white{width:21px;height:13px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 26' fill='%23fff'><rect width='4' height='4'/><rect x='8' y='1' width='34' height='2'/><rect y='11' width='4' height='4'/><rect x='8' y='12' width='34' height='2'/><rect y='22' width='4' height='4'/><rect x='8' y='23' width='34' height='2'/></svg>")}i.icon.icon-bars-black{width:21px;height:13px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 26' fill='%23000'><rect width='4' height='4'/><rect x='8' y='1' width='34' height='2'/><rect y='11' width='4' height='4'/><rect x='8' y='12' width='34' height='2'/><rect y='22' width='4' height='4'/><rect x='8' y='23' width='34' height='2'/></svg>")}i.icon.icon-f7{width:29px;height:29px;background-image:url(../assets/i-f7.png)}i.icon.icon-form-name{width:29px;height:29px;background-image:url(../assets/i-form-name.png)}i.icon.icon-form-password{width:29px;height:29px;background-image:url(../assets/i-form-password.png)}i.icon.icon-form-email{width:29px;height:29px;background-image:url(../assets/i-form-email.png)}i.icon.icon-form-calendar{width:29px;height:29px;background-image:url(../assets/i-form-calendar.png)}i.icon.icon-form-tel{width:29px;height:29px;background-image:url(../assets/i-form-tel.png)}i.icon.icon-form-gender{width:29px;height:29px;background-image:url(../assets/i-form-gender.png)}i.icon.icon-form-toggle{width:29px;height:29px;background-image:url(../assets/i-form-toggle.png)}i.icon.icon-form-comment{width:29px;height:29px;background-image:url(../assets/i-form-comment.png)}i.icon.icon-form-settings{width:29px;height:29px;background-image:url(../assets/i-form-settings.png)}i.icon.icon-form-url{width:29px;height:29px;background-image:url(../assets/i-form-url.png)}.badge{font-size:13px;display:inline-block;color:#000;background:#ddd;border-radius:20px;padding:1px 7px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.badge.badge-red{background:#ff3b30;color:#fff}.badge.badge-green{background:#4cd964;color:#fff}.badge.badge-black{background:#000;color:#fff}.icon .badge{position:absolute;left:100%;margin-left:-10px;top:-2px;font-size:10px;padding:1px 5px}.content-block{margin:35px 0;padding:0 15px;color:#6d6d72}.content-block-title{position:relative;overflow:hidden;margin:0;white-space:nowrap;text-overflow:ellipsis;font-size:14px;text-transform:uppercase;line-height:1;color:#6d6d72;margin:35px 15px -25px}.content-block-inner{background:#fff;padding:10px 15px;margin-left:-15px;width:100%;border-bottom:1px solid #c8c7cc;border-top:1px solid #c8c7cc;color:#000}.list-block{margin:35px 0;font-size:17px}.list-block ul{background:#fff;list-style:none;padding:0;margin:0;border-top:1px solid #c8c7cc;border-bottom:1px solid #c8c7cc}.list-block ul ul{border-top:none;border-bottom:none;padding-left:45px}.list-block ul ul li:last-child .item-inner{border-bottom:1px solid #c8c7cc}.list-block .align-top,.list-block .align-top .item-content,.list-block .align-top .item-inner{-webkit-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.list-block.inset{margin-left:15px;margin-right:15px;border-radius:7px}.list-block.inset .content-block-title{margin-left:0;margin-right:0}.list-block.inset ul{border-radius:7px;border-top:none;border-bottom:none}.list-block.inset li:first-child>a{border-radius:7px 7px 0 0}.list-block.inset li:last-child>a{border-radius:0 0 7px 7px}.list-block.inset li:first-child:last-child>a{border-radius:7px}.list-block li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative}.list-block li:last-child .item-inner{border-bottom:1px solid transparent}.list-block .item-media{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;-ms-flex:0 0 auto;flex-shrink:0;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;padding-top:7px;padding-bottom:8px}.list-block .item-media i+i{margin-left:5px}.list-block .item-media i+img{margin-left:5px}.list-block .item-media+.item-inner{margin-left:15px}.list-block .item-inner{padding-right:15px;border-bottom:1px solid #c8c7cc;width:100%;padding-top:8px;padding-bottom:7px;min-height:44px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-flex:1;-ms-flex:1;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.list-block .item-title{font-size:17px;-webkit-flex-shrink:1;-ms-flex:0 1 auto;flex-shrink:1;white-space:nowrap;position:relative;overflow:hidden;text-overflow:ellipsis;max-width:100%}.list-block .item-title.label{width:35%;-webkit-flex-shrink:0;-ms-flex:0 0 auto;flex-shrink:0}.list-block .item-input{width:100%;margin-top:-8px;margin-bottom:-7px;-webkit-box-flex:1;-ms-flex:1;-webkit-flex-shrink:1;-ms-flex:0 1 auto;flex-shrink:1}.list-block .item-after{white-space:nowrap;color:#8e8e93;-webkit-flex-shrink:0;-ms-flex:0 0 auto;flex-shrink:0;margin-left:5px;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;max-height:28px}.list-block .item-link{-webkit-transition-duration:300ms;transition-duration:300ms;display:block;color:inherit}.list-block .item-link .item-inner{padding-right:35px;background:no-repeat -webkit-calc(100% - 15px) center;background:no-repeat -moz-calc(100% - 15px) center;background:no-repeat calc(100% - 15px) center;background-image:url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");background-size:10px 20px}.list-block .item-link:active{-webkit-transition-duration:0ms;transition-duration:0ms;background-color:#d9d9d9}.list-block .item-link:active .item-inner{border-bottom:1px solid transparent}.list-block .item-link.list-button{padding:0 15px;text-align:center;color:#007aff;display:block;border-bottom:1px solid #c8c7cc;line-height:43px}.list-block .item-link.list-button.button-red{color:#fc3e39}.list-block li:last-child .list-button{border-bottom:none}.list-block .item-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding-left:15px;min-height:44px;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.list-block .list-block-label{margin:10px 0 35px;padding:0 15px;font-size:14px;color:#8f8f94}.list-block .swipeout.deleting{overflow:hidden;-webkit-transition-duration:300ms;transition-duration:300ms}.list-block .swipeout.deleting .swipeout-content{-webkit-transform:translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.list-block .swipeout.transitioning .swipeout-content{-webkit-transition-duration:300ms;transition-duration:300ms}.list-block .swipeout-content{position:relative;z-index:10;background:#fff}.list-block .swipeout-actions{border-bottom:1px solid #c8c7cc;position:absolute;z-index:0;right:0;top:0;width:100%;height:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.list-block li:last-child .swipeout-actions{border-bottom:none}.list-block .swipeout-actions-inner{position:absolute;right:0;top:0;height:100%;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.list-block .swipeout-actions-inner a{padding:0 30px;color:#fff;background:#c7c7cc;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.list-block .swipeout-actions-inner a.swipeout-delete{background:#fc3e39}.list-block .item-subtitle{font-size:15px;position:relative;overflow:hidden;white-space:nowrap;max-width:100%;text-overflow:ellipsis}.list-block .item-text{font-size:15px;color:#8e8e93;line-height:21px;position:relative;overflow:hidden;height:42px;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.list-block.media-list .item-title,.list-block li.media-item .item-title{font-weight:500}.list-block.media-list .item-inner,.list-block li.media-item .item-inner{display:block;padding-top:10px;padding-bottom:9px;-ms-flex-item-align:stretch;-webkit-align-self:stretch;align-self:stretch}.list-block.media-list .item-link .item-inner,.list-block li.media-item .item-link .item-inner{background:0 0;padding-right:15px}.list-block.media-list .item-link .item-title-row,.list-block li.media-item .item-link .item-title-row{padding-right:20px;background:no-repeat right center;background-image:url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");background-size:10px 20px}.list-block.media-list .item-media,.list-block li.media-item .item-media{padding-top:9px;padding-bottom:10px}.list-block.media-list .item-media img,.list-block li.media-item .item-media img{display:block}.list-block.media-list .item-title-row,.list-block li.media-item .item-title-row{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.list-block .list-group:nth-child(n+2) ul{border-top:none}.list-block .item-divider,.list-block .list-group-title{background:#f7f7f7;border-top:1px solid #c8c7cc;margin-top:-1px;padding:4px 15px;white-space:nowrap;position:relative;max-width:100%;text-overflow:ellipsis;overflow:hidden;color:#8e8e93}.list-block .list-group-title{position:relative;position:-webkit-sticky;position:-moz-sticky;position:sticky;top:0;z-index:10;margin-top:0;border-top:none}.contacts-content{background:#fff}.contacts-block{margin:0}.contacts-block .list-group-title{padding:0 15px;background:#f7f7f7;color:#000;font-weight:500;line-height:22px;height:22px}.contacts-block .list-group:first-child ul{border-top:none}.contacts-block .list-group:last-child ul{border-bottom:none}.list-block input[type=text],.list-block input[type=password],.list-block input[type=email],.list-block input[type=tel],.list-block input[type=url],.list-block input[type=date],.list-block select,.list-block textarea{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none;background:0 0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;display:block;padding:0 0 0 5px;margin:0;width:100%;height:43px;color:#000;font-size:17px;font-family:inherit}.list-block input[type=date]{line-height:44px}.list-block select{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none}.list-block .lable{vertical-align:top}.list-block textarea{height:100px;resize:none;line-height:1.5;padding-top:10px}.label-switch{display:inline-block;vertical-align:middle;width:52px;border-radius:16px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:32px;position:relative;cursor:pointer;-ms-flex-item-align:center;-webkit-align-self:center;align-self:center}.label-switch input[type=checkbox]{width:52px;border-radius:16px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:32px;background:#e5e5e5;z-index:0;margin:0;padding:0;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:none;cursor:pointer;position:relative;-webkit-transition-duration:300ms;transition-duration:300ms}.label-switch input[type=checkbox]:before{content:' ';position:absolute;left:2px;top:2px;width:48px;border-radius:16px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:28px;background:#fff;z-index:1;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.label-switch input[type=checkbox]:after{content:' ';height:28px;width:28px;border-radius:28px;background:#fff;position:absolute;z-index:2;top:2px;left:2px;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.4);box-shadow:0 2px 5px rgba(0,0,0,.4);-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition-duration:300ms;transition-duration:300ms}.label-switch input[type=checkbox]:checked{background:#4cd964}.label-switch input[type=checkbox]:checked:before{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.label-switch input[type=checkbox]:checked:after{-webkit-transform:translate3d(20px,0,0);-ms-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}.button{border:1px solid #007aff;color:#007aff;text-decoration:none;text-align:center;display:block;border-radius:5px;line-height:27px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 10px;margin:0;height:29px;white-space:nowrap;position:relative;overflow:hidden;text-overflow:ellipsis;font-size:14px}.button:active{background:rgba(0,122,255,.15)}.button.button-round{border-radius:27px}.button.active{background:#007aff;color:#fff}.button.button-big{font-size:17px;height:44px;line-height:42px}.button.button-submit,.button.button-cancel{color:#fff}.button.button-submit:active,.button.button-cancel:active{opacity:.6}.button.button-submit{border-color:#4cd964;background:#4cd964}.button.button-cancel{border-color:#ff3b30;background:#ff3b30}.buttons-row{-ms-flex-item-align:center;-webkit-align-self:center;align-self:center;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.buttons-row .button{border-radius:0;border-left-width:0;width:100%;-webkit-box-flex:1;-ms-flex:1}.buttons-row .button:first-child{border-radius:5px 0 0 5px;border-left-width:1px;border-left-style:solid}.buttons-row .button:last-child{border-radius:0 5px 5px 0}.buttons-row .button.button-round:first-child{border-radius:27px 0 0 27px}.buttons-row .button.button-round:last-child{border-radius:0 27px 27px 0}.range-slider{width:100%;position:relative;overflow:hidden;padding-left:3px;padding-right:3px;margin-left:-1px;-ms-flex-item-align:center;-webkit-align-self:center;align-self:center}.range-slider input[type=range]{position:relative;height:28px;width:100%;margin:4px 0 5px;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0,#b7b8b7),color-stop(100%,#b7b8b7));background:linear-gradient(to right,#b7b8b7 0,#b7b8b7 100%);background-position:center;background-size:100% 2px;background-repeat:no-repeat;outline:0}.range-slider input[type=range]:after{height:2px;background:#fff;content:' ';width:5px;top:50%;margin-top:-1px;left:-5px;z-index:1;position:absolute}.range-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:none;height:28px;width:28px;position:relative;background:0 0}.range-slider input[type=range]::-webkit-slider-thumb:after{height:28px;width:28px;border-radius:28px;background:#fff;z-index:10;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.4);box-shadow:0 2px 4px rgba(0,0,0,.4);position:absolute;left:0;top:0;content:' '}.range-slider input[type=range]::-webkit-slider-thumb:before{position:absolute;top:50%;right:100%;width:2000px;height:2px;margin-top:-1px;z-index:1;background:#007aff;content:' '}label.label-checkbox{cursor:pointer}label.label-checkbox i.icon-form-checkbox{width:29px;height:29px;position:relative}label.label-checkbox i.icon-form-checkbox:after{content:' ';position:absolute;left:50%;margin-left:-11px;top:50%;margin-top:-11px;width:22px;height:22px;border-radius:22px;border:1px solid #c7c7cc;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}label.label-checkbox input[type=checkbox],label.label-checkbox input[type=radio]{display:none}label.label-checkbox input[type=checkbox]:checked+.item-media i.icon-form-checkbox:after,label.label-checkbox input[type=radio]:checked+.item-media i.icon-form-checkbox:after{border:none;background:#007aff url(../assets/i-form-checkbox-white.png) no-repeat center;-webkit-background-size:auto 9px;background-size:auto 9px}label.label-radio{cursor:pointer}label.label-radio input[type=checkbox],label.label-radio input[type=radio]{display:none}label.label-radio input[type=checkbox]~.item-inner,label.label-radio input[type=radio]~.item-inner{padding-right:35px}label.label-radio input[type=checkbox]:checked~.item-inner,label.label-radio input[type=radio]:checked~.item-inner{background:url(../assets/i-form-radio-blue.png) no-repeat -webkit-calc(100% - 15px) center;background:url(../assets/i-form-radio-blue.png) no-repeat -moz-calc(100% - 15px) center;background:url(../assets/i-form-radio-blue.png) no-repeat -ms-calc(100% - 15px) center;background:url(../assets/i-form-radio-blue.png) no-repeat calc(100% - 15px) center;-webkit-background-size:auto 10px;background-size:auto 10px}label.label-checkbox,label.label-radio{-webkit-transition-duration:300ms;transition-duration:300ms}label.label-checkbox:active,label.label-radio:active{-webkit-transition-duration:0ms;transition-duration:0ms;background-color:#d9d9d9}label.label-checkbox:active .item-inner,label.label-radio:active .item-inner{border-bottom:1px solid transparent}.modal-overlay,.preloader-indicator-overlay{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.4);z-index:10000;visibility:hidden;opacity:0;-webkit-transition-duration:400ms;transition-duration:400ms}.modal-overlay.modal-overlay-visible,.preloader-indicator-overlay.modal-overlay-visible{visibility:visible;opacity:1}.modal{width:270px;position:absolute;z-index:11000;left:50%;margin-left:-135px;margin-top:0;top:50%;text-align:center;border-radius:7px;opacity:0;-webkit-transform:translate3d(0,0,0) scale(1.185);-ms-transform:translate3d(0,0,0) scale(1.185);transform:translate3d(0,0,0) scale(1.185);-webkit-transition-property:-webkit-transform,opacity;-moz-transition-property:-moz-transform,opacity;-ms-transition-property:-ms-transform,opacity;-o-transition-property:-o-transform,opacity;transition-property:transform,opacity}.modal.modal-in{opacity:1;-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,0,0) scale(1);-ms-transform:translate3d(0,0,0) scale(1);transform:translate3d(0,0,0) scale(1)}.modal.modal-out{opacity:0;z-index:10999;-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,0,0) scale(0.815);-ms-transform:translate3d(0,0,0) scale(0.815);transform:translate3d(0,0,0) scale(0.815)}.modal-inner{padding:15px;border-bottom:1px solid #b5b5b5;border-radius:7px 7px 0 0;background:#e8e8e8}.modal-title{font-weight:500;font-size:18px;text-align:center}.modal-title+.modal-text{margin-top:5px}.modal-buttons{height:44px;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.modal-button{width:100%;padding:0 5px;height:44px;font-size:17px;line-height:44px;text-align:center;color:#007aff;background:#e8e8e8;display:block;position:relative;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-right:1px solid #b5b5b5;-webkit-box-flex:1;-ms-flex:1}.modal-button:first-child{border-radius:0 0 0 7px}.modal-button:last-child{border-right:none;border-radius:0 0 7px}.modal-button:first-child:last-child{border-radius:0 0 7px 7px}.modal-button.modal-button-bold{font-weight:500}.modal-button:active{background:#d4d4d4}.modal-no-buttons .modal-inner{border-radius:7px;border-bottom:none}.modal-no-buttons .modal-buttons{display:none}.actions-modal{position:absolute;left:0;bottom:0;z-index:11000;width:100%;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.actions-modal.modal-in{-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.actions-modal.modal-out{z-index:10999;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.actions-modal-group{margin:8px}.actions-modal-button,.actions-modal-label{width:100%;text-align:center;font-weight:400;margin:0;background:rgba(243,243,243,.95);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;border-bottom:1px solid #d2d2d6}.actions-modal-button a,.actions-modal-label a{text-decoration:none;color:inherit}.actions-modal-button b,.actions-modal-label b{font-weight:500}.actions-modal-button.actions-modal-button-bold,.actions-modal-label.actions-modal-button-bold{font-weight:500}.actions-modal-button.actions-modal-button-red,.actions-modal-label.actions-modal-button-red{color:#fc3e39}.actions-modal-button:first-child,.actions-modal-label:first-child{border-radius:4px 4px 0 0}.actions-modal-button:last-child,.actions-modal-label:last-child{border:none;border-radius:0 0 4px 4px}.actions-modal-button:first-child:last-child,.actions-modal-label:first-child:last-child{border-radius:4px}.actions-modal-button{cursor:pointer;line-height:43px;font-size:20px;color:#007aff}.actions-modal-button:active{background:#dcdcdc}.actions-modal-label{font-size:13px;line-height:1.3;min-height:44px;padding:8px 10px;color:#8a8a8a;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}input.modal-prompt-input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:30px;background:#fff;margin:0;margin-top:15px;padding:0 5px;border:1px solid #a0a0a0;border-radius:5px;width:100%;font-size:14px;font-family:inherit;display:block;-webkit-box-shadow:0 0 0 rgba(0,0,0,0);box-shadow:0 0 0 rgba(0,0,0,0);-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none}.popover{width:320px;background:rgba(255,255,255,.95);z-index:11000;margin:0;top:0;opacity:0;left:0;border-radius:7px;position:absolute;display:none;-webkit-transform:none;-ms-transform:none;transform:none;-webkit-transition-property:opacity;-moz-transition-property:opacity;-ms-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.popover.modal-in{-webkit-transition-duration:300ms;transition-duration:300ms;opacity:1}.popover-angle{width:26px;height:26px;position:absolute;left:-26px;top:0;z-index:100;overflow:hidden}.popover-angle:after{content:' ';background:rgba(255,255,255,.95);width:26px;height:26px;position:absolute;left:0;top:0;border-radius:3px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.popover-angle.on-left{left:-26px}.popover-angle.on-left:after{left:19px;top:0}.popover-angle.on-right{left:100%}.popover-angle.on-right:after{left:-19px;top:0}.popover-angle.on-top{left:0;top:-26px}.popover-angle.on-top:after{left:0;top:19px}.popover-angle.on-bottom{left:0;top:100%}.popover-angle.on-bottom:after{left:0;top:-19px}.popover-inner{overflow:auto;-webkit-overflow-scrolling:touch}.popover-inner .list-block{margin:0}.popover-inner .list-block ul{border:none;background:0 0}.popover-inner .list-block li:first-child a{border-radius:7px 7px 0 0}.popover-inner .list-block li:last-child a{border-radius:0 0 7px 7px}.popover-inner .list-block li:first-child:last-child a{border-radius:7px}.popup{position:absolute;left:0;top:0;width:100%;height:100%;z-index:11000;background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:none;overflow:auto;-webkit-overflow-scrolling:touch;-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-ms-transition-property:-ms-transform;-o-transition-property:-o-transform;transition-property:transform;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.popup.modal-in,.popup.modal-out{-webkit-transition-duration:400ms;transition-duration:400ms}.popup.modal-in{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.popup.modal-out{-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}@media all and (min-width:630px) and (min-height:630px){.popup{width:630px;height:630px;left:50%;top:50%;margin-left:-315px;margin-top:-315px;-webkit-transform:translate3d(0,1024px,0);-ms-transform:translate3d(0,1024px,0);transform:translate3d(0,1024px,0)}.popup.modal-in{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.popup.modal-out{-webkit-transform:translate3d(0,1024px,0);-ms-transform:translate3d(0,1024px,0);transform:translate3d(0,1024px,0)}}.modal .preloader{width:34px;height:34px}.preloader-indicator-overlay{visibility:visible;opacity:0;background:0 0}.preloader-indicator-modal{position:absolute;left:50%;top:50%;padding:8px;margin-left:-25px;margin-top:-25px;background:rgba(0,0,0,.8);z-index:11000;border-radius:5px}.preloader-indicator-modal .preloader{display:block;width:34px;height:34px}.panel-overlay{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,0);opacity:0;z-index:5999;display:none}.panel{z-index:1000;background:rgba(0,0,0,0);display:none;background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:auto;-webkit-overflow-scrolling:touch;position:absolute;width:260px;top:0;height:100%;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition-duration:400ms;transition-duration:400ms}.panel.panel-left.panel-cover{z-index:6000;left:-260px}.panel.panel-left.panel-reveal{left:0}.panel.panel-right.panel-cover{z-index:6000;right:-260px}.panel.panel-right.panel-reveal{right:0}body.with-panel-left-cover .views,body.with-panel-right-cover .views{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}body.with-panel-left-cover .panel-overlay,body.with-panel-right-cover .panel-overlay{display:block}body.with-panel-left-reveal .views,body.with-panel-right-reveal .views{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;transition-property:transform}body.with-panel-left-reveal .panel-overlay,body.with-panel-right-reveal .panel-overlay{display:block}body.with-panel-left-reveal .views{-webkit-transform:translate3d(260px,0,0);-ms-transform:translate3d(260px,0,0);transform:translate3d(260px,0,0)}body.with-panel-left-reveal .panel-overlay{margin-left:260px}body.with-panel-left-cover .panel-left{-webkit-transform:translate3d(260px,0,0);-ms-transform:translate3d(260px,0,0);transform:translate3d(260px,0,0)}body.with-panel-right-reveal .views{-webkit-transform:translate3d(-260px,0,0);-ms-transform:translate3d(-260px,0,0);transform:translate3d(-260px,0,0)}body.with-panel-right-reveal .panel-overlay{margin-left:-260px}body.with-panel-right-cover .panel-right{-webkit-transform:translate3d(-260px,0,0);-ms-transform:translate3d(-260px,0,0);transform:translate3d(-260px,0,0)}body.panel-closing .views{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;transition-property:transform}.tabs .tab{display:none}.tabs .tab.active{display:block}.messages-content{background:#fff}.messages{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.messages-date{text-align:center;font-weight:500;font-size:11px;line-height:1;margin:10px 15px;color:#8e8e93}.messages-date span{font-weight:400}.message{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:17px;line-height:1.2;margin:1px 10px 0;padding:6px 16px 9px;min-width:48px;min-height:35px;max-width:60%;border-radius:16px}.message.message-pic{padding:0;background:0 0}.message.message-pic img{display:block;height:auto;max-width:100%;border-radius:16px}.message-sent{padding-right:22px;-ms-flex-item-align:end;-webkit-align-self:flex-end;align-self:flex-end;background-color:#00d449;color:#fff;margin-left:auto;-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m84 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/></svg>") 49.5% 55.75% 49.5% 43.25%}.message-sent.message-last{border-radius:16px 16px 0;margin-bottom:8px;-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m84 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/><path d='m96 70c-6-2-12-10-12-19v-16l-14 27s8 8 26 8z'/></svg>") 49.5% 55.75% 49.5% 43.25%}.message-sent.message-last.message-pic img{border-radius:16px 16px 0}.message-received{padding-left:22px;-ms-flex-item-align:start;-webkit-align-self:flex-start;align-self:flex-start;background-color:#e5e5ea;color:#000;-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m96 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/></svg>") 49.5% 43.25% 49.5% 55.75%}.message-received.message-last{margin-bottom:8px;border-radius:16px 16px 16px 0;-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m96 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/><path d='m0 70c6-2 12-10 12-19v-16l14 27s-8 8-26 8z'/></svg>") 49.5% 43.25% 49.5% 55.75%}.message-received.message-last.message-pic img{border-radius:16px 16px 16px 0}.message-appear{-webkit-animation:messageAppear 400ms;animation:messageAppear 400ms}html.ios-6 .message,html.ios-6 .message.message-pic img{-webkit-mask-box-image:none;border-radius:16px}@-webkit-keyframes messageAppear{from{-webkit-transform:translate3d(0,100%,0)}to{-webkit-transform:translate3d(0,0,0)}}@keyframes messageAppear{from{transform:translate3d(0,100%,0)}to{transform:translate3d(0,0,0)}}html.with-statusbar-overlay body{padding-top:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html.with-statusbar-overlay body .statusbar-overlay{display:block}html.with-statusbar-overlay body .panel{padding-top:20px}.statusbar-overlay{background:#f7f7f8;z-index:9999;position:absolute;left:0;top:0;height:20px;width:100%;display:none;-webkit-transition-duration:400ms;transition-duration:400ms}.preloader{display:inline-block;width:20px;height:20px;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:spin 1s step-end infinite;animation:spin 1s step-end infinite}.preloader:after{display:block;content:"";width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><defs><line id='l' x1='60' x2='60' y1='7' y2='27' stroke='%236c6c6c' stroke-width='11' stroke-linecap='round'/></defs><g><use xlink:href='%23l' opacity='.27'/><use xlink:href='%23l' opacity='.27' transform='rotate(30 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(60 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(90 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(120 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(150 60,60)'/><use xlink:href='%23l' opacity='.37' transform='rotate(180 60,60)'/><use xlink:href='%23l' opacity='.46' transform='rotate(210 60,60)'/><use xlink:href='%23l' opacity='.56' transform='rotate(240 60,60)'/><use xlink:href='%23l' opacity='.66' transform='rotate(270 60,60)'/><use xlink:href='%23l' opacity='.75' transform='rotate(300 60,60)'/><use xlink:href='%23l' opacity='.85' transform='rotate(330 60,60)'/></g></svg>");background-position:50%;background-size:100%;background-repeat:no-repeat}.preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><defs><line id='l' x1='60' x2='60' y1='7' y2='27' stroke='%23fff' stroke-width='11' stroke-linecap='round'/></defs><g><use xlink:href='%23l' opacity='.27'/><use xlink:href='%23l' opacity='.27' transform='rotate(30 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(60 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(90 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(120 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(150 60,60)'/><use xlink:href='%23l' opacity='.37' transform='rotate(180 60,60)'/><use xlink:href='%23l' opacity='.46' transform='rotate(210 60,60)'/><use xlink:href='%23l' opacity='.56' transform='rotate(240 60,60)'/><use xlink:href='%23l' opacity='.66' transform='rotate(270 60,60)'/><use xlink:href='%23l' opacity='.75' transform='rotate(300 60,60)'/><use xlink:href='%23l' opacity='.85' transform='rotate(330 60,60)'/></g></svg>")}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}8.33333333%{-webkit-transform:rotate(30deg)}16.66666667%{-webkit-transform:rotate(60deg)}25%{-webkit-transform:rotate(90deg)}33.33333333%{-webkit-transform:rotate(120deg)}41.66666667%{-webkit-transform:rotate(150deg)}50%{-webkit-transform:rotate(180deg)}58.33333333%{-webkit-transform:rotate(210deg)}66.66666667%{-webkit-transform:rotate(240deg)}75%{-webkit-transform:rotate(270deg)}83.33333333%{-webkit-transform:rotate(300deg)}91.66666667%{-webkit-transform:rotate(330deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}8.33333333%{transform:rotate(30deg)}16.66666667%{transform:rotate(60deg)}25%{transform:rotate(90deg)}33.33333333%{transform:rotate(120deg)}41.66666667%{transform:rotate(150deg)}50%{transform:rotate(180deg)}58.33333333%{transform:rotate(210deg)}66.66666667%{transform:rotate(240deg)}75%{transform:rotate(270deg)}83.33333333%{transform:rotate(300deg)}91.66666667%{transform:rotate(330deg)}100%{transform:rotate(360deg)}}.pull-to-refresh-layer{position:absolute;position:relative;margin-top:-44px;left:0;top:0;width:100%;height:44px}.pull-to-refresh-layer .preloader{position:absolute;left:50%;top:50%;margin-left:-10px;margin-top:-10px;visibility:hidden}.pull-to-refresh-layer .pull-to-refresh-arrow{width:13px;height:20px;position:absolute;left:50%;top:50%;margin-left:-6px;margin-top:-10px;background:no-repeat center;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 40'><polygon points='9,22 9,0 17,0 17,22 26,22 13.5,40 0,22' fill='%238c8c8c'/></svg>");background-size:13px 20px;z-index:10;-webkit-transform:rotate(0deg) translate3d(0,0,0);-ms-transform:rotate(0deg) translate3d(0,0,0);transform:rotate(0deg) translate3d(0,0,0);-webkit-transition-duration:300ms;transition-duration:300ms}.pull-to-refresh-content.transitioning{-webkit-transition-duration:400ms;transition-duration:400ms}.pull-to-refresh-content.refreshing{-webkit-transform:translate3d(0,44px,0);-ms-transform:translate3d(0,44px,0);transform:translate3d(0,44px,0)}.pull-to-refresh-content.refreshing .pull-to-refresh-arrow{visibility:hidden;-webkit-transition-duration:0ms;transition-duration:0ms}.pull-to-refresh-content.refreshing .preloader{visibility:visible}.pull-to-refresh-content.pull-up .pull-to-refresh-arrow{-webkit-transform:rotate(180deg) translate3d(0,0,0);-ms-transform:rotate(180deg) translate3d(0,0,0);transform:rotate(180deg) translate3d(0,0,0)}
|
15
|
+
html,body{position:relative;height:100%;width:100%;overflow-x:hidden}body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;margin:0;padding:0;color:#000;font-size:14px;line-height:1.4;width:100%;-webkit-text-size-adjust:100%;background:#fff;overflow:hidden}@media all and (width:1024px) and (height:691px) and (orientation:landscape){html,body{height:671px}}@media all and (width:1024px) and (height:692px) and (orientation:landscape){html,body{height:672px}}*{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}a,input,textarea,select{outline:0}a{text-decoration:none;color:#007aff}p{margin:1em 0}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.row>[class*=col-]{float:left;margin-left:15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row>[class*=col-]:first-child{margin-left:0}.no-gutter.row>[class*=col-]{margin-left:0}.row .col-100{width:100%;width:-webkit-calc((100% - 15px*0) / 1);width:-moz-calc((100% - 15px*0) / 1);width:calc((100% - 15px*0) / 1)}.row.no-gutter .col-100{width:100%}.row .col-95{width:95%;width:-webkit-calc((100% - 15px*0.05263157894736836) / 1.0526315789473684);width:-moz-calc((100% - 15px*0.05263157894736836) / 1.0526315789473684);width:calc((100% - 15px*0.05263157894736836) / 1.0526315789473684)}.row.no-gutter .col-95{width:95%}.row .col-90{width:90%;width:-webkit-calc((100% - 15px*0.11111111111111116) / 1.1111111111111112);width:-moz-calc((100% - 15px*0.11111111111111116) / 1.1111111111111112);width:calc((100% - 15px*0.11111111111111116) / 1.1111111111111112)}.row.no-gutter .col-90{width:90%}.row .col-85{width:85%;width:-webkit-calc((100% - 15px*0.17647058823529416) / 1.1764705882352942);width:-moz-calc((100% - 15px*0.17647058823529416) / 1.1764705882352942);width:calc((100% - 15px*0.17647058823529416) / 1.1764705882352942)}.row.no-gutter .col-85{width:85%}.row .col-80{width:80%;width:-webkit-calc((100% - 15px*0.25) / 1.25);width:-moz-calc((100% - 15px*0.25) / 1.25);width:calc((100% - 15px*0.25) / 1.25)}.row.no-gutter .col-80{width:80%}.row .col-75{width:75%;width:-webkit-calc((100% - 15px*0.33333333333333326) / 1.3333333333333333);width:-moz-calc((100% - 15px*0.33333333333333326) / 1.3333333333333333);width:calc((100% - 15px*0.33333333333333326) / 1.3333333333333333)}.row.no-gutter .col-75{width:75%}.row .col-66{width:66.66666666666666%;width:-webkit-calc((100% - 15px*0.5000000000000002) / 1.5000000000000002);width:-moz-calc((100% - 15px*0.5000000000000002) / 1.5000000000000002);width:calc((100% - 15px*0.5000000000000002) / 1.5000000000000002)}.row.no-gutter .col-66{width:66.66666666666666%}.row .col-60{width:60%;width:-webkit-calc((100% - 15px*0.6666666666666667) / 1.6666666666666667);width:-moz-calc((100% - 15px*0.6666666666666667) / 1.6666666666666667);width:calc((100% - 15px*0.6666666666666667) / 1.6666666666666667)}.row.no-gutter .col-60{width:60%}.row .col-50{width:50%;width:-webkit-calc((100% - 15px*1) / 2);width:-moz-calc((100% - 15px*1) / 2);width:calc((100% - 15px*1) / 2)}.row.no-gutter .col-50{width:50%}.row .col-40{width:40%;width:-webkit-calc((100% - 15px*1.5) / 2.5);width:-moz-calc((100% - 15px*1.5) / 2.5);width:calc((100% - 15px*1.5) / 2.5)}.row.no-gutter .col-40{width:40%}.row .col-33{width:33.333333333333336%;width:-webkit-calc((100% - 15px*2) / 3);width:-moz-calc((100% - 15px*2) / 3);width:calc((100% - 15px*2) / 3)}.row.no-gutter .col-33{width:33.333333333333336%}.row .col-25{width:25%;width:-webkit-calc((100% - 15px*3) / 4);width:-moz-calc((100% - 15px*3) / 4);width:calc((100% - 15px*3) / 4)}.row.no-gutter .col-25{width:25%}.row .col-20{width:20%;width:-webkit-calc((100% - 15px*4) / 5);width:-moz-calc((100% - 15px*4) / 5);width:calc((100% - 15px*4) / 5)}.row.no-gutter .col-20{width:20%}.row .col-15{width:15%;width:-webkit-calc((100% - 15px*5.666666666666667) / 6.666666666666667);width:-moz-calc((100% - 15px*5.666666666666667) / 6.666666666666667);width:calc((100% - 15px*5.666666666666667) / 6.666666666666667)}.row.no-gutter .col-15{width:15%}.row .col-10{width:10%;width:-webkit-calc((100% - 15px*9) / 10);width:-moz-calc((100% - 15px*9) / 10);width:calc((100% - 15px*9) / 10)}.row.no-gutter .col-10{width:10%}.row .col-5{width:5%;width:-webkit-calc((100% - 15px*19) / 20);width:-moz-calc((100% - 15px*19) / 20);width:calc((100% - 15px*19) / 20)}.row.no-gutter .col-5{width:5%}.views,.view{position:relative;width:100%;height:100%;z-index:5000}.views{overflow:auto;-webkit-overflow-scrolling:touch}.view{overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.pages{position:relative;width:100%;height:100%;overflow:hidden;background:#000}.page{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;background:#efeff4;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1;-webkit-box-shadow:none;box-shadow:none}.page.cached{display:none}.page-on-left{opacity:.9;-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);-webkit-transform:translate3d(-20%,0,0);-ms-transform:translate3d(-20%,0,0);transform:translate3d(-20%,0,0)}.page-on-center{opacity:1;-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.page-on-right{-webkit-box-shadow:none;box-shadow:none;opacity:1;-webkit-transform:translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.page-content{overflow:auto;-webkit-overflow-scrolling:touch;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:100%}.page-transitioning{-webkit-transition-duration:400ms;transition-duration:400ms}.page-from-right-to-center{-webkit-animation:pageFromRightToCenter 400ms forwards;animation:pageFromRightToCenter 400ms forwards}.page-from-center-to-right{-webkit-animation:pageFromCenterToRight 400ms forwards;animation:pageFromCenterToRight 400ms forwards}@-webkit-keyframes pageFromRightToCenter{from{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:translate3d(100%,0,0)}to{-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);-webkit-transform:translate3d(0,0,0)}}@-webkit-keyframes pageFromCenterToRight{from{-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);-webkit-transform:translate3d(0,0,0)}to{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:translate3d(100%,0,0)}}@keyframes pageFromRightToCenter{from{-webkit-box-shadow:none;box-shadow:none;transform:translate3d(100%,0,0)}to{-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);transform:translate3d(0,0,0)}}@keyframes pageFromCenterToRight{from{-webkit-box-shadow:0 0 12px rgba(0,0,0,.5);box-shadow:0 0 12px rgba(0,0,0,.5);transform:translate3d(0,0,0)}to{-webkit-box-shadow:none;box-shadow:none;transform:translate3d(100%,0,0)}}.page-from-center-to-left{-webkit-animation:pageFromCenterToLeft 400ms forwards;animation:pageFromCenterToLeft 400ms forwards}.page-from-left-to-center{-webkit-animation:pageFromLeftToCenter 400ms forwards;animation:pageFromLeftToCenter 400ms forwards}@-webkit-keyframes pageFromCenterToLeft{from{opacity:1;-webkit-transform:translate3d(0,0,0)}to{opacity:.9;-webkit-transform:translate3d(-20%,0,0)}}@-webkit-keyframes pageFromLeftToCenter{from{opacity:.9;-webkit-transform:translate3d(-20%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0)}}@keyframes pageFromCenterToLeft{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:.9;transform:translate3d(-20%,0,0)}}@keyframes pageFromLeftToCenter{from{opacity:.9;transform:translate3d(-20%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}html.android .page{box-shadow:none!important}html.android .page-from-right-to-center{-webkit-animation:pageFromRightToCenterDegrade 400ms forwards;animation:pageFromRightToCenterDegrade 400ms forwards}html.android .page-from-center-to-right{-webkit-animation:pageFromCenterToRightDegrade 400ms forwards;animation:pageFromCenterToRightDegrade 400ms forwards}@-webkit-keyframes pageFromRightToCenterDegrade{from{-webkit-transform:translate3d(100%,0,0)}to{-webkit-transform:translate3d(0,0,0)}}@-webkit-keyframes pageFromCenterToRightDegrade{from{-webkit-transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(100%,0,0)}}@keyframes pageFromRightToCenterDegrade{from{transform:translate3d(100%,0,0)}to{transform:translate3d(0,0,0)}}@keyframes pageFromCenterToRightDegrade{from{transform:translate3d(0,0,0)}to{transform:translate3d(100%,0,0)}}.navbar-inner,.toolbar-inner{position:absolute;left:0;top:0;width:100%;height:100%;padding:0 8px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.navbar,.toolbar{height:44px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:17px;position:relative;margin:0;z-index:500}.navbar b,.toolbar b{font-weight:500}.navbar a.link,.toolbar a.link{line-height:44px;height:44px;color:#007aff;text-decoration:none;position:relative;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-transition-duration:300ms;transition-duration:300ms}.navbar a.link:active,.toolbar a.link:active{opacity:.3;-webkit-transition-duration:0ms;transition-duration:0ms}.navbar a.link i+span,.toolbar a.link i+span,.navbar a.link i+i,.toolbar a.link i+i{margin-left:7px}.navbar a.icon-only,.toolbar a.icon-only{min-width:44px;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;margin:0}.navbar i.icon,.toolbar i.icon{display:block}.navbar{left:0;top:0;background:#f7f7f8;border-bottom:1px solid #c4c4c4}.navbar .center{font-size:17px;font-weight:500;text-align:center;margin:0;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex-shrink:10;-ms-flex:0 10 auto;flex-shrink:10;line-height:43px}.navbar .left,.navbar .right{-webkit-flex-shrink:0;-ms-flex:0 0 auto;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.navbar .left a+a,.navbar .right a+a{margin-left:15px}.navbar .left{margin-right:10px}.navbar .right{margin-left:10px}.toolbar{left:0;bottom:0;background:#f7f7f8;border-top:1px solid #c4c4c4}.toolbar a{-webkit-flex-shrink:1;-ms-flex:0 1 auto;flex-shrink:1;position:relative;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tabbar{color:#929292;z-index:5001}.tabbar a{color:#929292}.tabbar a.active{color:#007aff}.tabbar a.tab-link{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;overflow:visible;-webkit-box-flex:1;-ms-flex:1;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.tabbar-labels{height:50px}.tabbar-labels a.tab-link{padding-top:4px;padding-bottom:4px;height:100%}.tabbar-labels span.tabbar-label{line-height:1;display:block;letter-spacing:.01em;font-size:10px;position:relative;text-overflow:ellipsis;white-space:nowrap}@media all and (min-width:768px){.tabbar .toolbar-inner{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.tabbar a.tab-link{width:auto;min-width:105px}.tabbar-labels{height:55px}.tabbar-labels span.tabbar-label{font-size:14px}}.navbar-from-right-to-center .left,.navbar-from-right-to-center .right,.navbar-from-right-to-center .center{-webkit-animation:navbarElementFadeIn 400ms forwards;animation:navbarElementFadeIn 400ms forwards}.navbar-from-right-to-center .sliding{opacity:1}.navbar-from-center-to-right .left,.navbar-from-center-to-right .right,.navbar-from-center-to-right .center{-webkit-animation:navbarElementFadeOut 400ms forwards;animation:navbarElementFadeOut 400ms forwards}.navbar-from-center-to-right .sliding{opacity:0}@-webkit-keyframes navbarElementFadeIn{from{opacity:0}to{opacity:1}}@keyframes navbarElementFadeIn{from{opacity:0}to{opacity:1}}.navbar-from-center-to-left .left,.navbar-from-center-to-left .right,.navbar-from-center-to-left .center{-webkit-animation:navbarElementFadeOut 400ms forwards;animation:navbarElementFadeOut 400ms forwards}.navbar-from-center-to-left .sliding{opacity:0}.navbar-from-left-to-center .left,.navbar-from-left-to-center .right,.navbar-from-left-to-center .center{-webkit-animation:navbarElementFadeIn 400ms forwards;animation:navbarElementFadeIn 400ms forwards}.navbar-from-left-to-center .sliding{opacity:1}.navbar-on-left .left,.navbar-on-left .right,.navbar-on-left .center{opacity:0}.navbar-on-left .sliding{opacity:0}.navbar-on-right .left,.navbar-on-right .right,.navbar-on-right .center{opacity:0}.navbar-on-right .sliding{opacity:0}@-webkit-keyframes navbarElementFadeOut{from{opacity:1}to{opacity:0}}@keyframes navbarElementFadeOut{from{opacity:1}to{opacity:0}}.navbar-from-right-to-center .left.sliding .back.link .icon,.navbar-from-center-to-right .left.sliding .back.link .icon,.navbar-from-center-to-left .left.sliding .back.link .icon,.navbar-from-left-to-center .left.sliding .back.link .icon{-webkit-transition-duration:400ms;transition-duration:400ms}.navbar-from-right-to-center .sliding,.navbar-from-center-to-right .sliding,.navbar-from-center-to-left .sliding,.navbar-from-left-to-center .sliding{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-animation:none;animation:none}.page>.navbar,.view>.navbar,.views>.navbar,.page>.toolbar,.view>.toolbar,.views>.toolbar{position:absolute}.navbar-through .page-content{padding-top:44px}.toolbar-through .page-content{padding-bottom:44px}.navbar-fixed .page-content{padding-top:44px}.toolbar-fixed .page-content{padding-bottom:44px}.hidden-navbar .navbar{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,-100%,0);-ms-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}.hiding-navbar .navbar{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.page.no-navbar .page-content{padding-top:0}.hidden-toolbar .toolbar{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.hiding-toolbar .toolbar{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.page.no-toolbar .page-content{padding-bottom:0}i.icon{display:inline-block;vertical-align:middle;background-size:100% auto;background-position:center;background-repeat:no-repeat;font-style:normal;position:relative}i.icon.icon-back-blue{width:12px;height:20px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z' fill='%23007aff'/></svg>")}i.icon.icon-back-white{width:12px;height:20px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z' fill='%23fff'/></svg>")}i.icon.icon-back-black{width:12px;height:20px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z' fill='%23000'/></svg>")}i.icon.icon-bars-blue{width:21px;height:13px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 26' fill='%23007aff'><rect width='4' height='4'/><rect x='8' y='1' width='34' height='2'/><rect y='11' width='4' height='4'/><rect x='8' y='12' width='34' height='2'/><rect y='22' width='4' height='4'/><rect x='8' y='23' width='34' height='2'/></svg>")}i.icon.icon-bars-white{width:21px;height:13px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 26' fill='%23fff'><rect width='4' height='4'/><rect x='8' y='1' width='34' height='2'/><rect y='11' width='4' height='4'/><rect x='8' y='12' width='34' height='2'/><rect y='22' width='4' height='4'/><rect x='8' y='23' width='34' height='2'/></svg>")}i.icon.icon-bars-black{width:21px;height:13px;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 26' fill='%23000'><rect width='4' height='4'/><rect x='8' y='1' width='34' height='2'/><rect y='11' width='4' height='4'/><rect x='8' y='12' width='34' height='2'/><rect y='22' width='4' height='4'/><rect x='8' y='23' width='34' height='2'/></svg>")}i.icon.icon-f7{width:29px;height:29px;background-image:url(../assets/i-f7.png)}i.icon.icon-form-name{width:29px;height:29px;background-image:url(../assets/i-form-name.png)}i.icon.icon-form-password{width:29px;height:29px;background-image:url(../assets/i-form-password.png)}i.icon.icon-form-email{width:29px;height:29px;background-image:url(../assets/i-form-email.png)}i.icon.icon-form-calendar{width:29px;height:29px;background-image:url(../assets/i-form-calendar.png)}i.icon.icon-form-tel{width:29px;height:29px;background-image:url(../assets/i-form-tel.png)}i.icon.icon-form-gender{width:29px;height:29px;background-image:url(../assets/i-form-gender.png)}i.icon.icon-form-toggle{width:29px;height:29px;background-image:url(../assets/i-form-toggle.png)}i.icon.icon-form-comment{width:29px;height:29px;background-image:url(../assets/i-form-comment.png)}i.icon.icon-form-settings{width:29px;height:29px;background-image:url(../assets/i-form-settings.png)}i.icon.icon-form-url{width:29px;height:29px;background-image:url(../assets/i-form-url.png)}.badge{font-size:13px;display:inline-block;color:#000;background:#ddd;border-radius:20px;padding:1px 7px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.badge.badge-red{background:#ff3b30;color:#fff}.badge.badge-green{background:#4cd964;color:#fff}.badge.badge-black{background:#000;color:#fff}.icon .badge{position:absolute;left:100%;margin-left:-10px;top:-2px;font-size:10px;padding:1px 5px}.content-block{margin:35px 0;padding:0 15px;color:#6d6d72}.content-block-title{position:relative;overflow:hidden;margin:0;white-space:nowrap;text-overflow:ellipsis;font-size:14px;text-transform:uppercase;line-height:1;color:#6d6d72;margin:35px 15px -25px}.content-block-inner{background:#fff;padding:10px 15px;margin-left:-15px;width:100%;border-bottom:1px solid #c8c7cc;border-top:1px solid #c8c7cc;color:#000}.list-block{margin:35px 0;font-size:17px}.list-block ul{background:#fff;list-style:none;padding:0;margin:0;border-top:1px solid #c8c7cc;border-bottom:1px solid #c8c7cc}.list-block ul ul{border-top:none;border-bottom:none;padding-left:45px}.list-block ul ul li:last-child .item-inner{border-bottom:1px solid #c8c7cc}.list-block .align-top,.list-block .align-top .item-content,.list-block .align-top .item-inner{-webkit-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.list-block.inset{margin-left:15px;margin-right:15px;border-radius:7px}.list-block.inset .content-block-title{margin-left:0;margin-right:0}.list-block.inset ul{border-radius:7px;border-top:none;border-bottom:none}.list-block.inset li:first-child>a{border-radius:7px 7px 0 0}.list-block.inset li:last-child>a{border-radius:0 0 7px 7px}.list-block.inset li:first-child:last-child>a{border-radius:7px}.list-block li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative}.list-block li:last-child .item-inner{border-bottom:1px solid transparent}.list-block .item-media{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;-ms-flex:0 0 auto;flex-shrink:0;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;padding-top:7px;padding-bottom:8px}.list-block .item-media i+i{margin-left:5px}.list-block .item-media i+img{margin-left:5px}.list-block .item-media+.item-inner{margin-left:15px}.list-block .item-inner{padding-right:15px;border-bottom:1px solid #c8c7cc;width:100%;padding-top:8px;padding-bottom:7px;min-height:44px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-flex:1;-ms-flex:1;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.list-block .item-title{font-size:17px;-webkit-flex-shrink:1;-ms-flex:0 1 auto;flex-shrink:1;white-space:nowrap;position:relative;overflow:hidden;text-overflow:ellipsis;max-width:100%}.list-block .item-title.label{width:35%;-webkit-flex-shrink:0;-ms-flex:0 0 auto;flex-shrink:0}.list-block .item-input{width:100%;margin-top:-8px;margin-bottom:-7px;-webkit-box-flex:1;-ms-flex:1;-webkit-flex-shrink:1;-ms-flex:0 1 auto;flex-shrink:1}.list-block .item-after{white-space:nowrap;color:#8e8e93;-webkit-flex-shrink:0;-ms-flex:0 0 auto;flex-shrink:0;margin-left:5px;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;max-height:28px}.list-block .item-link{-webkit-transition-duration:300ms;transition-duration:300ms;display:block;color:inherit}.list-block .item-link .item-inner{padding-right:35px;background:no-repeat -webkit-calc(100% - 15px) center;background:no-repeat -moz-calc(100% - 15px) center;background:no-repeat calc(100% - 15px) center;background-image:url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");background-size:10px 20px}.list-block .item-link:active{-webkit-transition-duration:0ms;transition-duration:0ms;background-color:#d9d9d9}.list-block .item-link:active .item-inner{border-bottom:1px solid transparent}.list-block .item-link.list-button{padding:0 15px;text-align:center;color:#007aff;display:block;border-bottom:1px solid #c8c7cc;line-height:43px}.list-block .item-link.list-button.button-red{color:#fc3e39}.list-block li:last-child .list-button{border-bottom:none}.list-block .item-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding-left:15px;min-height:44px;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.list-block .list-block-label{margin:10px 0 35px;padding:0 15px;font-size:14px;color:#8f8f94}.list-block .swipeout.deleting{overflow:hidden;-webkit-transition-duration:300ms;transition-duration:300ms}.list-block .swipeout.deleting .swipeout-content{-webkit-transform:translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.list-block .swipeout.transitioning .swipeout-content{-webkit-transition-duration:300ms;transition-duration:300ms}.list-block .swipeout-content{position:relative;z-index:10;background:#fff}.list-block .swipeout-actions{border-bottom:1px solid #c8c7cc;position:absolute;z-index:0;right:0;top:0;width:100%;height:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.list-block li:last-child .swipeout-actions{border-bottom:none}.list-block .swipeout-actions-inner{position:absolute;right:0;top:0;height:100%;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.list-block .swipeout-actions-inner a{padding:0 30px;color:#fff;background:#c7c7cc;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.list-block .swipeout-actions-inner a.swipeout-delete{background:#fc3e39}.list-block .item-subtitle{font-size:15px;position:relative;overflow:hidden;white-space:nowrap;max-width:100%;text-overflow:ellipsis}.list-block .item-text{font-size:15px;color:#8e8e93;line-height:21px;position:relative;overflow:hidden;height:42px;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.list-block.media-list .item-title,.list-block li.media-item .item-title{font-weight:500}.list-block.media-list .item-inner,.list-block li.media-item .item-inner{display:block;padding-top:10px;padding-bottom:9px;-ms-flex-item-align:stretch;-webkit-align-self:stretch;align-self:stretch}.list-block.media-list .item-link .item-inner,.list-block li.media-item .item-link .item-inner{background:0 0;padding-right:15px}.list-block.media-list .item-link .item-title-row,.list-block li.media-item .item-link .item-title-row{padding-right:20px;background:no-repeat right center;background-image:url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");background-size:10px 20px}.list-block.media-list .item-media,.list-block li.media-item .item-media{padding-top:9px;padding-bottom:10px}.list-block.media-list .item-media img,.list-block li.media-item .item-media img{display:block}.list-block.media-list .item-title-row,.list-block li.media-item .item-title-row{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.list-block .list-group:nth-child(n+2) ul{border-top:none}.list-block .item-divider,.list-block .list-group-title{background:#f7f7f7;border-top:1px solid #c8c7cc;margin-top:-1px;padding:4px 15px;white-space:nowrap;position:relative;max-width:100%;text-overflow:ellipsis;overflow:hidden;color:#8e8e93}.list-block .list-group-title{position:relative;position:-webkit-sticky;position:-moz-sticky;position:sticky;top:0;z-index:10;margin-top:0;border-top:none}.contacts-content{background:#fff}.contacts-block{margin:0}.contacts-block .list-group-title{padding:0 15px;background:#f7f7f7;color:#000;font-weight:500;line-height:22px;height:22px}.contacts-block .list-group:first-child ul{border-top:none}.contacts-block .list-group:last-child ul{border-bottom:none}.list-block input[type=text],.list-block input[type=password],.list-block input[type=email],.list-block input[type=tel],.list-block input[type=url],.list-block input[type=date],.list-block select,.list-block textarea{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none;background:0 0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;display:block;padding:0 0 0 5px;margin:0;width:100%;height:43px;color:#000;font-size:17px;font-family:inherit}.list-block input[type=date]{line-height:44px}.list-block select{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none}.list-block .lable{vertical-align:top}.list-block textarea{height:100px;resize:none;line-height:1.5;padding-top:10px}.label-switch{display:inline-block;vertical-align:middle;width:52px;border-radius:16px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:32px;position:relative;cursor:pointer;-ms-flex-item-align:center;-webkit-align-self:center;align-self:center}.label-switch input[type=checkbox]{width:52px;border-radius:16px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:32px;background:#e5e5e5;z-index:0;margin:0;padding:0;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:none;cursor:pointer;position:relative;-webkit-transition-duration:300ms;transition-duration:300ms}.label-switch input[type=checkbox]:before{content:' ';position:absolute;left:2px;top:2px;width:48px;border-radius:16px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:28px;background:#fff;z-index:1;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.label-switch input[type=checkbox]:after{content:' ';height:28px;width:28px;border-radius:28px;background:#fff;position:absolute;z-index:2;top:2px;left:2px;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.4);box-shadow:0 2px 5px rgba(0,0,0,.4);-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition-duration:300ms;transition-duration:300ms}.label-switch input[type=checkbox]:checked{background:#4cd964}.label-switch input[type=checkbox]:checked:before{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.label-switch input[type=checkbox]:checked:after{-webkit-transform:translate3d(20px,0,0);-ms-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}.button{border:1px solid #007aff;color:#007aff;text-decoration:none;text-align:center;display:block;border-radius:5px;line-height:27px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 10px;margin:0;height:29px;white-space:nowrap;position:relative;overflow:hidden;text-overflow:ellipsis;font-size:14px;font-family:inherit;cursor:pointer}input[type=submit].button,input[type=button].button{width:100%}.button:active{background:rgba(0,122,255,.15)}.button.button-round{border-radius:27px}.button.active{background:#007aff;color:#fff}.button.button-big{font-size:17px;height:44px;line-height:42px}.button.button-submit,.button.button-cancel{color:#fff}.button.button-submit:active,.button.button-cancel:active{opacity:.6}.button.button-submit{border-color:#4cd964;background:#4cd964}.button.button-cancel{border-color:#ff3b30;background:#ff3b30}.buttons-row{-ms-flex-item-align:center;-webkit-align-self:center;align-self:center;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.buttons-row .button{border-radius:0;border-left-width:0;width:100%;-webkit-box-flex:1;-ms-flex:1}.buttons-row .button:first-child{border-radius:5px 0 0 5px;border-left-width:1px;border-left-style:solid}.buttons-row .button:last-child{border-radius:0 5px 5px 0}.buttons-row .button.button-round:first-child{border-radius:27px 0 0 27px}.buttons-row .button.button-round:last-child{border-radius:0 27px 27px 0}.range-slider{width:100%;position:relative;overflow:hidden;padding-left:3px;padding-right:3px;margin-left:-1px;-ms-flex-item-align:center;-webkit-align-self:center;align-self:center}.range-slider input[type=range]{position:relative;height:28px;width:100%;margin:4px 0 5px;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0,#b7b8b7),color-stop(100%,#b7b8b7));background:linear-gradient(to right,#b7b8b7 0,#b7b8b7 100%);background-position:center;background-size:100% 2px;background-repeat:no-repeat;outline:0}.range-slider input[type=range]:after{height:2px;background:#fff;content:' ';width:5px;top:50%;margin-top:-1px;left:-5px;z-index:1;position:absolute}.range-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:none;height:28px;width:28px;position:relative;background:0 0}.range-slider input[type=range]::-webkit-slider-thumb:after{height:28px;width:28px;border-radius:28px;background:#fff;z-index:10;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.4);box-shadow:0 2px 4px rgba(0,0,0,.4);position:absolute;left:0;top:0;content:' '}.range-slider input[type=range]::-webkit-slider-thumb:before{position:absolute;top:50%;right:100%;width:2000px;height:2px;margin-top:-1px;z-index:1;background:#007aff;content:' '}label.label-checkbox{cursor:pointer}label.label-checkbox i.icon-form-checkbox{width:29px;height:29px;position:relative}label.label-checkbox i.icon-form-checkbox:after{content:' ';position:absolute;left:50%;margin-left:-11px;top:50%;margin-top:-11px;width:22px;height:22px;border-radius:22px;border:1px solid #c7c7cc;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}label.label-checkbox input[type=checkbox],label.label-checkbox input[type=radio]{display:none}label.label-checkbox input[type=checkbox]:checked+.item-media i.icon-form-checkbox:after,label.label-checkbox input[type=radio]:checked+.item-media i.icon-form-checkbox:after{border:none;background:#007aff url(../assets/i-form-checkbox-white.png) no-repeat center;-webkit-background-size:auto 9px;background-size:auto 9px}label.label-radio{cursor:pointer}label.label-radio input[type=checkbox],label.label-radio input[type=radio]{display:none}label.label-radio input[type=checkbox]~.item-inner,label.label-radio input[type=radio]~.item-inner{padding-right:35px}label.label-radio input[type=checkbox]:checked~.item-inner,label.label-radio input[type=radio]:checked~.item-inner{background:url(../assets/i-form-radio-blue.png) no-repeat center;background-position:-webkit-calc(100% - 15px) center;background-position:-moz-calc(100% - 15px) center;background-position:-ms-calc(100% - 15px) center;background-position:calc(100% - 15px) center;-webkit-background-size:auto 10px;background-size:auto 10px}label.label-checkbox,label.label-radio{-webkit-transition-duration:300ms;transition-duration:300ms}label.label-checkbox:active,label.label-radio:active{-webkit-transition-duration:0ms;transition-duration:0ms;background-color:#d9d9d9}label.label-checkbox:active .item-inner,label.label-radio:active .item-inner{border-bottom:1px solid transparent}.smart-select select{display:none}.modal-overlay,.preloader-indicator-overlay{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.4);z-index:10000;visibility:hidden;opacity:0;-webkit-transition-duration:400ms;transition-duration:400ms}.modal-overlay.modal-overlay-visible,.preloader-indicator-overlay.modal-overlay-visible{visibility:visible;opacity:1}.modal{width:270px;position:absolute;z-index:11000;left:50%;margin-left:-135px;margin-top:0;top:50%;text-align:center;border-radius:7px;opacity:0;-webkit-transform:translate3d(0,0,0) scale(1.185);-ms-transform:translate3d(0,0,0) scale(1.185);transform:translate3d(0,0,0) scale(1.185);-webkit-transition-property:-webkit-transform,opacity;-moz-transition-property:-moz-transform,opacity;-ms-transition-property:-ms-transform,opacity;-o-transition-property:-o-transform,opacity;transition-property:transform,opacity}.modal.modal-in{opacity:1;-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,0,0) scale(1);-ms-transform:translate3d(0,0,0) scale(1);transform:translate3d(0,0,0) scale(1)}.modal.modal-out{opacity:0;z-index:10999;-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(0,0,0) scale(0.815);-ms-transform:translate3d(0,0,0) scale(0.815);transform:translate3d(0,0,0) scale(0.815)}.modal-inner{padding:15px;border-bottom:1px solid #b5b5b5;border-radius:7px 7px 0 0;background:#e8e8e8}.modal-title{font-weight:500;font-size:18px;text-align:center}.modal-title+.modal-text{margin-top:5px}.modal-buttons{height:44px;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.modal-button{width:100%;padding:0 5px;height:44px;font-size:17px;line-height:44px;text-align:center;color:#007aff;background:#e8e8e8;display:block;position:relative;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-right:1px solid #b5b5b5;-webkit-box-flex:1;-ms-flex:1}.modal-button:first-child{border-radius:0 0 0 7px}.modal-button:last-child{border-right:none;border-radius:0 0 7px}.modal-button:first-child:last-child{border-radius:0 0 7px 7px}.modal-button.modal-button-bold{font-weight:500}.modal-button:active{background:#d4d4d4}.modal-no-buttons .modal-inner{border-radius:7px;border-bottom:none}.modal-no-buttons .modal-buttons{display:none}.actions-modal{position:absolute;left:0;bottom:0;z-index:11000;width:100%;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.actions-modal.modal-in{-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.actions-modal.modal-out{z-index:10999;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.actions-modal-group{margin:8px}.actions-modal-button,.actions-modal-label{width:100%;text-align:center;font-weight:400;margin:0;background:rgba(243,243,243,.95);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;border-bottom:1px solid #d2d2d6}.actions-modal-button a,.actions-modal-label a{text-decoration:none;color:inherit}.actions-modal-button b,.actions-modal-label b{font-weight:500}.actions-modal-button.actions-modal-button-bold,.actions-modal-label.actions-modal-button-bold{font-weight:500}.actions-modal-button.actions-modal-button-red,.actions-modal-label.actions-modal-button-red{color:#fc3e39}.actions-modal-button:first-child,.actions-modal-label:first-child{border-radius:4px 4px 0 0}.actions-modal-button:last-child,.actions-modal-label:last-child{border:none;border-radius:0 0 4px 4px}.actions-modal-button:first-child:last-child,.actions-modal-label:first-child:last-child{border-radius:4px}.actions-modal-button{cursor:pointer;line-height:43px;font-size:20px;color:#007aff}.actions-modal-button:active{background:#dcdcdc}.actions-modal-label{font-size:13px;line-height:1.3;min-height:44px;padding:8px 10px;color:#8a8a8a;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}input.modal-prompt-input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:30px;background:#fff;margin:0;margin-top:15px;padding:0 5px;border:1px solid #a0a0a0;border-radius:5px;width:100%;font-size:14px;font-family:inherit;display:block;-webkit-box-shadow:0 0 0 rgba(0,0,0,0);box-shadow:0 0 0 rgba(0,0,0,0);-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none}.popover{width:320px;background:rgba(255,255,255,.95);z-index:11000;margin:0;top:0;opacity:0;left:0;border-radius:7px;position:absolute;display:none;-webkit-transform:none;-ms-transform:none;transform:none;-webkit-transition-property:opacity;-moz-transition-property:opacity;-ms-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.popover.modal-in{-webkit-transition-duration:300ms;transition-duration:300ms;opacity:1}.popover-angle{width:26px;height:26px;position:absolute;left:-26px;top:0;z-index:100;overflow:hidden}.popover-angle:after{content:' ';background:rgba(255,255,255,.95);width:26px;height:26px;position:absolute;left:0;top:0;border-radius:3px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.popover-angle.on-left{left:-26px}.popover-angle.on-left:after{left:19px;top:0}.popover-angle.on-right{left:100%}.popover-angle.on-right:after{left:-19px;top:0}.popover-angle.on-top{left:0;top:-26px}.popover-angle.on-top:after{left:0;top:19px}.popover-angle.on-bottom{left:0;top:100%}.popover-angle.on-bottom:after{left:0;top:-19px}.popover-inner{overflow:auto;-webkit-overflow-scrolling:touch}.popover-inner .list-block{margin:0}.popover-inner .list-block ul{border:none;background:0 0}.popover-inner .list-block li:first-child a{border-radius:7px 7px 0 0}.popover-inner .list-block li:last-child a{border-radius:0 0 7px 7px}.popover-inner .list-block li:first-child:last-child a{border-radius:7px}.popup{position:absolute;left:0;top:0;width:100%;height:100%;z-index:11000;background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:none;overflow:auto;-webkit-overflow-scrolling:touch;-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-ms-transition-property:-ms-transform;-o-transition-property:-o-transform;transition-property:transform;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.popup.modal-in,.popup.modal-out{-webkit-transition-duration:400ms;transition-duration:400ms}.popup.modal-in{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.popup.modal-out{-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}@media all and (min-width:630px) and (min-height:630px){.popup{width:630px;height:630px;left:50%;top:50%;margin-left:-315px;margin-top:-315px;-webkit-transform:translate3d(0,1024px,0);-ms-transform:translate3d(0,1024px,0);transform:translate3d(0,1024px,0)}.popup.modal-in{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.popup.modal-out{-webkit-transform:translate3d(0,1024px,0);-ms-transform:translate3d(0,1024px,0);transform:translate3d(0,1024px,0)}}.modal .preloader{width:34px;height:34px}.preloader-indicator-overlay{visibility:visible;opacity:0;background:0 0}.preloader-indicator-modal{position:absolute;left:50%;top:50%;padding:8px;margin-left:-25px;margin-top:-25px;background:rgba(0,0,0,.8);z-index:11000;border-radius:5px}.preloader-indicator-modal .preloader{display:block;width:34px;height:34px}.panel-overlay{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,0);opacity:0;z-index:5999;display:none}.panel{z-index:1000;display:none;background:#111;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:auto;-webkit-overflow-scrolling:touch;position:absolute;width:260px;top:0;height:100%;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transition-duration:400ms;transition-duration:400ms}.panel.panel-left.panel-cover{z-index:6000;left:-260px}.panel.panel-left.panel-reveal{left:0}.panel.panel-right.panel-cover{z-index:6000;right:-260px}.panel.panel-right.panel-reveal{right:0}body.with-panel-left-cover .views,body.with-panel-right-cover .views{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}body.with-panel-left-cover .panel-overlay,body.with-panel-right-cover .panel-overlay{display:block}body.with-panel-left-reveal .views,body.with-panel-right-reveal .views{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;transition-property:transform}body.with-panel-left-reveal .panel-overlay,body.with-panel-right-reveal .panel-overlay{display:block}body.with-panel-left-reveal .views{-webkit-transform:translate3d(260px,0,0);-ms-transform:translate3d(260px,0,0);transform:translate3d(260px,0,0)}body.with-panel-left-reveal .panel-overlay{margin-left:260px}body.with-panel-left-cover .panel-left{-webkit-transform:translate3d(260px,0,0);-ms-transform:translate3d(260px,0,0);transform:translate3d(260px,0,0)}body.with-panel-right-reveal .views{-webkit-transform:translate3d(-260px,0,0);-ms-transform:translate3d(-260px,0,0);transform:translate3d(-260px,0,0)}body.with-panel-right-reveal .panel-overlay{margin-left:-260px}body.with-panel-right-cover .panel-right{-webkit-transform:translate3d(-260px,0,0);-ms-transform:translate3d(-260px,0,0);transform:translate3d(-260px,0,0)}body.panel-closing .views{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;transition-property:transform}.tabs .tab{display:none}.tabs .tab.active{display:block}.messages-content{background:#fff}.messages{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.messages-date{text-align:center;font-weight:500;font-size:11px;line-height:1;margin:10px 15px;color:#8e8e93}.messages-date span{font-weight:400}.message{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:17px;line-height:1.2;margin:1px 10px 0;padding:6px 16px 9px;min-width:48px;min-height:35px;max-width:60%;border-radius:16px}.message.message-pic{padding:0;background:0 0}.message.message-pic img{display:block;height:auto;max-width:100%;border-radius:16px}.message-sent{padding-right:22px;-ms-flex-item-align:end;-webkit-align-self:flex-end;align-self:flex-end;background-color:#00d449;color:#fff;margin-left:auto;-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m84 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/></svg>") 49.5% 55.75% 49.5% 43.25%}.message-sent.message-last{border-radius:16px 16px 0;margin-bottom:8px;-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m84 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/><path d='m96 70c-6-2-12-10-12-19v-16l-14 27s8 8 26 8z'/></svg>") 49.5% 55.75% 49.5% 43.25%}.message-sent.message-last.message-pic img{border-radius:16px 16px 0}.message-received{padding-left:22px;-ms-flex-item-align:start;-webkit-align-self:flex-start;align-self:flex-start;background-color:#e5e5ea;color:#000;-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m96 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/></svg>") 49.5% 43.25% 49.5% 55.75%}.message-received.message-last{margin-bottom:8px;border-radius:16px 16px 16px 0;-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,<svg height='35' viewBox='0 0 96 70' width='48' xmlns='http://www.w3.org/2000/svg'><path d='m96 35c1 7-5 37-42 35-37 2-43-28-42-35-1-7 5-37 42-35 37-2 43 28 42 35z'/><path d='m0 70c6-2 12-10 12-19v-16l14 27s-8 8-26 8z'/></svg>") 49.5% 43.25% 49.5% 55.75%}.message-received.message-last.message-pic img{border-radius:16px 16px 16px 0}.message-appear{-webkit-animation:messageAppear 400ms;animation:messageAppear 400ms}html.ios-6 .message,html.ios-6 .message.message-pic img{-webkit-mask-box-image:none;border-radius:16px}@-webkit-keyframes messageAppear{from{-webkit-transform:translate3d(0,100%,0)}to{-webkit-transform:translate3d(0,0,0)}}@keyframes messageAppear{from{transform:translate3d(0,100%,0)}to{transform:translate3d(0,0,0)}}html.with-statusbar-overlay body{padding-top:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html.with-statusbar-overlay body .statusbar-overlay{display:block}html.with-statusbar-overlay body .panel{padding-top:20px}.statusbar-overlay{background:#f7f7f8;z-index:9999;position:absolute;left:0;top:0;height:20px;width:100%;display:none;-webkit-transition-duration:400ms;transition-duration:400ms}.preloader{display:inline-block;width:20px;height:20px;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:spin 1s step-end infinite;animation:spin 1s step-end infinite}.preloader:after{display:block;content:"";width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><defs><line id='l' x1='60' x2='60' y1='7' y2='27' stroke='%236c6c6c' stroke-width='11' stroke-linecap='round'/></defs><g><use xlink:href='%23l' opacity='.27'/><use xlink:href='%23l' opacity='.27' transform='rotate(30 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(60 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(90 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(120 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(150 60,60)'/><use xlink:href='%23l' opacity='.37' transform='rotate(180 60,60)'/><use xlink:href='%23l' opacity='.46' transform='rotate(210 60,60)'/><use xlink:href='%23l' opacity='.56' transform='rotate(240 60,60)'/><use xlink:href='%23l' opacity='.66' transform='rotate(270 60,60)'/><use xlink:href='%23l' opacity='.75' transform='rotate(300 60,60)'/><use xlink:href='%23l' opacity='.85' transform='rotate(330 60,60)'/></g></svg>");background-position:50%;background-size:100%;background-repeat:no-repeat}.preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><defs><line id='l' x1='60' x2='60' y1='7' y2='27' stroke='%23fff' stroke-width='11' stroke-linecap='round'/></defs><g><use xlink:href='%23l' opacity='.27'/><use xlink:href='%23l' opacity='.27' transform='rotate(30 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(60 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(90 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(120 60,60)'/><use xlink:href='%23l' opacity='.27' transform='rotate(150 60,60)'/><use xlink:href='%23l' opacity='.37' transform='rotate(180 60,60)'/><use xlink:href='%23l' opacity='.46' transform='rotate(210 60,60)'/><use xlink:href='%23l' opacity='.56' transform='rotate(240 60,60)'/><use xlink:href='%23l' opacity='.66' transform='rotate(270 60,60)'/><use xlink:href='%23l' opacity='.75' transform='rotate(300 60,60)'/><use xlink:href='%23l' opacity='.85' transform='rotate(330 60,60)'/></g></svg>")}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}8.33333333%{-webkit-transform:rotate(30deg)}16.66666667%{-webkit-transform:rotate(60deg)}25%{-webkit-transform:rotate(90deg)}33.33333333%{-webkit-transform:rotate(120deg)}41.66666667%{-webkit-transform:rotate(150deg)}50%{-webkit-transform:rotate(180deg)}58.33333333%{-webkit-transform:rotate(210deg)}66.66666667%{-webkit-transform:rotate(240deg)}75%{-webkit-transform:rotate(270deg)}83.33333333%{-webkit-transform:rotate(300deg)}91.66666667%{-webkit-transform:rotate(330deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}8.33333333%{transform:rotate(30deg)}16.66666667%{transform:rotate(60deg)}25%{transform:rotate(90deg)}33.33333333%{transform:rotate(120deg)}41.66666667%{transform:rotate(150deg)}50%{transform:rotate(180deg)}58.33333333%{transform:rotate(210deg)}66.66666667%{transform:rotate(240deg)}75%{transform:rotate(270deg)}83.33333333%{transform:rotate(300deg)}91.66666667%{transform:rotate(330deg)}100%{transform:rotate(360deg)}}.pull-to-refresh-layer{position:absolute;position:relative;margin-top:-44px;left:0;top:0;width:100%;height:44px}.pull-to-refresh-layer .preloader{position:absolute;left:50%;top:50%;margin-left:-10px;margin-top:-10px;visibility:hidden}.pull-to-refresh-layer .pull-to-refresh-arrow{width:13px;height:20px;position:absolute;left:50%;top:50%;margin-left:-6px;margin-top:-10px;background:no-repeat center;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 40'><polygon points='9,22 9,0 17,0 17,22 26,22 13.5,40 0,22' fill='%238c8c8c'/></svg>");background-size:13px 20px;z-index:10;-webkit-transform:rotate(0deg) translate3d(0,0,0);-ms-transform:rotate(0deg) translate3d(0,0,0);transform:rotate(0deg) translate3d(0,0,0);-webkit-transition-duration:300ms;transition-duration:300ms}.pull-to-refresh-content.transitioning{-webkit-transition-duration:400ms;transition-duration:400ms}.pull-to-refresh-content.refreshing{-webkit-transform:translate3d(0,44px,0);-ms-transform:translate3d(0,44px,0);transform:translate3d(0,44px,0)}.pull-to-refresh-content.refreshing .pull-to-refresh-arrow{visibility:hidden;-webkit-transition-duration:0ms;transition-duration:0ms}.pull-to-refresh-content.refreshing .preloader{visibility:visible}.pull-to-refresh-content.pull-up .pull-to-refresh-arrow{-webkit-transform:rotate(180deg) translate3d(0,0,0);-ms-transform:rotate(180deg) translate3d(0,0,0);transform:rotate(180deg) translate3d(0,0,0)}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: framework7-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Terry Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
description: Adds support for Framework7 to the Asset Pipeline.
|
56
70
|
email:
|
57
71
|
- terry.wilson@twss.co.uk
|
@@ -64,9 +78,13 @@ files:
|
|
64
78
|
- LICENSE.txt
|
65
79
|
- README.md
|
66
80
|
- Rakefile
|
81
|
+
- app/helpers/app_helper.rb
|
67
82
|
- framework7-rails.gemspec
|
68
83
|
- lib/framework7/rails.rb
|
69
84
|
- lib/framework7/rails/version.rb
|
85
|
+
- lib/generators/f7/install/install_generator.rb
|
86
|
+
- lib/generators/f7/install/templates/application.css
|
87
|
+
- lib/generators/f7/install/templates/application.js
|
70
88
|
- lib/generators/f7/layout/layout_generator.rb
|
71
89
|
- lib/generators/f7/layout/templates/app.js.coffee.erb
|
72
90
|
- lib/generators/f7/layout/templates/layout.html.erb
|