12 |
- (function(e){function n(n){for(var i,r,s=n[0],c=n[1],d=n[2],u=0,f=[];u<s.length;u++)r=s[u],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&f.push(a[r][0]),a[r]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);l&&l(n);while(f.length)f.shift()();return o.push.apply(o,d||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],i=!0,s=1;s<t.length;s++){var c=t[s];0!==a[c]&&(i=!1)}i&&(o.splice(n--,1),e=r(r.s=t[0]))}return e}var i={},a={app:0},o=[];function r(n){if(i[n])return i[n].exports;var t=i[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=e,r.c=i,r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)r.d(t,i,function(n){return e[n]}.bind(null,i));return t},r.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],c=s.push.bind(s);s.push=n,s=s.slice();for(var d=0;d<s.length;d++)n(s[d]);var l=c;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"00b3":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-plugin-add-local"},[t("FolderExplorer"),t("div",{staticClass:"actions-bar center"},[t("VueButton",{staticClass:"big primary",attrs:{"icon-left":"add",label:e.$t("org.vue.views.project-plugin-add-local.buttons.add")},on:{click:function(n){return e.addPlugin()}}})],1)],1)},a=[],o=(t("192a"),t("f8eb")),r=t("77cb"),s=t.n(r),c={methods:{addPlugin:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:s.a});case 2:e.$emit("installed");case 3:case"end":return n.stop()}}),n)})))()}}},d=c,l=(t("8ca9"),t("b41a")),u=Object(l["a"])(d,i,a,!1,null,"eadd60ec",null);n["default"]=u.exports},"01c2":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"project-dependencies page"},[i("ContentView",{staticClass:"limit-width list",attrs:{title:e.$t("org.vue.views.project-dependencies.title")}},[i("template",{slot:"actions"},[i("VueInput",{staticClass:"round",attrs:{"icon-left":"search"},model:{value:e.search,callback:function(n){e.search=n},expression:"search"}}),i("VueButton",{staticClass:"primary round",attrs:{"icon-left":"add",label:e.$t("org.vue.views.project-dependencies.actions.install")},on:{click:function(n){e.showInstallModal=!0}}}),i("VueDropdown",[i("VueButton",{staticClass:"icon-button flat round",attrs:{slot:"trigger","icon-left":"more_vert"},slot:"trigger"}),i("VueDropdownButton",{attrs:{"icon-left":"file_download",label:e.$t("org.vue.views.project-dependencies.actions.update-all")},on:{click:function(n){return e.updateAll()}}})],1)],1),i("ApolloQuery",{attrs:{query:t("e648")},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result,a=t.data,o=t.loading;return[!o||a&&a.dependencies?a&&a.dependencies?i("ListFilter",{attrs:{list:a.dependencies,filter:function(n){return!e.search||n.id.includes(e.search)}},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.list;return e._l(["dependencies","devDependencies"],(function(n){return i("ListFilter",{key:n,attrs:{list:t,filter:function(e){return e.type===n}},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.list;return a.length?[i("div",{staticClass:"cta-text"},[e._v(e._s(e.$t("org.vue.views.project-dependencies.heading."+n)))]),i("ListSort",{attrs:{list:a,compare:function(e,n){return e.id.localeCompare(n.id)}},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.list;return e._l(t,(function(n){return i("ProjectDependencyItem",{key:n.id,attrs:{dependency:n},on:{uninstall:function(t){return e.openConfirmUninstall(n.id)}}})}))}}],null,!0)})]:void 0}}],null,!0)})}))}}],null,!0)}):e._e():i("VueLoadingIndicator",{staticClass:"overlay"})]}}])})],2),e.showInstallModal?i("VueModal",{staticClass:"install-modal",attrs:{title:e.$t("org.vue.views.project-dependencies.install.title")},on:{close:function(n){e.showInstallModal=!1}}},[i("div",{staticClass:"default-body"},[i("div",{staticClass:"install-options"},[i("VueGroup",{staticClass:"inline",model:{value:e.installType,callback:function(n){e.installType=n},expression:"installType"}},e._l(["dependencies","devDependencies"],(function(n){return i("VueGroupButton",{key:n,attrs:{value:n}},[e._v(" "+e._s(e.$t("org.vue.views.project-dependencies.heading."+n))+" ")])})),1)],1),i("NpmPackageSearch",{staticClass:"package-search",attrs:{filters:"NOT computedKeywords:vue-cli-plugin"},on:{close:function(n){e.showInstallModal=!1},install:e.installPlugin}})],1)]):e._e(),e.showUninstallModal?i("VueModal",{staticClass:"small",attrs:{title:e.$t("org.vue.views.project-dependencies.uninstall.title")},on:{close:function(n){e.showUninstallModal=!1}}},[i("div",{staticClass:"default-body"},[e._v(" "+e._s(e.$t("org.vue.views.project-dependencies.uninstall.body",{id:e.selectedId}))+" ")]),i("div",{staticClass:"actions end",attrs:{slot:"footer"},slot:"footer"},[i("VueButton",{staticClass:"flat",attrs:{label:e.$t("org.vue.views.project-dependencies.uninstall.cancel")},on:{click:function(n){e.showUninstallModal=!1}}}),i("VueButton",{staticClass:"danger",attrs:{label:e.$t("org.vue.views.project-dependencies.uninstall.uninstall",{id:e.selectedId}),"icon-left":"delete_forever"},on:{click:function(n){return e.uninstallPlugin(e.selectedId)}}})],1)]):e._e(),i("ProgressScreen",{attrs:{"progress-id":"dependency-installation"}})],1)},a=[],o=(t("f54f"),t("f299"),t("e2a9"),t("8e77"),t("a394")),r=(t("192a"),t("f8eb")),s=t("e648"),c=t.n(s),d=t("3be1"),l=t.n(d),u=t("3212"),f=t.n(u),m=t("775b"),v=t.n(m),p={data:function(){return{showInstallModal:!1,installType:"dependencies",selectedId:null,showUninstallModal:!1,search:""}},methods:{updateAll:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:v.a});case 2:case"end":return n.stop()}}),n)})))()},installPlugin:function(e){var n=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$apollo.mutate({mutation:l.a,variables:{input:{id:e,type:n.installType}},update:function(e,n){var t=n.data.dependencyInstall,i=e.readQuery({query:c.a});i={dependencies:[].concat(Object(o["a"])(i.dependencies),[t])},e.writeQuery({query:c.a,data:i})}});case 2:n.showInstallModal=!1;case 3:case"end":return t.stop()}}),t)})))()},openConfirmUninstall:function(e){this.selectedId=e,this.showUninstallModal=!0},uninstallPlugin:function(e){var n=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n.showUninstallModal=!1,t.next=3,n.$apollo.mutate({mutation:f.a,variables:{input:{id:e}},update:function(e,n){var t=n.data.dependencyUninstall,i=e.readQuery({query:c.a}),a=i.dependencies.findIndex((function(e){return e.id===t.id}));-1!==a&&(i={dependencies:i.dependencies.slice()},i.dependencies.splice(a,1),e.writeQuery({query:c.a,data:i}))}});case 3:case"end":return t.stop()}}),t)})))()}}},g=p,k=(t("962a"),t("b41a")),h=Object(k["a"])(g,i,a,!1,null,"40a4792a",null);n["default"]=h.exports},"0330":function(e,n,t){"use strict";var i=t("cf35"),a=t.n(i);a.a},"0357":function(e,n,t){"use strict";var i=t("e735"),a=t.n(i);a.a},"0390":function(e,n,t){"use strict";var i=t("4bb0"),a=t.n(i);a.a},"0395":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-nav-button"},[t("v-popover",{attrs:{trigger:"hover","handle-resize":"","popover-class":"force-tooltip",placement:"right",offset:"4",delay:{show:300,hide:0}}},[t("VueGroupButton",{staticClass:"flat big",class:{"icon-button":!e.$responsive.wide,"has-image-icon":e.imageIcon,"default-plugin-icon":e.defaultPluginIcon},attrs:{value:e.view.name,"icon-left":e.imageIcon?null:e.view.icon}},[e.imageIcon?t("img",{staticClass:"image-icon",attrs:{src:e.icon}}):e._e(),e.$responsive.wide?t("span",{staticClass:"label"},[e._v(e._s(e.$t(e.view.tooltip)))]):e._e()]),t("template",{slot:"popover"},[t("div",{staticClass:"title"},[e._v(e._s(e.$t(e.view.tooltip)))]),e.badges?t("div",{staticClass:"badges"},e._l(e.badges,(function(e){return t("ViewBadge",{key:e.id,attrs:{badge:e}})})),1):e._e()])],2),e.firstNotHiddenBadge?t("div",{staticClass:"bullet",class:["type-"+e.firstNotHiddenBadge.type]}):e._e()],1)},a=[],o=(t("b771"),t("14cc"),t("e2a9"),t("4227"),t("978e")),r={props:{view:{type:Object,required:!0}},computed:{badges:function(){if(this.view.badges&&this.view.badges.length)return this.view.badges.slice().sort((function(e,n){return n.priority-e.priority}))},firstNotHiddenBadge:function(){return this.badges&&this.badges.find((function(e){return!e.hidden}))},imageIcon:function(){return this.view.icon&&this.view.icon.includes("/")},icon:function(){return Object(o["a"])(this.view.icon)},defaultPluginIcon:function(){return this.imageIcon&&this.view.icon.includes("/_plugin-logo/")}}},s=r,c=(t("786d"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,"27979e8c",null);n["default"]=d.exports},"0417":function(e,n,t){"use strict";var i=t("5725"),a=t.n(i);a.a},"057a":function(e,n,t){},"0674":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"projectInitCreation"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectInitCreation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"projectCreation"},directives:[]}]}}]}}],loc:{start:0,end:125}};i.loc.source={body:'#import "./projectCreationFragment.gql"\n\nmutation projectInitCreation {\n projectInitCreation {\n ...projectCreation\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("1440").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["projectInitCreation"]=d(i,"projectInitCreation")},"07a7":function(e,n,t){"use strict";var i=t("53af"),a=t.n(i);a.a},"07cd":function(e,n,t){"use strict";var i=t("d9bf"),a=t.n(i);a.a},"0889":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"taskRun"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taskRun"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"task"},directives:[]}]}}]}}],loc:{start:0,end:100}};i.loc.source={body:'#import "./taskFragment.gql"\n\nmutation taskRun ($id: ID!) {\n taskRun (id: $id) {\n ...task\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("3e5e").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["taskRun"]=d(i,"taskRun")},"08df":function(e,n,t){"use strict";var i=t("4fe9"),a=t.n(i);a.a},"0931":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"widget-add-pane"},[i("div",{staticClass:"pane-toolbar"},[i("VueIcon",{attrs:{icon:"library_add"}}),i("div",{staticClass:"title"},[e._v(" "+e._s(e.$t("org.vue.components.widget-add-pane.title"))+" ")]),i("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.common.close"),expression:"$t('org.vue.common.close')"}],staticClass:"icon-button flat",attrs:{"icon-left":"close"},on:{click:function(n){return e.close()}}})],1),i("div",{staticClass:"toolbar"},[i("VueInput",{staticClass:"round search-input",attrs:{"icon-left":"search"},model:{value:e.search,callback:function(n){e.search=n},expression:"search"}})],1),i("ApolloQuery",{staticClass:"widgets",attrs:{query:t("3dea")},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result,a=t.data,o=t.loading;return[!o||a&&a.widgets?a?e._l(a.widgetDefinitions.filter(e.filterDefinition),(function(n){return n.canAddMore?i("WidgetAddItem",{key:n.id,attrs:{definition:n}}):e._e()})):e._e():i("VueLoadingIndicator",{staticClass:"overlay"})]}}])})],1)},a=[],o=(t("bdaf"),t("cf82"),t("020e"),t("21db"),t("1b33"),t("97d0"),t("4b6e"),t("4d9a"),{data:function(){return{search:""}},methods:{close:function(){this.$emit("close")},filterDefinition:function(e){if(!this.search)return!0;var n=new RegExp(this.search.replace(/\s+/g,"|"),"i");return e.title.match(n)||e.description&&e.description.match(n)||e.longDescription&&e.longDescription.match(n)}}}),r=o,s=(t("09f3"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"6bd80f9c",null);n["default"]=c.exports},"0948":function(e,n,t){},"09a4":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"widgetMove"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"WidgetMoveInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"widgetMove"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"widget"},directives:[]}]}}]}}],loc:{start:0,end:132}};i.loc.source={body:'#import "./widgetFragment.gql"\n\nmutation widgetMove ($input: WidgetMoveInput!) {\n widgetMove (input: $input) {\n ...widget\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("fd9b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["widgetMove"]=d(i,"widgetMove")},"09ce":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("transition",{attrs:{name:"vue-ui-fade"}},[e.progress?t("div",{staticClass:"loading-screen",class:{loading:e.loading}},[t("VueLoadingIndicator",{staticClass:"primary big overlay fixed"},[t("div",{staticClass:"content"},[e.progress.error?t("div",{staticClass:"error"},[t("VueIcon",{staticClass:"huge",attrs:{icon:"error"}}),t("div",[e._v(e._s(e.progress.error))]),t("div",{staticClass:"actions"},[t("VueButton",{attrs:{"icon-left":"close",label:e.$t("org.vue.components.progress-screen.close")},on:{click:function(n){return e.close()}}})],1)],1):[e.statusMessage?t("div",{staticClass:"status"},[e._v(" "+e._s(e.statusMessage)+" ")]):e._e(),t("div",{staticClass:"secondary-info"},[e.progress.info?t("div",{staticClass:"info",domProps:{innerHTML:e._s(e.ansiColors(e.progress.info))}}):e._e(),-1!==e.progress.progress?t("VueLoadingBar",{attrs:{value:e.progress.progress}}):e._e(),e.debug?t("div",{staticClass:"debug"},[t("pre",[e._v(e._s(e.debug))])]):e._e()],1)]],2)])],1):e._e()])},a=[],o=t("8774"),r=t("493a"),s=t.n(r),c=t("ad03"),d=t.n(c),l=t("fefa"),u=t.n(l),f={props:{progressId:{type:String,required:!0}},data:function(){return{progress:null}},apollo:{progress:{query:s.a,variables:function(){return{id:this.progressId}},fetchPolicy:"network-only",subscribeToMore:[{document:d.a,variables:function(){return{id:this.progressId}},updateQuery:function(e,n){var t=n.subscriptionData;return{progress:t.data.progressChanged}}},{document:u.a,variables:function(){return{id:this.progressId}},updateQuery:function(){return{progress:null}}}]}},computed:{loading:function(){return this.progress&&!this.progress.error},statusMessage:function(){if(!this.progress)return null;var e,n=this.progress.status;if(n){var t={};if(this.progress.args)for(var i=0,a=this.progress.args.length;i<a;i++)t["arg".concat(i)]=this.progress.args[i];var o="org.vue.mixins.progress.".concat(n);e=this.$t(o,t),e=e!==o&&e,e||(e=this.$t(n,t),e=e!==n&&e)}return e||n||""}}},m={mixins:[o["a"],f],props:{debug:String},methods:{close:function(){this.progress=null}}},v=m,p=(t("fba4"),t("b41a")),g=Object(p["a"])(v,i,a,!1,null,"3ba26ff4",null);n["default"]=g.exports},"09f3":function(e,n,t){"use strict";var i=t("6e45"),a=t.n(i);a.a},"0a72":function(e,n,t){},"0be2":function(e,n,t){},"0d88":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"a",(function(){return s}));t("bc7a"),t("4bab"),t("f108"),t("043e"),t("21db"),t("4b6e");var i=t("bcad"),a=/\/?$/;function o(e,n){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return!!n&&(e.path&&n.path?e.path.replace(a,"")===n.path.replace(a,"")&&e.hash===n.hash&&(!t||r(e.query,n.query)):!(!e.name||!n.name)&&(e.name===n.name&&e.hash===n.hash&&r(e.params,n.params)&&(!t||r(e.query,n.query))))}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||!n)return e===n;var t=Object.keys(e),a=Object.keys(n);return t.length===a.length&&t.every((function(t){var a=e[t],o=n[t];return"object"===Object(i["a"])(a)&&"object"===Object(i["a"])(o)?r(a,o):String(a)===String(o)}))}function s(e,n){return 0===e.path.replace(a,"/").indexOf(n.path.replace(a,"/"))&&(!n.hash||e.hash===n.hash)&&c(e.query,n.query)}function c(e,n){for(var t in n)if(!(t in e))return!1;return!0}},"0d8e":function(e,n,t){"use strict";var i=t("aa61"),a=t.n(i);a.a},"0fef":function(e,n,t){},"10d9":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-quick-dropdown"},[e.$responsive.wide?t("VueDropdown",{staticClass:"current-project",attrs:{label:e.projectCurrent?e.projectCurrent.name:e.$t("org.vue.components.status-bar.project.empty"),"icon-right":"arrow_drop_down","button-class":"round"}},[e.projectCurrent?[t("VueSwitch",{staticClass:"extend-left",attrs:{value:e.projectCurrent.favorite,icon:e.projectCurrent.favorite?"star":"star_border"},on:{update:function(n){return e.toggleCurrentFavorite()}}},[e._v(" "+e._s(e.$t("org.vue.components.project-select-list-item.tooltips.favorite"))+" ")]),t("VueDropdownButton",{attrs:{label:e.$t("org.vue.components.project-select-list-item.tooltips.open-in-editor"),"icon-left":"open_in_browser"},on:{click:function(n){return e.openInEditor(e.projectCurrent)}}}),t("VueDropdownButton",{attrs:{label:e.$t("org.vue.components.project-rename.title"),"icon-left":"edit"},on:{click:function(n){e.showRename=!0}}}),e.projectCurrent.homepage?t("VueDropdownButton",{attrs:{href:e.projectCurrent.homepage,label:e.$t("org.vue.components.top-bar.homepage"),target:"_blank","icon-left":"open_in_new"}}):e._e()]:e._e(),t("div",{staticClass:"dropdown-separator"}),e.favoriteProjects.length?[t("div",{staticClass:"section-title"},[e._v(" "+e._s(e.$t("org.vue.components.top-bar.favorite-projects"))+" ")]),e._l(e.favoriteProjects,(function(n){return t("VueDropdownButton",{key:n.id,attrs:{label:n.name,"icon-left":"star"},on:{click:function(t){return e.openProject(n)}}})}))]:t("div",{staticClass:"vue-ui-empty"},[e._v(e._s(e.$t("org.vue.components.top-bar.no-favorites")))]),e.recentProjects.length?[t("div",{staticClass:"dropdown-separator"}),t("div",{staticClass:"section-title"},[e._v(" "+e._s(e.$t("org.vue.components.top-bar.recent-projects"))+" ")]),e._l(e.recentProjects,(function(n){return t("VueDropdownButton",{key:n.id,attrs:{label:n.name,"icon-left":"restore"},on:{click:function(t){return e.openProject(n)}}})}))]:e._e(),t("div",{staticClass:"dropdown-separator"}),t("VueDropdownButton",{attrs:{to:{name:"project-select"},label:e.$t("org.vue.views.project-select.title"),"icon-left":"home"}})],2):e._e(),e.showRename?t("ProjectRename",{attrs:{project:e.projectCurrent},on:{close:function(n){e.showRename=!1}}}):e._e()],1)},a=[],o=(t("90ee"),t("e2a9"),t("192a"),t("f8eb")),r=t("ca94"),s=t("4892"),c=t.n(s),d=t("8f87"),l=t.n(d),u=t("93cc"),f=t.n(u),m=t("e63f"),v=t.n(m),p=t("8468"),g=t.n(p),k=t("3526"),h={components:{ProjectRename:k["default"]},apollo:{projectCurrent:c.a,projects:l.a},data:function(){return{showRename:!1}},computed:{favoriteProjects:function(){var e=this;return this.projects?this.projects.filter((function(n){return n.favorite&&(!e.projectCurrent||e.projectCurrent.id!==n.id)})):[]},recentProjects:function(){var e=this;return this.projects?this.projects.filter((function(n){return!n.favorite&&(!e.projectCurrent||e.projectCurrent.id!==n.id)})).sort((function(e,n){return n.openDate-e.openDate})).slice(0,3):[]}},methods:{openProject:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n.$bus("quickOpenProject",e),t.next=3,n.$apollo.mutate({mutation:f.a,variables:{id:e.id}});case 3:return t.next=5,Object(r["c"])();case 5:case"end":return t.stop()}}),t)})))()},toggleCurrentFavorite:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.projectCurrent){n.next=3;break}return n.next=3,e.$apollo.mutate({mutation:v.a,variables:{id:e.projectCurrent.id,favorite:e.projectCurrent.favorite?0:1}});case 3:case"end":return n.stop()}}),n)})))()},openInEditor:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$apollo.mutate({mutation:g.a,variables:{input:{file:e.path}}});case 2:case"end":return t.stop()}}),t)})))()}}},b=h,w=(t("b4fd"),t("b41a")),S=Object(w["a"])(b,i,a,!1,null,"46e8ea3e",null);n["default"]=S.exports},1349:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"sharedData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sharedData"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"sharedData"},directives:[]}]}}]}}],loc:{start:0,end:155}};i.loc.source={body:'#import "./sharedDataFragment.gql"\n\nquery sharedData ($id: ID!, $projectId: ID!) {\n sharedData (id: $id, projectId: $projectId) {\n ...sharedData\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("5a65b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["sharedData"]=d(i,"sharedData")},"136b":function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"connected"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"connected"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}]}]}}],loc:{start:0,end:40}};t.loc.source={body:"query connected {\n connected @client\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["connected"]=r(t,"connected")},"13a8":function(e,n,t){},1440:function(e,n,t){var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"projectCreation"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ProjectCreation"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"presets"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"preset"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"features"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"feature"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"prompts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"prompt"},directives:[]}]}}]}}],loc:{start:0,end:260}};i.loc.source={body:'#import "../preset/presetFragment.gql"\n#import "../feature/featureFragment.gql"\n#import "../prompt/promptFragment.gql"\n\nfragment projectCreation on ProjectCreation {\n presets {\n ...preset\n }\n features {\n ...feature\n }\n prompts {\n ...prompt\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}i.definitions=i.definitions.concat(o(t("3f4c").definitions)),i.definitions=i.definitions.concat(o(t("f1cc").definitions)),i.definitions=i.definitions.concat(o(t("1856").definitions)),e.exports=i},1451:function(e,n,t){"use strict";var i=t("4903"),a=t.n(i);a.a},"148b":function(e,n,t){},"17ec":function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"viewOpen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewOpen"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[]}]}}],loc:{start:0,end:54}};t.loc.source={body:"mutation viewOpen ($id: ID!) {\n viewOpen (id: $id)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["viewOpen"]=r(t,"viewOpen")},1841:function(e,n,t){},"184b":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"pluginActionCalled"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginActionCalled"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pluginActionCall"},directives:[]}]}}]}}],loc:{start:0,end:129}};i.loc.source={body:'#import "./pluginActionCallFragment.gql"\n\nsubscription pluginActionCalled {\n pluginActionCalled {\n ...pluginActionCall\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("9cf5").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginActionCalled"]=d(i,"pluginActionCalled")},1856:function(e,n,t){var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"prompt"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Prompt"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"visible"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"choices"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"promptChoice"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"valueChanged"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"promptError"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"tabId"},arguments:[],directives:[]}]}}],loc:{start:0,end:282}};i.loc.source={body:'#import "./promptChoiceFragment.gql"\n#import "./promptErrorFragment.gql"\n\nfragment prompt on Prompt {\n id\n type\n visible\n enabled\n name\n message\n group\n description\n link\n choices {\n ...promptChoice\n }\n value\n valueChanged\n error {\n ...promptError\n }\n tabId\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}i.definitions=i.definitions.concat(o(t("4599").definitions)),i.definitions=i.definitions.concat(o(t("eb31").definitions)),e.exports=i},"1ad8":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-feature-item list-item",class:{selected:e.feature.enabled},attrs:{"data-testid":e.feature.id}},[t("VueSwitch",{staticClass:"extend-left",attrs:{value:e.feature.enabled}},[t("ListItemInfo",{attrs:{name:e.$t(e.feature.name),description:e.$t(e.feature.description),link:e.feature.link,selected:e.feature.enabled}})],1)],1)},a=[],o={props:{feature:{type:Object,required:!0}}},r=o,s=(t("e78f"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"4c4b8350",null);n["default"]=c.exports},"1b6a":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"consoleLog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConsoleLog"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]}]}}],loc:{start:0,end:73}};t.loc.source={body:"fragment consoleLog on ConsoleLog {\n id\n type\n message\n tag\n date\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},"1be5":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-preset-item list-item",class:{selected:e.selected},attrs:{"data-testid":e.preset.id}},[t("div",{staticClass:"content"},[t("div",{staticClass:"radio-icon"},[t("VueIcon",{staticClass:"medium",attrs:{icon:e.selected?"radio_button_checked":"radio_button_unchecked"}})],1),t("ListItemInfo",{attrs:{name:e.$t(e.preset.name),description:e.description||e.$t(e.preset.description),link:e.preset.link,selected:e.selected}})],1)])},a=[],o={props:{preset:{type:Object,required:!0},selected:{type:Boolean,required:!0},description:{type:String,default:null}}},r=o,s=(t("6b2a"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"79290378",null);n["default"]=c.exports},"1c85":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.component?t(e.component,{tag:"component"}):e.timeout?t("div",{staticClass:"vue-ui-empty"},[t("VueIcon",{staticClass:"big",attrs:{icon:"cake"}}),t("div",{staticClass:"timeout-title"},[e._v(" "+e._s(e.$t("org.vue.components.client-addon-component.timeout"))+" ")]),t("div",{staticClass:"timeout-info"},[e._v(" "+e._s(e.$t("org.vue.components.client-addon-component.timeout-info"))+" ")])],1):t("div",{staticClass:"loading"},[t("VueLoadingIndicator")],1)},a=[],o=(t("f108"),t("192a"),t("f8eb")),r={props:{name:{type:String,default:null}},data:function(){return{component:null,timeout:!1}},watch:{name:{handler:"updateComponent",immediate:!0}},methods:{updateComponent:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return setTimeout((function(){e.component||(e.timeout=!0)}),5e3),n.next=3,ClientAddonApi.awaitComponent(e.name);case 3:e.component=n.sent;case 4:case"end":return n.stop()}}),n)})))()}}},s=r,c=(t("9fee"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,"2b95752e",null);n["default"]=d.exports},"1d43":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"views"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"views"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"view"},directives:[]}]}}]}}],loc:{start:0,end:72}};i.loc.source={body:'#import "./viewFragment.gql"\n\nquery views {\n views {\n ...view\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("9c30").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["views"]=d(i,"views")},"1e74":function(e,n,t){"use strict";var i=t("148b"),a=t.n(i);a.a},"1ee0":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"consoleLogs"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"consoleLogs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"consoleLog"},directives:[]}]}}]}}],loc:{start:0,end:96}};i.loc.source={body:'#import "./consoleLogFragment.gql"\n\nquery consoleLogs {\n consoleLogs {\n ...consoleLog\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("1b6a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["consoleLogs"]=d(i,"consoleLogs")},"1f14":function(e,n,t){"use strict";var i=t("95e2"),a=t.n(i);a.a},2012:function(e,n,t){"use strict";var i=t("83d2"),a=t.n(i);a.a},"21b5":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"taskChanged"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taskChanged"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"task"},directives:[]}]}}]}}],loc:{start:0,end:91}};i.loc.source={body:'#import "./taskFragment.gql"\n\nsubscription taskChanged {\n taskChanged {\n ...task\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("3e5e").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["taskChanged"]=d(i,"taskChanged")},"225c":function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"pluginLogo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"pluginLogo"},name:{kind:"Name",value:"plugin"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:85}};t.loc.source={body:"query pluginLogo ($id: ID!) {\n pluginLogo: plugin (id: $id) {\n id\n logo\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["pluginLogo"]=r(t,"pluginLogo")},2296:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"content-view"},[e.title?t("portal",{attrs:{to:"top-title"}},[e._v(e._s(e.title))]):e._e(),t("portal",{attrs:{to:"top-actions"}},[e._t("actions")],2),t("div",{staticClass:"content"},[t("div",{staticClass:"wrapper"},[e._t("default")],2)])],1)},a=[],o={props:{title:{type:String,default:null}}},r=o,s=(t("c1e2"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"18683bcf",null);n["default"]=c.exports},2425:function(e,n,t){"use strict";var i=t("d208"),a=t.n(i);a.a},2674:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("VueDisable",{staticClass:"prompt prompt-confirm",attrs:{disabled:!e.prompt.enabled}},[t("VueSwitch",{staticClass:"extend-left",attrs:{value:e.value(e.prompt.value)},on:{update:function(n){return e.answer(n)}}},[t("ListItemInfo",{attrs:{name:e.$t(e.prompt.message),description:e.$t(e.prompt.description),link:e.prompt.link}})],1),t("PromptError",{attrs:{error:e.prompt.error}})],1)},a=[],o=t("5c0d"),r={extends:o["default"]},s=r,c=(t("1f14"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,"01a5ec3e",null);n["default"]=d.exports},"269a":function(e,n,t){"use strict";var i=t("cdd0"),a=t.n(i);a.a},"26d0":function(e,n,t){"use strict";var i=t("1841"),a=t.n(i);a.a},"26f5":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"list-item-info",class:{selected:e.selected}},[t("div",{staticClass:"name"},[e._t("name",[t("span",{domProps:{innerHTML:e._s(e.ansiColors(e.name))}})])],2),e.description||e.link||e.showDescription?t("div",{staticClass:"description"},[e._t("description",[t("span",{domProps:{innerHTML:e._s(e.ansiColors(e.description))}})]),e.link?t("a",{staticClass:"more-info",attrs:{href:e.link,target:"_blank"},on:{click:function(e){e.stopPropagation()}}},[t("VueIcon",{staticClass:"medium top",attrs:{icon:"open_in_new"}}),e._v(" "+e._s(e.$t("org.vue.components.list-item-info.more-info"))+" ")],1):e._e()],2):e._e()])},a=[],o={props:{description:{type:String,default:""},link:{type:String,default:null},name:{type:String,default:null},selected:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1}}},r=o,s=(t("d6d4"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"4001a578",null);n["default"]=c.exports},2714:function(e,n,t){"use strict";var i=t("2802"),a=t.n(i);a.a},"27c4":function(e,n,t){"use strict";var i=t("d3a7"),a=t.n(i);a.a},2802:function(e,n,t){},"28f7":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"dependency"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Dependency"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"installed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"website"},arguments:[],directives:[]}]}}],loc:{start:0,end:71}};t.loc.source={body:"fragment dependency on Dependency {\n id\n type\n installed\n website\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},2939:function(e,n,t){"use strict";var i=t("0948"),a=t.n(i);a.a},"29c0":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"pluginFinishInstall"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginFinishInstall"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pluginInstallation"},directives:[]}]}}]}}],loc:{start:0,end:131}};i.loc.source={body:'#import "./pluginInstallationFragment.gql"\n\nmutation pluginFinishInstall {\n pluginFinishInstall {\n ...pluginInstallation\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("620a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginFinishInstall"]=d(i,"pluginFinishInstall")},"2a8d":function(e,n,t){"use strict";var i=t("f53c"),a=t.n(i);a.a},"2a97":function(e,n,t){},"2c44":function(e,n,t){},"2c4b":function(e,n,t){},"2c98":function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"fileDiffs"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fileDiffs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"from"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"to"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"new"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"deleted"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"binary"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"chunks"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"oldStart"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"oldLines"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"newStart"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"newLines"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"changes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ln"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ln1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ln2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"normal"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:274}};t.loc.source={body:"query fileDiffs {\n fileDiffs {\n id\n from\n to\n new\n deleted\n binary\n chunks {\n oldStart\n oldLines\n newStart\n newLines\n changes {\n type\n ln\n ln1\n ln2\n content\n normal\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["fileDiffs"]=r(t,"fileDiffs")},"2dcd":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"consoleLogLast"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"consoleLogLast"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"consoleLog"},directives:[]}]}}]}}],loc:{start:0,end:102}};i.loc.source={body:'#import "./consoleLogFragment.gql"\n\nquery consoleLogLast {\n consoleLogLast {\n ...consoleLog\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("1b6a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["consoleLogLast"]=d(i,"consoleLogLast")},"2f52":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"clientAddonAdded"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientAddonAdded"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"clientAddon"},directives:[]}]}}]}}],loc:{start:0,end:115}};i.loc.source={body:'#import "./clientAddonFragment.gql"\n\nsubscription clientAddonAdded {\n clientAddonAdded {\n ...clientAddon\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("863a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["clientAddonAdded"]=d(i,"clientAddonAdded")},"310a":function(e,n,t){"use strict";t("f108"),t("043e"),t("21db"),t("4b6e");var i=t("0d88"),a=t("4892"),o=t.n(a);n["a"]=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.baseRoute,a=void 0===t?null:t;return{apollo:{projectCurrent:o.a},watch:{projectCurrent:function(e){this.$_restoreRouteReady&&this.replaceBaseRoute()}},bus:{quickOpenProject:function(e){this.replaceBaseRoute()}},beforeRouteEnter:function(n,t,i){if(e){if(!n.params||!Object.keys(n.params).length){var a=e,o=a.name,r=a.params,s=a.query;return void i({name:o,params:r,query:s})}e=null}i()},beforeRouteLeave:function(n,t,i){t.params&&Object.keys(t.params).length&&(e=t),i()},mounted:function(){var e=this;setTimeout((function(){e.$_restoreRouteReady=!0}),100)},methods:{replaceBaseRoute:function(){a&&!Object(i["b"])(this.$route,a,!1)&&this.$router.replace(a)}}}}},3212:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"dependencyUninstall"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DependencyUninstall"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dependencyUninstall"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"dependency"},directives:[]}]}}]}}],loc:{start:0,end:162}};i.loc.source={body:'#import "./dependencyFragment.gql"\n\nmutation dependencyUninstall ($input: DependencyUninstall!) {\n dependencyUninstall (input: $input) {\n ...dependency\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("28f7").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["dependencyUninstall"]=d(i,"dependencyUninstall")},"32d1":function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"a",(function(){return a}));t("bc7a"),t("21db"),t("97d0"),t("4b6e"),t("a41b");function i(e){return!e.match(/[/@\s+%:]|^[_.]/)&&encodeURIComponent(e)===e&&e.length<=214}function a(e){return e=e.replace(/\\/g,"/"),e.split("/").every(i)}},"32dc":function(e,n,t){"use strict";var i=t("392c"),a=t.n(i);a.a},3333:function(e,n,t){},3526:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("VueModal",{staticClass:"medium anchor",attrs:{title:e.$t("org.vue.components.project-rename.title")},on:{close:function(n){return e.$emit("close")}}},[t("div",{staticClass:"default-body"},[t("VueFormField",{attrs:{title:e.$t("org.vue.components.project-rename.name-field.title"),subtitle:e.$t("org.vue.components.project-rename.name-field.subtitle")}},[t("VueInput",{directives:[{name:"focus",rawName:"v-focus"}],staticClass:"big",attrs:{"icon-left":"folder"},on:{keyup:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.rename()}},model:{value:e.newName,callback:function(n){e.newName=n},expression:"newName"}})],1)],1),t("div",{staticClass:"actions",attrs:{slot:"footer"},slot:"footer"},[t("VueButton",{staticClass:"flat big close",attrs:{label:e.$t("org.vue.common.cancel")},on:{click:function(n){return e.$emit("close")}}}),t("VueButton",{staticClass:"primary big",attrs:{label:e.$t("org.vue.components.project-rename.submit")},on:{click:function(n){return e.rename()}}})],1)])},a=[],o=(t("f108"),t("ee2d")),r=(t("192a"),t("f8eb")),s=t("92d3"),c=t.n(s);function d(){var e=Object(o["a"])(["\n mutation renameProject ($id: ID!, $name: String!) {\n projectRename (id: $id, name: $name) {\n id\n name\n }\n }\n "]);return d=function(){return e},e}var l={props:{project:{type:Object,required:!0}},data:function(){return{newName:this.project.name,loading:!1}},methods:{rename:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.next=3,e.$apollo.mutate({mutation:c()(d()),variables:{id:e.project.id,name:e.newName}});case 3:e.$emit("close");case 4:case"end":return n.stop()}}),n)})))()}}},u=l,f=t("b41a"),m=Object(f["a"])(u,i,a,!1,null,null,null);n["default"]=m.exports},3568:function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"suggestion"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Suggestion"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"importance"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"actionLink"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"busy"},arguments:[],directives:[]}]}}],loc:{start:0,end:115}};t.loc.source={body:"fragment suggestion on Suggestion {\n id\n type\n importance\n label\n message\n image\n link\n actionLink\n busy\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},3622:function(e,n,t){"use strict";var i=t("d2b0"),a=t.n(i);a.a},"36d4":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"project-plugins page"},[i("ContentView",{staticClass:"limit-width list",attrs:{title:e.$t("org.vue.views.project-plugins.title")}},[i("template",{slot:"actions"},[i("VueInput",{staticClass:"round",attrs:{"icon-left":"search"},model:{value:e.search,callback:function(n){e.search=n},expression:"search"}}),i("VueButton",{staticClass:"primary round",attrs:{"icon-left":"add",label:e.$t("org.vue.views.project-plugins.button"),to:{name:"project-plugins-add"},"data-testid":"add-plugin"}}),i("VueDropdown",[i("VueButton",{staticClass:"icon-button flat round",attrs:{slot:"trigger","icon-left":"more_vert"},slot:"trigger"}),i("VueDropdownButton",{attrs:{"icon-left":"file_download",label:e.$t("org.vue.views.project-plugins.update-all")},on:{click:function(n){return e.updateAll()}}})],1)],1),i("ApolloQuery",{attrs:{query:t("ce33")},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result,a=t.data,o=t.loading;return[i("div",{staticClass:"cta-text"},[e._v(e._s(e.$t("org.vue.views.project-plugins.heading")))]),!o||a&&a.plugins?a?i("ListFilter",{staticClass:"plugins",attrs:{list:a.plugins,filter:function(n){return!e.search||n.id.includes(e.search)}},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.list;return e._l(t,(function(e){return i("ProjectPluginItem",{key:e.id,attrs:{plugin:e}})}))}}],null,!0)}):e._e():i("VueLoadingIndicator",{staticClass:"overlay"})]}}])})],2),i("ProgressScreen",{attrs:{"progress-id":"plugin-update"}}),i("ProgressScreen",{attrs:{"progress-id":"plugins-update"}})],1)},a=[],o=t("c362"),r=t.n(o),s=t("4892"),c=t.n(s),d=t("ce33"),l=t.n(d),u={name:"ProjectPlugins",metaInfo:function(){return{title:this.$t("org.vue.views.project-plugins.title")}},data:function(){return{search:""}},apollo:{projectCurrent:c.a},bus:{quickOpenProject:function(e){this.$apollo.getClient().writeQuery({query:l.a,data:{plugins:null}})}},methods:{updateAll:function(){return this.$apollo.mutate({mutation:r.a})}}},f=u,m=(t("0d8e"),t("b41a")),v=Object(m["a"])(f,i,a,!1,null,"57b470b3",null);n["default"]=v.exports},3716:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"pluginUpdate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"full"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginUpdate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"full"},value:{kind:"Variable",name:{kind:"Name",value:"full"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"version"},directives:[]}]}}]}}]}}],loc:{start:0,end:183}};i.loc.source={body:'#import "../version/versionFragment.gql"\n\nmutation pluginUpdate ($id: ID!, $full: Boolean) {\n pluginUpdate (id: $id, full: $full) {\n id\n version {\n ...version\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("ad67").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginUpdate"]=d(i,"pluginUpdate")},3762:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"about page"},[t("h1",[e._v(e._s(e.$t("org.vue.views.about.title")))]),t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.$t("org.vue.views.about.description"))}}),t("blockquote",{staticClass:"quote",domProps:{textContent:e._s(e.$t("org.vue.views.about.quote"))}}),e._m(0),t("h2",[e._v(e._s(e.$t("org.vue.views.about.links")))]),t("div",{staticClass:"links vue-ui-grid default-gap"},[t("VueButton",{attrs:{href:"https://github.com/vuejs/vue-cli",target:"_blank"}},[e._v("Repository")]),t("VueButton",{attrs:{href:"https://cli.vuejs.org",target:"_blank"}},[e._v("Documentation")]),t("VueButton",{attrs:{href:"https://vuejs.org/v2/guide/",target:"_blank"}},[e._v("Vue.js Guide")]),t("VueButton",{attrs:{href:"https://vuejs.org/v2/api/",target:"_blank"}},[e._v("Vue.js API reference")]),t("VueButton",{attrs:{href:"https://forum.vuejs.org/",target:"_blank"}},[e._v("Vue.js Forums")]),t("VueButton",{attrs:{href:"https://chat.vuejs.org/",target:"_blank"}},[e._v("Vue.js Chat")])],1),t("div",{staticClass:"actions"},[t("VueButton",{staticClass:"primary big",attrs:{to:e.previousRoute,"left-icon":"arrow_back",label:e.$t("org.vue.views.about.back")}})],1)])},a=[function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("p",[e._v("- "),t("a",{attrs:{href:"https://github.com/Akryum",target:"_blank"}},[e._v("Guillaume Chau")])])}],o={metaInfo:function(){return{title:this.$t("org.vue.views.about.title")}},data:function(){return{previousRoute:{name:"home"}}},beforeRouteEnter:function(e,n,t){t((function(e){n&&(e.previousRoute=n.fullPath)}))}},r=o,s=(t("07cd"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"74eeb262",null);n["default"]=c.exports},3886:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"widgetConfigOpen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"widgetConfigOpen"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"widget"},directives:[]}]}}]}}],loc:{start:0,end:122}};i.loc.source={body:'#import "./widgetFragment.gql"\n\nmutation widgetConfigOpen ($id: ID!) {\n widgetConfigOpen (id: $id) {\n ...widget\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("fd9b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["widgetConfigOpen"]=d(i,"widgetConfigOpen")},"38d1":function(e,n,t){},"392c":function(e,n,t){},"394b":function(e,n,t){},"39ec":function(e,n,t){"use strict";var i=t("6b85"),a=t.n(i);a.a},"3a65":function(e,n,t){},"3ae3":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("VueDropdown",{staticClass:"project-tasks-dropdown",attrs:{placement:"right"},nativeOn:{click:function(e){e.preventDefault(),e.stopPropagation()}}},[t("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.countPerStatus.running?e.$t("org.vue.components.project-tasks-dropdown.tooltips.running-tasks",{count:e.countPerStatus.running}):e.$t("org.vue.components.project-tasks-dropdown.tooltips.tasks"),expression:"countPerStatus.running ? $t('org.vue.components.project-tasks-dropdown.tooltips.running-tasks', { count: countPerStatus.running }) : $t('org.vue.components.project-tasks-dropdown.tooltips.tasks')"}],staticClass:"menu-trigger",class:e.bulletClass,attrs:{slot:"trigger"},slot:"trigger"},[t("div",{staticClass:"bullet"})]),t("div",{staticClass:"content"},[t("div",{staticClass:"pane-toolbar"},[t("VueIcon",{attrs:{icon:"assignment"}}),t("div",{staticClass:"title"},[e._v(e._s(e.$t("org.vue.components.project-tasks-dropdown.tooltips.tasks")))]),t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.logger-view.buttons.close"),expression:"$t('org.vue.components.logger-view.buttons.close')"},{name:"close-popover",rawName:"v-close-popover"}],staticClass:"icon-button flat",attrs:{"icon-left":"close"}})],1),t("div",{staticClass:"tasks"},[e._l(e.tasks,(function(n){return t("TaskItem",{key:n.id,attrs:{task:n},nativeOn:{click:function(t){return e.openTask(n)}}},["running"!==n.status?t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.views.project-task-details.actions.play"),expression:"$t('org.vue.views.project-task-details.actions.play')"}],staticClass:"icon-button",attrs:{"icon-left":"play_arrow"},on:{click:function(t){return t.stopPropagation(),e.openTask(n,!0)}}}):t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.views.project-task-details.actions.stop"),expression:"$t('org.vue.views.project-task-details.actions.stop')"}],staticClass:"icon-button",attrs:{"icon-left":"stop"},on:{click:function(t){return t.stopPropagation(),e.stopTask(n)}}})],1)})),e.loading?t("VueLoadingIndicator",{staticClass:"overlay"}):e._e()],2)])])},a=[],o=(t("192a"),t("f8eb")),r=t("5efe"),s=t("21b5"),c=t.n(s),d=t("0889"),l=t.n(d),u=t("6218"),f=t.n(u),m=t("4892"),v=t.n(m),p=t("93cc"),g=t.n(p),k={props:{tasks:{type:Array,required:!0},tooltip:{type:String,default:null}},data:function(){return{loading:!1}},apollo:{projectCurrent:v.a,$subscribe:{taskChanged:{query:c.a}}},computed:{countPerStatus:function(){var e,n={},t=Object(r["a"])(this.tasks);try{for(t.s();!(e=t.n()).done;){var i=e.value;n[i.status]?n[i.status]++:n[i.status]=1}}catch(a){t.e(a)}finally{t.f()}return n},bulletClass:function(){return this.countPerStatus.running?"running":"idle"}},methods:{openTask:function(e){var n=arguments,t=this;return Object(o["a"])(regeneratorRuntime.mark((function i(){var a;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(a=n.length>1&&void 0!==n[1]&&n[1],t.loading=!0,t.projectCurrent&&e.project.id===t.projectCurrent.id){i.next=5;break}return i.next=5,t.$apollo.mutate({mutation:g.a,variables:{id:e.project.id}});case 5:if(t.$router.push({name:"project-tasks",query:{id:e.id}}),!a){i.next=9;break}return i.next=9,t.$apollo.mutate({mutation:l.a,variables:{id:e.id}});case 9:case"end":return i.stop()}}),i)})))()},stopTask:function(e){this.$apollo.mutate({mutation:f.a,variables:{id:e.id}})}}},h=k,b=(t("27c4"),t("b41a")),w=Object(b["a"])(h,i,a,!1,null,"7a5ea0e6",null);n["default"]=w.exports},"3b72":function(e,n,t){},"3b9f":function(e,n,t){},"3be1":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"dependencyInstall"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DependencyInstall"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dependencyInstall"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"dependency"},directives:[]}]}}]}}],loc:{start:0,end:156}};i.loc.source={body:'#import "./dependencyFragment.gql"\n\nmutation dependencyInstall ($input: DependencyInstall!) {\n dependencyInstall (input: $input) {\n ...dependency\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("28f7").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["dependencyInstall"]=d(i,"dependencyInstall")},"3ccc":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.totalResults>0,expression:"totalResults > 0"}],staticClass:"instant-search-pagination"},[t("div",{staticClass:"content"},[t("VueButton",{staticClass:"icon-button",attrs:{"icon-left":"first_page",disabled:1===e.page},on:{click:function(n){return e.goToFirstPage()}}}),t("VueButton",{staticClass:"icon-button",attrs:{"icon-left":"chevron_left",disabled:1===e.page},on:{click:function(n){return e.goToPreviousPage()}}}),e._l(e.pages,(function(n){return t("VueButton",{key:n,staticClass:"icon-button",class:{primary:e.page===n},attrs:{label:n.toString()},on:{click:function(t){return e.goToPage(n)}}})})),t("VueButton",{staticClass:"icon-button",attrs:{"icon-left":"chevron_right",disabled:e.page>=e.totalPages},on:{click:function(n){return e.goToNextPage()}}}),t("VueButton",{staticClass:"icon-button",attrs:{"icon-left":"last_page",disabled:e.page>=e.totalPages},on:{click:function(n){return e.goToLastPage()}}})],2)])},a=[],o=t("d9dd"),r={extends:o["b"]},s=r,c=(t("69d5"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,"43c44150",null);n["default"]=d.exports},"3ddf":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"taskLogAdded"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taskLogAdded"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"taskLog"},directives:[]}]}}]}}],loc:{start:0,end:120}};i.loc.source={body:'#import "./taskLogFragment.gql"\n\nsubscription taskLogAdded ($id: ID!) {\n taskLogAdded (id: $id) {\n ...taskLog\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("885b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["taskLogAdded"]=d(i,"taskLogAdded")},"3dea":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"widgetDefinitions"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"widgetDefinitions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"widgetDefinition"},directives:[]}]}}]}}],loc:{start:0,end:120}};i.loc.source={body:'#import "./widgetDefinitionFragment.gql"\n\nquery widgetDefinitions {\n widgetDefinitions {\n ...widgetDefinition\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("46e1").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["widgetDefinitions"]=d(i,"widgetDefinitions")},"3e497":function(e,n,t){"use strict";var i=t("8ff9"),a=t.n(i);a.a},"3e53":function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"routeRequested"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"routeRequested"},arguments:[],directives:[]}]}}],loc:{start:0,end:49}};t.loc.source={body:"subscription routeRequested {\n routeRequested\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["routeRequested"]=r(t,"routeRequested")},"3e5e":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"task"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Task"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"command"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"plugin"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"project"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:132}};t.loc.source={body:"fragment task on Task {\n id\n status\n name\n command\n description\n icon\n plugin {\n id\n logo\n }\n project {\n id\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},"3f4c":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"preset"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Preset"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]}]}}],loc:{start:0,end:63}};t.loc.source={body:"fragment preset on Preset {\n id\n name\n description\n link\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},"3fe5":function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"cwdChanged"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"cwd"},name:{kind:"Name",value:"cwdChanged"},arguments:[],directives:[]}]}}],loc:{start:0,end:46}};t.loc.source={body:"subscription cwdChanged {\n cwd: cwdChanged\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["cwdChanged"]=r(t,"cwdChanged")},4159:function(e,n,t){},"424f":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"not-found page"},[e.addonRouteTimout?[t("VueIcon",{staticClass:"huge",attrs:{icon:"cake"}}),t("h1",{staticClass:"title"},[e._v("Addon route taking too long to load")]),t("h2",{staticClass:"subtitle"},[e._v("The route may not exist")]),t("VueButton",{attrs:{to:{name:"home"}}},[e._v("Go home")])]:e.isAddonRoute?[t("VueLoadingIndicator",{staticClass:"accent big"})]:[t("VueIcon",{staticClass:"huge",attrs:{icon:"pets"}}),t("h1",{staticClass:"title"},[e._v("View not found")]),t("VueButton",{attrs:{to:{name:"home"}}},[e._v("Go home")])]],2)},a=[],o=(t("14cc"),t("4227"),{name:"NotFound",data:function(){return{addonRouteTimout:!1}},computed:{isAddonRoute:function(){return this.$route.path.includes("/addon/")}},mounted:function(){var e=this;this.isAddonRoute&&setTimeout((function(){e.addonRouteTimout=!0}),5e3)}}),r=o,s=(t("85fa"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"144ede8a",null);n["default"]=c.exports},"42c8":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"project-tasks page"},[i("ContentView",{attrs:{title:e.$t("org.vue.views.project-tasks.title")}},[i("ApolloQuery",{ref:"tasks",staticClass:"fill-height",attrs:{query:t("bd6c")},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result,a=t.data,o=t.loading;return[!o||a&&a.tasks?a?i("NavContent",{staticClass:"tasks",attrs:{items:e.generateItems(a.tasks)},scopedSlots:e._u([{key:"default",fn:function(e){var n=e.item,t=e.selected;return i("TaskItem",{attrs:{task:n.task,selected:t}})}}],null,!0)},[i("div",{staticClass:"list-header",attrs:{slot:"before"},slot:"before"},[i("VueInput",{staticClass:"search round",attrs:{"icon-left":"search"},model:{value:e.search,callback:function(n){e.search=n},expression:"search"}}),i("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.views.project-tasks.refresh"),expression:"$t('org.vue.views.project-tasks.refresh')"}],staticClass:"icon-button flat",attrs:{"icon-left":"refresh"},on:{click:function(n){return e.refresh()}}})],1)]):e._e():i("VueLoadingIndicator",{staticClass:"overlay"})]}}])})],1)],1)},a=[],o=(t("90ee"),t("14cc"),t("6797"),t("f108"),t("21db"),t("4227"),t("4d9a"),t("310a")),r=t("21b5"),s=t.n(r),c=t("bd6c"),d=t.n(c),l={mixins:[Object(o["a"])({baseRoute:{name:"project-tasks"}})],metaInfo:function(){return{title:this.$t("org.vue.views.project-tasks.title")}},data:function(){return{search:""}},apollo:{$subscribe:{taskChanged:{query:s.a}}},bus:{quickOpenProject:function(e){this.$apollo.getClient().writeQuery({query:d.a,data:{tasks:null}})}},methods:{generateItems:function(e){var n=this;return e?e.filter((function(e){return!n.search||e.name.includes(n.search)})).map((function(e){return{route:{name:"project-task-details",params:{id:e.id}},task:e}})):[]},refresh:function(){this.$refs.tasks.$apollo.queries.query.refetch()}}},u=l,f=(t("0330"),t("b41a")),m=Object(f["a"])(u,i,a,!1,null,"492ec4a6",null);n["default"]=m.exports},"42d8":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-configuration-details"},[e.configuration?[e.configuration.tabs.length>1?t("div",{staticClass:"tabs"},[t("VueGroup",{staticClass:"tabs-selector",model:{value:e.currentTab,callback:function(n){e.currentTab=n},expression:"currentTab"}},e._l(e.configuration.tabs,(function(n){return t("VueGroupButton",{key:n.id,attrs:{value:n.id,"icon-left":n.icon,label:e.$t(n.label)}})})),1)],1):e._e(),t("div",{staticClass:"content"},e._l(e.configuration.tabs,(function(n){return t("ConfigurationTab",{directives:[{name:"show",rawName:"v-show",value:n.id===e.currentTab,expression:"tab.id === currentTab"}],key:n.id,attrs:{configuration:e.configuration,tab:n},on:{"has-changes":function(t){return e.tabsHaveChanges[n.id]=t}}})})),1)]:t("VueLoadingIndicator",{staticClass:"loading"}),t("div",{staticClass:"actions-bar"},[e.configuration&&e.configuration.link?t("VueButton",{staticClass:"big flat success",attrs:{"icon-right":"open_in_new",label:e.$t("org.vue.views.project-configuration-details.actions.more-info"),href:e.configuration.link,target:"_blank"}}):e._e(),t("div",{staticClass:"vue-ui-spacer"}),t("VueButton",{staticClass:"big",attrs:{disabled:!e.hasPromptsChanged,"icon-left":"cancel",label:e.$t("org.vue.views.project-configuration-details.actions.cancel")},on:{click:function(n){return e.cancel()}}}),e.configuration&&!e.hasPromptsChanged?t("VueButton",{staticClass:"big primary",attrs:{"icon-left":"refresh",label:e.$t("org.vue.views.project-configuration-details.actions.refresh")},on:{click:function(n){return e.refetch()}}}):t("VueButton",{staticClass:"primary big",attrs:{"icon-left":"save",label:e.$t("org.vue.views.project-configuration-details.actions.save")},on:{click:function(n){return e.save()}}})],1)],2)},a=[],o=(t("f54f"),t("c9a1"),t("f108"),t("192a"),t("f8eb")),r=t("78cf"),s=t.n(r),c=t("780a"),d=t.n(c),l=t("a63c"),u=t.n(l),f={metaInfo:function(){return{title:this.configuration&&"".concat(this.configuration.name," - ").concat(this.$t("org.vue.views.project-configurations.title"))}},props:{id:{type:String,required:!0}},data:function(){return{configuration:null,currentTab:"__default",tabsHaveChanges:{}}},apollo:{configuration:{query:s.a,variables:function(){return{id:this.id}},result:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var i,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.data,a=e.loading,n.$_init||a||!i||!i.configuration){t.next=7;break}return n.$_init=!0,n.tabsHaveChanges=i.configuration.tabs.reduce((function(e,n){return e[n.id]=!1,e}),{}),t.next=6,n.$nextTick();case 6:n.currentTab=i.configuration.tabs[0].id;case 7:case"end":return t.stop()}}),t)})))()}}},computed:{hasPromptsChanged:function(){for(var e in this.tabsHaveChanges)if(this.tabsHaveChanges[e])return!0;return!1}},watch:{id:"init"},created:function(){this.init()},methods:{init:function(e){this.currentTab="__default",this.configuration=null,this.$_init=!1},cancel:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:u.a,variables:{id:e.id}});case 2:e.refetch();case 3:case"end":return n.stop()}}),n)})))()},save:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:d.a,variables:{id:e.id}});case 2:e.refetch();case 3:case"end":return n.stop()}}),n)})))()},refetch:function(){this.$apollo.queries.configuration.refetch()}}},m=f,v=(t("7d58"),t("b41a")),p=Object(v["a"])(m,i,a,!1,null,"54636a5c",null);n["default"]=p.exports},4348:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"loadingChange"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mod"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"loadingChange"},arguments:[{kind:"Argument",name:{kind:"Name",value:"mod"},value:{kind:"Variable",name:{kind:"Name",value:"mod"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}]}]}}],loc:{start:0,end:76}};t.loc.source={body:"mutation loadingChange ($mod: Int!) {\n loadingChange (mod: $mod) @client\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["loadingChange"]=r(t,"loadingChange")},"43d4":function(e,n,t){},4572:function(e,n,t){"use strict";var i=t("3333"),a=t.n(i);a.a},4599:function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"promptChoice"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PromptChoice"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"checked"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"disabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDefault"},arguments:[],directives:[]}]}}],loc:{start:0,end:90}};t.loc.source={body:"fragment promptChoice on PromptChoice {\n value\n name\n checked\n disabled\n isDefault\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},4630:function(e,n,t){"use strict";t.r(n);t("f54f"),t("fa41"),t("21de");var i,a,o=t("e5ef"),r=t.n(o),s=t("2f52"),c=t.n(s),d={apollo:{clientAddons:{query:r.a,fetchPolicy:"no-cache",manual:!0,result:function(e){var n=e.data.clientAddons,t=e.stale;t||(n.forEach(this.loadAddon),this.$_lastRead=Date.now())}},$subscribe:{clientAddonAdded:{query:c.a,result:function(e){var n=e.data;this.$_lastRead&&Date.now()-this.$_lastRead>1e3&&this.loadAddon(n.clientAddonAdded)}}}},created:function(){this.$_lastRead=null},methods:{loadAddon:function(e){console.log("[UI] Loading client addon ".concat(e.id," (").concat(e.url,")..."));var n=document.createElement("script");n.setAttribute("src",e.url),document.body.appendChild(n)}},render:function(){return null}},l=d,u=t("b41a"),f=Object(u["a"])(l,i,a,!1,null,null,null);n["default"]=f.exports},"46e1":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"widgetDefinition"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"WidgetDefinition"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"longDescription"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"screenshot"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"component"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canAddMore"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxCount"},arguments:[],directives:[]}]}}],loc:{start:0,end:165}};t.loc.source={body:"fragment widgetDefinition on WidgetDefinition {\n id\n title\n description\n longDescription\n link\n icon\n screenshot\n component\n canAddMore\n count\n maxCount\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},"47b6":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-select page"},[t("StepWizard",{staticClass:"frame",attrs:{"tab-id":e.tab,title:e.$route.query.hideTabs?e.$t("org.vue.views.project-create.title"):e.$t("org.vue.views.project-select.title"),"hide-tabs":e.hideTabs},on:{"update:tabId":function(n){e.tab=n},"update:tab-id":function(n){e.tab=n}}},[t("VueTab",{staticClass:"select",attrs:{id:"existing",label:e.$t("org.vue.views.project-select.tabs.projects"),icon:"storage"}},[t("ProjectSelectList")],1),t("VueTab",{staticClass:"create",attrs:{id:"create",label:e.$t("org.vue.views.project-select.tabs.create"),icon:"add_box"}},[t("div",{staticClass:"content"},[t("FolderExplorer")],1),t("div",{staticClass:"actions-bar center"},[t("VueButton",{staticClass:"big primary create-project",attrs:{"icon-left":"add",label:e.$route.query.hideTabs?e.$t("org.vue.views.project-create.tabs.details.form.folder.action"):e.$t("org.vue.views.project-select.buttons.create")},on:{click:function(n){return e.createProject()}}})],1)]),t("VueTab",{staticClass:"import",attrs:{id:"import",label:e.$t("org.vue.views.project-select.tabs.import"),icon:"unarchive"}},[t("div",{staticClass:"content"},[t("FolderExplorer")],1),t("div",{staticClass:"actions-bar center"},[t("VueButton",{staticClass:"big primary import-project",attrs:{"icon-left":"unarchive",label:e.$route.query.action||e.$t("org.vue.views.project-select.buttons.import"),disabled:e.folderCurrent&&!e.folderCurrent.isPackage,loading:e.busy},on:{click:function(n){return e.importProject()}}})],1)])],1),t("div",{staticClass:"top-menu left"},[e.projectCurrent?t("VueButton",{staticClass:"flat icon-button",attrs:{to:{name:"home"},"icon-left":"arrow_back"}}):e._e()],1),t("div",{staticClass:"top-menu right"},[t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.views.about.title"),expression:"$t('org.vue.views.about.title')"}],staticClass:"flat icon-button",attrs:{to:{name:"about"},"icon-left":"help"}})],1),e.showNoModulesModal?t("VueModal",{staticClass:"small no-modules-modal",attrs:{title:e.$t("org.vue.views.project-select.import.no-modules.title")},on:{close:function(n){e.showNoModulesModal=!1}}},[t("div",{staticClass:"default-body"},[t("div",{staticClass:"message"},[e._v(" "+e._s(e.$t("org.vue.views.project-select.import.no-modules.message"))+" ")])]),t("div",{staticClass:"actions center",attrs:{slot:"footer"},slot:"footer"},[t("VueButton",{attrs:{label:e.$t("org.vue.views.project-select.import.force")},on:{click:function(n){return e.importProject(!0)}}}),t("VueButton",{staticClass:"primary",attrs:{label:e.$t("org.vue.views.project-select.import.no-modules.close")},on:{click:function(n){e.showNoModulesModal=!1}}})],1)]):e._e()],1)},a=[],o=(t("cba1"),t("192a"),t("f8eb")),r=t("881d"),s=t.n(r),c=t("0674"),d=t.n(c),l=t("af85"),u=t.n(l),f=t("4892"),m=t.n(f),v={name:"ProjectSelect",metaInfo:function(){return{title:this.$t("org.vue.views.project-select.title")}},data:function(){return{folderCurrent:{},tab:void 0,hideTabs:!!this.$route.query.hideTabs,showNoModulesModal:!1,busy:!1}},apollo:{folderCurrent:s.a,projectCurrent:m.a},mounted:function(){var e=this;setTimeout((function(){e.tab=e.$route.query.tab||"existing"}))},methods:{createProject:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:d.a});case 2:e.$router.push({name:"project-create"});case 3:case"end":return n.stop()}}),n)})))()},importProject:function(){var e=arguments,n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.length>0&&void 0!==e[0]&&e[0],n.showNoModulesModal=!1,n.busy=!0,t.next=5,n.$nextTick();case 5:return t.prev=5,t.next=8,n.$apollo.mutate({mutation:u.a,variables:{input:{path:n.folderCurrent.path,force:i}}});case 8:n.$router.push({name:"project-home"}),t.next=15;break;case 11:t.prev=11,t.t0=t["catch"](5),t.t0.graphQLErrors&&t.t0.graphQLErrors.some((function(e){return"NO_MODULES"===e.message}))&&(n.showNoModulesModal=!0),n.busy=!1;case 15:case"end":return t.stop()}}),t,null,[[5,11]])})))()}}},p=v,g=(t("4a72"),t("b41a")),k=Object(g["a"])(p,i,a,!1,null,"017a7afe",null);n["default"]=k.exports},4892:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"projectCurrent"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectCurrent"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"project"},directives:[]}]}}]}}],loc:{start:0,end:96}};i.loc.source={body:'#import "./projectFragment.gql"\n\nquery projectCurrent {\n projectCurrent {\n ...project\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("8c3a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["projectCurrent"]=d(i,"projectCurrent")},"48cd":function(e,n,t){},4903:function(e,n,t){},"491f":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"widgetRemove"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"widgetRemove"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"widget"},directives:[]}]}}]}}],loc:{start:0,end:113}};i.loc.source={body:'#import "./widgetFragment.gql"\n\nmutation widgetRemove ($id: ID!) {\n widgetRemove(id: $id) {\n ...widget\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("fd9b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["widgetRemove"]=d(i,"widgetRemove")},"493a":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"progress"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"progress"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"progress"},directives:[]}]}}]}}],loc:{start:0,end:107}};i.loc.source={body:'#import "./progressFragment.gql"\n\nquery progress ($id: ID!) {\n progress (id: $id) {\n ...progress\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("c9aa").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["progress"]=d(i,"progress")},"4a72":function(e,n,t){"use strict";var i=t("0fef"),a=t.n(i);a.a},"4b35":function(e,n,t){"use strict";t.r(n);var i,a=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"status-bar"},[e.showLogs?i("LoggerView",{on:{close:function(n){e.showLogs=!1}}}):e._e(),i("div",{staticClass:"content"},[i("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.status-bar.project.tooltip"),expression:"$t('org.vue.components.status-bar.project.tooltip')"}],staticClass:"section action current-project",on:{click:function(n){return e.onProjectClick()}}},[i("VueIcon",{attrs:{icon:"home"}}),e.projectCurrent?e._e():i("span",{staticClass:"label"},[e._v(e._s(e.$t("org.vue.components.status-bar.project.empty")))])],1),i("ApolloQuery",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.status-bar.path.tooltip"),expression:"$t('org.vue.components.status-bar.path.tooltip')"}],staticClass:"section current-path",attrs:{query:t("9f50")},nativeOn:{click:function(n){return e.onCwdClick()}},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result.data;return[i("VueIcon",{attrs:{icon:"folder"}}),t?i("span",[e._v(e._s(t.cwd))]):e._e()]}}])},[i("ApolloSubscribeToMore",{attrs:{document:t("3fe5"),"update-query":function(e,n){var t=n.subscriptionData;return{cwd:t.data.cwd}}}})],1),i("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.status-bar.log.tooltip"),expression:"$t('org.vue.components.status-bar.log.tooltip')"}],staticClass:"section action console-log",on:{click:function(n){return e.onConsoleClick()}}},[i("VueIcon",{attrs:{icon:"dvr"}}),i("transition-group",{staticClass:"last-message-container",attrs:{name:"slide-up",duration:"600",tag:"div"}},[e.consoleLogLast?i("LoggerMessage",{key:e.consoleLogLast.id,staticClass:"last-message",attrs:{message:e.consoleLogLast}}):i("div",{key:"__empty",staticClass:"last-message no-log"},[e._v(" "+e._s(e.$t("org.vue.components.status-bar.log.empty"))+" ")])],1)],1),e.enableDarkModeButton?i("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.status-bar.dark-mode"),expression:"$t('org.vue.components.status-bar.dark-mode')"}],staticClass:"section action dark-mode",on:{click:function(n){return e.toggleDarkMode()}}},[i("VueIcon",{attrs:{icon:"invert_colors"}})],1):e._e(),i("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.status-bar.report-bug"),expression:"$t('org.vue.components.status-bar.report-bug')"}],staticClass:"section action bug-report",on:{click:function(n){return e.onBugReportClick()}}},[i("VueIcon",{attrs:{icon:"bug_report"}})],1),i("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.status-bar.translate"),expression:"$t('org.vue.components.status-bar.translate')"}],staticClass:"section action translate",on:{click:function(n){return e.onTranslateClick()}}},[i("VueIcon",{attrs:{icon:"g_translate"}})],1),i("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.status-bar.reset-plugin-api"),expression:"$t('org.vue.components.status-bar.reset-plugin-api')"}],staticClass:"section action reset-plugin-api",on:{click:function(n){return e.resetPluginApi()}}},[i("VueIcon",{attrs:{icon:"cached"}})],1)],1)],1)},o=[],r=(t("f108"),t("3119"),t("1b33"),t("192a"),t("f8eb")),s=t("4892"),c=t.n(s),d=t("2dcd"),l=t.n(d),u=t("adda"),f=t.n(u),m=t("8e11"),v=t.n(m),p=t("ff11"),g=t.n(p),k=t("ca94"),h=t("e02b"),b={clientState:!0,data:function(){return{showLogs:!1,consoleLogLast:null,enableDarkModeButton:null==Object(h["a"])()}},apollo:{projectCurrent:c.a,consoleLogLast:l.a,$subscribe:{consoleLogAdded:{query:f.a,result:function(e){var n=e.data;this.consoleLogLast=n.consoleLogAdded}}}},methods:{onProjectClick:function(){if(this.$emit("project"),"project-select"===this.$route.name)this.$router.push(i||{name:"project-home"});else{if("project-create"===this.$route.name)i=null;else{var e=this.$route,n=e.name,t=e.params,a=e.query;i={name:n,params:t,query:a}}this.$router.push({name:"project-select"})}},onCwdClick:function(){this.$emit("cwd")},onConsoleClick:function(){this.$emit("console"),this.showLogs=!this.showLogs},onBugReportClick:function(){var e=window.open("https://new-issue.vuejs.org/?repo=vuejs/vue-cli","_blank");e.focus()},onTranslateClick:function(){var e=window.open("https://cli.vuejs.org/dev-guide/ui-localization.html","_blank");e.focus()},applyDarkMode:function(e){var n=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return localStorage.setItem("vue-ui-dark-mode",e.toString()),t.next=3,n.$apollo.mutate({mutation:v.a,variables:{enabled:e}});case 3:case"end":return t.stop()}}),t)})))()},toggleDarkMode:function(){this.applyDarkMode(!this.darkMode)},resetPluginApi:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:g.a});case 2:return n.next=4,Object(k["c"])();case 4:case"end":return n.stop()}}),n)})))()}}},w=b,S=(t("4572"),t("b41a")),y=Object(S["a"])(w,a,o,!1,null,"df9bd38a",null);n["default"]=y.exports},"4bb0":function(e,n,t){},"4bed":function(e,n,t){"use strict";var i=t("2c44"),a=t.n(i);a.a},"4e95":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("transition-group",{staticClass:"suggestions",attrs:{name:"suggestion"}},e._l(e.suggestions,(function(n,i){return t("SuggestionBarItem",{key:e.$i18n.locale+":"+n.id,attrs:{suggestion:n,index:e.suggestions.length-i-1,ping:""}})})),1)},a=[],o={props:{suggestions:{type:Array,required:!0}}},r=o,s=t("b41a"),c=Object(s["a"])(r,i,a,!1,null,null,null);n["default"]=c.exports},"4f45":function(e,n,t){"use strict";var i=t("48cd"),a=t.n(i);a.a},"4fe9":function(e,n,t){},"50c1":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("VueDisable",{staticClass:"prompt prompt-checkbox",attrs:{disabled:!e.prompt.enabled}},[t("div",{staticClass:"prompt-content"},[t("ListItemInfo",{attrs:{name:e.$t(e.prompt.message),description:e.$t(e.prompt.description),link:e.prompt.link}}),e._l(e.prompt.choices,(function(n,i){return t("VueSwitch",{key:i,staticClass:"right",attrs:{value:e.isCheckboxSelected(n),disabled:n.disabled},on:{update:function(t){return e.asnwerCheckbox(n,t)}}},[e._v(" "+e._s(e.$t(n.name))+" ")])}))],2),t("PromptError",{attrs:{error:e.prompt.error}})],1)},a=[],o=(t("14cc"),t("4bab"),t("8e77"),t("4227"),t("5c0d")),r={extends:o["default"],computed:{checkboxValue:function(){return this.value(this.prompt.value)}},methods:{isCheckboxSelected:function(e){return this.checkboxValue&&this.checkboxValue.includes(this.value(e.value))},asnwerCheckbox:function(e,n){var t=this.checkboxValue,i=this.value(e.value);if(n)t.push(i);else{var a=t.indexOf(i);-1!==a&&t.splice(a,1)}this.answer(t)}}},s=r,c=(t("af85e"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,"814eceb6",null);n["default"]=d.exports},5149:function(e,n,t){},"53af":function(e,n,t){},"53c2":function(e,n,t){"use strict";var i=t("394b"),a=t.n(i);a.a},"53f7":function(e,n,t){},"557d":function(e,n,t){},"55fd":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"npm-package-search"},[t("div",{staticClass:"content vue-ui-disable-scroll"},[t("ais-index",{attrs:{"app-id":"OFCNCOG2CU","api-key":"db283631f89b5b8a10707311f911fd00","index-name":"npm-search","query-parameters":{hitsPerPage:e.pageSize,attributesToRetrieve:["name","description","repository","homepage","version","owner","humanDownloadsLast30Days","keywords"],attributesToHighlight:["name","description"],analyticsTags:["vue-cli-ui"],filters:e.filters}}},[t("InstantSearchInput",{ref:"searchInput",attrs:{placeholder:e.$t("org.vue.views.project-plugins-add.tabs.search.search-input")}}),t("div",{ref:"resultsBox",staticClass:"ais-results-box"},[t("ais-results",{scopedSlots:e._u([{key:"default",fn:function(n){var i=n.result;return t("PackageSearchItem",{attrs:{pkg:i,selected:e.selectedIdModel===i.name,"load-metadata":e.loadMetadata},nativeOn:{click:function(n){e.selectedIdModel=i.name}}})}}])}),t("ais-no-results",[t("div",{staticClass:"vue-ui-empty"},[t("VueIcon",{staticClass:"huge",attrs:{icon:"search"}}),t("div",[e._v(e._s(e.$t("org.vue.views.project-plugins-add.tabs.search.not-found")))])],1)]),t("InstantSearchPagination",{on:{"page-change":function(n){return e.scrollResultsToTop()}}})],1)],1)],1),t("div",{staticClass:"actions-bar no-padding-x"},[e._m(0),t("div",{staticClass:"vue-ui-spacer"}),e._t("more-actions"),t("VueButton",{staticClass:"big",attrs:{"icon-left":"close",label:e.$t("org.vue.views.project-plugins-add.tabs.search.buttons.cancel")},on:{click:function(n){return e.close()}}}),t("VueButton",{staticClass:"big primary",attrs:{"icon-left":"file_download",label:e.selectedIdModel?e.$t("org.vue.views.project-plugins-add.tabs.search.buttons.install",{target:e.selectedIdModel}):e.$t("org.vue.views.project-plugins-add.tabs.search.buttons.default-install"),disabled:!e.selectedIdModel,"data-testid":"download-plugin"},on:{click:function(n){return e.install()}}})],2)])},a=[function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"algolia"},[i("img",{staticClass:"ais-logo",attrs:{src:t("d7f0")}})])}],o=(t("fb153"),{props:{selectedId:{type:String,default:null},filters:{type:String,default:null},pageSize:{type:Number,default:20},loadMetadata:{type:Boolean,default:!1}},data:function(){return{internalSelectedId:this.selectedId}},computed:{selectedIdModel:{get:function(){return this.internalSelectedId},set:function(e){this.internalSelectedId=e,this.$emit("update:selectedId",e)}}},watch:{selectedId:function(e){e!==this.internalSelectedId&&(this.internalSelectedId=e)}},mounted:function(){var e=this;requestAnimationFrame((function(){e.$refs.searchInput.focus()}))},methods:{close:function(){this.$emit("close")},install:function(){this.$emit("install",this.selectedIdModel)},scrollResultsToTop:function(){var e=this.$refs.resultsBox;e&&(e.scrollTop=0)}}}),r=o,s=(t("f4b7"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"5f26a37c",null);n["default"]=c.exports},5638:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"currentProjectIdSet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currentProjectIdSet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}]}]}}],loc:{start:0,end:103}};t.loc.source={body:"mutation currentProjectIdSet ($projectId: ID!) {\n currentProjectIdSet(projectId: $projectId) @client\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["currentProjectIdSet"]=r(t,"currentProjectIdSet")},"56d7":function(e,n,t){"use strict";t.r(n);var i={};t.r(i),t.d(i,"folder",(function(){return v})),t.d(i,"date",(function(){return p}));var a,o=t("4670"),r=(t("c7fe"),t("8da0"),t("1160"),t("29c4"),t("90ee"),t("7b01")),s=t("8774"),c=t("d9dd"),d=t("e632"),l=t.n(d),u=t("513e"),f=t.n(u),m=t("266f");t("21db"),t("4b6e");function v(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(e=e.replace(/\\/g,"/"),"/"!==e.charAt(e.length-1)&&(e+="/"),-1!==n&&e.length>n){var t=e.length-n+3,i=Math.floor(n/2-t/2),a=Math.ceil(n/2+t/2);e=e.substring(0,i)+"..."+e.substring(a)}return e}function p(e){return new Date(e).toLocaleString()}var g={install:function(e,n){var t=Object.assign({},{computed:{}},n);a=new e({data:function(){return{width:window.innerWidth,height:window.innerHeight}},computed:t.computed}),Object.defineProperty(e.prototype,"$responsive",{get:function(){return a}}),window.addEventListener("resize",(function(){a.width=window.innerWidth,a.height=window.innerHeight}))}},k=(t("fa41"),t("3119"),t("21de"),t("192a"),t("f8eb")),h=t("1349"),b=t.n(h),w=t("86a2"),S=t.n(w),y=t("e427"),N=t.n(y),D=t("b018"),C=t.n(D);function E(e,n){return{query:b.a,variables:{id:e,projectId:n},update:function(e){var n=e.sharedData;return n&&n.value||void 0},subscribeToMore:{document:N.a,variables:{id:e,projectId:n},updateQuery:function(e,n){var t=n.subscriptionData;return{sharedData:t.data.sharedDataUpdated}}}}}var j={install:function(e){e.mixin({data:function(){return{$sharedData:{}}},beforeCreate:function(){var e=this;Object.defineProperty(this,"$sharedData",{get:function(){return e.$data.$sharedData},enumerable:!0,configurable:!0})},created:function(){var e=this;return Object(k["a"])(regeneratorRuntime.mark((function n(){var t,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t=e.$options.sharedData,!t){n.next=9;break}if("function"!==typeof t){n.next=6;break}e.$watch(t.bind(e),function(){var n=Object(k["a"])(regeneratorRuntime.mark((function n(t){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i&&i.forEach((function(e){return e.destroy()})),n.next=3,e.$syncSharedData(t);case 3:i=n.sent;case 4:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),{immediate:!0}),n.next=8;break;case 6:return n.next=8,e.$syncSharedData(t);case 8:e._watchers.forEach((function(e){e.update()}));case 9:case"end":return n.stop()}}),n)})))()},methods:{$getProjectId:function(){var e=this;return new Promise((function(n){var t=e.$apollo.getClient(),i=t.watchQuery({query:C.a}),a=i.subscribe({next:function(e){var t=e.data;t.currentProjectId&&(a.unsubscribe(),n(t.currentProjectId))}})}))},$getSharedData:function(e){var n=this;return Object(k["a"])(regeneratorRuntime.mark((function t(){var i,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$getProjectId();case 2:return i=t.sent,t.next=5,n.$apollo.query({query:b.a,variables:{id:e,projectId:i}});case 5:return a=t.sent,t.abrupt("return",a.sharedData.value);case 7:case"end":return t.stop()}}),t)})))()},$watchSharedData:function(e,n){var t=this;return Object(k["a"])(regeneratorRuntime.mark((function i(){var a;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,t.$getProjectId();case 2:return a=i.sent,i.abrupt("return",t.$apollo.addSmartQuery(e,Object(o["a"])(Object(o["a"])({},E(e,a)),{},{manual:!0,result:function(e){var t=e.data;t&&t.sharedData&&n(t.sharedData.value)}})));case 4:case"end":return i.stop()}}),i)})))()},$setSharedData:function(e,n){var t=this;return Object(k["a"])(regeneratorRuntime.mark((function i(){var a;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,t.$getProjectId();case 2:return a=i.sent,i.abrupt("return",t.$apollo.mutate({mutation:S.a,variables:{id:e,value:n,projectId:a}}));case 4:case"end":return i.stop()}}),i)})))()},$syncSharedData:function(e){var n=this;return Object(k["a"])(regeneratorRuntime.mark((function t(){var i,a,r,s,c,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(a in i=function(t){var i=e[t];n.$set(n.$data.$sharedData,t,null),Object.defineProperty(n,t,{get:function(){return n.$data.$sharedData[t]},set:function(e){n.$set(n.$data.$sharedData,t,e),n.$setSharedData(i,e)},enumerable:!0,configurable:!0})},e)i(a);return t.next=4,n.$getProjectId();case 4:for(d in r=t.sent,s=[],c=function(t){var i=e[t],a=n.$apollo.addSmartQuery(t,Object(o["a"])(Object(o["a"])({},E(i,r)),{},{update:void 0,manual:!0,result:function(e){if(e&&e.data){var i=e.data.sharedData,a=i&&i.value||void 0;n.$set(n.$data.$sharedData,t,a)}}}));s.push(a)},e)c(d);return t.abrupt("return",s);case 9:case"end":return t.stop()}}),t)})))()}}}),window.mapSharedData=function(e,n){var t={};for(var i in n)t[i]=e+n[i];return t}}},_=t("5c6a"),x=t.n(_),F=t("184b"),$=t.n(F),V=t("9bbb"),O=t.n(V),I=0,P={install:function(e){e.mixin({methods:{$callPluginAction:function(e,n){var t=this;return Object(k["a"])(regeneratorRuntime.mark((function i(){var a;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,t.$apollo.mutate({mutation:x.a,variables:{id:e,params:n}});case 2:return a=i.sent,i.abrupt("return",a.data.pluginActionCall);case 4:case"end":return i.stop()}}),i)})))()},$onPluginActionCalled:function(e){return this.$apollo.addSmartSubscription("plugin-action-called-".concat(I++),{query:$.a,result:function(n){var t=n.data;return e(t.pluginActionCalled)}})},$onPluginActionResolved:function(e){return this.$apollo.addSmartSubscription("plugin-action-resolved-".concat(I++),{query:O.a,result:function(n){var t=n.data;return e(t.pluginActionResolved)}})}}})}},q=t("136b"),L=t.n(q),T=t("e16d"),A=t.n(T),R={beforeCreate:function(){var e=this;if(this.$options.clientState){var n={connected:L.a,darkMode:A.a};this.$options.apollo=Object(o["a"])(Object(o["a"])({},this.$options.apollo),n);var t=function(n){Object.defineProperty(e,n,{get:function(){return e.$data.$apolloData.data[n]},enumerable:!0,configurable:!0})};for(var i in n)t(i)}}},B={bind:function(e,n){var t=n.value;"string"===typeof t&&(t=e.querySelector(t)),requestAnimationFrame((function(){var n=t.getBoundingClientRect();e.style.width="".concat(n.width,"px"),e.style.height="".concat(n.height,"px")}))}},M={bind:function(e){requestAnimationFrame((function(){var n=e.querySelector("input");n&&(e=n),e.focus()}))}},z=(t("f54f"),t("5efe")),Q=new r["default"],G={install:function(e){e.prototype.$bus=function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),i=1;i<n;i++)t[i-1]=arguments[i];Q.$emit.apply(Q,[e].concat(t))},e.mixin({beforeCreate:function(){var e=this,n=this.$options.bus;if(n){this.$_bus=[];var t=function(n){for(var t in n){var i=n[t].bind(e);Q.$on(t,i),e.$_bus.push({event:t,handler:i})}};Array.isArray(n)?n.forEach(t):t(n)}},beforeDestroy:function(){if(this.$_bus){var e,n=Object(z["a"])(this.$_bus);try{for(n.s();!(e=n.n()).done;){var t=e.value;Q.$off(t.event,t.handler)}}catch(i){n.e(i)}finally{n.f()}}}}),e.config.optionMergeStrategies.bus=function(e,n,t){return Array.isArray(e)?Array.isArray(n)?e.concat(n):(e.push(n),e):Array.isArray(n)?(n.push(e),n):e&&n?[e,n]:e||n}}},U=t("da6d"),H=t.n(U),W=new H.a;W.use_classes=!0,W.escape_for_html=!1;var Y={install:function(e){e.prototype.ansiColors=function(e){return W.ansi_to_html(e)}}},J=t("7fad");t("8a10");for(var X in r["default"].use(c["c"]),r["default"].use(l.a),r["default"].use(g,{computed:{mobile:function(){return this.width<=768},tablet:function(){return this.width<=900},desktop:function(){return!this.tablet},wide:function(){return this.width>=1300}}}),r["default"].use(s["b"]),r["default"].use(f.a),r["default"].use(m["b"]),r["default"].use(j),r["default"].use(P),r["default"].use(G),r["default"].use(Y),i)r["default"].filter(X,i[X]);r["default"].mixin(R),r["default"].directive("set-size",B),r["default"].directive("focus",M),r["default"].use(J["a"]);t("8b55"),t("a2b7");var Z=t("ccc2");Z.keys().forEach((function(e){var n=Z(e),t=e.substr(e.lastIndexOf("/")+1).replace(/\.\w+$/,"");r["default"].component(t,n.default||n)}));var K=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"app",attrs:{id:"app"}},[e.ready?t("ConnectionStatus"):e._e(),e.ready?t("div",{staticClass:"content"},[t("router-view")],1):t("VueLoadingIndicator",{staticClass:"app-init-loading overlay big accent"}),t("StatusBar"),t("ClientAddonLoader"),t("LocaleLoader")],1)},ee=[],ne=(t("043e"),t("9225")),te=t("3e53"),ie=t.n(te),ae={metaInfo:{titleTemplate:function(e){return e?"[Beta] ".concat(e," - Vue CLI"):"[Beta] Vue CLI"}},computed:{ready:function(){return Object.keys(ne["a"].getLocaleMessage("en")).length}},apollo:{$subscribe:{routeRequested:{query:ie.a,result:function(e){var n=e.data;this.$router.push(n.routeRequested)}}}}},oe=ae,re=(t("7faf"),t("08df"),t("b41a")),se=Object(re["a"])(oe,K,ee,!1,null,"7f631aef",null),ce=se.exports,de=(t("cba1"),t("951b")),le=t("ca94"),ue=t("a246"),fe=t("c679"),me=t("36d4"),ve=t("6578"),pe=t("8ccf"),ge=t("42d8"),ke=t("42c8"),he=t("b620"),be=t("01c2"),we=t("47b6"),Se=t("a1bf"),ye=t("6618"),Ne=t("3762"),De=t("424f"),Ce=t("4892"),Ee=t.n(Ce),je=t("5638"),_e=t.n(je);r["default"].use(de["a"]);var xe=new de["a"]({mode:"history",routes:[{path:"/",component:ue["default"],meta:{needProject:!0},children:[{path:"",name:"project-home",redirect:{name:"project-dashboard"}},{path:"dashboard",name:"project-dashboard",component:fe["default"]},{path:"plugins",name:"project-plugins",component:me["default"]},{path:"plugins/add",name:"project-plugins-add",component:ve["default"]},{path:"configuration",name:"project-configurations",component:pe["default"],children:[{path:":id",name:"project-configuration-details",component:ge["default"],props:!0}]},{path:"tasks",name:"project-tasks",component:ke["default"],children:[{path:":id",name:"project-task-details",component:he["default"],props:!0}]},{path:"dependencies",name:"project-dependencies",component:be["default"]}]},{path:"/project/select",name:"project-select",component:we["default"]},{path:"/project/create",name:"project-create",component:Se["default"]},{path:"/file-diff",name:"file-diff",component:ye["default"]},{path:"/about",name:"about",component:Ne["default"]},{path:"/home",name:"home",redirect:{name:"project-home"}},{path:"*",name:"not-found",component:De["default"]}]});xe.beforeEach(function(){var e=Object(k["a"])(regeneratorRuntime.mark((function e(n,t,i){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!n.matched.some((function(e){return e.meta.needProject}))){e.next=11;break}return e.next=3,le["a"].query({query:Ee.a,fetchPolicy:"network-only"});case 3:if(a=e.sent,a.data.projectCurrent){e.next=9;break}return i({name:"project-select"}),e.abrupt("return");case 9:return e.next=11,le["a"].mutate({mutation:_e.a,variables:{projectId:a.data.projectCurrent.id}});case 11:i();case 12:case"end":return e.stop()}}),e)})));return function(n,t,i){return e.apply(this,arguments)}}());var Fe=xe,$e=(t("486e"),t("b5bb"),t("2b6f")),Ve=t("89f7"),Oe=function(){function e(){Object($e["a"])(this,e),this.components=new Map,this.componentListeners=new Map}return Object(Ve["a"])(e,[{key:"component",value:function(e,n){this.components.set(e,n);var t=Ie(e);r["default"].component(t,n),console.log("[ClientAddonApi] Registered ".concat(t," component"));var i=this.componentListeners.get(e);i&&(i.forEach((function(e){return e(n)})),this.componentListeners.delete(e))}},{key:"addRoutes",value:function(e,n){Fe.addRoutes([{path:"/addon/".concat(e),component:ue["default"],meta:{needProject:!0,restore:!0},children:n}]),console.log("[ClientAddonApi] Registered new routes under the /addon/".concat(e," route"))}},{key:"addLocalization",value:function(e,n){Object(ne["b"])(e,n),console.log("[ClientAddonApi] Registered new strings for locale ".concat(e))}},{key:"getComponent",value:function(e){return this.components.get(e)}},{key:"listenForComponent",value:function(e,n){var t=this.componentListeners.get(e);t||(t=[],this.componentListeners.set(e,t)),t.push(n)}},{key:"awaitComponent",value:function(e){var n=this;return new Promise((function(t,i){var a=n.getComponent(e);a?t(a):n.listenForComponent(e,t)}))}}]),e}();function Ie(e){return e=e.replace(/\./g,"-"),"client-addon--".concat(e)}var Pe=t("92d3"),qe=t.n(Pe);window.gql=qe.a,r["default"].config.productionTip=!1,r["default"].config.devtools=!0,window.Vue=r["default"],window.ClientAddonApi=new Oe;var Le=new r["default"](Object(o["a"])({router:Fe,apolloProvider:le["b"],i18n:ne["a"]},ce));Le.$mount("#app")},5725:function(e,n,t){},5753:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("ApolloQuery",{staticClass:"suggestion-bar",attrs:{query:t("c335")},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result.data;return t?[i("SuggestionBarList",{attrs:{suggestions:e.withBuiltins(t.suggestions)}})]:void 0}}],null,!0)},[i("ApolloSubscribeToMore",{attrs:{document:t("6ce8"),updateQuery:function(e,n){var t=n.subscriptionData,i=t.data.suggestionAdded;return e.suggestions?e.suggestions.find((function(e){return e.id===i.id}))?e:{suggestions:e.suggestions.concat([i])}:{suggestions:[i]}}}}),i("ApolloSubscribeToMore",{attrs:{document:t("b0df")}}),i("ApolloSubscribeToMore",{attrs:{document:t("9d7d"),updateQuery:function(e,n){var t=n.subscriptionData;return{suggestions:e.suggestions?e.suggestions.filter((function(e){return e.id!==t.data.suggestionRemoved.id})):[]}}}})],1)},a=[],o=(t("f54f"),t("a394")),r={data:function(){return{forceDevtoolsSuggestion:!1}},methods:{withBuiltins:function(e){var n=e;if(this.forceDevtoolsSuggestion||!Object.prototype.hasOwnProperty.call(window,"__VUE_DEVTOOLS_GLOBAL_HOOK__")){var t=null;/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)?t="https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd":/Firefox/.test(navigator.userAgent)&&(t="https://addons.mozilla.org/en-US/firefox/addon/vue-js-devtools/"),t&&(n=[].concat(Object(o["a"])(n),[{id:"vue-devtools",type:"action",label:"org.vue.cli-service.suggestions.vue-devtools.label",message:"org.vue.cli-service.suggestions.vue-devtools.message",link:"https://github.com/vuejs/vue-devtools",image:"https://raw.githubusercontent.com/vuejs/vue-devtools/master/media/screenshot.png",actionLink:t}]))}return n}}},s=r,c=(t("0390"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,"6db62ce8",null);n["default"]=d.exports},"58eb":function(e,n,t){},"596a":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"folderOpenParent"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"folderOpenParent"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"folderCurrent"},directives:[]}]}}]}}],loc:{start:0,end:115}};i.loc.source={body:'#import "./folderCurrentFragment.gql"\n\nmutation folderOpenParent {\n folderOpenParent {\n ...folderCurrent\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("c44d").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["folderOpenParent"]=d(i,"folderOpenParent")},"5a65b":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"sharedData"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SharedData"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}],loc:{start:0,end:51}};t.loc.source={body:"fragment sharedData on SharedData {\n id\n value\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},"5b12":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"projectCreation"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectCreation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"projectCreation"},directives:[]}]}}]}}],loc:{start:0,end:114}};i.loc.source={body:'#import "./projectCreationFragment.gql"\n\nquery projectCreation {\n projectCreation {\n ...projectCreation\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("1440").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["projectCreation"]=d(i,"projectCreation")},"5c0d":function(e,n,t){"use strict";t.r(n);var i,a,o=t("26f5"),r={components:{ListItemInfo:o["default"]},props:{prompt:{type:Object,required:!0}},data:function(){return{modifiedValue:void 0}},methods:{value:function(e){return this.$options.buffer&&"undefined"!==typeof this.modifiedValue?this.modifiedValue:JSON.parse(e)},answer:function(e){this.modifiedValue=e,this.$emit("answer",e)}}},s=r,c=(t("39ec"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,null,null);n["default"]=d.exports},"5c6a":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"pluginActionCall"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"params"}},type:{kind:"NamedType",name:{kind:"Name",value:"JSON"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginActionCall"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"params"},value:{kind:"Variable",name:{kind:"Name",value:"params"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pluginActionResult"},directives:[]}]}}]}}],loc:{start:0,end:178}};i.loc.source={body:'#import "./pluginActionResultFragment.gql"\n\nmutation pluginActionCall ($id: ID!, $params: JSON) {\n pluginActionCall (id: $id, params: $params) {\n ...pluginActionResult\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("944b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginActionCall"]=d(i,"pluginActionCall")},"5d0b":function(e,n,t){"use strict";var i=t("0be2"),a=t.n(i);a.a},"5d82":function(e,n,t){},"5f3c":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"presetApply"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"presetApply"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"projectCreation"},directives:[]}]}}]}}],loc:{start:0,end:138}};i.loc.source={body:'#import "../project/projectCreationFragment.gql"\n\nmutation presetApply ($id: ID!) {\n presetApply(id: $id) {\n ...projectCreation\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("1440").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["presetApply"]=d(i,"presetApply")},"5f77":function(e,n,t){},"609f":function(e,n,t){},"60dc":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"folderSetFavorite"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"favorite"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"folderSetFavorite"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}},{kind:"Argument",name:{kind:"Name",value:"favorite"},value:{kind:"Variable",name:{kind:"Name",value:"favorite"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"folderCurrent"},directives:[]}]}}]}}],loc:{start:0,end:190}};i.loc.source={body:'#import "./folderCurrentFragment.gql"\n\nmutation folderSetFavorite ($path: String!, $favorite: Boolean!) {\n folderSetFavorite (path: $path, favorite: $favorite) {\n ...folderCurrent\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("c44d").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["folderSetFavorite"]=d(i,"folderSetFavorite")},"61ea":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"task"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"task"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"task"},directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"prompts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"prompt"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"views"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"component"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"defaultView"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:257}};i.loc.source={body:'#import "./taskFragment.gql"\n#import "../prompt/promptFragment.gql"\n\nquery task ($id: ID!) {\n task (id: $id) {\n ...task\n link\n prompts {\n ...prompt\n }\n views {\n id\n label\n icon\n component\n }\n defaultView\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("3e5e").definitions)),i.definitions=i.definitions.concat(o(t("1856").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["task"]=d(i,"task")},"620a":function(e,n,t){var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"pluginInstallation"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PluginInstallation"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pluginId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"step"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"prompts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"prompt"},directives:[]}]}}]}}],loc:{start:0,end:147}};i.loc.source={body:'#import "../prompt/promptFragment.gql"\n\nfragment pluginInstallation on PluginInstallation {\n id\n pluginId\n step\n prompts {\n ...prompt\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}i.definitions=i.definitions.concat(o(t("1856").definitions)),e.exports=i},6218:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"taskStop"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taskStop"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"task"},directives:[]}]}}]}}],loc:{start:0,end:102}};i.loc.source={body:'#import "./taskFragment.gql"\n\nmutation taskStop ($id: ID!) {\n taskStop (id: $id) {\n ...task\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("3e5e").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["taskStop"]=d(i,"taskStop")},6578:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-plugins-add page"},[t("div",{staticClass:"content"},[t("portal",{attrs:{to:"top-title"}},[e._v(e._s(e.$t("org.vue.views.project-plugins-add.title")))]),t("StepWizard",{staticClass:"frame",attrs:{"tab-id":e.tabId},on:{"update:tabId":function(n){e.tabId=n},"update:tab-id":function(n){e.tabId=n}}},[[t("VueTab",{attrs:{id:"search",label:e.$t("org.vue.views.project-plugins-add.tabs.search.label"),icon:"search",disabled:""}},[t("NpmPackageSearch",{attrs:{filters:"computedKeywords:vue-cli-plugin","load-metadata":""},on:{close:function(n){return e.close()},install:e.installPlugin}},[t("template",{slot:"more-actions"},[t("VueButton",{staticClass:"big flat",attrs:{"icon-left":"folder",label:e.$t("org.vue.views.project-plugins-add.buttons.add-local")},on:{click:function(n){e.showLocalAdd=!0}}})],1)],2)],1),t("VueTab",{attrs:{id:"config",label:e.$t("org.vue.views.project-plugins-add.tabs.configuration.label"),icon:"settings_applications",disabled:"",lazy:""}},[t("div",{staticClass:"content vue-ui-disable-scroll"},[t("div",{staticClass:"cta-text"},[e._v(e._s(e.$t("org.vue.views.project-plugins-add.tabs.configuration.heading",{target:e.pluginId})))]),t("PromptsList",{attrs:{prompts:e.visiblePrompts},on:{answer:e.answerPrompt}})],1),t("div",{staticClass:"actions-bar no-padding-x"},[t("VueButton",{staticClass:"big",attrs:{"icon-left":"arrow_back",label:e.$t("org.vue.views.project-plugins-add.tabs.configuration.buttons.cancel")},on:{click:function(n){e.showCancelInstall=!0}}}),t("VueButton",{staticClass:"big primary",attrs:{"icon-left":"done",label:e.$t("org.vue.views.project-plugins-add.tabs.configuration.buttons.finish"),disabled:!e.configurationValid,"data-testid":"finish-install"},on:{click:function(n){return e.invokePlugin()}}})],1)]),t("VueTab",{attrs:{id:"diff",label:e.$t("org.vue.views.project-plugins-add.tabs.diff.label"),icon:"note_add",disabled:"",lazy:""}},[t("FileDiffView",{on:{continue:function(n){return e.finishInstall()}}})],1)]],2)],1),e.showCancelInstall?t("VueModal",{staticClass:"medium",attrs:{title:e.$t("org.vue.views.project-plugins-add.modal.title",{target:e.pluginId})},on:{close:function(n){e.showCancelInstall=!1}}},[t("div",{staticClass:"default-body"},[e._v(" "+e._s(e.$t("org.vue.views.project-plugins-add.modal.body",{target:e.pluginId}))+" ")]),t("div",{staticClass:"actions end",attrs:{slot:"footer"},slot:"footer"},[t("VueButton",{staticClass:"flat",attrs:{label:e.$t("org.vue.views.project-plugins-add.modal.buttons.back")},on:{click:function(n){e.showCancelInstall=!1}}}),t("VueButton",{attrs:{label:e.$t("org.vue.views.project-plugins-add.modal.buttons.cancel")},on:{click:function(n){return e.cancelInstall()}}}),t("VueButton",{staticClass:"danger",attrs:{label:e.$t("org.vue.views.project-plugins-add.modal.buttons.uninstall"),"icon-left":"delete_forever"},on:{click:function(n){return e.uninstallPlugin()}}})],1)]):e._e(),e.showLocalAdd?t("VueModal",{attrs:{title:e.$t("org.vue.views.project-plugin-add-local.title")},on:{close:function(n){return e.closeLocalAdd()}}},[t("div",{staticClass:"default-body"},[t("ProjectPluginAddLocal",{on:{installed:e.localPluginInstalled}})],1)]):e._e(),t("ProgressScreen",{attrs:{"progress-id":"plugin-installation"}})],1)},a=[],o=(t("192a"),t("f8eb")),r=t("ee9d"),s=t("87c0"),c=t.n(s),d=t("ed73"),l=t.n(d),u=t("9b37"),f=t.n(u),m=t("cc10"),v=t.n(m),p=t("29c0"),g=t.n(p),k=t("a950"),h=t.n(k),b={name:"ProjectPluginsAdd",mixins:[Object(r["a"])({field:"pluginInstallation",query:c.a})],metaInfo:function(){return{title:this.$t("org.vue.views.project-plugins-add.title")}},data:function(){return{tabId:"search",showCancelInstall:!1,pluginInstallation:null,showLocalAdd:!1}},apollo:{pluginInstallation:{query:c.a,fetchPolicy:"network-only",result:function(){this.checkTab()}}},computed:{pluginId:function(){return this.pluginInstallation&&this.pluginInstallation.pluginId}},mounted:function(){var e=this;requestAnimationFrame((function(){e.checkTab()}))},destroyed:function(){this.closeLocalAdd()},methods:{close:function(){this.$router.push({name:"project-plugins"})},checkTab:function(){if(this.pluginInstallation)switch(this.pluginInstallation.pluginId?this.tabId="config":this.tabId="search",this.pluginInstallation.step){case"config":this.tabId="config";break;case"diff":this.tabId="diff";break;default:this.tabId="search"}},installPlugin:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,n.$apollo.mutate({mutation:l.a,variables:{id:e}});case 3:n.tabId="config",t.next=9;break;case 6:t.prev=6,t.t0=t["catch"](0),console.error(t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})))()},cancelInstall:function(){this.tabId="search",this.showCancelInstall=!1},localPluginInstalled:function(){this.closeLocalAdd(),this.tabId="config"},closeLocalAdd:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.showLocalAdd=!1,n.next=3,e.$apollo.mutate({mutation:h.a});case 3:case"end":return n.stop()}}),n)})))()},uninstallPlugin:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.showCancelInstall=!1,n.prev=1,n.next=4,e.$apollo.mutate({mutation:f.a,variables:{id:e.pluginId}});case 4:e.cancelInstall(),n.next=10;break;case 7:n.prev=7,n.t0=n["catch"](1),console.error(n.t0);case 10:case"end":return n.stop()}}),n,null,[[1,7]])})))()},invokePlugin:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.$apollo.mutate({mutation:v.a,variables:{id:e.pluginId}});case 3:e.tabId="diff",n.next=9;break;case 6:n.prev=6,n.t0=n["catch"](0),console.error(n.t0);case 9:case"end":return n.stop()}}),n,null,[[0,6]])})))()},finishInstall:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.$apollo.mutate({mutation:g.a});case 3:e.close(),n.next=9;break;case 6:n.prev=6,n.t0=n["catch"](0),console.error(n.t0);case 9:case"end":return n.stop()}}),n,null,[[0,6]])})))()}}},w=b,S=(t("3622"),t("b41a")),y=Object(S["a"])(w,i,a,!1,null,"290be5fe",null);n["default"]=y.exports},6618:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"file-diff-view"},[t("div",{staticClass:"toolbar"},[t("VueIcon",{attrs:{icon:"cached"}}),t("div",{staticClass:"title"},[e._v(e._s(e.$t("org.vue.components.file-diff-view.files-changed")))]),t("div",{staticClass:"file-count"},[e._v(e._s(e.fileDiffs&&e.fileDiffs.length))]),t("transition",{attrs:{name:"vue-ui-fade"}},[e.loading&&e.fileDiffs.length?t("VueLoadingIndicator",{staticClass:"small accent"}):e._e()],1),t("div",{staticClass:"vue-ui-spacer"}),t("VueInput",{attrs:{"icon-left":"search",placeholder:e.$t("org.vue.components.file-diff-view.search-file")},model:{value:e.search,callback:function(n){e.search=n},expression:"search"}}),t("VueButton",{attrs:{"icon-left":e.allCollapsed?"keyboard_arrow_down":"keyboard_arrow_up",label:e.$t("org.vue.components.file-diff-view.actions."+(e.allCollapsed?"expand-all":"collapse-all"))},on:{click:function(n){return e.setCollapsedToAll(!e.allCollapsed)}}}),t("VueButton",{staticClass:"icon-button",attrs:{"icon-left":"refresh"},on:{click:function(n){return e.refresh()}}})],1),t("div",{staticClass:"list"},[e.error||!e.fileDiffs?t("div",{staticClass:"vue-ui-empty"},[t("VueIcon",{staticClass:"empty-icon",attrs:{icon:"error"}}),t("span",[e._v(e._s(e.$t("org.vue.components.file-diff-view.error")))])],1):e.filteredList.length?e._l(e.filteredList,(function(n){return t("FileDiff",{key:n.id,attrs:{"file-diff":n,collapsed:!!e.collapsed[n.id]},on:{"update:collapsed":function(t){return e.$set(e.collapsed,n.id,t)}}})})):t("div",{staticClass:"vue-ui-empty"},[t("VueIcon",{staticClass:"empty-icon",attrs:{icon:"check_circle"}}),t("span",[e._v(e._s(e.$t("org.vue.components.file-diff-view.empty")))])],1)],2),t("div",{staticClass:"actions-bar"},[!e.error&&e.fileDiffs&&e.fileDiffs.length?[t("VueButton",{staticClass:"big primary",attrs:{"icon-left":"vertical_align_bottom",label:e.$t("org.vue.components.file-diff-view.actions.commit")},on:{click:function(n){e.showCommitModal=!0}}}),t("VueButton",{staticClass:"big",attrs:{label:e.$t("org.vue.components.file-diff-view.actions.skip"),"data-testid":"skip-button"},on:{click:function(n){return e.skip()}}})]:[t("VueButton",{staticClass:"big primary",attrs:{"icon-left":"done",label:e.$t("org.vue.components.file-diff-view.actions.continue"),"data-testid":"skip-button"},on:{click:function(n){return e.skip()}}}),t("VueButton",{staticClass:"big",attrs:{label:e.$t("org.vue.components.file-diff-view.actions.refresh"),"icon-left":"refresh"},on:{click:function(n){return e.refresh()}}})]],2),t("transition",{attrs:{name:"vue-ui-fade"}},[e.loading&&!e.fileDiffs.length?t("VueLoadingIndicator",{staticClass:"accent big overlay"}):e._e()],1),e.showCommitModal?t("VueModal",{staticClass:"medium",attrs:{title:e.$t("org.vue.components.file-diff-view.modals.commit.title")},on:{close:function(n){e.showCommitModal=!1}}},[t("div",{staticClass:"default-body"},[t("VueFormField",{attrs:{title:e.$t("org.vue.components.file-diff-view.modals.commit.input"),subtitle:e.$t("org.vue.components.file-diff-view.modals.commit.subtitle")}},[t("VueInput",{directives:[{name:"focus",rawName:"v-focus"}],attrs:{"icon-left":"local_offer"},on:{keyup:function(n){if(!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter"))return null;e.commitMessage&&e.commit()}},model:{value:e.commitMessage,callback:function(n){e.commitMessage=n},expression:"commitMessage"}})],1)],1),t("div",{staticClass:"actions center",attrs:{slot:"footer"},slot:"footer"},[t("VueButton",{staticClass:"flat",attrs:{label:e.$t("org.vue.components.file-diff-view.modals.commit.actions.cancel")},on:{click:function(n){e.showCommitModal=!1}}}),t("VueButton",{staticClass:"primary",attrs:{label:e.$t("org.vue.components.file-diff-view.modals.commit.actions.commit"),"icon-left":"vertical_align_bottom",disabled:!e.commitMessage},on:{click:function(n){return e.commit()}}})],1)]):e._e()],1)},a=[],o=(t("90ee"),t("b771"),t("fa41"),t("14cc"),t("020e"),t("21db"),t("1b33"),t("4b6e"),t("4d9a"),t("fb17"),t("21de"),t("192a"),t("f8eb")),r=t("7b01"),s=new r["default"]({data:{documentVisible:!document.hidden,documentFocus:document.hasFocus()}});document.addEventListener("visibilitychange",(function(){s.documentVisible=!document.hidden}),!1),window.addEventListener("focus",(function(){s.documentFocus=!0})),window.addEventListener("blur",(function(){s.documentFocus=!1}));var c={computed:{documentVisible:function(){return s.documentVisible},documentFocus:function(){return s.documentFocus}}},d=t("2c98"),l=t.n(d),u=t("e7f7"),f=t.n(u),m=["yarn.lock","pnpm-lock.yaml","package-lock.json"],v={mixins:[c],data:function(){return{fileDiffs:[],collapsed:{},search:"",loading:0,commitMessage:"",showCommitModal:!1,error:null}},apollo:{fileDiffs:{query:l.a,loadingKey:"loading",fetchPolicy:"network-only",error:function(e){this.error=e},result:function(e){var n=this;e.errors&&e.errors.length?this.error=e.errors[0]:(this.error=null,this.fileDiffs.forEach((function(e){"undefined"===typeof n.collapsed[e.id]&&(e.binary||m.includes(e.from)||m.includes(e.to))&&n.$set(n.collapsed,e.id,!0)})))}}},computed:{allCollapsed:function(){var e=this;return!!this.fileDiffs&&!this.fileDiffs.find((function(n){return!e.collapsed[n.id]}))},filteredList:function(){if(!this.fileDiffs)return[];var e=this.search.trim();if(e){var n=new RegExp(e.replace(/\s+/g,".*"),"i");return this.fileDiffs.filter((function(e){return n.test(e.from)||n.test(e.to)}))}return this.fileDiffs}},watch:{documentFocus:function(e){e&&this.refresh()}},methods:{setCollapsedToAll:function(e){var n={};this.fileDiffs.forEach((function(t){n[t.id]=e||m.includes(t.from)||m.includes(t.to)})),this.collapsed=n},refresh:function(){this.$apollo.queries.fileDiffs.refetch()},commit:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.showCommitModal=!1,e.loading++,n.prev=2,n.next=5,e.$apollo.mutate({mutation:f.a,variables:{message:e.commitMessage}});case 5:e.refresh(),e.$emit("continue"),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](2),console.error(n.t0);case 12:e.loading--;case 13:case"end":return n.stop()}}),n,null,[[2,9]])})))()},skip:function(){this.$emit("continue")}}},p=v,g=(t("9322"),t("b41a")),k=Object(g["a"])(p,i,a,!1,null,"e6aca748",null);n["default"]=k.exports},"66fe":function(e,n,t){},6761:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"taskLogsClear"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taskLogsClear"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"task"},directives:[]}]}}]}}],loc:{start:0,end:112}};i.loc.source={body:'#import "./taskFragment.gql"\n\nmutation taskLogsClear ($id: ID!) {\n taskLogsClear (id: $id) {\n ...task\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("3e5e").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["taskLogsClear"]=d(i,"taskLogsClear")},"69ce":function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"projectCancelCreation"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectCancelCreation"},arguments:[],directives:[]}]}}],loc:{start:0,end:58}};t.loc.source={body:"mutation projectCancelCreation {\n projectCancelCreation\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["projectCancelCreation"]=r(t,"projectCancelCreation")},"69d5":function(e,n,t){"use strict";var i=t("557d"),a=t.n(i);a.a},"6a32":function(e,n,t){"use strict";t.r(n);t("e2a9");var i,a,o={functional:!0,render:function(e,n){var t=n.props,i=n.data;return e("div",i.scopedSlots.default({list:t.list.slice().sort(t.compare)}))}},r=o,s=t("b41a"),c=Object(s["a"])(r,i,a,!1,null,null,null);n["default"]=c.exports},"6b2a":function(e,n,t){"use strict";var i=t("ac35"),a=t.n(i);a.a},"6b85":function(e,n,t){},"6ba5":function(e,n,t){"use strict";var i=t("5d82"),a=t.n(i);a.a},"6ce8":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"suggestionAdded"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"suggestionAdded"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"suggestion"},directives:[]}]}}]}}],loc:{start:0,end:110}};i.loc.source={body:'#import "./suggestionFragment.gql"\n\nsubscription suggestionAdded {\n suggestionAdded {\n ...suggestion\n }\n}',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("3568").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["suggestionAdded"]=d(i,"suggestionAdded")},"6dc8":function(e,n,t){},"6e45":function(e,n,t){},"744c":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("VueDisable",{staticClass:"prompt prompt-color",attrs:{disabled:!e.prompt.enabled}},[t("div",{staticClass:"prompt-content"},[t("ListItemInfo",{attrs:{name:e.$t(e.prompt.message),description:e.$t(e.prompt.description),link:e.prompt.link}}),t("VueDropdown",{staticClass:"prompt-input"},[t("VueInput",{attrs:{slot:"trigger",value:e.value(e.prompt.value)},on:{update:function(n){return e.answer(n)}},slot:"trigger"},[t("div",{staticClass:"color-preview",attrs:{slot:"right"},slot:"right"},[t("div",{staticClass:"color-swatch",style:{backgroundColor:e.value(e.prompt.value)}})])]),t("ColorPicker",{staticClass:"color-picker",attrs:{value:e.value(e.prompt.value)},on:{input:function(n){return e.answer(n.hex)}}})],1)],1),t("PromptError",{attrs:{error:e.prompt.error}})],1)},a=[],o=t("5c0d"),r=t("2e03"),s={extends:o["default"],components:{ColorPicker:r["Sketch"]},buffer:!0},c=s,d=(t("0357"),t("b41a")),l=Object(d["a"])(c,i,a,!1,null,"17ce3a2a",null);n["default"]=l.exports},"775b":function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"dependenciesUpdate"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dependenciesUpdate"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:100}};t.loc.source={body:"mutation dependenciesUpdate {\n dependenciesUpdate {\n id\n version {\n current\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["dependenciesUpdate"]=r(t,"dependenciesUpdate")},7793:function(e,n,t){},7799:function(e,n,t){"use strict";var i=t("bc99"),a=t.n(i);a.a},"77cb":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"pluginInstallLocal"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginInstallLocal"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pluginInstallation"},directives:[]}]}}]}}],loc:{start:0,end:129}};i.loc.source={body:'#import "./pluginInstallationFragment.gql"\n\nmutation pluginInstallLocal {\n pluginInstallLocal {\n ...pluginInstallation\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("620a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginInstallLocal"]=d(i,"pluginInstallLocal")},"780a":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"configurationSave"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"configurationSave"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"configuration"},directives:[]}]}}]}}],loc:{start:0,end:138}};i.loc.source={body:'#import "./configurationFragment.gql"\n\nmutation configurationSave ($id: ID!) {\n configurationSave (id: $id) {\n ...configuration\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("e75e").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["configurationSave"]=d(i,"configurationSave")},7830:function(e,n,t){},"786d":function(e,n,t){"use strict";var i=t("5f77"),a=t.n(i);a.a},"78cf":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"configuration"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"configuration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"configuration"},directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tabs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"prompts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"prompt"},directives:[]}]}}]}}]}}]}}],loc:{start:0,end:265}};i.loc.source={body:'#import "./configurationFragment.gql"\n#import "../prompt/promptFragment.gql"\n\nquery configuration ($id: ID!) {\n configuration(id: $id) {\n ...configuration\n link\n tabs {\n id\n label\n icon\n prompts {\n ...prompt\n }\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("e75e").definitions)),i.definitions=i.definitions.concat(o(t("1856").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["configuration"]=d(i,"configuration")},"7a6e":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"instant-search-input"},[t("VueInput",{ref:"input",staticClass:"big",attrs:{"icon-left":"search",placeholder:e.placeholder},model:{value:e.query,callback:function(n){e.query=n},expression:"query"}},[t("template",{slot:"right"},[t("VueButton",{staticClass:"icon-button flat",attrs:{"icon-left":"clear"},on:{click:function(n){return e.clear()}}})],1)],2)],1)},a=[],o=t("d9dd"),r={mixins:[o["a"]],props:{placeholder:{type:String,default:null}},computed:{query:{get:function(){return this.searchStore.query},set:function(e){var n=this;this.searchStore.stop(),this.searchStore.query=e,this.$emit("query",e),this.$nextTick((function(){n.searchStore.start(),n.searchStore.refresh()}))}}},methods:{clear:function(){this.searchStore.stop(),this.searchStore.query.length>0&&(this.searchStore.query=""),this.searchStore.activeRefinements.length>0&&this.searchStore.clearRefinements(),this.searchStore.start(),this.searchStore.refresh()},focus:function(){this.$refs.input.focus()}}},s=r,c=(t("4bed"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,"615eeb16",null);n["default"]=d.exports},"7b42":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"package-search-item list-item",class:{selected:e.selected}},[t("ItemLogo",{attrs:{image:e.logoUrl,selected:e.selected,"fallback-icon":"extension"}}),t("ListItemInfo",{attrs:{link:e.pkg.homepage||e.pkg.repository&&e.pkg.repository.url||"",selected:e.selected,"show-description":""}},[t("template",{slot:"name"},[t("span",{staticClass:"name",attrs:{"data-testid":"name"}},[t("ais-highlight",{attrs:{result:e.pkg,"attribute-name":"name"}})],1),t("span",{staticClass:"version"},[e._v(e._s(e.pkg.version))])]),t("template",{slot:"description"},[t("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.pkg.description,expression:"pkg.description"}],staticClass:"info description"},[t("ais-highlight",{attrs:{result:e.pkg,"attribute-name":"description"}})],1),e.official?t("span",{staticClass:"info"},[t("VueIcon",{staticClass:"top medium",attrs:{icon:"star"}}),t("span",[e._v(e._s(e.$t("org.vue.components.project-plugin-item.official")))])],1):e._e(),t("span",{staticClass:"info downloads"},[t("VueIcon",{staticClass:"medium",attrs:{icon:"file_download"}}),t("span",[e._v(e._s(e.pkg.humanDownloadsLast30Days))])],1),t("span",{staticClass:"info owner"},[t("VueIcon",{staticClass:"medium",attrs:{icon:"account_circle"}}),t("span",[e._v(e._s(e.pkg.owner.name))])],1)])],2),e.hasGenerator?t("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.project-plugin-item.features.generator"),expression:"$t('org.vue.components.project-plugin-item.features.generator')"}],staticClass:"feature"},[t("VueIcon",{staticClass:"big",attrs:{icon:"note_add"}})],1):e._e(),e.hasUiIntegration?t("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.project-plugin-item.features.ui-integration"),expression:"$t('org.vue.components.project-plugin-item.features.ui-integration')"}],staticClass:"feature"},[t("VueIcon",{staticClass:"big",attrs:{icon:"brush"}})],1):e._e()],1)},a=[],o=(t("f108"),t("3119"),{props:{pkg:{type:Object,required:!0},selected:{type:Boolean,default:!1},loadMetadata:{type:Boolean,default:!1}},data:function(){return{logoUrl:null,hasGenerator:!1,hasUiIntegration:!1}},computed:{official:function(){return"vuejs"===this.pkg.owner.name}},watch:{"pkg.name":{handler:"updateMetadata",immediate:!0}},methods:{updateMetadata:function(){var e=this,n=this.pkg.name;if(this.hasUiIntegration=!1,this.hasGenerator=!1,this.logoUrl=this.pkg.owner.avatar,this.loadMetadata){var t=new Image;t.onload=function(){n===e.pkg.name&&(e.logoUrl=t.src)},t.src="https://unpkg.com/".concat(n,"/logo.png"),fetch("https://unpkg.com/".concat(n,"/ui")).then((function(t){n===e.pkg.name&&(e.hasUiIntegration=t.ok)})),fetch("https://unpkg.com/".concat(n,"/generator")).then((function(t){n===e.pkg.name&&(e.hasGenerator=t.ok)}))}}}}),r=o,s=(t("901c"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"40f3faa6",null);n["default"]=c.exports},"7d58":function(e,n,t){"use strict";var i=t("ec0d"),a=t.n(i);a.a},"7d63":function(e,n,t){"use strict";var i=t("eee3"),a=t.n(i);a.a},"7faf":function(e,n,t){"use strict";var i=t("609f"),a=t.n(i);a.a},"7fb2":function(e,n,t){},8133:function(e,n,t){"use strict";var i=t("9bae"),a=t.n(i);a.a},8250:function(e,n,t){"use strict";var i=t("38d1"),a=t.n(i);a.a},8276:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"dependencyUpdate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DependencyUpdate"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dependencyUpdate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:139}};t.loc.source={body:"mutation dependencyUpdate ($input: DependencyUpdate!) {\n dependencyUpdate (input: $input) {\n id\n version {\n current\n }\n }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["dependencyUpdate"]=r(t,"dependencyUpdate")},"82f6":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"viewRemoved"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewRemoved"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"view"},directives:[]}]}}]}}],loc:{start:0,end:91}};i.loc.source={body:'#import "./viewFragment.gql"\n\nsubscription viewRemoved {\n viewRemoved {\n ...view\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("9c30").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["viewRemoved"]=d(i,"viewRemoved")},"83d2":function(e,n,t){},8468:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"fileOpenInEditor"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"OpenInEditorInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fileOpenInEditor"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:94}};t.loc.source={body:"mutation fileOpenInEditor ($input: OpenInEditorInput!) {\n fileOpenInEditor (input: $input)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["fileOpenInEditor"]=r(t,"fileOpenInEditor")},8494:function(e,n,t){},"85fa":function(e,n,t){"use strict";var i=t("13a8"),a=t.n(i);a.a},"863a":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"clientAddon"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ClientAddon"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}],loc:{start:0,end:51}};t.loc.source={body:"fragment clientAddon on ClientAddon {\n id\n url\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},"86a2":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"sharedDataUpdate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"value"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JSON"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sharedDataUpdate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}},{kind:"Argument",name:{kind:"Name",value:"value"},value:{kind:"Variable",name:{kind:"Name",value:"value"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"sharedData"},directives:[]}]}}]}}],loc:{start:0,end:200}};i.loc.source={body:'#import "./sharedDataFragment.gql"\n\nmutation sharedDataUpdate ($id: ID!, $projectId: ID!, $value: JSON!) {\n sharedDataUpdate (id: $id, projectId: $projectId, value: $value) {\n ...sharedData\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("5a65b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["sharedDataUpdate"]=d(i,"sharedDataUpdate")},"87b3":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"taskRestoreParameters"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taskRestoreParameters"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"prompt"},directives:[]}]}}]}}],loc:{start:0,end:139}};i.loc.source={body:'#import "../prompt/promptFragment.gql"\n\nmutation taskRestoreParameters ($id: ID!) {\n taskRestoreParameters (id: $id) {\n ...prompt\n }\n}',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("1856").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["taskRestoreParameters"]=d(i,"taskRestoreParameters")},"87c0":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"pluginInstallation"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginInstallation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pluginInstallation"},directives:[]}]}}]}}],loc:{start:0,end:126}};i.loc.source={body:'#import "./pluginInstallationFragment.gql"\n\nquery pluginInstallation {\n pluginInstallation {\n ...pluginInstallation\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("620a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginInstallation"]=d(i,"pluginInstallation")},"881d":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"folderCurrent"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"folderCurrent"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"folderCurrent"},directives:[]}]}}]}}],loc:{start:0,end:106}};i.loc.source={body:'#import "./folderCurrentFragment.gql"\n\nquery folderCurrent {\n folderCurrent {\n ...folderCurrent\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("c44d").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["folderCurrent"]=d(i,"folderCurrent")},"885b":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"taskLog"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"TaskLog"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taskId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]}]}}],loc:{start:0,end:55}};t.loc.source={body:"fragment taskLog on TaskLog {\n taskId\n type\n text\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},8871:function(e,n,t){"use strict";var i=t("aa6c"),a=t.n(i);a.a},"8ab3":function(e,n,t){"use strict";t.r(n);t("90ee");var i,a,o={functional:!0,render:function(e,n){var t=n.props,i=n.data;return e("div",i.scopedSlots.default({list:t.list.filter(t.filter)}))}},r=o,s=t("b41a"),c=Object(s["a"])(r,i,a,!1,null,null,null);n["default"]=c.exports},"8c3a":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"project"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Project"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"favorite"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"homepage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"openDate"},arguments:[],directives:[]}]}}],loc:{start:0,end:91}};t.loc.source={body:"fragment project on Project {\n id\n name\n type\n path\n favorite\n homepage\n openDate\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},"8ca9":function(e,n,t){"use strict";var i=t("d850"),a=t.n(i);a.a},"8ccf":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"project-configurations page"},[i("ContentView",{staticClass:"limit-width",attrs:{title:e.$t("org.vue.views.project-configurations.title")}},[i("ApolloQuery",{staticClass:"fill-height",attrs:{query:t("f2a0")},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result,a=t.data,o=t.loading;return[!o||a&&a.configurations?a?i("NavContent",{staticClass:"configurations",attrs:{items:e.generateItems(a.configurations)},scopedSlots:e._u([{key:"default",fn:function(e){var n=e.item,t=e.selected;return i("ConfigurationItem",{attrs:{configuration:n.configuration,selected:t}})}}],null,!0)},[i("div",{staticClass:"list-header",attrs:{slot:"before"},slot:"before"},[i("VueInput",{staticClass:"search round",attrs:{"icon-left":"search"},model:{value:e.search,callback:function(n){e.search=n},expression:"search"}})],1)]):e._e():i("VueLoadingIndicator",{staticClass:"overlay"})]}}])})],1)],1)},a=[],o=(t("bdaf"),t("cf82"),t("90ee"),t("6797"),t("f108"),t("21db"),t("97d0"),t("4d9a"),t("310a")),r=t("9cd3"),s=t("f2a0"),c=t.n(s),d={mixins:[Object(o["a"])({baseRoute:{name:"project-configurations"}})],metaInfo:function(){return{title:this.$t("org.vue.views.project-configurations.title")}},data:function(){return{search:""}},bus:{quickOpenProject:function(e){this.$apollo.getClient().writeQuery({query:c.a,data:{configurations:null}})}},methods:{generateItems:function(e){if(!e)return[];var n=Object(r["a"])(this.search);return e.filter((function(e){return!n||e.name.match(n)||e.description.match(n)})).map((function(e){return{route:{name:"project-configuration-details",params:{id:e.id}},configuration:e}}))}}},l=d,u=(t("2012"),t("b41a")),f=Object(u["a"])(l,i,a,!1,null,"0e341be2",null);n["default"]=f.exports},"8e11":function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"darkModeSet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"enabled"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"darkModeSet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"enabled"},value:{kind:"Variable",name:{kind:"Name",value:"enabled"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}]}]}}],loc:{start:0,end:87}};t.loc.source={body:"mutation darkModeSet($enabled: Boolean!) {\n darkModeSet (enabled: $enabled) @client\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["darkModeSet"]=r(t,"darkModeSet")},"8e59":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"viewAdded"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewAdded"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"view"},directives:[]}]}}]}}],loc:{start:0,end:87}};i.loc.source={body:'#import "./viewFragment.gql"\n\nsubscription viewAdded {\n viewAdded {\n ...view\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("9c30").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["viewAdded"]=d(i,"viewAdded")},"8ea1":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"pluginDetails"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"pluginDetails"},name:{kind:"Name",value:"plugin"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"version"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:177}};i.loc.source={body:'#import "../version/versionFragment.gql"\n\nquery pluginDetails ($id: ID!) {\n pluginDetails: plugin (id: $id) {\n id\n version {\n ...version\n }\n description\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("ad67").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginDetails"]=d(i,"pluginDetails")},"8f87":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"projects"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projects"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"project"},directives:[]},{kind:"Field",name:{kind:"Name",value:"tasks"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"task"},directives:[]}]}}]}}]}}],loc:{start:0,end:151}};i.loc.source={body:'#import "./projectFragment.gql"\n#import "../task/taskFragment.gql"\n\nquery projects {\n projects {\n ...project\n tasks {\n ...task\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("8c3a").definitions)),i.definitions=i.definitions.concat(o(t("3e5e").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["projects"]=d(i,"projects")},"8fb4":function(e,n,t){},"8ff9":function(e,n,t){},"901c":function(e,n,t){"use strict";var i=t("58eb"),a=t.n(i);a.a},"90f6":function(e,n,t){"use strict";var i=t("057a"),a=t.n(i);a.a},"91aa":function(e,n,t){var i={"./Prompt.vue":"5c0d","./PromptCheckbox.vue":"50c1","./PromptColor.vue":"744c","./PromptConfirm.vue":"2674","./PromptEditor.vue":"fb10","./PromptError.vue":"ca27","./PromptInput.vue":"d2c1","./PromptList.vue":"a667","./PromptsList.vue":"b338"};function a(e){var n=o(e);return t(n)}function o(e){if(!t.o(i,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=o,e.exports=a,a.id="91aa"},9225:function(e,n,t){"use strict";t.d(n,"b",(function(){return b}));t("4bab"),t("6797"),t("3119"),t("21db"),t("4b6e");var i=t("852c"),a=t("5efe"),o=(t("192a"),t("f8eb")),r=t("7b01"),s=t("b0e8"),c=t("9ebf"),d=t.n(c),l=t("b375");function u(){try{var e=window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.userLanguage;return[e,e.toLowerCase(),e.substr(0,2)].map((function(e){return e.replace("-","_")}))}catch(n){return}}function f(e){return m.apply(this,arguments)}function m(){return m=Object(o["a"])(regeneratorRuntime.mark((function e(n){var t,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("https://unpkg.com/vue-cli-locales/locales/".concat(n,".json"));case 3:if(t=e.sent,!t.ok){e.next=10;break}return e.next=7,t.json();case 7:return i=e.sent,b(n,i),e.abrupt("return",!0);case 10:e.next=14;break;case 12:e.prev=12,e.t0=e["catch"](0);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[0,12]])}))),m.apply(this,arguments)}function v(){return p.apply(this,arguments)}function p(){return p=Object(o["a"])(regeneratorRuntime.mark((function e(){var n,o,s,c,d,f,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=u(),!n||-1!==n[0].indexOf("en")){e.next=29;break}o=!1,c=Object(a["a"])(n),e.prev=4,c.s();case 6:if((d=c.n()).done){e.next=18;break}if(f=d.value,f!==s){e.next=10;break}return e.abrupt("continue",16);case 10:return s=f,e.next=13,g(f);case 13:if(o=e.sent,!o){e.next=16;break}return e.abrupt("break",18);case 16:e.next=6;break;case 18:e.next=23;break;case 20:e.prev=20,e.t0=e["catch"](4),c.e(e.t0);case 23:return e.prev=23,c.f(),e.finish(23);case 26:o||console.log("[UI] No locale data was found for your locale ".concat(n[0],".")),m=h.locale.toLowerCase().replace(/-/g,"_"),r["default"].component("VueTimeago",Object(l["a"])({name:"VueTimeago",locale:h.locale,locales:Object(i["a"])({},h.locale,t("b71a")("./".concat(m,"/index.js")))}));case 29:case"end":return e.stop()}}),e,null,[[4,20,23,26]])}))),p.apply(this,arguments)}function g(e){return k.apply(this,arguments)}function k(){return k=Object(o["a"])(regeneratorRuntime.mark((function e(n){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("[UI] Trying to load ".concat(n," locale...")),e.next=3,f(n);case 3:return t=e.sent,t&&(h.locale=n,console.log("[UI] Automatically loaded ".concat(n," locale "))),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}r["default"].use(s["a"]),r["default"].use(l["b"],{name:"VueTimeago",locale:"en"});var h=new s["a"]({locale:"en",fallbackLocale:"en",messages:{en:{}},silentTranslationWarn:!1});function b(e,n){var t=d()(h.getLocaleMessage(e),n);h.setLocaleMessage(e,t)}v(),n["a"]=h},9322:function(e,n,t){"use strict";var i=t("3b9f"),a=t.n(i);a.a},9350:function(e,n,t){"use strict";var i=t("7fb2"),a=t.n(i);a.a},"93cc":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"projectOpen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectOpen"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"project"},directives:[]}]}}]}}],loc:{start:0,end:113}};i.loc.source={body:'#import "./projectFragment.gql"\n\nmutation projectOpen ($id: ID!) {\n projectOpen(id: $id) {\n ...project\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("8c3a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["projectOpen"]=d(i,"projectOpen")},"944b":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"pluginActionResult"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PluginActionResult"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"params"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"results"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]}]}}],loc:{start:0,end:87}};t.loc.source={body:"fragment pluginActionResult on PluginActionResult {\n id\n params\n results\n errors\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},"944bd":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"logger-view"},[i("div",{staticClass:"pane-toolbar"},[i("VueIcon",{attrs:{icon:"dvr"}}),i("div",{staticClass:"title"},[e._v(" "+e._s(e.$t("org.vue.components.logger-view.title"))+" ")]),i("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.logger-view.buttons.clear"),expression:"$t('org.vue.components.logger-view.buttons.clear')"}],staticClass:"icon-button flat",attrs:{"icon-left":"delete_forever"},on:{click:function(n){return e.clearLogs()}}}),i("VueIcon",{staticClass:"separator",attrs:{icon:"lens"}}),i("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.logger-view.buttons.scroll"),expression:"$t('org.vue.components.logger-view.buttons.scroll')"}],staticClass:"icon-button flat",attrs:{"icon-left":"subdirectory_arrow_left"},on:{click:function(n){return e.scrollToBottom()}}}),i("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.logger-view.buttons.close"),expression:"$t('org.vue.components.logger-view.buttons.close')"}],staticClass:"icon-button flat",attrs:{"icon-left":"close"},on:{click:function(n){return e.close()}}})],1),i("ApolloQuery",{ref:"logs",staticClass:"logs",attrs:{query:t("1ee0")},on:{result:function(n){return e.scrollToBottom()}},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result.data;return[t&&t.consoleLogs?[e._l(t.consoleLogs,(function(e){return i("LoggerMessage",{key:e.id,attrs:{message:e,pre:""}})})),t.consoleLogs.length?e._e():i("div",{staticClass:"vue-ui-empty"},[i("VueIcon",{staticClass:"large",attrs:{icon:"wifi"}}),i("div",[e._v(e._s(e.$t("org.vue.components.logger-view.empty")))])],1)]:e._e()]}}])},[i("ApolloSubscribeToMore",{attrs:{document:t("adda"),"update-query":e.onConsoleLogAdded}})],1)],1)},a=[],o=(t("f54f"),t("192a"),t("f8eb")),r=t("a394"),s=t("1ee0"),c=t.n(s),d=t("2dcd"),l=t.n(d),u=t("9670"),f=t.n(u),m={methods:{onConsoleLogAdded:function(e,n){var t=n.subscriptionData;return this.scrollToBottom(),{consoleLogs:[].concat(Object(r["a"])(e.consoleLogs),[t.data.consoleLogAdded])}},scrollToBottom:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$nextTick();case 2:t=e.$refs.logs.$el,t.scrollTop=t.scrollHeight;case 4:case"end":return n.stop()}}),n)})))()},clearLogs:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:f.a,update:function(e){e.writeQuery({query:c.a,data:{consoleLogs:[]}}),e.writeQuery({query:l.a,data:{consoleLogLast:null}})}});case 2:e.close();case 3:case"end":return n.stop()}}),n)})))()},close:function(){this.$emit("close")}}},v=m,p=(t("bacf"),t("b41a")),g=Object(p["a"])(v,i,a,!1,null,"7cd2133d",null);n["default"]=g.exports},9481:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"loading"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"loading"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}]}]}}],loc:{start:0,end:36}};t.loc.source={body:"query loading {\n loading @client\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["loading"]=r(t,"loading")},9587:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"folderOpen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"folderOpen"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"folderCurrent"},directives:[]}]}}]}}],loc:{start:0,end:133}};i.loc.source={body:'#import "./folderCurrentFragment.gql"\n\nmutation folderOpen ($path: String!) {\n folderOpen(path: $path) {\n ...folderCurrent\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("c44d").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["folderOpen"]=d(i,"folderOpen")},"95e2":function(e,n,t){},"962a":function(e,n,t){"use strict";var i=t("8494"),a=t.n(i);a.a},9670:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"consoleLogsClear"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"consoleLogsClear"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"consoleLog"},directives:[]}]}}]}}],loc:{start:0,end:109}};i.loc.source={body:'#import "./consoleLogFragment.gql"\n\nmutation consoleLogsClear {\n consoleLogsClear {\n ...consoleLog\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("1b6a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["consoleLogsClear"]=d(i,"consoleLogsClear")},"978e":function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));t("f54f");function i(e){return Object({VUE_APP_CLI_UI_URL:"",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_CLI_UI_DEV&&"/"===e.charAt(0)?"http://localhost:".concat(Object({VUE_APP_CLI_UI_URL:"",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_GRAPHQL_PORT).concat(e):e}},"992b":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"taskLogs"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"taskLogs"},name:{kind:"Name",value:"task"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"taskLog"},directives:[]}]}}]}}]}}],loc:{start:0,end:136}};i.loc.source={body:'#import "./taskLogFragment.gql"\n\nquery taskLogs ($id: ID!) {\n taskLogs: task(id: $id) {\n id\n logs {\n ...taskLog\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("885b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["taskLogs"]=d(i,"taskLogs")},"9a5b":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"widget-add-item list-item"},[t("div",{staticClass:"info",on:{click:function(n){e.showDetails=!0}}},[t("ItemLogo",{attrs:{image:e.definition.icon,"fallback-icon":"widgets"}}),t("ListItemInfo",{attrs:{name:e.$t(e.definition.title),description:e.$t(e.definition.description),link:e.definition.link}})],1),t("div",{staticClass:"actions"},[t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.widget-add-item.add"),expression:"$t('org.vue.components.widget-add-item.add')"}],staticClass:"primary icon-button",attrs:{"icon-left":"add"},on:{click:function(n){return e.add()}}})],1),e.showDetails?t("VueModal",{staticClass:"medium",attrs:{title:e.$t("org.vue.components.widget-add-item.details.title")},on:{close:function(n){e.showDetails=!1}}},[t("div",{staticClass:"custom-body"},[t("div",{staticClass:"details"},[t("ItemLogo",{attrs:{image:e.definition.icon,"fallback-icon":"widgets"}}),t("ListItemInfo",{attrs:{name:e.$t(e.definition.title),description:e.$t(e.definition.description)}})],1),e.definition.longDescription?t("div",{staticClass:"details"},[t("div",{staticClass:"description",domProps:{innerHTML:e._s(e.$t(e.definition.longDescription))}})]):e._e(),t("div",{staticClass:"instances"},[e._v(" "+e._s(e.$t("org.vue.components.widget-add-item.details.max-instances",{count:e.definition.count,total:null==e.definition.maxCount?e.$t("org.vue.components.widget-add-item.details.unlimited"):e.definition.maxCount}))+" ")])]),t("div",{staticClass:"actions",attrs:{slot:"footer"},slot:"footer"},[e.definition.link?t("VueButton",{staticClass:"flat",attrs:{href:e.definition.link,label:e.$t("org.vue.common.more-info"),target:"_blank","icon-right":"open_in_new"}}):e._e(),t("VueButton",{staticClass:"primary",attrs:{label:e.$t("org.vue.components.widget-add-item.add"),"icon-left":"add"},on:{click:function(n){return e.add()}}})],1)]):e._e()],1)},a=[],o=(t("f54f"),t("a394")),r=t("a84f"),s=t.n(r),c=t("b7d9"),d=t.n(c),l=t("46e1"),u=t.n(l),f={props:{definition:{type:Object,required:!0}},data:function(){return{showDetails:!1}},methods:{add:function(){this.showDetails=!1,this.$apollo.mutate({mutation:s.a,variables:{input:{definitionId:this.definition.id}},update:function(e,n){var t=n.data.widgetAdd,i=e.readQuery({query:d.a});i={widgets:[].concat(Object(o["a"])(i.widgets),[t])},e.writeQuery({query:d.a,data:i}),e.writeFragment({fragment:u.a,id:t.definition.id,data:t.definition})}})}}},m=f,v=(t("8250"),t("b41a")),p=Object(v["a"])(m,i,a,!1,null,"4fd981a4",null);n["default"]=p.exports},"9a76":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-nav-more"},[t("VueDropdown",{attrs:{placement:"right-end"}},[t("VueButton",{staticClass:"big flat",class:{"icon-button":!e.$responsive.wide},attrs:{slot:"trigger","icon-left":"more_horiz"},slot:"trigger"},[e.$responsive.wide?t("span",{staticClass:"label"},[e._v(e._s(e.$t("org.vue.components.project-nav.tooltips.more")))]):e._e()]),t("VueDropdownButton",{attrs:{"icon-left":"home",to:{name:"project-select"},label:e.$t("org.vue.views.project-select.title")}}),t("VueDropdownButton",{attrs:{"icon-left":"info",to:{name:"about"},label:e.$t("org.vue.views.about.title")}})],1)],1)},a=[],o=(t("b0fc"),t("b41a")),r={},s=Object(o["a"])(r,i,a,!1,null,"2251f1b8",null);n["default"]=s.exports},"9a93":function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-select-list-item list-item"},[t("div",{staticClass:"content"},[t("div",{staticClass:"favorite"},[t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.project-select-list-item.tooltips.favorite"),expression:"$t('org.vue.components.project-select-list-item.tooltips.favorite')"}],staticClass:"icon-button",attrs:{"icon-left":e.project.favorite?"star":"star_border","data-testid":"favorite-button"},on:{click:function(n){return n.stopPropagation(),e.$emit("favorite")}}})],1),t("div",{staticClass:"info"},[t("ListItemInfo",{attrs:{description:e.project.path}},[t("div",{staticClass:"name",attrs:{slot:"name"},slot:"name"},[t("span",[e._v(e._s(e.project.name))]),t("ProjectTasksDropdown",{staticClass:"bullet-menu",attrs:{tasks:e.project.tasks}})],1)])],1),t("div",{staticClass:"actions"},[t("VueButton",{attrs:{"icon-left":"open_in_browser"},on:{click:function(n){return n.stopPropagation(),e.openInEditor()}}},[e._v(" "+e._s(e.$t("org.vue.components.project-select-list-item.tooltips.open-in-editor"))+" ")]),e.project.homepage?t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.top-bar.homepage"),expression:"$t('org.vue.components.top-bar.homepage')"}],staticClass:"icon-button",attrs:{href:e.project.homepage,target:"_blank","icon-left":"open_in_new"},on:{click:function(e){e.stopPropagation()}}}):e._e(),t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.project-rename.title"),expression:"$t('org.vue.components.project-rename.title')"}],staticClass:"icon-button",attrs:{"icon-left":"edit"},on:{click:function(n){n.stopPropagation(),e.showRename=!0}}}),t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.project-select-list-item.tooltips.delete"),expression:"$t('org.vue.components.project-select-list-item.tooltips.delete')"}],staticClass:"icon-button",attrs:{"icon-left":"close","data-testid":"delete-button"},on:{click:function(n){return n.stopPropagation(),e.$emit("remove")}}})],1)]),e.showRename?t("ProjectRename",{attrs:{project:e.project},on:{close:function(n){e.showRename=!1}},nativeOn:{click:function(e){e.stopPropagation()}}}):e._e()],1)},a=[],o=(t("192a"),t("f8eb")),r=t("8468"),s=t.n(r),c=t("3526"),d={components:{ProjectRename:c["default"]},props:{project:{type:Object,required:!0}},data:function(){return{showRename:!1}},methods:{openInEditor:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:s.a,variables:{input:{file:e.project.path}}});case 2:case"end":return n.stop()}}),n)})))()}}},l=d,u=(t("4f45"),t("b41a")),f=Object(u["a"])(l,i,a,!1,null,"1bbc1c3c",null);n["default"]=f.exports},"9ade":function(e,n,t){},"9b37":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"pluginUninstall"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginUninstall"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pluginInstallation"},directives:[]}]}}]}}],loc:{start:0,end:144}};i.loc.source={body:'#import "./pluginInstallationFragment.gql"\n\nmutation pluginUninstall ($id: ID!) {\n pluginUninstall (id: $id) {\n ...pluginInstallation\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("620a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginUninstall"]=d(i,"pluginUninstall")},"9bae":function(e,n,t){},"9bbb":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"pluginActionResolved"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginActionResolved"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pluginActionResult"},directives:[]}]}}]}}],loc:{start:0,end:137}};i.loc.source={body:'#import "./pluginActionResultFragment.gql"\n\nsubscription pluginActionResolved {\n pluginActionResolved {\n ...pluginActionResult\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("944b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginActionResolved"]=d(i,"pluginActionResolved")},"9c30":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"view"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"View"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tooltip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"badges"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priority"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hidden"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"projectTypes"},arguments:[],directives:[]}]}}],loc:{start:0,end:145}};t.loc.source={body:"fragment view on View {\n id\n name\n icon\n tooltip\n badges {\n id\n type\n count\n label\n priority\n hidden\n }\n projectTypes\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},"9c78":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"promptAnswer"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PromptInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"promptAnswer"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"prompt"},directives:[]}]}}]}}],loc:{start:0,end:131}};i.loc.source={body:'#import "./promptFragment.gql"\n\nmutation promptAnswer ($input: PromptInput!) {\n promptAnswer(input: $input) {\n ...prompt\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("1856").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["promptAnswer"]=d(i,"promptAnswer")},"9cd3":function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));t("020e"),t("21db"),t("1b33"),t("4b6e"),t("fb17");function i(e){return e&&new RegExp(e.trim().replace(/\s+/g,".{0,5}"),"i")}},"9cf5":function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"pluginActionCall"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PluginActionCall"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"params"},arguments:[],directives:[]}]}}],loc:{start:0,end:64}};t.loc.source={body:"fragment pluginActionCall on PluginActionCall {\n id\n params\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},"9d6d":function(e,n,t){"use strict";var i=t("cfa5"),a=t.n(i);a.a},"9d7d":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"suggestionRemoved"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"suggestionRemoved"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"suggestion"},directives:[]}]}}]}}],loc:{start:0,end:114}};i.loc.source={body:'#import "./suggestionFragment.gql"\n\nsubscription suggestionRemoved {\n suggestionRemoved {\n ...suggestion\n }\n}',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("3568").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["suggestionRemoved"]=d(i,"suggestionRemoved")},"9f50":function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"cwd"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cwd"},arguments:[],directives:[]}]}}],loc:{start:0,end:20}};t.loc.source={body:"query cwd {\n cwd\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["cwd"]=r(t,"cwd")},"9fee":function(e,n,t){"use strict";var i=t("66fe"),a=t.n(i);a.a},a06e:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"step-wizard",class:{"hide-tabs":e.hideTabs}},[t("div",{staticClass:"shell"},[t("div",{staticClass:"header"},[t("div",{staticClass:"content"},[e.title?t("div",{staticClass:"title"},[e._v(e._s(e.title))]):e._e()])]),t("VueTabs",e._g(e._b({ref:"tabs",staticClass:"main-tabs",attrs:{"group-class":"accent"}},"VueTabs",e.$attrs,!1),e.$listeners),[e._t("default",null,{next:e.next,previous:e.previous})],2)],1)])},a=[],o={inheritAttrs:!1,props:{hideTabs:{type:Boolean,default:!1},title:{type:String,default:null}},methods:{next:function(){var e=this.$refs.tabs;e.activateChild(e.activeChildIndex+1)},previous:function(){var e=this.$refs.tabs;e.activateChild(e.activeChildIndex-1)}}},r=o,s=(t("e52e"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"4f685358",null);n["default"]=c.exports},a1bf:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"project-create page"},[i("div",{staticClass:"content"},[i("StepWizard",{staticClass:"frame",attrs:{title:e.$t("org.vue.views.project-create.title")},scopedSlots:e._u([{key:"default",fn:function(n){var a=n.next,o=n.previous;return[i("VueTab",{staticClass:"details",attrs:{id:"details",label:e.$t("org.vue.views.project-create.tabs.details.title"),icon:"subject"}},[i("div",{staticClass:"content vue-ui-disable-scroll"},[i("div",{staticClass:"project-details vue-ui-grid col-1"},[i("VueFormField",{attrs:{title:e.$t("org.vue.views.project-create.tabs.details.form.folder.label")}},[i("VueInput",{staticClass:"big app-name",attrs:{placeholder:e.$t("org.vue.views.project-create.tabs.details.form.folder.placeholder"),"icon-left":"folder"},model:{value:e.formData.folder,callback:function(n){e.$set(e.formData,"folder",n)},expression:"formData.folder"}}),i("div",{attrs:{slot:"subtitle"},slot:"subtitle"},[i("div",{staticClass:"project-path"},[i("div",{staticClass:"path"},[i("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.cwd,expression:"cwd"}],staticClass:"cwd"},[e._v(" "+e._s(e._f("folder")(e.cwd,42-e.formData.folder.length))+" ")]),i("span",{staticClass:"folder"},[e._v(e._s(e.formData.folder))])]),i("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.views.project-create.tabs.details.form.folder.tooltip"),expression:"$t('org.vue.views.project-create.tabs.details.form.folder.tooltip')"}],staticClass:"icon-button change-folder",attrs:{"icon-left":"edit",to:{name:"project-select",query:{tab:"create",hideTabs:!0}}}})],1),e.formData.folder&&!e.folderNameValid?i("div",{staticClass:"vue-ui-text danger banner"},[i("VueIcon",{staticClass:"big",attrs:{icon:"error"}}),i("span",[e._v(e._s(e.$t("org.vue.views.project-create.tabs.details.form.folder.folder-name-invalid")))])],1):e._e(),e.formData.folder?i("ApolloQuery",{attrs:{query:t("a9d8"),variables:{file:e.cwd+"/"+e.formData.folder},"fetch-policy":"no-cache"},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result.data;return t&&t.folderExists?i("div",{staticClass:"vue-ui-text warning banner"},[i("VueIcon",{staticClass:"big",attrs:{icon:"warning"}}),i("span",[e._v(e._s(e.$t("org.vue.views.project-create.tabs.details.form.folder.folder-exists")))])],1):e._e()}}],null,!0)}):e._e()],1)],1),i("VueFormField",{attrs:{title:e.$t("org.vue.views.project-create.tabs.details.form.manager.label")}},[i("VueSelect",{model:{value:e.formData.packageManager,callback:function(n){e.$set(e.formData,"packageManager",n)},expression:"formData.packageManager"}},[i("VueSelectButton",{attrs:{value:void 0,label:e.$t("org.vue.views.project-create.tabs.details.form.manager.default")}}),i("VueSelectButton",{attrs:{value:"npm",label:"npm"}}),i("VueSelectButton",{attrs:{value:"yarn",label:"yarn"}}),i("VueSelectButton",{attrs:{value:"pnpm",label:"pnpm"}})],1)],1),i("VueFormField",{attrs:{title:e.$t("org.vue.views.project-create.tabs.details.form.options.label")}},[i("VueSwitch",{staticClass:"extend-left force",model:{value:e.formData.force,callback:function(n){e.$set(e.formData,"force",n)},expression:"formData.force"}},[e._v(" "+e._s(e.$t("org.vue.views.project-create.tabs.details.form.options.force"))+" ")]),i("VueSwitch",{staticClass:"extend-left bare",model:{value:e.formData.bare,callback:function(n){e.$set(e.formData,"bare",n)},expression:"formData.bare"}},[e._v(" "+e._s(e.$t("org.vue.views.project-create.tabs.details.form.options.bare"))+" ")])],1),i("VueFormField",{attrs:{title:e.$t("org.vue.views.project-create.tabs.details.form.options.git-title")}},[i("VueSwitch",{staticClass:"extend-left git",model:{value:e.formData.enableGit,callback:function(n){e.$set(e.formData,"enableGit",n)},expression:"formData.enableGit"}},[e._v(" "+e._s(e.$t("org.vue.views.project-create.tabs.details.form.options.git"))+" ")]),i("VueInput",{directives:[{name:"show",rawName:"v-show",value:e.formData.enableGit,expression:"formData.enableGit"}],attrs:{placeholder:e.$t("org.vue.views.project-create.tabs.details.form.options.git-commit-message")},model:{value:e.formData.gitCommitMessage,callback:function(n){e.$set(e.formData,"gitCommitMessage",n)},expression:"formData.gitCommitMessage"}})],1)],1)]),i("div",{staticClass:"actions-bar"},[i("VueButton",{staticClass:"big close",attrs:{"icon-left":"close",label:e.$t("org.vue.views.project-create.tabs.details.buttons.cancel")},on:{click:function(n){e.showCancel=!0}}}),i("VueButton",{staticClass:"big primary next",attrs:{"icon-right":"arrow_forward",label:e.$t("org.vue.views.project-create.tabs.details.buttons.next"),disabled:!e.detailsValid},on:{click:function(e){return a()}}})],1)]),i("VueTab",{staticClass:"presets",attrs:{id:"presets",label:e.$t("org.vue.views.project-create.tabs.presets.title"),icon:"check_circle",disabled:!e.detailsValid,lazy:""}},[i("div",{staticClass:"content vue-ui-disable-scroll"},[i("div",{staticClass:"vue-ui-text info banner"},[i("VueIcon",{staticClass:"big",attrs:{icon:"info"}}),i("span",[e._v(e._s(e.$t("org.vue.views.project-create.tabs.presets.description")))])],1),i("div",{staticClass:"cta-text"},[e._v(" "+e._s(e.$t("org.vue.views.project-create.tabs.presets.select"))+" ")]),e.projectCreation?e._l(e.projectCreation.presets,(function(n){return i("ProjectPresetItem",{key:n.id,attrs:{preset:n,selected:e.formData.selectedPreset===n.id},nativeOn:{click:function(t){return e.selectPreset(n.id)}}})})):e._e(),i("ProjectPresetItem",{attrs:{preset:e.remotePresetInfo,selected:"__remote__"===e.formData.selectedPreset,description:e.formData.remotePreset.url},nativeOn:{click:function(n){return e.selectPreset("__remote__")}}})],2),i("div",{staticClass:"actions-bar"},[i("VueButton",{staticClass:"big previous",attrs:{"icon-left":"arrow_back",label:e.$t("org.vue.views.project-create.tabs.presets.buttons.previous")},on:{click:function(e){return o()}}}),e.manual?i("VueButton",{staticClass:"big primary next",attrs:{"icon-right":"arrow_forward",label:e.$t("org.vue.views.project-create.tabs.presets.buttons.next"),disabled:!e.presetValid},on:{click:function(e){return a()}}}):i("VueButton",{staticClass:"big primary next",attrs:{"icon-left":"done",label:e.$t("org.vue.views.project-create.tabs.presets.buttons.create"),disabled:!e.formData.selectedPreset},on:{click:function(n){return e.createWithoutSaving()}}})],1)]),i("VueTab",{staticClass:"features",attrs:{id:"features",label:e.$t("org.vue.views.project-create.tabs.features.title"),icon:"device_hub",disabled:!e.detailsValid||!e.presetValid||!e.manual,lazy:""}},[i("div",{staticClass:"content vue-ui-disable-scroll"},[i("div",{staticClass:"vue-ui-text info banner"},[i("VueIcon",{staticClass:"big",attrs:{icon:"info"}}),i("span",[e._v(e._s(e.$t("org.vue.views.project-create.tabs.features.description")))])],1),i("div",{staticClass:"cta-text"},[e._v(" "+e._s(e.$t("org.vue.views.project-create.tabs.features.enable"))+" ")]),e.projectCreation?e._l(e.projectCreation.features,(function(n){return i("ProjectFeatureItem",{key:n.id,attrs:{feature:n},nativeOn:{click:function(t){return e.toggleFeature(n)}}})})):e._e()],2),i("div",{staticClass:"actions-bar"},[i("VueButton",{staticClass:"big previous",attrs:{"icon-left":"arrow_back",label:e.$t("org.vue.views.project-create.tabs.features.buttons.previous")},on:{click:function(e){return o()}}}),e.visiblePrompts.length?i("VueButton",{staticClass:"big primary next",attrs:{"icon-right":"arrow_forward",label:e.$t("org.vue.views.project-create.tabs.features.buttons.next")},on:{click:function(e){return a()}}}):i("VueButton",{staticClass:"big primary next",attrs:{"icon-left":"done",label:e.$t("org.vue.views.project-create.tabs.features.buttons.create")},on:{click:function(n){e.showSavePreset=!0}}})],1)]),i("VueTab",{staticClass:"config",attrs:{id:"config",label:e.$t("org.vue.views.project-create.tabs.configuration.title"),icon:"settings_applications",disabled:!e.detailsValid||!e.presetValid||!e.manual||!e.visiblePrompts.length,lazy:""}},[i("div",{staticClass:"content vue-ui-disable-scroll"},[i("PromptsList",{attrs:{prompts:e.visiblePrompts},on:{answer:e.answerPrompt}})],1),i("div",{staticClass:"actions-bar"},[i("VueButton",{staticClass:"big previous",attrs:{"icon-left":"arrow_back",label:e.$t("org.vue.views.project-create.tabs.configuration.buttons.previous")},on:{click:function(e){return o()}}}),i("VueButton",{staticClass:"big primary next",attrs:{"icon-left":"done",label:e.$t("org.vue.views.project-create.tabs.configuration.buttons.create"),disabled:!e.configurationValid},on:{click:function(n){e.showSavePreset=!0}}})],1)])]}}])})],1),e.showRemotePreset?i("VueModal",{staticClass:"small remove-preset-modal",attrs:{title:e.$t("org.vue.views.project-create.tabs.presets.modal.title")},on:{close:function(n){return e.closeRemotePresetModal()}}},[i("div",{staticClass:"default-body vue-ui-grid big-gap col-1"},[i("VueFormField",{attrs:{title:e.$t("org.vue.views.project-create.tabs.presets.remote.url.title"),subtitle:e.$t("org.vue.views.project-create.tabs.presets.remote.url.subtitle")}},[i("VueInput",{directives:[{name:"focus",rawName:"v-focus"}],attrs:{"icon-left":"language"},model:{value:e.formData.remotePreset.url,callback:function(n){e.$set(e.formData.remotePreset,"url",n)},expression:"formData.remotePreset.url"}})],1),i("VueFormField",{attrs:{title:e.$t("org.vue.views.project-create.tabs.presets.remote.options")}},[i("VueSwitch",{staticClass:"extend-left",attrs:{disabled:e.remoteNotGithub},model:{value:e.formData.remotePreset.clone,callback:function(n){e.$set(e.formData.remotePreset,"clone",n)},expression:"formData.remotePreset.clone"}},[e._v(" "+e._s(e.$t("org.vue.views.project-create.tabs.presets.remote.clone"))+" ")])],1)],1),i("div",{staticClass:"actions end",attrs:{slot:"footer"},slot:"footer"},[i("VueButton",{staticClass:"flat",attrs:{label:e.$t("org.vue.views.project-create.tabs.presets.remote.cancel")},on:{click:function(n){return e.closeRemotePresetModal(!0)}}}),i("VueButton",{staticClass:"primary",attrs:{label:e.$t("org.vue.views.project-create.tabs.presets.remote.done"),disabled:!e.formData.remotePreset.url||!e.remotePresetValid,"loading-secondary":null===e.remotePresetValid,"icon-left":"done"},on:{click:function(n){return e.closeRemotePresetModal()}}})],1)]):e._e(),e.showCancel?i("VueModal",{staticClass:"small",attrs:{title:e.$t("org.vue.views.project-create.tabs.details.modal.title")},on:{close:function(n){e.showCancel=!1}}},[i("div",{staticClass:"default-body"},[e._v(" "+e._s(e.$t("org.vue.views.project-create.tabs.details.modal.body"))+" ")]),i("div",{staticClass:"actions end",attrs:{slot:"footer"},slot:"footer"},[i("VueButton",{staticClass:"flat",attrs:{label:e.$t("org.vue.views.project-create.tabs.details.modal.buttons.back")},on:{click:function(n){e.showCancel=!1}}}),i("VueButton",{staticClass:"danger",attrs:{to:{name:"project-select"},label:e.$t("org.vue.views.project-create.tabs.details.modal.buttons.clear"),"icon-left":"delete_forever"}})],1)]):e._e(),e.showSavePreset?i("VueModal",{staticClass:"medium save-preset-modal",attrs:{title:e.$t("org.vue.views.project-create.tabs.configuration.modal.title")},on:{close:function(n){e.showSavePreset=!1}}},[i("div",{staticClass:"default-body"},[i("VueFormField",{attrs:{title:e.$t("org.vue.views.project-create.tabs.configuration.modal.body.title"),subtitle:e.$t("org.vue.views.project-create.tabs.configuration.modal.body.subtitle")}},[i("VueInput",{directives:[{name:"focus",rawName:"v-focus"}],attrs:{"icon-left":"local_offer"},model:{value:e.formData.save,callback:function(n){e.$set(e.formData,"save",n)},expression:"formData.save"}})],1)],1),i("div",{staticClass:"actions end",attrs:{slot:"footer"},slot:"footer"},[i("VueButton",{staticClass:"flat close",attrs:{label:e.$t("org.vue.views.project-create.tabs.configuration.modal.buttons.cancel")},on:{click:function(n){e.showSavePreset=!1}}}),i("VueButton",{staticClass:"continue",attrs:{label:e.$t("org.vue.views.project-create.tabs.configuration.modal.buttons.continue")},on:{click:function(n){return e.createWithoutSaving()}}}),i("VueButton",{staticClass:"primary save",attrs:{label:e.$t("org.vue.views.project-create.tabs.configuration.modal.buttons.create"),"icon-left":"save",disabled:!e.formData.save},on:{click:function(n){return e.createProject()}}})],1)]):e._e(),i("ProgressScreen",{attrs:{"progress-id":"project-create",debug:e.debug}})],1)},a=[],o=(t("3119"),t("192a"),t("f8eb")),r=t("ee9d"),s=t("32d1"),c=t("a1d5"),d=t.n(c),l=t("9f50"),u=t.n(l),f=t("5b12"),m=t.n(f),v=t("df17"),p=t.n(v),g=t("5f3c"),k=t.n(g),h=t("c0cd"),b=t.n(h),w=t("69ce"),S=t.n(w);function y(){return{folder:"",force:!1,bare:!1,enableGit:!0,gitCommitMessage:"",packageManager:void 0,selectedPreset:null,remotePreset:{url:"",clone:!1},save:""}}var N=y(),D={name:"ProjectCreate",mixins:[Object(r["a"])({field:"projectCreation",query:m.a})],metaInfo:function(){return{title:this.$t("org.vue.views.project-create.title")}},data:function(){return{formData:N,cwd:"",projectCreation:null,showCancel:!1,showRemotePreset:!1,showSavePreset:!1,remotePresetValid:!1,debug:""}},apollo:{cwd:{query:u.a,fetchPolicy:"network-only"},projectCreation:{query:m.a,fetchPolicy:"network-only"}},computed:{folderNameValid:function(){return Object(s["b"])(this.formData.folder)},detailsValid:function(){return!!this.formData.folder&&this.folderNameValid},presetValid:function(){return!!this.formData.selectedPreset},manual:function(){return"__manual__"===this.formData.selectedPreset},remotePresetInfo:function(){return{name:"org.vue.views.project-create.tabs.presets.remote.name",description:"org.vue.views.project-create.tabs.presets.remote.description"}},remoteNotGithub:function(){var e=this.formData.remotePreset.url;return e&&/^(gitlab|bitbucket):/.test(e)}},watch:{"formData.remotePreset.url":function(){this.debouncedCheckRemotePreset()},"formData.remotePreset.clone":function(){this.debouncedCheckRemotePreset()},remoteNotGithub:function(e){e?(this.$_oldClone=this.formData.remotePreset.clone,this.formData.remotePreset.clone=e):this.formData.remotePreset.clone=this.$_oldClone,e||this.checkRemotePreset()}},created:function(){this.debouncedCheckRemotePreset=d()(this.checkRemotePreset,1e3)},beforeDestroy:function(){this.cancel()},methods:{selectPreset:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n.formData.selectedPreset=e,"__remote__"!==e){t.next=4;break}return n.showRemotePreset=!0,t.abrupt("return");case 4:return t.next=6,n.$apollo.mutate({mutation:k.a,variables:{id:e},update:function(e,n){var t=n.data.presetApply;e.writeQuery({query:m.a,data:{projectCreation:t}})}});case 6:case"end":return t.stop()}}),t)})))()},toggleFeature:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$apollo.mutate({mutation:p.a,variables:{id:e.id,enabled:!e.enabled}});case 2:n.$apollo.queries.projectCreation.refetch();case 3:case"end":return t.stop()}}),t)})))()},createWithoutSaving:function(){this.formData.save="",this.createProject()},createProject:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.showSavePreset=!1,n.prev=1,n.next=4,e.$apollo.mutate({mutation:b.a,variables:{input:{folder:e.formData.folder,force:e.formData.force,bare:e.formData.bare,enableGit:e.formData.enableGit,gitCommitMessage:e.formData.gitCommitMessage,packageManager:e.formData.packageManager,preset:e.formData.selectedPreset,remote:e.formData.remotePreset.url,clone:e.formData.remotePreset.clone,save:e.formData.save}}});case 4:return e.$router.push({name:"project-home"}),n.next=7,e.$nextTick();case 7:n.next=13;break;case 9:n.prev=9,n.t0=n["catch"](1),console.error(n.t0),e.debug="ERROR: ".concat(n.t0);case 13:case"end":return n.stop()}}),n,null,[[1,9]])})))()},cancel:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return N=y(),n.next=3,e.$apollo.mutate({mutation:S.a});case 3:case"end":return n.stop()}}),n)})))()},closeRemotePresetModal:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.formData.remotePreset.url=""),this.showRemotePreset=!1,this.formData.remotePreset.url||(this.formData.selectedPreset=null)},checkRemotePreset:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){var t,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.formData.remotePreset.url){n.next=3;break}return e.remotePresetValid=!1,n.abrupt("return");case 3:if(!e.formData.remotePreset.clone){n.next=7;break}e.remotePresetValid=!0,n.next=13;break;case 7:return e.remotePresetValid=null,t="https://raw.githubusercontent.com/".concat(e.formData.remotePreset.url,"/master/preset.json"),n.next=11,fetch(t);case 11:i=n.sent,e.remotePresetValid=i.ok;case 13:case"end":return n.stop()}}),n)})))()}}},C=D,E=(t("1451"),t("b41a")),j=Object(E["a"])(C,i,a,!1,null,"126d6818",null);n["default"]=j.exports},a246:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-home page",class:{wide:e.$responsive.wide}},[t("div",{staticClass:"panes"},[t("ViewNav"),e.ready?t("div",{staticClass:"content vue-ui-disable-scroll"},[t("TopBar"),t("router-view",{staticClass:"router-view"})],1):e._e()],1),t("ProgressScreen",{attrs:{"progress-id":"__plugins__"}})],1)},a=[],o=(t("192a"),t("f8eb")),r=t("a950"),s=t.n(r),c={name:"ProjectHome",data:function(){return{ready:!1}},created:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:s.a});case 2:e.ready=!0;case 3:case"end":return n.stop()}}),n)})))()}},d=c,l=(t("2939"),t("b41a")),u=Object(l["a"])(d,i,a,!1,null,"2a0d3bdd",null);n["default"]=u.exports},a63c:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"configurationCancel"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"configurationCancel"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"configuration"},directives:[]}]}}]}}],loc:{start:0,end:142}};i.loc.source={body:'#import "./configurationFragment.gql"\n\nmutation configurationCancel ($id: ID!) {\n configurationCancel (id: $id) {\n ...configuration\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("e75e").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["configurationCancel"]=d(i,"configurationCancel")},a667:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("VueDisable",{staticClass:"prompt prompt-list",attrs:{disabled:!e.prompt.enabled}},[t("div",{staticClass:"prompt-content"},[t("ListItemInfo",{attrs:{name:e.$t(e.prompt.message),description:e.$t(e.prompt.description),link:e.prompt.link}}),t("div",{staticClass:"prompt-input"},[t("VueSelect",{attrs:{value:e.value(e.prompt.value)},on:{update:function(n){return e.answer(n)}}},e._l(e.prompt.choices,(function(n,i){return t("VueSelectButton",{key:i,attrs:{value:e.value(n.value),label:e.generateLabel(n)}})})),1)],1)],1),t("PromptError",{attrs:{error:e.prompt.error}})],1)},a=[],o=(t("f108"),t("5c0d")),r={extends:o["default"],methods:{generateLabel:function(e){var n=this.$t(e.name);return e.isDefault&&(n+=" (".concat(this.$t("org.vue.components.prompt-list.default"),")")),n}}},s=r,c=t("b41a"),d=Object(c["a"])(s,i,a,!1,null,null,null);n["default"]=d.exports},a84f:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"widgetAdd"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"WidgetAddInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"widgetAdd"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"widget"},directives:[]}]}}]}}],loc:{start:0,end:129}};i.loc.source={body:'#import "./widgetFragment.gql"\n\nmutation widgetAdd ($input: WidgetAddInput!) {\n widgetAdd (input: $input) {\n ...widget\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("fd9b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["widgetAdd"]=d(i,"widgetAdd")},a950:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"projectCwdReset"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectCwdReset"},arguments:[],directives:[]}]}}],loc:{start:0,end:47}};t.loc.source={body:"mutation projectCwdReset {\n projectCwdReset\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["projectCwdReset"]=r(t,"projectCwdReset")},a9ab:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-dependency-item list-item"},[t("div",{staticClass:"content"},[e.visible?e._e():t("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:e.visibilityChanged,expression:"visibilityChanged"}]}),t("ItemLogo",{staticClass:"identicon",attrs:{image:e.image||"widgets","fallback-icon":"widgets"}}),t("ListItemInfo",{attrs:{name:e.dependency.id,link:e.dependency.website,"show-description":""}},[t("span",{staticClass:"dependency-description",attrs:{slot:"description"},slot:"description"},[t("span",{staticClass:"info version"},[t("span",{staticClass:"label"},[e._v(e._s(e.$t("org.vue.components.project-dependency-item.version")))]),t("span",{staticClass:"value"},[e._v(e._s(e.dependencyDetails&&e.dependencyDetails.version.current))])]),t("span",{staticClass:"info wanted"},[t("span",{staticClass:"label"},[e._v(e._s(e.$t("org.vue.components.project-dependency-item.wanted")))]),e.dependencyDetails&&e.dependencyDetails.version.current!==e.dependencyDetails.version.wanted?t("VueIcon",{staticClass:"top medium",attrs:{icon:"warning"}}):e._e(),t("span",{staticClass:"value"},[e._v(e._s(e.dependencyDetails&&e.dependencyDetails.version.wanted))])],1),t("span",{staticClass:"info latest"},[t("span",{staticClass:"label"},[e._v(e._s(e.$t("org.vue.components.project-dependency-item.latest")))]),e.dependencyDetails&&e.dependencyDetails.version.current!==e.dependencyDetails.version.latest?t("VueIcon",{staticClass:"top medium",attrs:{icon:"warning"}}):e._e(),t("span",{staticClass:"value"},[e._v(e._s(e.dependencyDetails&&e.dependencyDetails.version.latest))])],1),e.dependency.installed?t("span",{staticClass:"info installed"},[t("VueIcon",{staticClass:"top medium",attrs:{icon:"check_circle"}}),e._v(" "+e._s(e.$t("org.vue.components.project-dependency-item.installed"))+" ")],1):e._e(),e.dependencyDetails&&e.dependencyDetails.description?t("span",{staticClass:"package-description"},[e._v(" "+e._s(e.dependencyDetails.description)+" ")]):e._e()])]),e.dependencyDetails&&e.dependencyDetails.version.current!==e.dependencyDetails.version.wanted?t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.project-dependency-item.actions.update",{target:e.dependency.id}),expression:"$t('org.vue.components.project-dependency-item.actions.update', { target: dependency.id })"}],staticClass:"icon-button",attrs:{"icon-left":"file_download","loading-left":e.updating},on:{click:function(n){return e.updateDependency()}}}):e._e(),t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.project-dependency-item.actions.uninstall",{target:e.dependency.id}),expression:"$t('org.vue.components.project-dependency-item.actions.uninstall', { target: dependency.id })"}],staticClass:"icon-button",attrs:{"icon-left":"delete"},on:{click:function(n){return e.$emit("uninstall")}}})],1)])},a=[],o=(t("21db"),t("4b6e"),t("192a"),t("f8eb")),r=t("cc03"),s=t.n(r),c=t("8276"),d=t.n(c),l={props:{dependency:{type:Object,required:!0}},data:function(){return{updating:!1,visible:!1,image:null}},apollo:{dependencyDetails:{query:s.a,variables:function(){return{id:this.dependency.id}},skip:function(){return!this.visible}}},methods:{updateDependency:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.updating=!0;try{e.$apollo.mutate({mutation:d.a,variables:{input:{id:e.dependency.id}}})}catch(t){console.error(t)}e.updating=!1;case 3:case"end":return n.stop()}}),n)})))()},visibilityChanged:function(e){this.visible||(this.image="https://avatars.dicebear.com/v2/identicon/".concat(this.dependency.id.replace(/\//g,"-"),".svg"),this.visible=e)}}},u=l,f=(t("cfae"),t("b41a")),m=Object(f["a"])(u,i,a,!1,null,"c7b4d70c",null);n["default"]=m.exports},a9d8:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"folderExists"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"file"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"folderExists"},arguments:[{kind:"Argument",name:{kind:"Name",value:"file"},value:{kind:"Variable",name:{kind:"Name",value:"file"}}}],directives:[]}]}}],loc:{start:0,end:67}};t.loc.source={body:"query folderExists ($file: String!) {\n folderExists(file: $file)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["folderExists"]=r(t,"folderExists")},aa61:function(e,n,t){},aa6c:function(e,n,t){},ac35:function(e,n,t){},ad03:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"progressChanged"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"progressChanged"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"progress"},directives:[]}]}}]}}],loc:{start:0,end:128}};i.loc.source={body:'#import "./progressFragment.gql"\n\nsubscription progressChanged ($id: ID!) {\n progressChanged (id: $id) {\n ...progress\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("c9aa").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["progressChanged"]=d(i,"progressChanged")},ad67:function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"version"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Version"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"latest"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"wanted"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"range"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"localPath"},arguments:[],directives:[]}]}}],loc:{start:0,end:80}};t.loc.source={body:"fragment version on Version {\n current\n latest\n wanted\n range\n localPath\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},ad95:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"file-diff-change",class:["type-"+e.change.type]},[t("div",{staticClass:"lines"},[t("div",{staticClass:"ln ln1"},[e._v(" "+e._s(e.ln1)+" ")]),t("div",{staticClass:"ln ln2",class:{disabled:!e.ln2},on:{click:function(n){return e.openInEditor()}}},[e._v(" "+e._s(e.ln2)+" ")])]),t("div",{staticClass:"content",domProps:{innerHTML:e._s(e.change.content)}})])},a=[],o=t("8468"),r=t.n(o),s={inject:["FileDiffInjection"],props:{change:{type:Object,required:!0}},computed:{ln1:function(){return this.change.normal?this.change.ln1:"del"===this.change.type?this.change.ln:void 0},ln2:function(){return this.change.normal?this.change.ln2:"add"===this.change.type?this.change.ln:void 0}},methods:{openInEditor:function(){this.ln2&&this.$apollo.mutate({mutation:r.a,variables:{input:{file:this.FileDiffInjection.data.to,line:this.ln2,gitPath:!0}}})}}},c=s,d=(t("7799"),t("b41a")),l=Object(d["a"])(c,i,a,!1,null,"3d1b750a",null);n["default"]=l.exports},adda:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"consoleLogAdded"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"consoleLogAdded"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"consoleLog"},directives:[]}]}}]}}],loc:{start:0,end:111}};i.loc.source={body:'#import "./consoleLogFragment.gql"\n\nsubscription consoleLogAdded {\n consoleLogAdded {\n ...consoleLog\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("1b6a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["consoleLogAdded"]=d(i,"consoleLogAdded")},ae58:function(e,n,t){},af4b:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{directives:[{name:"tooltip",rawName:"v-tooltip.right",value:e.description,expression:"description",modifiers:{right:!0}}],staticClass:"task-item list-item",class:["status-"+e.task.status,{selected:e.selected}],on:{dblclick:function(n){return e.runTask()}}},[t("div",{staticClass:"content"},[t("ItemLogo",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.status,expression:"status"}],class:e.iconData.class,attrs:{image:e.logo?e.logo+"?project="+e.task.project.id:e.iconData.icon,"color-bullet":""}}),t("ListItemInfo",{attrs:{name:e.task.name,description:e.description,selected:e.selected}}),e._t("default")],2)])},a=[],o=(t("bdaf"),t("cf82"),t("0889")),r=t.n(o),s={idle:{icon:"assignment",class:""},running:{icon:"more_horiz",class:"info"},done:{icon:"check_circle",class:"success"},error:{icon:"error",class:"danger"},terminated:{icon:"error",class:""}},c={props:{task:{type:Object,required:!0},selected:{type:Boolean,default:!1}},computed:{status:function(){return this.$t("org.vue.types.task.status.".concat(this.task.status))},iconData:function(){return s[this.task.status]},logo:function(){return this.task.icon||this.task.plugin&&this.task.plugin.logo},description:function(){return"idle"===this.task.status&&this.$t(this.task.description)||this.status}},methods:{runTask:function(){"running"!==this.task.status&&this.$apollo.mutate({mutation:r.a,variables:{id:this.task.id}})}}},d=c,l=(t("90f6"),t("b41a")),u=Object(l["a"])(d,i,a,!1,null,"7f8de00b",null);n["default"]=u.exports},af85:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"projectImport"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ProjectImportInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectImport"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"project"},directives:[]}]}}]}}],loc:{start:0,end:142}};i.loc.source={body:'#import "./projectFragment.gql"\n\nmutation projectImport ($input: ProjectImportInput!) {\n projectImport(input: $input) {\n ...project\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("8c3a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["projectImport"]=d(i,"projectImport")},af85e:function(e,n,t){"use strict";var i=t("6dc8"),a=t.n(i);a.a},b018:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"currentProjectId"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currentProjectId"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}]}]}}],loc:{start:0,end:53}};t.loc.source={body:"query currentProjectId {\n currentProjectId @client\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["currentProjectId"]=r(t,"currentProjectId")},b01f:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"localeAdded"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"localeAdded"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"locale"},directives:[]}]}}]}}],loc:{start:0,end:95}};i.loc.source={body:'#import "./localeFragment.gql"\n\nsubscription localeAdded {\n localeAdded {\n ...locale\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("ef45").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["localeAdded"]=d(i,"localeAdded")},b0df:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"suggestionUpdated"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"suggestionUpdated"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"suggestion"},directives:[]}]}}]}}],loc:{start:0,end:114}};i.loc.source={body:'#import "./suggestionFragment.gql"\n\nsubscription suggestionUpdated {\n suggestionUpdated {\n ...suggestion\n }\n}',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("3568").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["suggestionUpdated"]=d(i,"suggestionUpdated")},b0fc:function(e,n,t){"use strict";var i=t("43d4"),a=t.n(i);a.a},b1af:function(e,n,t){"use strict";var i=t("4159"),a=t.n(i);a.a},b2e9:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"view-badge",class:["type-"+e.badge.type]},[t("div",{staticClass:"content"},[t("div",{staticClass:"counter"},[e._v(e._s(e.badge.count))]),t("div",{staticClass:"label"},[e._v(e._s(e.$t(e.badge.label)))])])])},a=[],o={props:{badge:{type:Object,required:!0}}},r=o,s=(t("9350"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"3c51b48c",null);n["default"]=c.exports},b30d:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"projectRemove"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectRemove"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[]}]}}],loc:{start:0,end:64}};t.loc.source={body:"mutation projectRemove ($id: ID!) {\n projectRemove (id: $id)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["projectRemove"]=r(t,"projectRemove")},b338:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"prompts-list"},[t("div",{staticClass:"content"},[e._l(e.groups,(function(n){return t("div",{key:n.id,staticClass:"group"},[n.id?t("div",{staticClass:"group-name"},[e._v(e._s(e.$t(n.id)))]):e._e(),e._l(n.prompts,(function(n){return n.visible?t(e.getModule(n),{key:n.id,tag:"component",attrs:{prompt:n},on:{answer:function(t){return e.$emit("answer",{prompt:n,value:t})}}}):e._e()}))],2)})),e.prompts.length?e._e():t("div",{staticClass:"vue-ui-empty"},[t("VueIcon",{staticClass:"empty-icon",attrs:{icon:"check_circle"}}),t("span",[e._v(e._s(e.$t("org.vue.components.prompts-list.empty")))])],1)],2)])},a=[],o=(t("fa41"),t("21de"),{rawlist:"list",password:"input"}),r={props:{prompts:{type:Array,required:!0}},computed:{groups:function(){var e={},n=[];return this.prompts.forEach((function(t){var i=e[t.group];i||(i=e[t.group]={id:t.group,prompts:[]},n.push(i)),i.prompts.push(t)})),n}},methods:{getModule:function(e){var n=e.type;return o[n]&&(n=o[n]),n=n.charAt(0).toUpperCase()+n.substr(1),t("91aa")("./Prompt".concat(n,".vue")).default}}},s=r,c=(t("e8dc"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,"7b0b5c9a",null);n["default"]=d.exports},b4fd:function(e,n,t){"use strict";var i=t("0a72"),a=t.n(i);a.a},b620:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-task-details"},[e.task?[t("div",{staticClass:"header"},[t("VueIcon",{staticClass:"task-icon big",attrs:{icon:"assignment"}}),t("div",{staticClass:"name"},[e._v(e._s(e.task.name))]),t("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t(e.task.description),expression:"$t(task.description)"}],staticClass:"description"},[e._v(" "+e._s(e.$t(e.task.description))+" ")]),t("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.views.project-task-details.command")+":<br><code>"+e.task.command+"</code>",expression:"`${$t('org.vue.views.project-task-details.command')}:<br><code>${task.command}</code>`"}],staticClass:"command"},[e._v(" "+e._s(e.task.command)+" ")])],1),t("div",{staticClass:"actions-bar"},[t("div",{staticClass:"main-actions"},["running"!==e.task.status?t("VueButton",{staticClass:"primary",attrs:{"icon-left":"play_arrow",label:e.$t("org.vue.views.project-task-details.actions.play"),"data-testid":"run-task"},on:{click:function(n){return e.runTask()}}}):t("VueButton",{staticClass:"primary",attrs:{"icon-left":"stop",label:e.$t("org.vue.views.project-task-details.actions.stop"),"data-testid":"stop-task"},on:{click:function(n){return e.stopTask()}}}),t("VueButton",{attrs:{slot:"trigger","icon-left":"settings",disabled:"running"===e.task.status,label:e.$t("org.vue.views.project-task-details.parameters")},on:{click:function(n){e.showParameters=!0}},slot:"trigger"}),e.task.link?t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.views.project-task-details.more-info"),expression:"$t('org.vue.views.project-task-details.more-info')"}],staticClass:"icon-button",attrs:{href:e.task.link,target:"_blank","icon-left":"open_in_new"}}):e._e()],1),e.task.views.length?t("VueGroup",{staticClass:"views",model:{value:e.currentView,callback:function(n){e.currentView=n},expression:"currentView"}},[t("VueGroupButton",{attrs:{label:e.$t("org.vue.views.project-task-details.output"),"icon-left":"dvr",value:"_output"}}),e._l(e.task.views,(function(n){return t("VueGroupButton",{key:n.id,attrs:{value:n.id,"icon-left":n.icon,label:e.$t(n.label)}})}))],2):e._e()],1),e.defer(3)?t("div",{staticClass:"content"},[t("TerminalView",{key:e.id,ref:"terminal",class:{ghost:"_output"!==e.currentView},attrs:{cols:100,rows:24,"auto-size":"",options:{scrollback:5e3,disableStdin:!0,useFlowControl:!0},title:e.$t("org.vue.views.project-task-details.output"),toolbar:"","open-links":""},on:{clear:function(n){return e.clearLogs()}}}),"_output"!==e.currentView?t("ClientAddonComponent",{key:e.currentView,staticClass:"view",attrs:{name:e.currentViewComponent}}):e._e()],1):t("div",{staticClass:"content placeholder-content"},[t("div",{staticClass:"view card"})])]:e._e(),e.showParameters?t("VueModal",{staticClass:"medium anchor",attrs:{title:e.$t("org.vue.views.project-task-details.parameters")},on:{close:function(n){return e.restoreParameters()}}},[t("div",{staticClass:"default-body"},[t("PromptsList",{attrs:{prompts:e.visiblePrompts},on:{answer:e.answerPrompt}})],1),t("div",{staticClass:"actions",attrs:{slot:"footer"},slot:"footer"},[t("VueButton",{staticClass:"primary big",attrs:{label:e.$t("org.vue.views.project-task-details.actions.save")},on:{click:function(n){return e.saveParameters()}}})],1)]):e._e()],2)},a=[],o=(t("f54f"),t("b771"),t("fa41"),t("f108"),t("21de"),t("192a"),t("f8eb")),r=t("ee9d"),s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return{data:function(){return{displayPriority:0}},mounted:function(){this.runDisplayPriority()},methods:{runDisplayPriority:function(){var n=this;this.displayPriority=0;var t=function t(){requestAnimationFrame((function(){n.displayPriority++,n.displayPriority<e&&t()}))};t()},defer:function(e){return this.displayPriority>=e}}}},c=t("61ea"),d=t.n(c),l=t("992b"),u=t.n(l),f=t("0889"),m=t.n(f),v=t("6218"),p=t.n(v),g=t("6761"),k=t.n(g),h=t("3ddf"),b=t.n(h),w=t("c6c1"),S=t.n(w),y=t("c9be"),N=t.n(y),D=t("87b3"),C=t.n(D),E={name:"ProjectTaskDetails",provide:function(){return{TaskDetails:this}},mixins:[Object(r["a"])({field:"task",query:d.a}),s()],metaInfo:function(){return{title:this.task&&"".concat(this.task.name," - ").concat(this.$t("org.vue.views.project-tasks.title"))}},props:{id:{type:String,required:!0}},data:function(){return{task:null,showParameters:!1,currentView:"_output"}},apollo:{task:{query:d.a,variables:function(){return{id:this.id}},result:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var i,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.data,a=e.loading,n.$_init||a||!i||!i.task||!i.task.defaultView){t.next=6;break}return n.$_init=!0,t.next=5,n.$nextTick();case 5:n.currentView=i.task.defaultView;case 6:case"end":return t.stop()}}),t)})))()},skip:function(){return!this.defer(2)}},taskLogs:{query:u.a,variables:function(){return{id:this.id}},fetchPolicy:"network-only",manual:!0,result:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var i,a,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.data,a=e.loading,a){t.next=6;break}return t.next=4,n.$nextTick();case 4:o=n.$refs.terminal,o&&i.taskLogs.logs.forEach(o.addLog);case 6:case"end":return t.stop()}}),t)})))()},skip:function(){return!this.defer(3)}},$subscribe:{taskLogAdded:{query:b.a,variables:function(){return{id:this.id}},result:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var i,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.data,i.taskLogAdded.taskId!==n.id){t.next=6;break}return t.next=4,n.$nextTick();case 4:a=n.$refs.terminal,a.addLog(i.taskLogAdded);case 6:case"end":return t.stop()}}),t)})))()},skip:function(){return!this.defer(3)}}}},computed:{currentViewComponent:function(){var e=this;if("_output"!==this.currentView){var n=this.task.views.find((function(n){return n.id===e.currentView}));if(n){var t=n.component;return t}}return null}},watch:{id:function(){this.showParameters=!1,this.currentView="_output",this.$_init=!1,this.open(),this.runDisplayPriority()}},mounted:function(){this.open()},methods:{open:function(){this.$apollo.mutate({mutation:S.a,variables:{id:this.id}})},runTask:function(){this.$apollo.mutate({mutation:m.a,variables:{id:this.id}})},stopTask:function(){this.$apollo.mutate({mutation:p.a,variables:{id:this.id}})},clearLogs:function(){this.$apollo.mutate({mutation:k.a,variables:{id:this.id}})},saveParameters:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:N.a,variables:{id:e.id}});case 2:e.showParameters=!1;case 3:case"end":return n.stop()}}),n)})))()},restoreParameters:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:C.a,variables:{id:e.id}});case 2:e.showParameters=!1;case 3:case"end":return n.stop()}}),n)})))()}}},j=E,_=(t("7d63"),t("b41a")),x=Object(_["a"])(j,i,a,!1,null,"074b7efc",null);n["default"]=x.exports},b71a:function(e,n,t){var i={"./_lib/build_formatting_tokens_reg_exp/index.js":"b224","./ar/build_distance_in_words_locale/index.js":"cd73","./ar/build_format_locale/index.js":"33ee","./ar/index.js":"094e","./be/build_distance_in_words_locale/index.js":"4727","./be/build_format_locale/index.js":"56af","./be/index.js":"9ab7","./bg/build_distance_in_words_locale/index.js":"7808","./bg/build_format_locale/index.js":"5377","./bg/index.js":"5067","./ca/build_distance_in_words_locale/index.js":"f45b","./ca/build_format_locale/index.js":"19ca","./ca/index.js":"bd9b","./cs/build_distance_in_words_locale/index.js":"44eb","./cs/build_format_locale/index.js":"1b92","./cs/index.js":"0667","./da/build_distance_in_words_locale/index.js":"8c62","./da/build_format_locale/index.js":"49f6","./da/index.js":"a68d","./de/build_distance_in_words_locale/index.js":"a954","./de/build_format_locale/index.js":"8f9e","./de/index.js":"779c","./el/build_distance_in_words_locale/index.js":"bdc5","./el/build_format_locale/index.js":"a0dd","./el/index.js":"894d","./en/build_distance_in_words_locale/index.js":"640b","./en/build_format_locale/index.js":"1699","./en/index.js":"25b0","./eo/build_distance_in_words_locale/index.js":"9aee","./eo/build_format_locale/index.js":"b547","./eo/index.js":"8889","./es/build_distance_in_words_locale/index.js":"889a","./es/build_format_locale/index.js":"5902","./es/index.js":"b3a9","./fi/build_distance_in_words_locale/index.js":"5168","./fi/build_format_locale/index.js":"0e20","./fi/index.js":"f25a","./fil/build_distance_in_words_locale/index.js":"93c2","./fil/build_format_locale/index.js":"f7c6","./fil/index.js":"af96","./fr/build_distance_in_words_locale/index.js":"dfcf","./fr/build_format_locale/index.js":"fd21","./fr/index.js":"9ac7","./hr/build_distance_in_words_locale/index.js":"e1f1","./hr/build_format_locale/index.js":"d518","./hr/index.js":"5d91","./hu/build_distance_in_words_locale/index.js":"3d8e","./hu/build_format_locale/index.js":"c702","./hu/index.js":"24eb","./id/build_distance_in_words_locale/index.js":"d719","./id/build_format_locale/index.js":"e175","./id/index.js":"f6ca","./is/build_distance_in_words_locale/index.js":"15c2","./is/build_format_locale/index.js":"4231","./is/index.js":"4205","./it/build_distance_in_words_locale/index.js":"b881","./it/build_format_locale/index.js":"776b","./it/index.js":"1798","./ja/build_distance_in_words_locale/index.js":"72e6","./ja/build_format_locale/index.js":"eea8","./ja/index.js":"5526","./ko/build_distance_in_words_locale/index.js":"9c9c","./ko/build_format_locale/index.js":"3297","./ko/index.js":"33a1","./mk/build_distance_in_words_locale/index.js":"4b66","./mk/build_format_locale/index.js":"b5a8","./mk/index.js":"58a4","./nb/build_distance_in_words_locale/index.js":"7b4d","./nb/build_format_locale/index.js":"befb","./nb/index.js":"2287","./nl/build_distance_in_words_locale/index.js":"b7a4","./nl/build_format_locale/index.js":"549a","./nl/index.js":"94c3","./pl/build_distance_in_words_locale/index.js":"0230","./pl/build_format_locale/index.js":"684b","./pl/index.js":"1ab9","./pt/build_distance_in_words_locale/index.js":"a130","./pt/build_format_locale/index.js":"9a37","./pt/index.js":"c2ca","./ro/build_distance_in_words_locale/index.js":"a84c","./ro/build_format_locale/index.js":"cf53","./ro/index.js":"3cf1","./ru/build_distance_in_words_locale/index.js":"00ff","./ru/build_format_locale/index.js":"511c","./ru/index.js":"bb40","./sk/build_distance_in_words_locale/index.js":"b2b3","./sk/build_format_locale/index.js":"4c23","./sk/index.js":"6fe3","./sl/build_distance_in_words_locale/index.js":"133a","./sl/build_format_locale/index.js":"ed23","./sl/index.js":"b258","./sr/build_distance_in_words_locale/index.js":"0152","./sr/build_format_locale/index.js":"092c","./sr/index.js":"ab9c","./sv/build_distance_in_words_locale/index.js":"1b87","./sv/build_format_locale/index.js":"bbdb","./sv/index.js":"5977","./th/build_distance_in_words_locale/index.js":"50f9","./th/build_format_locale/index.js":"b137","./th/index.js":"a530","./tr/build_distance_in_words_locale/index.js":"911e","./tr/build_format_locale/index.js":"bdfc","./tr/index.js":"2711","./zh_cn/build_distance_in_words_locale/index.js":"c076","./zh_cn/build_format_locale/index.js":"279c","./zh_cn/index.js":"fd16","./zh_tw/build_distance_in_words_locale/index.js":"e7f9","./zh_tw/build_format_locale/index.js":"05ad","./zh_tw/index.js":"3b32"};function a(e){var n=o(e);return t(n)}function o(e){if(!t.o(i,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=o,e.exports=a,a.id="b71a"},b7d9:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"widgets"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"widgets"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"widget"},directives:[]}]}}]}}],loc:{start:0,end:80}};i.loc.source={body:'#import "./widgetFragment.gql"\n\nquery widgets {\n widgets {\n ...widget\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("fd9b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["widgets"]=d(i,"widgets")},b822:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"nav-list vue-ui-disable-scroll"},[t("div",{staticClass:"content"},[e._t("before"),e._l(e.items,(function(n){return t("div",{key:n.id,on:{click:function(t){e.currentRoute=n.route}}},[e._t("default",null,{item:n,selected:n.route===e.currentRoute})],2)})),e._t("after")],2)])},a=[],o=(t("b771"),t("0d88")),r={props:{items:{type:Array,required:!0}},computed:{currentRoute:{get:function(){var e=this,n=this.$route,t=this.items.find((function(t){return Object(o["a"])(n,e.$router.resolve(t.route).route)}));return t&&t.route},set:function(e){Object(o["b"])(this.$route,e)||this.$router.push(e)}}}},s=r,c=(t("cf1d"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,"4e81b1ea",null);n["default"]=d.exports},bacf:function(e,n,t){"use strict";var i=t("2c4b"),a=t.n(i);a.a},bc63:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("Widget",{staticClass:"widget-details-view",attrs:{widget:e.widget,"shell-style":{left:this.dashboard.left+8+"px",top:this.dashboard.top+8+"px",width:this.dashboard.width+"px",height:this.dashboard.height+"px",transformOrigin:this.shellOrigin.x+"px "+this.shellOrigin.y+"px"},details:""},on:{close:function(n){return e.close()}}})},a=[],o={inject:["dashboard"],props:{widget:{type:Object,required:!0},shellOrigin:{type:Object,required:!0}},methods:{close:function(){this.$emit("close")}}},r=o,s=(t("d157"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"0dc1b07a",null);n["default"]=c.exports},bc79:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"viewChanged"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewChanged"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"view"},directives:[]}]}}]}}],loc:{start:0,end:91}};i.loc.source={body:'#import "./viewFragment.gql"\n\nsubscription viewChanged {\n viewChanged {\n ...view\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("9c30").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["viewChanged"]=d(i,"viewChanged")},bc99:function(e,n,t){},bd6c:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"tasks"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tasks"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"task"},directives:[]}]}}]}}],loc:{start:0,end:72}};i.loc.source={body:'#import "./taskFragment.gql"\n\nquery tasks {\n tasks {\n ...task\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("3e5e").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["tasks"]=d(i,"tasks")},be19:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"connectedSet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"value"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"connectedSet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"value"},value:{kind:"Variable",name:{kind:"Name",value:"value"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}]}]}}],loc:{start:0,end:84}};t.loc.source={body:"mutation connectedSet ($value: Boolean!) {\n connectedSet (value: $value) @client\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["connectedSet"]=r(t,"connectedSet")},be46:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"file-diff",class:{new:e.fileDiff.new,deleted:e.fileDiff.deleted}},[t("div",{staticClass:"toolbar",on:{click:function(n){return e.$emit("update:collapsed",!e.collapsed)}}},[t("VueIcon",{staticClass:"file-icon",attrs:{icon:e.icon}}),e.fileDiff.from===e.fileDiff.to||e.fileDiff.new?e._e():[t("div",{staticClass:"name from-file"},[t("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.fileDiff.from,expression:"fileDiff.from"}]},[e._v(e._s(e.fileDiff.from))])]),e.fileDiff.deleted?e._e():t("VueIcon",{attrs:{icon:"arrow_forward"}})],e.fileDiff.deleted?e._e():t("div",{staticClass:"name to-file"},[t("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.fileDiff.to,expression:"fileDiff.to"}]},[e._v(e._s(e.fileDiff.to))])]),t("div",{staticClass:"vue-ui-spacer"}),e.fileDiff.deleted?e._e():t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.file-diff.actions.open"),expression:"$t('org.vue.components.file-diff.actions.open')"}],staticClass:"icon-button",attrs:{"icon-left":"edit"},on:{click:function(n){return n.stopPropagation(),e.openInEditor()}}}),t("VueButton",{staticClass:"icon-button",attrs:{"icon-left":e.collapsed?"keyboard_arrow_down":"keyboard_arrow_up"}})],2),e.collapsed?e._e():t("div",{staticClass:"content"},[e.fileDiff.binary?t("div",{staticClass:"is-binary"},[t("VueIcon",{staticClass:"icon",attrs:{icon:"memory"}}),t("span",[e._v(e._s(e.$t("org.vue.components.file-diff.binary")))])],1):e._l(e.fileDiff.chunks,(function(e,n){return t("FileDiffChunk",{key:n,attrs:{chunk:e}})}))],2)])},a=[],o=t("8468"),r=t.n(o),s={provide:function(){var e=this;return{FileDiffInjection:{get data(){return e.fileDiff}}}},props:{fileDiff:{type:Object,required:!0},collapsed:{type:Boolean,default:!1}},computed:{icon:function(){return this.fileDiff.new?"note_add":this.fileDiff.deleted?"delete":"insert_drive_file"}},methods:{openInEditor:function(){this.$apollo.mutate({mutation:r.a,variables:{input:{file:this.fileDiff.to,gitPath:!0}}})}}},c=s,d=(t("e4f6"),t("b41a")),l=Object(d["a"])(c,i,a,!1,null,"1bd7cf58",null);n["default"]=l.exports},be98:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-nav",class:{wide:e.$responsive.wide}},[t("div",{staticClass:"header"},[t("ProjectQuickDropdown")],1),t("div",{staticClass:"content"},[t("VueGroup",{staticClass:"vertical small-indicator left-indicator primary",attrs:{indicator:""},model:{value:e.currentViewName,callback:function(n){e.currentViewName=n},expression:"currentViewName"}},e._l(e.views,(function(n){return e.hasProjectType(n)?t("ViewNavButton",{key:n.id,attrs:{view:n}}):e._e()})),1),t("ViewNavMore")],1)])},a=[],o=(t("f54f"),t("b771"),t("f299"),t("14cc"),t("e2a9"),t("8e77"),t("f108"),t("4227"),t("a394")),r=t("0d88"),s=t("4892"),c=t.n(s),d=t("1d43"),l=t.n(d),u=t("8e59"),f=t.n(u),m=t("82f6"),v=t.n(m),p=t("bc79"),g=t.n(p),k=t("17ec"),h=t.n(k),b={data:function(){return{views:[]}},apollo:{projectCurrent:c.a,views:{query:l.a,subscribeToMore:[{document:f.a,updateQuery:function(e,n){var t=n.subscriptionData,i=t.data.viewAdded;return e.views?e.views.find((function(e){return e.id===i.id}))?e:{views:[].concat(Object(o["a"])(e.views),[i])}:{views:[i]}}},{document:v.a,updateQuery:function(e,n){var t=n.subscriptionData;if(!e.views)return{views:[]};var i=e.views.findIndex((function(e){return e.id===t.data.viewRemoved.id}));if(-1===i)return e;var a=e.views.slice();return a.splice(i,1),{views:a}}},{document:g.a,updateQuery:function(e,n){var t=n.subscriptionData,i=t.data.viewChanged;if(!e.views)return{views:[i]};var a=e.views.findIndex((function(e){return e.id===i.id}));if(-1===a)return e;var o=e.views.slice();return o.splice(a,1,i),{views:o}}}]}},computed:{currentView:function(){var e=this,n=this.$route;return this.views.find((function(t){return Object(r["a"])(n,e.$router.resolve({name:t.name}).route)}))},currentViewName:{get:function(){var e=this.currentView;return e&&e.name},set:function(e){Object(r["b"])(this.$route,this.$router.resolve({name:e}).route)||this.$router.push({name:e})}}},watch:{currentView:{handler:function(e,n){e&&(n&&e.id===n.id||(this.checkProjectType(),this.$apollo.mutate({mutation:h.a,variables:{id:e.id}})))},immediate:!0},projectCurrent:{handler:"checkProjectType",immediate:!0}},methods:{hasProjectType:function(e){return!e.projectTypes&&"vue"===this.projectCurrent.type||e.projectTypes&&e.projectTypes.includes(this.projectCurrent.type)},checkProjectType:function(){var e=this;if(this.currentView&&!this.hasProjectType(this.currentView)){var n=this.views.find((function(n){return e.hasProjectType(n)}));n&&(this.currentViewName=n.name)}}}},w=b,S=(t("53c2"),t("b41a")),y=Object(S["a"])(w,i,a,!1,null,"f2d3e1c4",null);n["default"]=y.exports},c0cd:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"projectCreate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ProjectCreateInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectCreate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"project"},directives:[]}]}}]}}],loc:{start:0,end:142}};i.loc.source={body:'#import "./projectFragment.gql"\n\nmutation projectCreate ($input: ProjectCreateInput!) {\n projectCreate(input: $input) {\n ...project\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("8c3a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["projectCreate"]=d(i,"projectCreate")},c1e2:function(e,n,t){"use strict";var i=t("3a65"),a=t.n(i);a.a},c218:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"configuration-tab"},[t("PromptsList",{attrs:{prompts:e.visiblePrompts},on:{answer:e.answerPrompt}})],1)},a=[],o=(t("b771"),t("5efe")),r=t("ee9d"),s=t("78cf"),c=t.n(s),d={mixins:[Object(r["a"])({field:"tab",query:c.a,variables:function(){return{id:this.configuration.id}},updateQuery:function(e,n){var t,i={},a=Object(o["a"])(n);try{for(a.s();!(t=a.n()).done;){var r=t.value,s=i[r.tabId]||(i[r.tabId]=[]);s.push(r)}}catch(l){a.e(l)}finally{a.f()}var c=function(n){e.configuration.tabs.find((function(e){return e.id===n})).prompts=i[n]};for(var d in i)c(d)}})],props:{configuration:{type:Object,required:!0},tab:{type:Object,required:!0}}},l=d,u=t("b41a"),f=Object(u["a"])(l,i,a,!1,null,null,null);n["default"]=f.exports},c2ac:function(e,n,t){"use strict";t.r(n);var i=function(e,n){var i=n._c;return i("div",{staticClass:"folder-explorer-item",class:{hidden:n.props.folder.hidden},on:{click:function(e){return n.listeners.select()}}},[i("VueIcon",{staticClass:"folder-icon big",attrs:{icon:n.props.folder.isPackage?"folder":"folder_open"}}),i("div",{staticClass:"folder-name"},[n._v(" "+n._s(n.props.folder.name)+" "),n.props.folder.isVueProject?i("img",{staticClass:"vue-ui-project-icon",attrs:{src:t("cf05")}}):n._e()]),n.props.folder.favorite?i("VueIcon",{staticClass:"favorite-icon",attrs:{icon:"star"}}):n._e()],1)},a=[],o={props:{folder:{type:Object,required:!0}}},r=o,s=(t("26d0"),t("b41a")),c=Object(s["a"])(r,i,a,!0,null,"3200338a",null);n["default"]=c.exports},c32e:function(e,n,t){"use strict";var i=t("53f7"),a=t.n(i);a.a},c335:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"suggestions"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"suggestions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"suggestion"},directives:[]}]}}]}}],loc:{start:0,end:95}};i.loc.source={body:'#import "./suggestionFragment.gql"\n\nquery suggestions {\n suggestions {\n ...suggestion\n }\n}',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("3568").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["suggestions"]=d(i,"suggestions")},c345:function(e,n,t){},c362:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"pluginsUpdate"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginsUpdate"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"version"},directives:[]}]}}]}}]}}],loc:{start:0,end:135}};i.loc.source={body:'#import "../version/versionFragment.gql"\n\nmutation pluginsUpdate {\n pluginsUpdate {\n id\n version {\n ...version\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("ad67").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginsUpdate"]=d(i,"pluginsUpdate")},c44d:function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"folderCurrent"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Folder"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"favorite"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPackage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVueProject"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"children"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPackage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVueProject"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hidden"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"favorite"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:179}};t.loc.source={body:"fragment folderCurrent on Folder {\n name\n path\n favorite\n isPackage\n isVueProject\n children {\n name\n path\n isPackage\n isVueProject\n hidden\n favorite\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},c485:function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"plugin"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Plugin"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"official"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"installed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"website"},arguments:[],directives:[]}]}}],loc:{start:0,end:68}};t.loc.source={body:"fragment plugin on Plugin {\n id\n official\n installed\n website\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},c615:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"folder-explorer",class:{error:e.error}},[i("div",{staticClass:"toolbar"},[i("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.folder-explorer.toolbar.tooltips.parent-folder"),expression:"$t('org.vue.components.folder-explorer.toolbar.tooltips.parent-folder')"}],staticClass:"icon-button go-up",attrs:{"icon-left":"keyboard_arrow_up"},on:{click:e.openParentFolder}}),e.editingPath?i("div",{staticClass:"path-edit"},[i("VueInput",{directives:[{name:"focus",rawName:"v-focus"}],ref:"pathInput",staticClass:"path-input",attrs:{placeholder:e.$t("org.vue.components.folder-explorer.toolbar.placeholder"),"icon-right":"edit"},on:{keyup:[function(n){if(!n.type.indexOf("key")&&e._k(n.keyCode,"esc",27,n.key,["Esc","Escape"]))return null;e.editingPath=!1},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.submitPathEdit()}]},model:{value:e.editedPath,callback:function(n){e.editedPath=n},expression:"editedPath"}})],1):i("ApolloQuery",{staticClass:"current-path",attrs:{query:t("9f50")},nativeOn:{dblclick:function(n){return e.openPathEdit()}},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result.data;return[t?i("div",{staticClass:"path-value"},e._l(e.slicePath(t.cwd),(function(n,t){return i("div",{key:t,staticClass:"path-part"},[i("VueButton",{staticClass:"path-folder flat",class:{"icon-button":!n.name},attrs:{"icon-left":n.name?null:"folder"},on:{click:function(t){return e.openFolder(n.path)}}},[e._v(" "+e._s(n.name)+" ")])],1)})),0):e._e(),i("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.folder-explorer.toolbar.tooltips.edit-path"),expression:"$t('org.vue.components.folder-explorer.toolbar.tooltips.edit-path')"}],staticClass:"edit-path-button icon-button",attrs:{"icon-left":"edit"},on:{click:function(n){return e.openPathEdit()}}})]}}])},[i("ApolloSubscribeToMore",{attrs:{document:t("3fe5"),"update-query":e.cwdChangedUpdate}})],1),e.error?i("VueIcon",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.error.message,expression:"error.message"}],staticClass:"error-icon big",attrs:{icon:"error"}}):e._e(),i("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.folder-explorer.toolbar.tooltips.refresh"),expression:"$t('org.vue.components.folder-explorer.toolbar.tooltips.refresh')"}],staticClass:"icon-button",attrs:{"icon-left":"refresh"},on:{click:e.refreshFolder}}),i("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.folder-explorer.toolbar.tooltips.favorite"),expression:"$t('org.vue.components.folder-explorer.toolbar.tooltips.favorite')"}],staticClass:"icon-button favorite-button",attrs:{"icon-left":e.folderCurrent.favorite?"star":"star_border"},on:{click:function(n){return e.toggleFavorite()}}}),i("VueDropdown",{attrs:{placement:"bottom-end"}},[i("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.folder-explorer.toolbar.tooltips.favorite-folders"),expression:"$t('org.vue.components.folder-explorer.toolbar.tooltips.favorite-folders')"}],staticClass:"icon-button",attrs:{slot:"trigger","icon-left":"arrow_drop_down"},slot:"trigger"}),e.foldersFavorite.length?e._l(e.foldersFavorite,(function(n){return i("VueDropdownButton",{key:n.path,attrs:{label:n.path,"icon-left":"folder"},on:{click:function(t){return e.openFolder(n.path)}}})})):i("div",{staticClass:"vue-ui-empty"},[e._v(" "+e._s(e.$t("org.vue.components.folder-explorer.toolbar.empty"))+" ")])],2),i("VueDropdown",{attrs:{placement:"bottom-end"}},[i("VueButton",{staticClass:"icon-button",attrs:{slot:"trigger","icon-left":"more_vert"},slot:"trigger"}),i("VueDropdownButton",{attrs:{label:e.$t("org.vue.components.folder-explorer.new-folder.action"),"icon-left":"create_new_folder"},on:{click:function(n){e.showNewFolder=!0}}}),i("VueSwitch",{staticClass:"extend-left",attrs:{icon:"visibility"},model:{value:e.showHidden,callback:function(n){e.showHidden=n},expression:"showHidden"}},[e._v(" "+e._s(e.$t("org.vue.components.folder-explorer.toolbar.show-hidden"))+" ")])],1)],1),i("div",{ref:"folders",staticClass:"folders"},[i("transition",{attrs:{name:"vue-ui-fade"}},[e.loading?i("VueLoadingBar",{staticClass:"ghost primary",attrs:{unknown:""}}):e._e()],1),e.folderCurrent&&e.folderCurrent.children?e._l(e.folderCurrent.children,(function(n){return e.showHidden||!n.hidden?i("FolderExplorerItem",{key:n.name,attrs:{folder:n},on:{select:function(t){return e.openFolder(n.path)}}}):e._e()})):e._e()],2),e.showNewFolder?i("VueModal",{staticClass:"small new-folder-modal",attrs:{title:e.$t("org.vue.components.folder-explorer.new-folder.title")},on:{close:function(n){e.showNewFolder=!1}}},[i("div",{staticClass:"default-body"},[i("VueFormField",{attrs:{title:e.$t("org.vue.components.folder-explorer.new-folder.field.title"),subtitle:e.$t("org.vue.components.folder-explorer.new-folder.field.subtitle")}},[i("VueInput",{directives:[{name:"focus",rawName:"v-focus"}],attrs:{"icon-left":"folder"},on:{keyup:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.createFolder()}},model:{value:e.newFolderName,callback:function(n){e.newFolderName=n},expression:"newFolderName"}})],1)],1),i("div",{staticClass:"actions end",attrs:{slot:"footer"},slot:"footer"},[i("VueButton",{staticClass:"flat close",attrs:{label:e.$t("org.vue.components.folder-explorer.new-folder.cancel")},on:{click:function(n){e.showNewFolder=!1}}}),i("VueButton",{staticClass:"primary save",attrs:{label:e.$t("org.vue.components.folder-explorer.new-folder.create"),"icon-left":"create_new_folder",disabled:!e.newFolderValid},on:{click:function(n){return e.createFolder()}}})],1)]):e._e()],1)},a=[],o=(t("f299"),t("4bab"),t("e2a9"),t("cba1"),t("8e77"),t("192a"),t("f8eb")),r=t("32d1"),s=t("881d"),c=t.n(s),d=t("d32f"),l=t.n(d),u=t("9587"),f=t.n(u),m=t("596a"),v=t.n(m),p=t("60dc"),g=t.n(p),k=t("a950"),h=t.n(k),b=t("f506"),w=t.n(b),S="vue-ui.show-hidden-folders",y={data:function(){return{loading:0,error:!1,editingPath:!1,editedPath:"",folderCurrent:{},foldersFavorite:[],showHidden:"true"===localStorage.getItem(S),showNewFolder:!1,newFolderName:""}},apollo:{folderCurrent:{query:c.a,fetchPolicy:"network-only",loadingKey:"loading",result:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$nextTick();case 2:e.$refs.folders.scrollTop=0;case 3:case"end":return n.stop()}}),n)})))()}},foldersFavorite:l.a},computed:{newFolderValid:function(){return Object(r["a"])(this.newFolderName)}},watch:{showHidden:function(e){e?localStorage.setItem(S,"true"):localStorage.removeItem(S)}},beforeRouteLeave:function(e,n,t){e.matched.some((function(e){return e.meta.needProject}))&&this.resetProjectCwd(),t()},methods:{openFolder:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n.editingPath=!1,n.error=null,n.loading++,t.prev=3,t.next=6,n.$apollo.mutate({mutation:f.a,variables:{path:e},update:function(e,n){var t=n.data.folderOpen;e.writeQuery({query:c.a,data:{folderCurrent:t}})}});case 6:t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](3),n.error=t.t0;case 11:n.loading--;case 12:case"end":return t.stop()}}),t,null,[[3,8]])})))()},openParentFolder:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.editingPath=!1,n.error=null,n.loading++,e.prev=3,e.next=6,n.$apollo.mutate({mutation:v.a,update:function(e,n){var t=n.data.folderOpenParent;e.writeQuery({query:c.a,data:{folderCurrent:t}})}});case 6:e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](3),n.error=e.t0;case 11:n.loading--;case 12:case"end":return e.stop()}}),e,null,[[3,8]])})))()},toggleFavorite:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:g.a,variables:{path:e.folderCurrent.path,favorite:!e.folderCurrent.favorite},update:function(e,n){var t=n.data.folderSetFavorite;e.writeQuery({query:c.a,data:{folderCurrent:t}});var i=e.readQuery({query:l.a});if(i={foldersFavorite:i.foldersFavorite.slice()},t.favorite)i.foldersFavorite.push(t);else{var a=i.foldersFavorite.findIndex((function(e){return e.path===t.path}));-1!==a&&i.foldersFavorite.splice(a,1)}e.writeQuery({query:l.a,data:i})}});case 2:case"end":return n.stop()}}),n)})))()},cwdChangedUpdate:function(e,n){var t=n.subscriptionData;return{cwd:t.data.cwd}},openPathEdit:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.editedPath=e.folderCurrent.path,e.editingPath=!0,n.next=4,e.$nextTick();case 4:e.$refs.pathInput.focus();case 5:case"end":return n.stop()}}),n)})))()},submitPathEdit:function(){this.openFolder(this.editedPath)},refreshFolder:function(){this.openFolder(this.folderCurrent.path)},resetProjectCwd:function(){this.$apollo.mutate({mutation:h.a})},slicePath:function(e){var n,t=[],i=0,a=function(){return n=e.indexOf("/",i),-1===n&&(n=e.indexOf("\\",i)),-1!==n},o=function(n){var a=e.substring(i,n),o=e.substring(0,n+1);t.push({name:a,path:o})};while(a())o(n),i=n+1;return i<e.length&&o(e.length),t},createFolder:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.newFolderValid){n.next=2;break}return n.abrupt("return");case 2:return n.next=4,e.$apollo.mutate({mutation:w.a,variables:{name:e.newFolderName}});case 4:t=n.sent,e.openFolder(t.data.folderCreate.path),e.newFolderName="",e.showNewFolder=!1;case 8:case"end":return n.stop()}}),n)})))()}}},N=y,D=(t("8871"),t("b41a")),C=Object(D["a"])(N,i,a,!1,null,"4b6e946a",null);n["default"]=C.exports},c679:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"project-dashboard page",class:{customizing:e.customizeMode,"widget-details-shown":e.injected.isWidgetDetailsShown}},[i("ContentView",{attrs:{title:e.$t("org.vue.views.project-dashboard.title")}},[i("template",{slot:"actions"},[e.customizeMode?i("VueButton",{staticClass:"primary round",attrs:{"icon-left":"done",label:e.$t("org.vue.views.project-dashboard.done")},on:{click:function(n){e.customizeMode=!1}}}):i("VueButton",{staticClass:"primary round",attrs:{"icon-left":"edit",label:e.$t("org.vue.views.project-dashboard.cutomize")},on:{click:function(n){e.customizeMode=!0}}})],1),i("div",{staticClass:"panes fill-height"},[i("ApolloQuery",{ref:"widgets",staticClass:"widgets",attrs:{query:t("b7d9")},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result,a=t.data,o=t.loading;return i("div",{staticClass:"widgets-wrapper"},[!o||a&&a.widgets?a?e._l(a.widgets,(function(n){return i("Widget",{key:n.id,attrs:{widget:n,"customize-mode":e.customizeMode}})})):e._e():i("VueLoadingIndicator",{staticClass:"overlay"})],2)}}])}),i("transition",{attrs:{name:"sidepane"}},[e.customizeMode?i("WidgetAddPane",{on:{close:function(n){e.customizeMode=!1}}}):e._e()],1)],1)],2)],1)},a=[],o=function(){return{mounted:function(){window.addEventListener("resize",this.onWindowResize),this.onWindowResize()},beforeDestroy:function(){window.removeEventListener("resize",this.onWindowResize)}}},r=8,s={provide:function(){return{dashboard:this.injected}},mixins:[o()],metaInfo:function(){return{title:this.$t("org.vue.views.project-dashboard.title")}},data:function(){return{customizeMode:!1,injected:{width:0,height:0,left:0,top:0,isWidgetDetailsShown:!1}}},methods:{onWindowResize:function(){var e=this.$refs.widgets.$el;if(e){var n=e.getBoundingClientRect();this.injected.width=n.width-2*r,this.injected.height=n.height-2*r,this.injected.left=n.left,this.injected.top=n.top}}}},c=s,d=(t("2425"),t("b41a")),l=Object(d["a"])(c,i,a,!1,null,"72cde023",null);n["default"]=l.exports},c6c1:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"taskOpen"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taskOpen"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[]}]}}],loc:{start:0,end:53}};t.loc.source={body:"mutation taskOpen ($id: ID!) {\n taskOpen (id: $id)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["taskOpen"]=r(t,"taskOpen")},c87a:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"suggestionActivate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SuggestionActivate"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"suggestionActivate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"suggestion"},directives:[]}]}}]}}],loc:{start:0,end:158}};i.loc.source={body:'#import "./suggestionFragment.gql"\n\nmutation suggestionActivate ($input: SuggestionActivate!) {\n suggestionActivate (input: $input) {\n ...suggestion\n }\n}',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("3568").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["suggestionActivate"]=d(i,"suggestionActivate")},c9aa:function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"progress"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Progress"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"info"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"progress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"args"},arguments:[],directives:[]}]}}],loc:{start:0,end:81}};t.loc.source={body:"fragment progress on Progress {\n id\n status\n info\n error\n progress\n args\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},c9be:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"taskSaveParameters"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"taskSaveParameters"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"prompt"},directives:[]}]}}]}}],loc:{start:0,end:133}};i.loc.source={body:'#import "../prompt/promptFragment.gql"\n\nmutation taskSaveParameters ($id: ID!) {\n taskSaveParameters (id: $id) {\n ...prompt\n }\n}',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("1856").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["taskSaveParameters"]=d(i,"taskSaveParameters")},ca1b:function(e,n,t){},ca27:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.error?t("div",{staticClass:"prompt-error"},[t("div",{staticClass:"vue-ui-text danger banner"},[t("VueIcon",{staticClass:"big",attrs:{icon:"warning"}}),t("span",[e._v(e._s(e.$t(e.error.message)))])],1)]):e._e()},a=[],o={props:{error:{type:Object,default:null}}},r=o,s=(t("cba4"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"34f8cb1e",null);n["default"]=c.exports},ca94:function(e,n,t){"use strict";t.d(n,"a",(function(){return F})),t.d(n,"b",(function(){return V})),t.d(n,"c",(function(){return O}));t("21db"),t("4b6e"),t("192a");var i=t("f8eb"),a=t("7b01"),o=t("1a21"),r=t("668b"),s=function(){return{connected:!0,loading:0,darkMode:!1,currentProjectId:null}},c=t("9481"),d=t.n(c),l={Mutation:{connectedSet:function(e,n,t){var i=n.value,a=t.cache,o={connected:i};return a.writeData({data:o}),null},loadingChange:function(e,n,t){var i=n.mod,a=t.cache,o=a.readQuery({query:d.a}),r=o.loading,s={loading:r+i};return a.writeData({data:s}),null},darkModeSet:function(e,n,t){var i=n.enabled,a=t.cache,o={darkMode:i};a.writeData({data:o});var r=document.getElementsByTagName("html")[0];return i?r.classList.add("vue-ui-dark-mode"):r.classList.remove("vue-ui-dark-mode"),null},currentProjectIdSet:function(e,n,t){var i=n.projectId,a=t.cache,o={currentProjectId:i};return a.writeData({data:o}),null}}},u=t("ee2d"),f=t("92d3"),m=t.n(f);function v(){var e=Object(u["a"])(["\nextend type Query {\n connected: Boolean!\n loading: Boolean!\n darkMode: Boolean!\n currentProjectId: String\n}\n\nextend type Mutation {\n connectedSet (value: Boolean!): Boolean\n loadingChange (mod: Int!): Boolean\n darkModeSet (enabled: Boolean!): Boolean\n currentProjectIdSet (projectId: String): Boolean\n}\n"]);return v=function(){return e},e}var p=m()(v()),g=t("4892"),k=t.n(g),h=t("5638"),b=t.n(h),w=t("be19"),S=t.n(w),y=t("4348"),N=t.n(y),D=t("8e11"),C=t.n(D),E=t("e02b");a["default"].use(o["a"]);var j="";"undefined"===typeof j?j="ws://localhost:".concat(Object({VUE_APP_CLI_UI_URL:"",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_GRAPHQL_PORT,"/graphql"):""===j&&(j=window.location.origin.replace("http","ws")+"/graphql");var _={inMemoryCacheOptions:{},wsEndpoint:j,persisting:!1,websocketsOnly:!0,typeDefs:p,resolvers:l,onCacheInit:function(e){e.writeData({data:s()})}},x=Object(r["createApolloClient"])(_),F=x.apolloClient,$=x.wsClient,V=new o["a"]({defaultClient:F,defaultOptions:{$query:{fetchPolicy:"cache-and-network",errorPolicy:"all"}},watchLoading:function(e,n){F.mutate({mutation:N.a,variables:{mod:n}})},errorHandler:function(e){console.log("%cAn error occurred","background: red; color: white; padding: 4px; border-radius: 4px;font-weight: bold;"),console.log(e.message),e.graphQLErrors&&console.log(e.graphQLErrors),e.networkError&&console.log(e.networkError)}});function O(){return I.apply(this,arguments)}function I(){return I=Object(i["a"])(regeneratorRuntime.mark((function e(){var n,t,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("[UI] Apollo store reset"),e.next=3,F.query({query:k.a,fetchPolicy:"network-only"});case 3:return n=e.sent,t=n.data.projectCurrent,i=t.id,e.prev=6,e.next=9,F.resetStore();case 9:e.next=13;break;case 11:e.prev=11,e.t0=e["catch"](6);case 13:return e.next=15,F.mutate({mutation:b.a,variables:{projectId:i}});case 15:q();case 16:case"end":return e.stop()}}),e,null,[[6,11]])}))),I.apply(this,arguments)}function P(e){F.mutate({mutation:S.a,variables:{value:e}})}function q(){var e,n;if(n=Object(E["a"])())e="dark"===n;else{var t=localStorage.getItem("vue-ui-dark-mode");e="true"===t}F.mutate({mutation:C.a,variables:{enabled:e}})}$.on("connected",(function(){return P(!0)})),$.on("reconnected",Object(i["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,O();case 2:P(!0);case 3:case"end":return e.stop()}}),e)})))),$.on("disconnected",(function(){return P(!1)})),$.on("error",(function(){return P(!1)})),q()},cac2:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"app-loading"},[t("transition",{attrs:{name:"vue-ui-fade",appear:""}},[e.loading?t("VueLoadingIndicator",{staticClass:"primary"}):e._e()],1)],1)},a=[],o=t("9481"),r=t.n(o),s={apollo:{loading:{query:r.a,fetchPolicy:"cache-only"}}},c=s,d=t("b41a"),l=Object(d["a"])(c,i,a,!1,null,null,null);n["default"]=l.exports},cba4:function(e,n,t){"use strict";var i=t("7830"),a=t.n(i);a.a},cc03:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"dependencyDetails"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"dependencyDetails"},name:{kind:"Name",value:"dependency"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"version"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:189}};i.loc.source={body:'#import "../version/versionFragment.gql"\n\nquery dependencyDetails ($id: ID!) {\n dependencyDetails: dependency (id: $id) {\n id\n version {\n ...version\n }\n description\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("ad67").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["dependencyDetails"]=d(i,"dependencyDetails")},cc10:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"pluginInvoke"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginInvoke"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pluginInstallation"},directives:[]}]}}]}}],loc:{start:0,end:138}};i.loc.source={body:'#import "./pluginInstallationFragment.gql"\n\nmutation pluginInvoke ($id: ID!) {\n pluginInvoke (id: $id) {\n ...pluginInstallation\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("620a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginInvoke"]=d(i,"pluginInvoke")},ccc2:function(e,n,t){var i={"./app/About.vue":"3762","./app/AppLoading.vue":"cac2","./app/ConnectionStatus.vue":"e13e","./app/LocaleLoader.vue":"d699","./app/NotFound.vue":"424f","./app/ProgressScreen.vue":"09ce","./app/ProjectHome.vue":"a246","./app/ProjectQuickDropdown.vue":"10d9","./app/StatusBar.vue":"4b35","./app/TopBar.vue":"ecbd","./client-addon/ClientAddonComponent.vue":"1c85","./client-addon/ClientAddonLoader.vue":"4630","./configuration/ConfigurationItem.vue":"ec18","./configuration/ConfigurationTab.vue":"c218","./configuration/ProjectConfigurationDetails.vue":"42d8","./configuration/ProjectConfigurations.vue":"8ccf","./content/ContentView.vue":"2296","./content/ItemLogo.vue":"d1f5","./content/ListFilter.vue":"8ab3","./content/ListItemInfo.vue":"26f5","./content/ListSort.vue":"6a32","./content/NavContent.vue":"dbfc","./content/NavList.vue":"b822","./content/StepWizard.vue":"a06e","./content/TerminalView.vue":"fc80","./dashboard/ProjectDashboard.vue":"c679","./dashboard/Widget.vue":"e761","./dashboard/WidgetAddItem.vue":"9a5b","./dashboard/WidgetAddPane.vue":"0931","./dashboard/WidgetDetailsView.vue":"bc63","./dependency/NpmPackageSearch.vue":"55fd","./dependency/PackageSearchItem.vue":"7b42","./dependency/ProjectDependencies.vue":"01c2","./dependency/ProjectDependencyItem.vue":"a9ab","./file-diff/FileDiff.vue":"be46","./file-diff/FileDiffChange.vue":"ad95","./file-diff/FileDiffChunk.vue":"d17a","./file-diff/FileDiffView.vue":"6618","./folder/FolderExplorer.vue":"c615","./folder/FolderExplorerItem.vue":"c2ac","./logger/LoggerMessage.vue":"d44c","./logger/LoggerView.vue":"944bd","./plugin/ProjectPluginAddLocal.vue":"00b3","./plugin/ProjectPluginItem.vue":"decf","./plugin/ProjectPlugins.vue":"36d4","./plugin/ProjectPluginsAdd.vue":"6578","./project-create/ProjectCreate.vue":"a1bf","./project-create/ProjectFeatureItem.vue":"1ad8","./project-create/ProjectPresetItem.vue":"1be5","./project-manager/ProjectRename.vue":"3526","./project-manager/ProjectSelect.vue":"47b6","./project-manager/ProjectSelectList.vue":"ff93","./project-manager/ProjectSelectListItem.vue":"9a93","./project-manager/ProjectTasksDropdown.vue":"3ae3","./prompt/Prompt.vue":"5c0d","./prompt/PromptCheckbox.vue":"50c1","./prompt/PromptColor.vue":"744c","./prompt/PromptConfirm.vue":"2674","./prompt/PromptEditor.vue":"fb10","./prompt/PromptError.vue":"ca27","./prompt/PromptInput.vue":"d2c1","./prompt/PromptList.vue":"a667","./prompt/PromptsList.vue":"b338","./search/InstantSearchInput.vue":"7a6e","./search/InstantSearchPagination.vue":"3ccc","./suggestion/SuggestionBar.vue":"5753","./suggestion/SuggestionBarItem.vue":"dab5","./suggestion/SuggestionBarList.vue":"4e95","./task/ProjectTaskDetails.vue":"b620","./task/ProjectTasks.vue":"42c8","./task/TaskItem.vue":"af4b","./view/ViewBadge.vue":"b2e9","./view/ViewNav.vue":"be98","./view/ViewNavButton.vue":"0395","./view/ViewNavMore.vue":"9a76"};function a(e){var n=o(e);return t(n)}function o(e){if(!t.o(i,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=o,e.exports=a,a.id="ccc2"},cdd0:function(e,n,t){},ce33:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"plugins"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"plugins"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"plugin"},directives:[]}]}}]}}],loc:{start:0,end:80}};i.loc.source={body:'#import "./pluginFragment.gql"\n\nquery plugins {\n plugins {\n ...plugin\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("c485").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["plugins"]=d(i,"plugins")},cf05:function(e,n){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAABU1BMVEUAAABBuIM1SV5BuINBuINAsIFBuINBuINBuINAsoE2TmBBuINBuINBuINBuINBuINBuINBuINBuINBuINBuINBuoRBuINBuINBuINBuINApn5AroBBuINBuINBuINBuINBuINBuIM8d3BBuINBuIM4XGVBuIM5ZmpBuINBuINBuIM8enI2UWE3VGM3VWNBuINBuIM3V2RBuIM4WmQ5YmhBuIM5Y2k6amtBuINBuIM6bm07cG47b207dG9BuINBuIMzO1k6Z2o6aGpBuINBuIM1SV5Bt4NDyok0Qlw0QFtCxogzOFk1R10zNldDzIk1Rl00RFwyNVczPVozO1lCw4dBvIRBvoVBv4VCyIhCwYZBuoM1S187gHEzN1dAqX8/nns+kXc9i3U7eW85bms5Z2k/o30+mHk4YWc4XGY3V2Q3UmJAroE8hXM6c21Bs4JBsYEzNFfbZAU+AAAARHRSTlMAu7v7IA7y5sQG/typi3pcQhT27cy9mmoxKAkDoZKDVEk7KhnRv7aSY083G/Xr4+DY2NTLsq+hd3RwZVVJOi2zu4WBsmbv4tkAAAcESURBVHja7NdZT+JgFMbx44aC+wIqxsQQkShqYjSYuCRq3rcLLW0pmwqI+4LL97+cGcfMKBbOE1Pu+rsmQHPSk/OnQCAQCAQCgUCAFYv2AKLR5FEvL0GES/TyjpJR7P/FKCYg2VpdspwMES7jSFa9lhWQGNGwACiV8lOBfxCZIFhC8g9SeCpXFAEYJqIJgVDU+4ItOfo2wbZ1ybGNe1URiAn6rUcgStnbuuSYzj6B9h1Tcuq32ZJA9NAf/dhIsheaJjnaBoE2gC/TLrLYQPrp3aiAqNd5ydJOCHKiSVb+WhWQUforHIJGcqZUXf5BImkCpCP8g7gR5QwaSChMH8YFQrGucpKl7xBgR5es3JWlCMQ4/bMsEOXioyE5tnlIrEPTlhzj8awsEMv03xq4ghsFhx/JFrG2+IE4hQa4etfokxGBOFdvcpJjanvE2NNMycndqOcCMUKfTfZhK/jZ1iVHWw9TR+F1jZ+r/Yyt3r5J+mJMQKwasIL1FHWU0oHVW7MEZIxaDGIruNR0JceppqmDdNWRHLdZwlbvILVaBd/3S8PkR5KkDpL8QEzjEnzTV+mbIfDkejAkx7QPqK0D25Qc46FYEogh+m4eG8npnQus4E1qaxNYve7dKTaQefIAJpb6mgdW8C61sQus3vyriuaUl4EpaCTFN6kDJ9cAeRqIAKtXvhWhgUy1+ZFZAbFekJMrQ54yyJH1YgnILHmCq7eCVe/P+7YC9603vHoNtHq737feVnyt3i737Qp58796F6jFgu996w2vXguq3mNqcQz1rYX2bSfhaezkEhGgeqvp1iPLx76dZk5ssHpVrHp/0rcq2reMma5UL963RaxvZ4gzB55cDRevXrxv3QZ4ZM0Rw+/q7VrfMnyv3jh9iPvctwz/q7dLfcvCq7dSahaA6k3QuwTQt4VmqQL2LWbJ3+r1v2+XCOB/9eJ9m0X7FoRXrw7cTpvvfQt8UMf7Frboa/VifZtD+3aRcPEQWL1VpHqJkL6tgn0bihMIr14Fq95UCutbBe9b3C/mzV41gSgKg6eI4AtY7cZFTGGnCII2psheE8HF+FOYNWIgFsHGvH+VLkUI7nd3TuG8gSzIHc58A+3JpVjvYr9fCH4rHhEGFkfH8da7qP4dy43qtx2L5ClXKHenIjhQnHZlrvBosXQdrdfRb7sWTVu3Xsy36rdtiydxs17Bb3PRbxOrQaY+uQ4BcvgQ/3ozq4BZb8WTS3hkMb91tV4A8FuV1MN6/fw2tbo0NOvdXq5Yr+K3W81vG1abMbZeR78dG6Av5nVXrLfSb8VIrm8K3HqXoRZL5rc6LXZo8DsitIxxh6zX0W/vDHIP8joQyQG/hdY7+8d6Bb+dyX6L6eU4r+ORXM8cGGpPrrevTYhko0ZyQ9Ph1nv8Y72C3x5j/JYzEq33s4h9ZIl+O7IouPW+vtyM3+rWy59cq/fnOL/lJGJeV57XEX57LsVILjE3MnBowEeEzBxpAuuFfts0T6biJ/nN64RITvwgU3MlVQ8NRVDQjwipAUBedwnzIDAPFxDJISZqXrcKAis1kpuYM2BUxkZgHJ7X+UdyHDAqwyMwDs/reCTnDBiVsRGYM76jsvVeH4E5A0ZlbATmDBiVkUjuwZyhozI+AuPwvI5Hchye1/FIjsPzOhzJucNHZXwExoGjMj4C4/C8jkdy/vBRGR+BcfiojI/AOHxUxkdgHDoqAyMwd/iojI/AONx6b8Zvf9q3m5UEgyiM4yc0LPyksg8wRYywNooQ2CY3A21sGYo77/8muoHjO69zZpjnifndxZ9zHuuozDgC02WpXpi+tY7KrCMwu7ijsvpPcteSkH1U9nP8zt631lGZYQRmkOK9LsmTXI7qhelbc/XC9K21enH61jYq225/dyB9a3qv2x+P+/RPcvbq9dvtHEzfmqr3cADqW9N7XfInuXjvdXb2J7n01QvWt7qli2QpeU1dJFPJbOOi2EhuMxfFTLIbuwjGkp9vVFZzBAZg4swmAqGqekH79vzqRe1b3ciZjASFZ1TmH4HBWDuDtQBZuGALQaJXL3bf6oYu0FCwaIcGvCNCHc98fXuqevn6Vjd3AeYCaOXOthJEU8K+DRiVaT4E04ywb3Vjvr71j8r8WhB9q5sQ9m3FoQH9iGAYlWm+BNqIr29Pv9chPcklH5V9Crw21pNcuAHYk1zSUdmFMGgS9q2ui/UkZxmVeUdgJPpgT3KJRmUvwuO9egRGpIP1JGd5r8N6kgvXA3uSC9fCepKLPip7EzpXfH2rewJ7kos6KrsXRpc3fH2rewB7kgvX5utb3YCwb2uMyl6FV5Owb3Vdvr71jcpuafpW1yfsW90d1pNcuEewJ7lwHb6+PVW9fH2r6xH2ra7RkP9hDvk6UxRFURRFURS0/gD8CBvXYvEa7AAAAABJRU5ErkJggg=="},cf1d:function(e,n,t){"use strict";var i=t("ae58"),a=t.n(i);a.a},cf35:function(e,n,t){},cfa5:function(e,n,t){},cfae:function(e,n,t){"use strict";var i=t("3b72"),a=t.n(i);a.a},d157:function(e,n,t){"use strict";var i=t("8fb4"),a=t.n(i);a.a},d17a:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"file-diff-chunk"},[t("div",{staticClass:"changes"},e._l(e.chunk.changes,(function(e,n){return t("FileDiffChange",{key:n,attrs:{change:e}})})),1)])},a=[],o={props:{chunk:{type:Object,required:!0}}},r=o,s=(t("2714"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"2db99afb",null);n["default"]=c.exports},d1f5:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"item-logo",class:{selected:e.selected,loaded:e.loaded,error:e.error,vuejs:e.image&&e.image.includes("vuejs")}},[t("div",{staticClass:"wrapper"},[e.selected?t("VueIcon",{attrs:{icon:"done"}}):e.displayImage?t("img",{key:e.imageUrl,staticClass:"image",attrs:{src:e.imageUrl},on:{load:function(n){e.loaded=!0},error:function(n){e.error=!0}}}):t("VueIcon",{attrs:{icon:e.error||!e.image?e.fallbackIcon:e.image}})],1),e.displayImage&&e.colorBullet?t("div",{staticClass:"color-bullet"}):e._e()])},a=[],o=t("978e"),r={props:{image:{type:String,default:"widgets"},fallbackIcon:{type:String,default:"image"},selected:{type:Boolean,default:!1},colorBullet:{type:Boolean,default:!1}},data:function(){return{loaded:!1,error:!1}},computed:{isMaterialIcon:function(){return/^[a-z0-9_]+$/.test(this.image)},displayImage:function(){return!this.isMaterialIcon&&!this.error},imageUrl:function(){return Object(o["a"])(this.image)}},watch:{image:"reset",selected:"reset"},methods:{reset:function(){this.loaded=!1,this.error=!1}}},s=r,c=(t("3e497"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,"9ee9675a",null);n["default"]=d.exports},d1f8:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"locales"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"locales"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"locale"},directives:[]}]}}]}}],loc:{start:0,end:80}};i.loc.source={body:'#import "./localeFragment.gql"\n\nquery locales {\n locales {\n ...locale\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("ef45").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["locales"]=d(i,"locales")},d208:function(e,n,t){},d2ad:function(e,n,t){},d2b0:function(e,n,t){},d2c1:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("VueDisable",{staticClass:"prompt prompt-input",attrs:{disabled:!e.prompt.enabled}},[t("div",{staticClass:"prompt-content"},[t("ListItemInfo",{attrs:{name:e.$t(e.prompt.message),description:e.$t(e.prompt.description),link:e.prompt.link}}),t("div",{staticClass:"prompt-input"},[t("VueInput",{attrs:{value:e.value(e.prompt.value),type:"password"===e.prompt.type?"password":"text"},on:{update:function(n){return e.answer(n)}}})],1)],1),t("PromptError",{attrs:{error:e.prompt.error}})],1)},a=[],o=t("5c0d"),r={extends:o["default"],buffer:!0},s=r,c=t("b41a"),d=Object(c["a"])(s,i,a,!1,null,null,null);n["default"]=d.exports},d32f:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"foldersFavorite"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"foldersFavorite"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:59}};t.loc.source={body:"query foldersFavorite {\n foldersFavorite {\n path\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["foldersFavorite"]=r(t,"foldersFavorite")},d3a7:function(e,n,t){},d44c:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"logger-message",class:["type-"+e.message.type,{"has-type":"log"!==e.message.type,"has-tag":e.message.tag,pre:e.pre}]},["log"!==e.message.type?t("div",{staticClass:"type"},[e._v(e._s(e.message.type))]):e._e(),e.message.tag?t("div",{staticClass:"tag"},[e._v(e._s(e.message.tag))]):e._e(),t("div",{staticClass:"message",domProps:{innerHTML:e._s(e.ansiColors(e.message.message))}}),t("div",{staticClass:"date"},[e._v(e._s(e._f("date")(e.message.date)))])])},a=[],o={props:{message:{type:Object,required:!0},pre:{type:Boolean,default:!1}}},r=o,s=(t("0417"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"927a788c",null);n["default"]=c.exports},d699:function(e,n,t){"use strict";t.r(n);t("fa41"),t("21de");var i,a,o=t("9225"),r=t("d1f8"),s=t.n(r),c=t("b01f"),d=t.n(c),l={apollo:{locales:{query:s.a,fetchPolicy:"no-cache",manual:!0,result:function(e){var n=e.data.locales;n.forEach(this.loadLocale)}},$subscribe:{localeAdded:{query:d.a,result:function(e){var n=e.data;this.loadLocale(n.localeAdded)}}}},methods:{loadLocale:function(e){console.log("[UI] Locale ".concat(e.lang," updated with new strings")),Object(o["b"])(e.lang,e.strings)}},render:function(){return null}},u=l,f=t("b41a"),m=Object(f["a"])(u,i,a,!1,null,null,null);n["default"]=m.exports},d6d4:function(e,n,t){"use strict";var i=t("7793"),a=t.n(i);a.a},d7f0:function(e,n,t){e.exports=t.p+"img/search-by-algolia.c962a407.svg"},d850:function(e,n,t){},d9bf:function(e,n,t){},dab5:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{directives:[{name:"set-size",rawName:"v-set-size",value:".wrapper",expression:"'.wrapper'"}],staticClass:"suggestion-bar-item",class:{ping:e.ping},style:{animationDelay:.5*e.index+1.5+"s"}},[t("div",{staticClass:"wrapper"},[t("VueDropdown",{staticClass:"dropdown",attrs:{disabled:!e.suggestion.message&&!e.suggestion.link,placement:"bottom-end"}},[t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.suggestion-bar.suggestion"),expression:"$t('org.vue.components.suggestion-bar.suggestion')"}],staticClass:"round",attrs:{slot:"trigger",label:e.$t(e.suggestion.label),loading:e.suggestion.busy},on:{click:function(n){return e.onTriggerClick()}},slot:"trigger"}),t("div",{staticClass:"suggestion-details"},[t("div",{staticClass:"info label"},[e._v(" "+e._s(e.$t(e.suggestion.label))+" ")]),e.suggestion.message?t("div",{staticClass:"info message",domProps:{innerHTML:e._s(e.$t(e.suggestion.message))}}):e._e(),e.suggestion.image?t("div",{staticClass:"info image"},[t("img",{attrs:{src:e.image,alt:"image"}})]):e._e(),t("div",{staticClass:"actions-bar"},[e.suggestion.link?t("VueButton",{staticClass:"flat",attrs:{href:e.suggestion.link,label:e.$t("org.vue.components.list-item-info.more-info"),target:"_blank","icon-right":"open_in_new"}}):e._e(),t("div",{staticClass:"vue-ui-spacer"}),t("VueButton",{directives:[{name:"close-popover",rawName:"v-close-popover"}],attrs:{label:e.$t("org.vue.components.suggestion-bar.modal.cancel"),"icon-left":"close"}}),t("VueButton",{directives:[{name:"close-popover",rawName:"v-close-popover"}],staticClass:"primary",attrs:{label:e.$t("org.vue.components.suggestion-bar.modal.continue"),"icon-left":"done"},on:{click:function(n){return e.activate(e.suggestion)}}})],1)])],1)],1)])},a=[],o=(t("fb153"),t("eca7"),t("192a"),t("f8eb")),r=t("978e"),s=t("c87a"),c=t.n(s),d={props:{suggestion:{type:Object,required:!0},index:{type:Number,default:-1},ping:{type:Boolean,default:!1}},computed:{image:function(){return Object(r["a"])(this.suggestion.image)}},methods:{onTriggerClick:function(){this.suggestion.message||this.suggestion.link||this.activate(this.suggestion)},activate:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.actionLink){t.next=5;break}i=window.open(e.actionLink,"_blank"),i.focus(),t.next=7;break;case 5:return t.next=7,n.$apollo.mutate({mutation:c.a,variables:{input:{id:e.id}}});case 7:case"end":return t.stop()}}),t)})))()}}},l=d,u=(t("2a8d"),t("b41a")),f=Object(u["a"])(l,i,a,!1,null,"624b111e",null);n["default"]=f.exports},dbfc:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"nav-content"},[t("NavList",{attrs:{items:e.items},scopedSlots:e._u([{key:"default",fn:function(n){return[e._t("default",null,null,n)]}}],null,!0)},[e._t("before",null,{slot:"before"}),e._t("after",null,{slot:"after"})],2),t("div",{staticClass:"content vue-ui-disable-scroll"},[t("router-view")],1)],1)},a=[],o={props:{items:{type:Array,required:!0}}},r=o,s=(t("07a7"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"4f974f94",null);n["default"]=c.exports},decf:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"project-plugin-item list-item"},[t("div",{staticClass:"content"},[e.visible?e._e():t("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:e.visibilityChanged,expression:"visibilityChanged"}]}),t("ItemLogo",{attrs:{image:e.pluginLogo&&e.pluginLogo.logo,"fallback-icon":"extension"}}),t("ListItemInfo",{attrs:{name:e.plugin.id,link:e.plugin.website,"show-description":""}},[t("span",{staticClass:"plugin-description",attrs:{slot:"description"},slot:"description"},[t("span",{staticClass:"info version"},[t("span",{staticClass:"label"},[e._v(e._s(e.$t("org.vue.components.project-plugin-item.version")))]),t("span",{staticClass:"value"},[e._v(e._s(e.pluginDetails&&e.pluginDetails.version.current))])]),t("span",{staticClass:"info latest"},[t("span",{staticClass:"label"},[e._v(e._s(e.$t("org.vue.components.project-plugin-item.latest")))]),e.pluginDetails&&e.pluginDetails.version.current!==e.pluginDetails.version.latest?t("VueIcon",{staticClass:"top medium",attrs:{icon:"warning"}}):e._e(),t("span",{staticClass:"value"},[e._v(e._s(e.pluginDetails&&e.pluginDetails.version.latest))])],1),e.plugin.official?t("span",{staticClass:"info"},[t("VueIcon",{staticClass:"top medium",attrs:{icon:"star"}}),e._v(" "+e._s(e.$t("org.vue.components.project-plugin-item.official"))+" ")],1):e._e(),e.plugin.installed?t("span",{staticClass:"info"},[e.isLocal?[t("VueIcon",{staticClass:"top medium",attrs:{icon:"folder"}}),t("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.pluginDetails.version.localPath,expression:"pluginDetails.version.localPath"}]},[e._v(" "+e._s(e.$t("org.vue.components.project-plugin-item.local"))+" ")])]:[t("VueIcon",{staticClass:"top medium",attrs:{icon:"check_circle"}}),e._v(" "+e._s(e.$t("org.vue.components.project-plugin-item.installed"))+" ")]],2):e._e(),e.pluginDetails&&e.pluginDetails.description?t("span",{staticClass:"package-description"},[e._v(" "+e._s(e.pluginDetails.description)+" ")]):e._e()])]),e.isLocal?t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.project-plugin-item.actions.refresh",{target:e.plugin.id}),expression:"$t('org.vue.components.project-plugin-item.actions.refresh', { target: plugin.id })"}],staticClass:"icon-button",attrs:{"icon-left":"cached","loading-left":e.updating},on:{click:function(n){return e.updatePlugin(!n.shiftKey)}}}):e.pluginDetails&&e.pluginDetails.version.current!==e.pluginDetails.version.wanted?t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.project-plugin-item.actions.update",{target:e.plugin.id}),expression:"$t('org.vue.components.project-plugin-item.actions.update', { target: plugin.id })"}],staticClass:"icon-button",attrs:{"icon-left":"file_download","loading-left":e.updating},on:{click:function(n){return e.updatePlugin()}}}):e._e()],1)])},a=[],o=(t("192a"),t("f8eb")),r=t("8ea1"),s=t.n(r),c=t("225c"),d=t.n(c),l=t("3716"),u=t.n(l),f={props:{plugin:{type:Object,required:!0}},data:function(){return{pluginDetails:null,pluginLogo:null,updating:!1,visible:!1}},apollo:{pluginDetails:{query:s.a,variables:function(){return{id:this.plugin.id}},skip:function(){return!this.visible}},pluginLogo:{query:d.a,variables:function(){return{id:this.plugin.id}}}},computed:{isLocal:function(){return this.pluginDetails&&this.pluginDetails.version.localPath}},methods:{updatePlugin:function(){var e=arguments,n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:i=!(e.length>0&&void 0!==e[0])||e[0],n.updating=!0;try{n.$apollo.mutate({mutation:u.a,variables:{id:n.plugin.id,full:i}})}catch(a){console.error(a)}n.updating=!1;case 4:case"end":return t.stop()}}),t)})))()},visibilityChanged:function(e){this.visible||(this.visible=e)}}},m=f,v=(t("1e74"),t("b41a")),p=Object(v["a"])(m,i,a,!1,null,"9b84856a",null);n["default"]=p.exports},df17:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"featureSetEnabled"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"enabled"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"featureSetEnabled"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"enabled"},value:{kind:"Variable",name:{kind:"Name",value:"enabled"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"feature"},directives:[]}]}}]}}],loc:{start:0,end:165}};i.loc.source={body:'#import "./featureFragment.gql"\n\nmutation featureSetEnabled ($id: ID!, $enabled: Boolean!) {\n featureSetEnabled (id: $id, enabled: $enabled) {\n ...feature\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("f1cc").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["featureSetEnabled"]=d(i,"featureSetEnabled")},e02b:function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));t("21db");var i=null,a=/\?theme=(\w+)/.exec(window.location.href);function o(){return i}a&&(i=a[1]),console.log("forced theme",i)},e13e:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("ApolloQuery",{staticClass:"connection-status",attrs:{query:t("136b"),"fetch-policy":"cache-only"},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result.data.connected;return[i("transition",{attrs:{duration:"1000"}},[t?e._e():i("div",{staticClass:"banner"},[i("div",{staticClass:"content disconnected"},[i("VueIcon",{staticClass:"medium",attrs:{icon:"cloud_off"}}),i("span",[e._v(e._s(e.$t("org.vue.components.connection-status.disconnected")))])],1),i("div",{staticClass:"content connected"},[i("VueIcon",{staticClass:"medium",attrs:{icon:"wifi"}}),i("span",[e._v(e._s(e.$t("org.vue.components.connection-status.connected")))])],1)])])]}}])})},a=[],o={clientState:!0},r=o,s=(t("c32e"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"7ba24086",null);n["default"]=c.exports},e16d:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"darkMode"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"darkMode"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}]}]}}],loc:{start:0,end:38}};t.loc.source={body:"query darkMode {\n darkMode @client\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["darkMode"]=r(t,"darkMode")},e427:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"sharedDataUpdated"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sharedDataUpdated"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"sharedData"},directives:[]}]}}]}}],loc:{start:0,end:176}};i.loc.source={body:'#import "./sharedDataFragment.gql"\n\nsubscription sharedDataUpdated ($id: ID!, $projectId: ID!) {\n sharedDataUpdated (id: $id, projectId: $projectId) {\n ...sharedData\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("5a65b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["sharedDataUpdated"]=d(i,"sharedDataUpdated")},e4f6:function(e,n,t){"use strict";var i=t("9ade"),a=t.n(i);a.a},e52e:function(e,n,t){"use strict";var i=t("5149"),a=t.n(i);a.a},e5ef:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"clientAddons"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientAddons"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"clientAddon"},directives:[]}]}}]}}],loc:{start:0,end:100}};i.loc.source={body:'#import "./clientAddonFragment.gql"\n\nquery clientAddons {\n clientAddons {\n ...clientAddon\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("863a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["clientAddons"]=d(i,"clientAddons")},e63f:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"projectSetFavorite"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"favorite"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectSetFavorite"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"favorite"},value:{kind:"Variable",name:{kind:"Name",value:"favorite"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"project"},directives:[]}]}}]}}],loc:{start:0,end:166}};i.loc.source={body:'#import "./projectFragment.gql"\n\nmutation projectSetFavorite ($id: ID!, $favorite: Int!) {\n projectSetFavorite (id: $id, favorite: $favorite) {\n ...project\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("8c3a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["projectSetFavorite"]=d(i,"projectSetFavorite")},e648:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"dependencies"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dependencies"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"dependency"},directives:[]}]}}]}}],loc:{start:0,end:97}};i.loc.source={body:'#import "./dependencyFragment.gql"\n\nquery dependencies {\n dependencies {\n ...dependency\n }\n}',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("28f7").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["dependencies"]=d(i,"dependencies")},e735:function(e,n,t){},e75e:function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"configuration"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Configuration"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"plugin"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:108}};t.loc.source={body:"fragment configuration on Configuration {\n id\n name\n description\n icon\n plugin {\n id\n logo\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},e761:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("transition",{attrs:{duration:"150",appear:""}},[t("div",{staticClass:"widget",class:{customizing:e.customizeMode,moving:e.moveState,resizing:e.resizeState,selected:e.isSelected,"details-shown":e.showDetails,details:e.details}},[t("div",{ref:"shell",staticClass:"shell",style:e.shellStyle||!e.details&&e.mainStyle},[t("div",{staticClass:"wrapper card"},[t("div",{staticClass:"content-wrapper"},[t("div",{staticClass:"header"},[t("div",{staticClass:"title"},[e._v(e._s(e.injected.customTitle||e.$t(e.widget.definition.title)))]),e.widget.configured?e._l(e.headerActions,(function(n){return n.hidden?e._e():t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t(n.tooltip),expression:"$t(action.tooltip)"}],key:n.id,staticClass:"icon-button flat primary",attrs:{"icon-left":n.icon,disabled:n.disabled},on:{click:function(e){return n.onCalled()}}})})):e._e(),e.widget.definition.hasConfigPrompts?t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.widget.configure"),expression:"$t('org.vue.components.widget.configure')"}],staticClass:"icon-button flat primary",attrs:{"icon-left":"settings"},on:{click:function(n){return e.openConfig()}}}):e._e(),e.details?t("VueButton",{staticClass:"icon-button flat primary",attrs:{"icon-left":"close"},on:{click:function(n){return e.$emit("close")}}}):e.widget.definition.openDetailsButton?t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.widget.open-details"),expression:"$t('org.vue.components.widget.open-details')"}],staticClass:"icon-button flat primary",attrs:{"icon-left":"zoom_out_map"},on:{click:function(n){return e.openDetails()}}}):e._e()],2),e.widget.configured?t("div",{staticClass:"content"},[t("ClientAddonComponent",{staticClass:"view",attrs:{name:e.component}})],1):t("div",{staticClass:"content not-configured"},[t("VueIcon",{staticClass:"icon huge",attrs:{icon:"settings"}}),t("VueButton",{attrs:{label:e.$t("org.vue.components.widget.configure")},on:{click:function(n){return e.openConfig()}}})],1)]),e.customizeMode?t("div",{staticClass:"customize-overlay",on:{mousedown:e.onMoveStart,click:function(n){return e.select()}}},[t("div",{staticClass:"definition-chip"},[t("ItemLogo",{staticClass:"icon",attrs:{image:e.widget.definition.icon,"fallback-icon":"widgets"}}),t("div",{staticClass:"title"},[e._v(e._s(e.injected.customTitle||e.$t(e.widget.definition.title)))])],1),t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.widget.remove"),expression:"$t('org.vue.components.widget.remove')"}],staticClass:"remove-button primary flat icon-button",attrs:{"icon-left":"close"},on:{click:function(n){return n.stopPropagation(),e.remove()}},nativeOn:{mousedown:function(e){e.stopPropagation()}}}),e.showResizeHandle?e._l(e.resizeHandles,(function(n){return t("div",{key:n,staticClass:"resize-handle",class:[n],on:{mousedown:function(t){return t.stopPropagation(),e.onResizeStart(t,n)}}})})):e._e()],2):e._e()])]),e.moveState?t("div",{staticClass:"move-ghost",style:e.moveGhostStyle},[t("div",{staticClass:"backdrop"})]):e._e(),e.resizeState?t("div",{staticClass:"resize-ghost",style:e.resizeGhostStyle},[t("div",{staticClass:"backdrop"})]):e._e(),e.showConfig?t("VueModal",{staticClass:"medium",attrs:{title:e.$t("org.vue.components.widget.configure")},on:{close:function(n){e.showConfig=!1}}},[t("div",{staticClass:"default-body"},[e.loadingConfig?t("VueLoadingIndicator",{staticClass:"big accent"}):t("PromptsList",{attrs:{prompts:e.visiblePrompts},on:{answer:e.answerPrompt}})],1),t("div",{staticClass:"actions",attrs:{slot:"footer"},slot:"footer"},[t("VueButton",{staticClass:"primary big",attrs:{label:e.$t("org.vue.components.widget.save"),disabled:e.loadingConfig},on:{click:function(n){return e.saveConfig()}}})],1)]):e._e(),!e.details&&e.showDetails?t("WidgetDetailsView",{attrs:{widget:e.widget,"shell-origin":e.shellOrigin},on:{close:function(n){return e.closeDetails()}}}):e._e()],1)])},a=[],o=(t("90ee"),t("f299"),t("8e77"),t("192a"),t("f8eb")),r=t("7b01"),s=t("ee9d"),c=t("4670"),d=function(e){var n=e.gridSize,t=e.field;return{computed:{mainStyle:function(){return this.moveState?Object(c["a"])(Object(c["a"])({},this.getPositionStyle(this.moveState.pxX,this.moveState.pxY)),this.getSizeStyle()):this.resizeState?Object(c["a"])(Object(c["a"])({},this.getPositionStyle(this.resizeState.pxX,this.resizeState.pxY)),this.getSizeStyle(this.resizeState.pxWidth,this.resizeState.pxHeight)):Object(c["a"])(Object(c["a"])({},this.getPositionStyle(n*this[t].x,n*this[t].y)),this.getSizeStyle())},moveGhostStyle:function(){return Object(c["a"])(Object(c["a"])({},this.getPositionStyle(n*this.moveState.x,n*this.moveState.y)),this.getSizeStyle())},resizeGhostStyle:function(){return Object(c["a"])(Object(c["a"])({},this.getPositionStyle(n*this.resizeState.x,n*this.resizeState.y)),this.getSizeStyle(n*this.resizeState.width,n*this.resizeState.height))}},methods:{getPositionStyle:function(e,n){return{left:"".concat(e,"px"),top:"".concat(n,"px")}},getSizeStyle:function(e,i){return{width:"".concat(e||n*this[t].width,"px"),height:"".concat(i||n*this[t].height,"px")}}}}};function l(e){var n=e.gridSize,t=e.field,i=e.zoom;return{data:function(){return{moveState:null}},beforeDestroy:function(){this.removeMoveListeners()},methods:{removeMoveListeners:function(){window.removeEventListener("mousemove",this.onMoveUpdate),window.removeEventListener("mouseup",this.onMoveEnd)},updateMoveState:function(e){var a=e.clientX-this.$_initalMousePosition.x,o=e.clientY-this.$_initalMousePosition.y,r=this[t].x*n+a/i,s=this[t].y*n+o/i,c=Math.round(r/n),d=Math.round(s/n);c<0&&(c=0),d<0&&(d=0),this.moveState={pxX:r,pxY:s,x:c,y:d}},onMoveStart:function(e){this.$_initalMousePosition={x:e.clientX,y:e.clientY},this.updateMoveState(e),window.addEventListener("mousemove",this.onMoveUpdate),window.addEventListener("mouseup",this.onMoveEnd)},onMoveUpdate:function(e){this.updateMoveState(e)},onMoveEnd:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n.updateMoveState(e),n.removeMoveListeners(),!n.onMoved){t.next=5;break}return t.next=5,n.onMoved();case 5:n.moveState=null;case 6:case"end":return t.stop()}}),t)})))()}}}}t("14cc"),t("4227");var u=function(e){var n=e.gridSize,t=e.field,i=e.zoom;return{data:function(){return{resizeState:null}},computed:{showResizeHandle:function(){return this.isSelected&&!this.moveState&&this.canBeResized},canBeResized:function(){var e=this[t].definition;return e.minWidth!==e.maxWidth||e.minHeight!==e.maxHeight}},created:function(){this.resizeHandles=["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]},beforeDestroy:function(){this.removeResizeListeners()},methods:{removeResizeListeners:function(){window.removeEventListener("mousemove",this.onResizeMove),window.removeEventListener("mouseup",this.onResizeEnd)},updateResizeState:function(e){var a=this[t],o=(e.clientX-this.$_initalMousePosition.x)/i,r=(e.clientY-this.$_initalMousePosition.y)/i,s=this.$_resizeHandle,c=0,d=0,l=0,u=0;s.includes("left")?(c=o,l=-o):s.includes("right")&&(l=o),s.includes("top")?(d=r,u=-r):s.includes("bottom")&&(u=r);var f=Math.round(c/n),m=Math.round(d/n),v=Math.round(l/n),p=Math.round(u/n);a.width+v<a.definition.minWidth&&(v=a.definition.minWidth-a.width,f=a.width-a.definition.minWidth),a.width+v>a.definition.maxWidth&&(v=a.definition.maxWidth-a.width,f=a.width-a.definition.maxWidth),a.height+p<a.definition.minHeight&&(p=a.definition.minHeight-a.height,m=a.height-a.definition.minHeight),a.height+p>a.definition.maxHeight&&(p=a.definition.maxHeight-a.height,m=a.height-a.definition.maxHeight),this.resizeState={x:a.x+f,y:a.y+m,width:a.width+v,height:a.height+p,pxX:a.x*n+c,pxY:a.y*n+d,pxWidth:a.width*n+l,pxHeight:a.height*n+u}},onResizeStart:function(e,n){this.$_initalMousePosition={x:e.clientX,y:e.clientY},this.$_resizeHandle=n,this.updateResizeState(e),window.addEventListener("mousemove",this.onResizeMove),window.addEventListener("mouseup",this.onResizeEnd)},onResizeMove:function(e){this.updateResizeState(e)},onResizeEnd:function(e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n.updateResizeState(e),n.removeResizeListeners(),!n.onResized){t.next=5;break}return t.next=5,n.onResized();case 5:n.resizeState=null;case 6:case"end":return t.stop()}}),t)})))()}}}},f=t("491f"),m=t.n(f),v=t("09a4"),p=t.n(v),g=t("b7d9"),k=t.n(g),h=t("fd9b"),b=t.n(h),w=t("46e1"),S=t.n(w),y=t("3886"),N=t.n(y),D=t("fe36"),C=t.n(D),E=200,j=.7,_=new r["default"]({data:{selectedWidgetId:null}}),x={provide:function(){return{widget:this.injected}},inject:["dashboard"],mixins:[Object(s["a"])({field:"widget",update:function(e,n){e.writeFragment({fragment:b.a,fragmentName:"widget",id:this.widget.id,data:{prompts:n}})}}),d({field:"widget",gridSize:E}),l({field:"widget",gridSize:E,zoom:j}),u({field:"widget",gridSize:E,zoom:j})],props:{widget:{type:Object,required:!0},customizeMode:{type:Boolean,default:!1},details:{type:Boolean,default:!1},shellStyle:{type:Object,default:null}},data:function(){return{showConfig:!1,loadingConfig:!1,showDetails:!1,injected:{data:this.widget,isDetails:this.details,openConfig:this.openConfig,openDetails:this.openDetails,closeDetails:this.closeDetails,addHeaderAction:this.addHeaderAction,removeHeaderAction:this.removeHeaderAction,remove:this.remove,customTitle:null},shellOrigin:null,headerActions:[]}},computed:{isSelected:function(){return this.widget.id===_.selectedWidgetId},component:function(){return this.details?this.widget.definition.detailsComponent:this.widget.definition.component}},watch:{widget:{handler:function(e){this.injected.data=e}},customizeMode:function(e){e?this.showDetails&&this.closeDetails():this.isSelected&&(_.selectedWidgetId=null)},"dashboard.width":"updateShellOrigin","dashboard.height":"updateShellOrigin","widget.x":"updateShellOrigin","widget.y":"updateShellOrigin","widget.width":"updateShellOrigin","widget.height":"updateShellOrigin"},mounted:function(){var e=this;setTimeout((function(){e.updateShellOrigin()}),150)},methods:{openConfig:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loadingConfig=!0,e.showConfig=!0,n.next=4,e.$apollo.mutate({mutation:N.a,variables:{id:e.widget.id}});case 4:e.loadingConfig=!1;case 5:case"end":return n.stop()}}),n)})))()},saveConfig:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.showConfig=!1,e.loadingConfig=!1,n.next=4,e.$apollo.mutate({mutation:C.a,variables:{id:e.widget.id}});case 4:case"end":return n.stop()}}),n)})))()},openDetails:function(){this.widget.definition.detailsComponent&&(this.showDetails=!0,this.dashboard.isWidgetDetailsShown=!0)},closeDetails:function(){this.showDetails=!1,this.dashboard.isWidgetDetailsShown=!1},remove:function(){var e=this;this.$apollo.mutate({mutation:m.a,variables:{id:this.widget.id},update:function(n,t){var i=t.data.widgetRemove,a=n.readQuery({query:k.a});a={widgets:a.widgets.filter((function(n){return n.id!==e.widget.id}))},n.writeQuery({query:k.a,data:a}),n.writeFragment({fragment:S.a,id:i.definition.id,data:i.definition})}})},select:function(){_.selectedWidgetId=this.widget.id},onMoved:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:p.a,variables:{input:{id:e.widget.id,x:e.moveState.x,y:e.moveState.y,width:e.widget.width,height:e.widget.height}}});case 2:case"end":return n.stop()}}),n)})))()},onResized:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$apollo.mutate({mutation:p.a,variables:{input:{id:e.widget.id,x:e.resizeState.x,y:e.resizeState.y,width:e.resizeState.width,height:e.resizeState.height}}});case 2:case"end":return n.stop()}}),n)})))()},updateShellOrigin:function(){var e=this.$refs.shell;if(e){var n=e.getBoundingClientRect();this.shellOrigin={x:n.left+n.width/2-this.dashboard.left,y:n.top+n.height/2-this.dashboard.top}}},addHeaderAction:function(e){this.removeHeaderAction(e.id),e.tooltip||(e.tooltip=null),e.disabled||(e.disabled=!1),e.hidden||(e.hidden=!1),F(e,"tooltip"),F(e,"disabled"),F(e,"hidden"),this.headerActions.push(e)},removeHeaderAction:function(e){var n=this.headerActions.findIndex((function(n){return n.id===e}));-1!==n&&this.headerActions.splice(n,1)}}};function F(e,n){var t=e[n];"function"===typeof t&&(delete e[n],Object.defineProperty(e,n,{get:t,enumerable:!0,configurable:!0}))}var $=x,V=(t("9d6d"),t("b41a")),O=Object(V["a"])($,i,a,!1,null,"4d96c5e7",null);n["default"]=O.exports},e78f:function(e,n,t){"use strict";var i=t("d2ad"),a=t.n(i);a.a},e7f7:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"gitCommit"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"message"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gitCommit"},arguments:[{kind:"Argument",name:{kind:"Name",value:"message"},value:{kind:"Variable",name:{kind:"Name",value:"message"}}}],directives:[]}]}}],loc:{start:0,end:75}};t.loc.source={body:"mutation gitCommit ($message: String!) {\n gitCommit (message: $message)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["gitCommit"]=r(t,"gitCommit")},e8dc:function(e,n,t){"use strict";var i=t("c345"),a=t.n(i);a.a},eb31:function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"promptError"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PromptError"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]}]}}],loc:{start:0,end:57}};t.loc.source={body:"fragment promptError on PromptError {\n message\n link\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},ec0d:function(e,n,t){},ec18:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{directives:[{name:"tooltip",rawName:"v-tooltip.right",value:e.$t(e.configuration.description),expression:"$t(configuration.description)",modifiers:{right:!0}}],staticClass:"configuration-item list-item",class:{selected:e.selected}},[t("div",{staticClass:"content"},[t("ItemLogo",{attrs:{image:e.configuration.icon||e.configuration.plugin&&e.configuration.plugin.logo,"fallback-icon":"settings_applications"}}),t("ListItemInfo",{attrs:{name:e.configuration.name,description:e.$t(e.configuration.description),selected:e.selected}})],1)])},a=[],o={props:{configuration:{type:Object,required:!0},selected:{type:Boolean,default:!1}}},r=o,s=(t("5d0b"),t("b41a")),c=Object(s["a"])(r,i,a,!1,null,"6ca068b0",null);n["default"]=c.exports},ecbd:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"top-bar"},[t("portal-target",{staticClass:"title",attrs:{name:"top-title"}},[e._v("Vue")]),t("AppLoading"),t("div",{staticClass:"vue-ui-spacer"}),t("SuggestionBar"),t("portal-target",{staticClass:"actions",attrs:{name:"top-actions"}})],1)},a=[],o=(t("32dc"),t("b41a")),r={},s=Object(o["a"])(r,i,a,!1,null,"68cd19b0",null);n["default"]=s.exports},ed73:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"pluginInstall"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginInstall"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pluginInstallation"},directives:[]}]}}]}}],loc:{start:0,end:140}};i.loc.source={body:'#import "./pluginInstallationFragment.gql"\n\nmutation pluginInstall ($id: ID!) {\n pluginInstall (id: $id) {\n ...pluginInstallation\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("620a").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["pluginInstall"]=d(i,"pluginInstall")},ee9d:function(e,n,t){"use strict";t("90ee"),t("b771"),t("192a");var i=t("f8eb"),a=t("9c78"),o=t.n(a);n["a"]=function(e){var n=e.field,t=e.query,a=e.variables,r=void 0===a?null:a,s=e.updateQuery,c=void 0===s?null:s,d=e.update,l=void 0===d?null:d;return{computed:{configurationValid:function(){return 0===this.visiblePrompts.filter((function(e){return e.error||null===e.value||""===JSON.parse(e.value)})).length},hasPromptsChanged:function(){return!!this.visiblePrompts.find((function(e){return e.valueChanged}))},visiblePrompts:function(){return this[n]?this[n].prompts.filter((function(e){return e.visible})):[]}},watch:{hasPromptsChanged:{handler:function(e){this.$emit("has-changes",e)},immediate:!0}},methods:{answerPrompt:function(e){var a=this;return Object(i["a"])(regeneratorRuntime.mark((function i(){var s,d;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return s=e.prompt,d=e.value,i.next=3,a.$apollo.mutate({mutation:o.a,variables:{input:{id:s.id,value:JSON.stringify(d)}},update:function(e,i){var o=i.data.promptAnswer;if(l)l.call(a,e,o);else{var s=r||a.$apollo.queries[n].options.variables||void 0;"function"===typeof s&&(s=s.call(a));var d=e.readQuery({query:t,variables:s});c?c.call(a,d,o):d[n].prompts=o,e.writeQuery({query:t,variables:s,data:d})}}});case 3:case"end":return i.stop()}}),i)})))()}}}}},eee3:function(e,n,t){},ef45:function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"locale"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Locale"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lang"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"strings"},arguments:[],directives:[]}]}}],loc:{start:0,end:47}};t.loc.source={body:"fragment locale on Locale {\n lang\n strings\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},f1cc:function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"feature"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Feature"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}}],loc:{start:0,end:75}};t.loc.source={body:"fragment feature on Feature {\n id\n name\n description\n link\n enabled\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};e.exports=t},f2a0:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"configurations"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"configurations"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"configuration"},directives:[]}]}}]}}],loc:{start:0,end:108}};i.loc.source={body:'#import "./configurationFragment.gql"\n\nquery configurations {\n configurations {\n ...configuration\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("e75e").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["configurations"]=d(i,"configurations")},f4b7:function(e,n,t){"use strict";var i=t("ca1b"),a=t.n(i);a.a},f506:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"folderCreate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"folderCreate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"folderCurrent"},directives:[]}]}}]}}],loc:{start:0,end:137}};i.loc.source={body:'#import "./folderCurrentFragment.gql"\n\nmutation folderCreate ($name: String!) {\n folderCreate (name: $name) {\n ...folderCurrent\n }\n}',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("c44d").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["folderCreate"]=d(i,"folderCreate")},f53c:function(e,n,t){},fb10:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("VueDisable",{staticClass:"prompt prompt-editor",attrs:{disabled:!e.prompt.enabled}},[t("div",{staticClass:"prompt-content vertical"},[t("ListItemInfo",{attrs:{name:e.$t(e.prompt.message),description:e.$t(e.prompt.description),link:e.prompt.link}}),t("div",{staticClass:"prompt-input"},[t("VueInput",{attrs:{value:e.value(e.prompt.value),type:"textarea"},on:{update:function(n){return e.answer(n)}}})],1)],1),t("PromptError",{attrs:{error:e.prompt.error}})],1)},a=[],o=t("5c0d"),r={extends:o["default"],buffer:!0},s=r,c=(t("269a"),t("b41a")),d=Object(c["a"])(s,i,a,!1,null,"4434277c",null);n["default"]=d.exports},fba4:function(e,n,t){"use strict";var i=t("2a97"),a=t.n(i);a.a},fc80:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"terminal-view card"},[e.toolbar?t("div",{staticClass:"pane-toolbar"},[t("VueIcon",{attrs:{icon:"dvr"}}),t("div",{staticClass:"title"},[e._v(e._s(e.title))]),t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.terminal-view.buttons.clear"),expression:"$t('org.vue.components.terminal-view.buttons.clear')"}],staticClass:"icon-button flat",attrs:{"icon-left":"delete_forever"},on:{click:function(n){e.clear(),e.$emit("clear")}}}),t("VueIcon",{staticClass:"separator",attrs:{icon:"lens"}}),t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.terminal-view.buttons.content-copy"),expression:"$t('org.vue.components.terminal-view.buttons.content-copy')"}],staticClass:"icon-button flat",attrs:{"icon-left":"content_copy"},on:{click:function(n){return e.copyContent()}}}),t("VueButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("org.vue.components.terminal-view.buttons.scroll"),expression:"$t('org.vue.components.terminal-view.buttons.scroll')"}],staticClass:"icon-button flat",attrs:{"icon-left":"subdirectory_arrow_left"},on:{click:function(n){return e.scrollToBottom()}}})],1):e._e(),t("div",{staticClass:"view"},[t("div",{ref:"render",staticClass:"xterm-render"})]),e.autoSize?t("resize-observer",{on:{notify:e.fit}}):e._e()],1)},a=[],o=(t("fa41"),t("4bab"),t("fb153"),t("21db"),t("a41b"),t("21de"),t("192a"),t("f8eb")),r=t("4670"),s=t("e8e6"),c=t("5784"),d=t("b956");s["Terminal"].applyAddon(c),s["Terminal"].applyAddon(d);var l={foreground:"#2c3e50",background:"#fff",cursor:"rgba(0, 0, 0, .4)",selection:"rgba(0, 0, 0, 0.3)",black:"#000000",red:"#e83030",brightRed:"#e83030",green:"#42b983",brightGreen:"#42b983",brightYellow:"#ea6e00",yellow:"#ea6e00",magenta:"#e83030",brightMagenta:"#e83030",cyan:"#03c2e6",brightBlue:"#03c2e6",brightCyan:"#03c2e6",blue:"#03c2e6",white:"#d0d0d0",brightBlack:"#808080",brightWhite:"#ffffff"},u=Object(r["a"])(Object(r["a"])({},l),{},{foreground:"#fff",background:"#1d2935",cursor:"rgba(255, 255, 255, .4)",selection:"rgba(255, 255, 255, 0.3)",magenta:"#e83030",brightMagenta:"#e83030"}),f={clientState:!0,props:{cols:{type:Number,required:!0},rows:{type:Number,required:!0},content:{type:String,default:void 0},autoSize:{type:Boolean,default:!1},options:{type:Object,default:function(){return{}}},toolbar:{type:Boolean,default:!1},title:{type:String,default:null},openLinks:{type:Boolean,default:!1}},computed:{theme:function(){return this.darkMode?u:l}},watch:{cols:function(e){this.$_terminal.resize(e,this.rows)},rows:function(e){this.$_terminal.resize(this.cols,e)},content:"setContent",darkMode:function(e,n){"undefined"===typeof n?this.initTerminal():this.$_terminal&&this.$_terminal.setOption("theme",this.theme)}},beforeDestroy:function(){this.$_terminal.destroy()},methods:{initTerminal:function(){var e=this,n=this.$_terminal=new s["Terminal"](Object(r["a"])({cols:this.cols,rows:this.rows,theme:this.theme},this.options));d["webLinksInit"](n,this.handleLink),n.open(this.$refs.render),n.on("blur",(function(){return e.$emit("blur")})),n.on("focus",(function(){return e.$emit("focus")})),this.autoSize&&this.$nextTick(this.fit)},setContent:function(e){var n=this,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];-1===e.indexOf("\n")?"string"===typeof e?this.$_terminal[t?"writeln":"write"](e):this.$_terminal.writeln(""):e.split("\n").forEach((function(e){return n.setContent(e)}))},addLog:function(e){this.setContent(e.text,"stdout"===e.type)},clear:function(){this.$_terminal.clear()},scrollToBottom:function(){this.$_terminal.scrollToBottom()},copyContent:function(){var e=this.$_terminal.textarea;if(e){var n=e.value,t=!this.$_terminal.hasSelection();try{t&&this.$_terminal.selectAll();var i=this.$_terminal.getSelection();e.value=i,e.select(),document.execCommand("copy")}finally{e.value=n,t&&this.$_terminal.clearSelection()}}},handleLink:function(e,n){this.openLinks&&window.open(n,"_blank"),this.$emit("link",n)},fit:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.$_terminal,t.element.style.display="none",n.next=4,e.$nextTick();case 4:t.fit(),t.element.style.display="",t.refresh(0,t.rows-1);case 7:case"end":return n.stop()}}),n)})))()},focus:function(){this.$_terminal.focus()},blur:function(){this.$_terminal.blur()}}},m=f,v=(t("6ba5"),t("b1af"),t("b41a")),p=Object(v["a"])(m,i,a,!1,null,"25c537b5",null);n["default"]=p.exports},fd9b:function(e,n,t){var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"widget"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Widget"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"definition"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"component"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"detailsComponent"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canAddMore"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasConfigPrompts"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"minWidth"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"minHeight"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxWidth"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxHeight"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"openDetailsButton"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"x"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"y"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"configured"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"prompts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"prompt"},directives:[]}]}}]}}],loc:{start:0,end:343}};i.loc.source={body:'#import "../prompt/promptFragment.gql"\n\nfragment widget on Widget {\n id\n definition {\n id\n title\n icon\n component\n detailsComponent\n canAddMore\n hasConfigPrompts\n minWidth\n minHeight\n maxWidth\n maxHeight\n openDetailsButton\n }\n x\n y\n width\n height\n config\n configured\n prompts {\n ...prompt\n }\n}',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}i.definitions=i.definitions.concat(o(t("1856").definitions)),e.exports=i},fe36:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"widgetConfigSave"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"widgetConfigSave"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"widget"},directives:[]}]}}]}}],loc:{start:0,end:122}};i.loc.source={body:'#import "./widgetFragment.gql"\n\nmutation widgetConfigSave ($id: ID!) {\n widgetConfigSave (id: $id) {\n ...widget\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function o(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}i.definitions=i.definitions.concat(o(t("fd9b").definitions));var s={};function c(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function d(e,n){var t={kind:e.kind,definitions:[c(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=s[n]||new Set,a=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var r=o;o=new Set,r.forEach((function(e){if(!a.has(e)){a.add(e);var n=s[e]||new Set;n.forEach((function(e){o.add(e)}))}}))}return a.forEach((function(n){var i=c(e,n);i&&t.definitions.push(i)})),t}(function(){i.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),s[e.name.value]=n}}))})(),e.exports=i,e.exports["widgetConfigSave"]=d(i,"widgetConfigSave")},fefa:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"subscription",name:{kind:"Name",value:"progressRemoved"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"progressRemoved"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[]}]}}],loc:{start:0,end:72}};t.loc.source={body:"subscription progressRemoved ($id: ID!) {\n progressRemoved (id: $id)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["progressRemoved"]=r(t,"progressRemoved")},ff11:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"pluginResetApi"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pluginResetApi"},arguments:[],directives:[]}]}}],loc:{start:0,end:44}};t.loc.source={body:"mutation pluginResetApi {\n pluginResetApi\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}function r(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,r=new Set,s=new Set;i.forEach((function(e){s.add(e)}));while(s.size>0){var c=s;s=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var n=a[e]||new Set;n.forEach((function(e){s.add(e)}))}}))}return r.forEach((function(n){var i=o(e,n);i&&t.definitions.push(i)})),t}(function(){t.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}}))})(),e.exports=t,e.exports["pluginResetApi"]=r(t,"pluginResetApi")},ff93:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,i=e._self._c||n;return i("div",{staticClass:"project-select-list"},[i("ApolloQuery",{attrs:{query:t("8f87")},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.result,a=t.data,o=t.loading;return[a?[a.projects.length?i("div",[i("div",{staticClass:"toolbar"},[i("VueInput",{staticClass:"round",attrs:{"icon-left":"search"},model:{value:e.search,callback:function(n){e.search=n},expression:"search"}})],1),e._l([!0,!1],(function(n){return i("ListFilter",{key:n,attrs:{list:e.filterProjects(a.projects),filter:function(e){return!!e.favorite===n}},scopedSlots:e._u([{key:"default",fn:function(t){var o=t.list;return[a.projects.find((function(e){return e.favorite}))?i("div",{staticClass:"cta-text",class:n?"favorite":"other"},[e._v(" "+e._s(e.$t("org.vue.components.project-select-list.titles."+(n?"favorite":"other")))+" ")]):e._e(),i("ListSort",{attrs:{list:o,compare:e.compareProjects},scopedSlots:e._u([{key:"default",fn:function(n){var t=n.list;return e._l(t,(function(n){return i("ProjectSelectListItem",{key:n.id,class:{open:e.projectCurrent&&e.projectCurrent.id===n.id},attrs:{project:n},on:{remove:function(t){return e.removeProject(n)},favorite:function(t){return e.toggleFavorite(n)}},nativeOn:{click:function(t){return e.openProject(n)}}})}))}}],null,!0)})]}}],null,!0)})}))],2):i("div",{staticClass:"vue-ui-empty"},[i("VueIcon",{staticClass:"empty-icon",attrs:{icon:"attach_file"}}),i("div",[e._v(e._s(e.$t("org.vue.components.project-select-list.empty")))])],1)]:o?i("VueLoadingIndicator",{staticClass:"overlay"}):e._e()]}}])})],1)},a=[],o=(t("90ee"),t("f299"),t("8e77"),t("f108"),t("21db"),t("4d9a"),t("a394")),r=(t("192a"),t("f8eb")),s=t("9cd3"),c=t("8f87"),d=t.n(c),l=t("4892"),u=t.n(l),f=t("93cc"),m=t.n(f),v=t("b30d"),p=t.n(v),g=t("e63f"),k=t.n(g),h={data:function(){return{search:""}},apollo:{projectCurrent:u.a},methods:{openProject:function(e){var n=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n.projectCurrent&&n.projectCurrent.id===e.id){t.next=3;break}return t.next=3,n.$apollo.mutate({mutation:m.a,variables:{id:e.id}});case 3:n.$router.push({name:"project-home"});case 4:case"end":return t.stop()}}),t)})))()},removeProject:function(e){var n=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$apollo.mutate({mutation:p.a,variables:{id:e.id},update:function(n){var t=n.readQuery({query:d.a});t={projects:Object(o["a"])(t.projects)};var i=t.projects.findIndex((function(n){return n.id===e.id}));-1!==i&&t.projects.splice(i,1),n.writeQuery({query:d.a,data:t})}});case 2:case"end":return t.stop()}}),t)})))()},toggleFavorite:function(e){var n=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$apollo.mutate({mutation:k.a,variables:{id:e.id,favorite:e.favorite?0:1}});case 2:case"end":return t.stop()}}),t)})))()},compareProjects:function(e,n){return e.name.localeCompare(n.name)},filterProjects:function(e){var n=Object(s["a"])(this.search);return n?e.filter((function(e){return n.test(e.path)})):e}}},b=h,w=(t("8133"),t("b41a")),S=Object(w["a"])(b,i,a,!1,null,"7fe81cfe",null);n["default"]=S.exports}});
- //# sourceMappingURL=app.f7c8b332.js.map
|