(window.webpackJsonp=window.webpackJsonp||[]).push([[90],{SqZu:function(t,e,n){"use strict";n("fIty")},"T+Ki":function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-app-bar",{ref:"appBar",attrs:{app:"",dense:"","elevate-on-scroll":"",color:t.background}},[n("div",{staticClass:"d-flex w-100 align-center"},[n("v-icon",{staticClass:"mr-3",on:{click:function(e){e.stopPropagation(),t.navigationOn=!t.navigationOn}}},[t._v("\n      "+t._s(t.navigationOn?"fullscreen":"menu")+"\n    ")]),t._v(" "),n("v-toolbar-title",{staticClass:"flex-grow-1",attrs:{id:"bar-title"}},[t._v("Adonis Webapp")]),t._v(" "),n("webapp-quick-action",{attrs:{items:t.quickActions}}),t._v(" "),n("webapp-context-user",{attrs:{elevation:t.backgrounds.indexOf(t.background)}})],1)])};o._withStripped=!0;n("pNMO"),n("4Brf"),n("0oug"),n("4mDm"),n("uL8W"),n("eoL8"),n("5DmW"),n("NBAS"),n("ExoC"),n("07d7"),n("5s+n"),n("SuFq"),n("PKPk"),n("3bBZ");var r=n("Avq9"),c=n("G0B5");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function u(t,e,n){return e=l(e),function(t,e){if(e&&("object"===s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){return!1}}()?Reflect.construct(e,n||[],l(t).constructor):e.apply(t,n))}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var p=function(t,e,n,o){var r,c=arguments.length,i=c<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"===("undefined"==typeof Reflect?"undefined":s(Reflect))&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(i=(c<3?r(i):c>3?r(e,n,i):r(e,n))||i);return c>3&&i&&Object.defineProperty(e,n,i),i},d=function(t){function e(){var t;return i(this,e),(t=u(this,e,arguments)).backgrounds=[r.d,"transparent"],t.background=t.backgrounds[1],t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(e,t),n=e,(o=[{key:"quickActions",get:function(){return this.$store.getters["navigation/getQuickActions"]}},{key:"mounted",value:function(){window.addEventListener("scroll",this.changeColor)}},{key:"destroyed",value:function(){window.removeEventListener("scroll",this.changeColor)}},{key:"updatePosition",value:function(){var t=this;this.$nextTick((function(){var e=t.$refs.appBar.$el,n=t.navigationOn?t.left:0;e.style.left="".concat(n,"px")}))}},{key:"changeColor",value:function(){document.body.scrollTop>10||document.documentElement.scrollTop>10?this.background=this.backgrounds[0]:this.background=this.backgrounds[1]}}])&&a(n.prototype,o),c&&a(n,c),n;var n,o,c}(c.g);p([Object(c.e)("showNavigation",{default:!0})],d.prototype,"navigationOn",void 0),p([Object(c.d)({default:250})],d.prototype,"left",void 0),p([Object(c.h)("left"),Object(c.h)("navigationOn")],d.prototype,"updatePosition",null);var b=d=p([Object(c.a)({components:{"webapp-context-user":function(){return n.e(93).then(n.bind(null,"FL2T"))},"webapp-quick-action":function(){return n.e(91).then(n.bind(null,"Mgu1"))}}})],d),y=(n("SqZu"),n("KHd+")),v=n("ZUTo"),g=n.n(v),h=n("QNyc"),w=n("Ey0z"),O=n("Kn9U"),m=Object(y.a)(b,o,[],!1,null,"1a542000",null);g()(m,{VAppBar:h.a,VIcon:w.a,VToolbarTitle:O.a}),m.options.__file="assets/webapp/components/navigation/app-bar/AdoAppBar.vue";e.default=m.exports},fIty:function(t,e,n){}}]);