overte-AleziaKurdis/scripts/system/inventory/dist/js/app.a3555a80.js
2020-07-21 00:43:44 -04:00

2 lines
No EOL
40 KiB
JavaScript

(function(e){function t(t){for(var r,s,l=t[0],n=t[1],d=t[2],u=0,m=[];u<l.length;u++)s=l[u],Object.prototype.hasOwnProperty.call(a,s)&&a[s]&&m.push(a[s][0]),a[s]=0;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);c&&c(t);while(m.length)m.shift()();return o.push.apply(o,d||[]),i()}function i(){for(var e,t=0;t<o.length;t++){for(var i=o[t],r=!0,l=1;l<i.length;l++){var n=i[l];0!==a[n]&&(r=!1)}r&&(o.splice(t--,1),e=s(s.s=i[0]))}return e}var r={},a={app:0},o=[];function s(t){if(r[t])return r[t].exports;var i=r[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,s),i.l=!0,i.exports}s.m=e,s.c=r,s.d=function(e,t,i){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)s.d(i,r,function(t){return e[t]}.bind(null,r));return i},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="";var l=window["webpackJsonp"]=window["webpackJsonp"]||[],n=l.push.bind(l);l.push=t,l=l.slice();for(var d=0;d<l.length;d++)t(l[d]);var c=n;o.push([0,"chunk-vendors"]),i()})({0:function(e,t,i){e.exports=i("56d7")},"034f":function(e,t,i){"use strict";var r=i("85ec"),a=i.n(r);a.a},"56d7":function(e,t,i){"use strict";i.r(t);i("e260"),i("e6cf"),i("cca6"),i("a79d");var r,a=i("2b0e"),o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-app",[i("v-app-bar",{attrs:{app:""}},[i("v-app-bar-nav-icon",{on:{click:function(t){e.drawer=!0}}}),i("v-toolbar-title",[e._v("Inventory")]),i("v-spacer"),i("v-badge",{staticClass:"mx-5",attrs:{bordered:"",color:"primary",value:e.receivingItemQueueLength,content:e.receivingItemQueueLength,overlap:""}},[i("v-btn",{attrs:{small:"",color:"red",fab:""},on:{click:function(t){e.receivingItemsDialog.show=!0,e.sendAppMessage("web-to-script-request-receiving-item-queue","")}}},[i("v-icon",[e._v(" mdi-tray-full ")])],1)],1),i("v-menu",{attrs:{bottom:"",left:""},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on;return[i("v-btn",e._g({attrs:{large:"",color:"primary"}},r),[i("h4",[e._v("Sort")])])]}}])},[i("v-list",{attrs:{color:"grey darken-3"}},[i("v-list-item",{on:{click:function(t){return e.sortTopInventory("az")}}},[i("v-list-item-title",[e._v("A-Z")]),i("v-list-item-action",[i("v-icon",{attrs:{large:""}},[e._v("mdi-sort-alphabetical-ascending")])],1)],1),i("v-list-item",{on:{click:function(t){return e.sortTopInventory("za")}}},[i("v-list-item-title",[e._v("Z-A")]),i("v-list-item-action",[i("v-icon",{attrs:{large:""}},[e._v("mdi-sort-alphabetical-descending")])],1)],1)],1)],1)],1),i("v-navigation-drawer",{attrs:{fixed:"",temporary:""},model:{value:e.drawer,callback:function(t){e.drawer=t},expression:"drawer"}},[i("v-list",{staticClass:"pt-5",attrs:{nav:""}},[i("v-list-item-group",[i("v-slider",{attrs:{"tick-labels":e.settings.displayDensity.labels,max:2,step:"1",ticks:"always","tick-size":"3"},model:{value:e.settings.displayDensity.size,callback:function(t){e.$set(e.settings.displayDensity,"size",t)},expression:"settings.displayDensity.size"}}),i("v-list-item",{on:{click:function(t){e.addDialogStore.show=!0,e.getFolderList("add")}}},[i("v-list-item-icon",[i("v-icon",[e._v("mdi-plus")])],1),i("v-list-item-title",[e._v("Add Item")])],1),i("v-list-item",{on:{click:function(t){e.createFolderDialogStore.show=!0}}},[i("v-list-item-icon",[i("v-icon",[e._v("mdi-folder-plus")])],1),i("v-list-item-title",[e._v("Create Folder")])],1),i("p",{staticClass:"app-version"},[e._v("Version "+e._s(e.appVersion))])],1)],1)],1),i("v-content",[i("v-container",{attrs:{fluid:""}},[i("v-col",{staticClass:"py-1 column-item",attrs:{cols:"12",sm:"6",md:"4",lg:"3"}},[i("itemiterator",{attrs:{itemsForIterator:this.$store.state.items}})],1)],1)],1),i("v-dialog",{attrs:{"max-width":"380"},model:{value:e.receivingItemsDialog.show,callback:function(t){e.$set(e.receivingItemsDialog,"show",t)},expression:"receivingItemsDialog.show"}},[i("v-card",[i("v-card-title",{staticClass:"headline"},[e._v("Item Inbox")]),i("v-card-text",{directives:[{name:"show",rawName:"v-show",value:e.receivingItemQueueLength>0,expression:"receivingItemQueueLength > 0"}]},[e._v(" A list of all items being received currently. ")]),i("v-card-text",{directives:[{name:"show",rawName:"v-show",value:0===e.receivingItemQueueLength,expression:"receivingItemQueueLength === 0"}]},[e._v(" There are currently no items in your inbox. ")]),i("v-card-actions",[i("v-list",{directives:[{name:"show",rawName:"v-show",value:e.receivingItemQueueLength>0,expression:"receivingItemQueueLength > 0"}],staticClass:"pt-5",attrs:{nav:"","max-width":"370"}},e._l(e.receivingItemsDialog.data.receivingItemQueue,(function(t){return i("v-list-item",{key:t.data.uuid,attrs:{"two-line":""}},[i("v-list-item-content",[i("v-list-item-title",[e._v(e._s(t.data.name))]),i("v-list-item-subtitle",[e._v("Sent by "+e._s(t.senderName))]),i("v-list-item-subtitle",[e._v("Distance: "+e._s(t.senderDistance.toFixed(1))+"m")])],1),i("v-btn",{attrs:{color:"success"},on:{click:function(i){return e.acceptReceivingItem(t)}}},[i("v-icon",[e._v("mdi-plus")])],1),i("v-btn",{attrs:{text:"",color:"red"},on:{click:function(i){return e.removeReceivingItem(t.data.uuid)}}},[i("v-icon",[e._v("mdi-minus")])],1)],1)})),1)],1)],1)],1),i("v-dialog",{attrs:{"max-width":"290"},model:{value:e.removeDialogStore.show,callback:function(t){e.$set(e.removeDialogStore,"show",t)},expression:"removeDialogStore.show"}},[i("v-card",[i("v-card-title",{staticClass:"headline"},[e._v("Remove Item")]),i("v-card-text",[e._v(" Are you sure you want to delete this item from your inventory? ")]),i("v-card-actions",[i("v-btn",{staticClass:"px-3",attrs:{color:"blue"},on:{click:function(t){e.removeDialogStore.show=!1}}},[e._v(" No ")]),i("v-spacer"),i("v-btn",{staticClass:"px-3",attrs:{color:"red"},on:{click:function(t){e.removeDialogStore.show=!1,e.removeItem(e.$store.state.removeDialog.uuid)}}},[e._v(" Yes ")])],1)],1)],1),i("v-dialog",{attrs:{"max-width":"290"},model:{value:e.removeFolderDialogStore.show,callback:function(t){e.$set(e.removeFolderDialogStore,"show",t)},expression:"removeFolderDialogStore.show"}},[i("v-card",[i("v-card-title",{staticClass:"headline"},[e._v("Remove Folder")]),i("v-card-text",[e._v(" Are you sure you want to delete this folder "),i("b",[e._v("and")]),e._v(" all items within from your inventory? ")]),i("v-card-actions",[i("v-btn",{staticClass:"px-3",attrs:{color:"blue"},on:{click:function(t){e.removeFolderDialogStore.show=!1}}},[e._v(" No ")]),i("v-spacer"),i("v-btn",{staticClass:"px-3",attrs:{color:"red"},on:{click:function(t){e.removeFolderDialogStore.show=!1,e.removeFolder(e.$store.state.removeFolderDialog.uuid)}}},[e._v(" Yes ")])],1)],1)],1),i("v-dialog",{attrs:{"max-width":"380"},model:{value:e.editDialogStore.show,callback:function(t){e.$set(e.editDialogStore,"show",t)},expression:"editDialogStore.show"}},[i("v-card",[i("v-card-title",{staticClass:"headline"},[e._v("Edit Item")]),i("v-form",{ref:"editForm",attrs:{"lazy-validation":!1},model:{value:e.editDialogStore.valid,callback:function(t){e.$set(e.editDialogStore,"valid",t)},expression:"editDialogStore.valid"}},[i("v-select",{staticClass:"my-2",attrs:{items:e.$store.state.supportedItemTypes,rules:[function(e){return!!e||"Type is required."}],label:"Item Type",outlined:""},model:{value:e.editDialogStore.data.type,callback:function(t){e.$set(e.editDialogStore.data,"type",t)},expression:"editDialogStore.data.type"}}),i("v-text-field",{staticClass:"px-2",attrs:{label:"Name",rules:[function(e){return!!e||"Name is required."}],required:""},model:{value:e.editDialogStore.data.name,callback:function(t){e.$set(e.editDialogStore.data,"name",t)},expression:"editDialogStore.data.name"}}),i("v-select",{staticClass:"my-2",attrs:{items:e.folderList,"item-text":"name","item-value":"uuid",label:"Folder",outlined:""},model:{value:e.editDialogStore.data.folder,callback:function(t){e.$set(e.editDialogStore.data,"folder",t)},expression:"editDialogStore.data.folder"}}),i("v-text-field",{staticClass:"px-2",attrs:{label:"URL",rules:[function(e){return!!e||"URL is required."}],required:""},model:{value:e.editDialogStore.data.url,callback:function(t){e.$set(e.editDialogStore.data,"url",t)},expression:"editDialogStore.data.url"}}),i("v-card-actions",[i("v-btn",{staticClass:"px-3",attrs:{color:"red"},on:{click:function(t){e.editDialogStore.show=!1}}},[e._v(" Cancel ")]),i("v-spacer"),i("v-btn",{staticClass:"px-3",attrs:{color:"blue",disabled:!e.$store.state.editDialog.valid},on:{click:function(t){e.editDialogStore.show=!1,e.editItem(e.$store.state.editDialog.uuid)}}},[e._v(" Done ")])],1)],1)],1)],1),i("v-dialog",{attrs:{"max-width":"380"},model:{value:e.editFolderDialogStore.show,callback:function(t){e.$set(e.editFolderDialogStore,"show",t)},expression:"editFolderDialogStore.show"}},[i("v-card",[i("v-card-title",{staticClass:"headline"},[e._v("Edit Folder")]),i("v-form",{ref:"editFolderForm",attrs:{"lazy-validation":!1},model:{value:e.editFolderDialogStore.valid,callback:function(t){e.$set(e.editFolderDialogStore,"valid",t)},expression:"editFolderDialogStore.valid"}},[i("v-text-field",{staticClass:"px-2",attrs:{label:"Name",rules:[function(e){return!!e||"Name is required."}],required:""},model:{value:e.editFolderDialogStore.data.name,callback:function(t){e.$set(e.editFolderDialogStore.data,"name",t)},expression:"editFolderDialogStore.data.name"}}),i("v-select",{staticClass:"my-2",attrs:{items:e.folderList,"item-text":"name","item-value":"uuid",label:"Parent Folder",outlined:""},model:{value:e.editFolderDialogStore.data.folder,callback:function(t){e.$set(e.editFolderDialogStore.data,"folder",t)},expression:"editFolderDialogStore.data.folder"}}),i("v-card-actions",[i("v-btn",{staticClass:"px-3",attrs:{color:"red"},on:{click:function(t){e.editFolderDialogStore.show=!1}}},[e._v(" Cancel ")]),i("v-spacer"),i("v-btn",{staticClass:"px-3",attrs:{color:"blue",disabled:!e.$store.state.editFolderDialog.valid},on:{click:function(t){e.editFolderDialogStore.show=!1,e.editFolder(e.$store.state.editFolderDialog.data.uuid)}}},[e._v(" Done ")])],1)],1)],1)],1),i("v-dialog",{attrs:{"max-width":"380"},model:{value:e.createFolderDialogStore.show,callback:function(t){e.$set(e.createFolderDialogStore,"show",t)},expression:"createFolderDialogStore.show"}},[i("v-card",[i("v-card-title",{staticClass:"headline"},[e._v("Create Folder")]),i("v-card-text",[e._v(" Enter the name of the folder. ")]),i("v-form",{ref:"createFolderForm",attrs:{"lazy-validation":!1},model:{value:e.createFolderDialogStore.valid,callback:function(t){e.$set(e.createFolderDialogStore,"valid",t)},expression:"createFolderDialogStore.valid"}},[i("v-text-field",{staticClass:"px-2",attrs:{label:"Name",rules:[function(e){return!!e||"Name is required."}],required:""},model:{value:e.createFolderDialogStore.data.name,callback:function(t){e.$set(e.createFolderDialogStore.data,"name",t)},expression:"createFolderDialogStore.data.name"}}),i("v-card-actions",[i("v-btn",{staticClass:"px-3",attrs:{color:"red"},on:{click:function(t){e.createFolderDialogStore.show=!1}}},[e._v(" Cancel ")]),i("v-spacer"),i("v-btn",{staticClass:"px-3",attrs:{color:"blue",disabled:!e.$store.state.createFolderDialog.valid},on:{click:function(t){e.createFolderDialogStore.show=!1,e.createFolder(e.$store.state.createFolderDialog.data.name)}}},[e._v(" Create ")])],1)],1)],1)],1),i("v-dialog",{attrs:{"max-width":"380"},model:{value:e.addDialogStore.show,callback:function(t){e.$set(e.addDialogStore,"show",t)},expression:"addDialogStore.show"}},[i("v-card",[i("v-card-title",{staticClass:"headline"},[e._v("Add Item")]),i("v-form",{ref:"addForm",attrs:{"lazy-validation":!1},model:{value:e.addDialogStore.valid,callback:function(t){e.$set(e.addDialogStore,"valid",t)},expression:"addDialogStore.valid"}},[i("v-card-text",[e._v(" Enter the name of the item. ")]),i("v-text-field",{staticClass:"px-2",attrs:{label:"Name",rules:[function(e){return!!e||"Name is required."}],required:""},model:{value:e.addDialogStore.data.name,callback:function(t){e.$set(e.addDialogStore.data,"name",t)},expression:"addDialogStore.data.name"}}),i("v-card-text",[e._v(" Select a folder (optional). ")]),i("v-select",{staticClass:"my-2",attrs:{items:e.folderList,label:"Folder",outlined:"","item-text":"name","item-value":"uuid"},model:{value:e.addDialogStore.data.folder,callback:function(t){e.$set(e.addDialogStore.data,"folder",t)},expression:"addDialogStore.data.folder"}}),i("v-card-text",[e._v(" Enter the URL of the item. ")]),i("v-text-field",{staticClass:"px-2",attrs:{label:"URL",rules:[function(e){return!!e||"URL is required."}],required:""},model:{value:e.addDialogStore.data.url,callback:function(t){e.$set(e.addDialogStore.data,"url",t)},expression:"addDialogStore.data.url"}}),i("v-card-actions",[i("v-btn",{staticClass:"px-3",attrs:{color:"red"},on:{click:function(t){e.addDialogStore.show=!1}}},[e._v(" Cancel ")]),i("v-spacer"),i("v-btn",{staticClass:"px-3",attrs:{color:"blue",disabled:!e.$store.state.addDialog.valid},on:{click:function(t){e.addDialogStore.show=!1,e.addItem(e.$store.state.addDialog.data.name,e.$store.state.addDialog.data.folder,e.$store.state.addDialog.data.url)}}},[e._v(" Add ")])],1)],1)],1)],1),i("v-dialog",{attrs:{"max-width":"380",persistent:""},model:{value:e.receiveDialogStore.show,callback:function(t){e.$set(e.receiveDialogStore,"show",t)},expression:"receiveDialogStore.show"}},[i("v-card",[i("v-card-title",{staticClass:"headline"},[e._v("Receiving Item")]),i("v-card-text",[i("b",[e._v(e._s(e.$store.state.receiveDialog.data.userDisplayName)+" sent you an item.")]),e._v(" "),i("br"),i("i",{staticClass:"caption"},[e._v("User UUID: "+e._s(e.$store.state.receiveDialog.data.userUUID))])]),i("v-form",{ref:"receiveForm",attrs:{"lazy-validation":!1},model:{value:e.receiveDialogStore.valid,callback:function(t){e.$set(e.receiveDialogStore,"valid",t)},expression:"receiveDialogStore.valid"}},[i("v-text-field",{staticClass:"px-2",attrs:{label:"Type",rules:[function(e){return!!e||"Type is required."}],required:""},model:{value:e.receiveDialogStore.data.type,callback:function(t){e.$set(e.receiveDialogStore.data,"type",t)},expression:"receiveDialogStore.data.type"}}),i("v-text-field",{staticClass:"px-2",attrs:{label:"Name",rules:[function(e){return!!e||"Name is required."}],required:""},model:{value:e.receiveDialogStore.data.name,callback:function(t){e.$set(e.receiveDialogStore.data,"name",t)},expression:"receiveDialogStore.data.name"}}),i("v-card-text",[e._v(" Select a folder (optional). ")]),i("v-select",{staticClass:"my-2",attrs:{items:e.folderList,label:"Folder",outlined:"","item-text":"name","item-value":"uuid"},model:{value:e.receiveDialogStore.data.folder,callback:function(t){e.$set(e.receiveDialogStore.data,"folder",t)},expression:"receiveDialogStore.data.folder"}}),i("v-text-field",{staticClass:"px-2",attrs:{label:"URL",rules:[function(e){return!!e||"URL is required."}],required:""},model:{value:e.receiveDialogStore.data.url,callback:function(t){e.$set(e.receiveDialogStore.data,"url",t)},expression:"receiveDialogStore.data.url"}}),i("v-card-actions",[i("v-btn",{staticClass:"px-3",attrs:{color:"red"},on:{click:function(t){e.receiveDialogStore.show=!1}}},[e._v(" Reject ")]),i("v-spacer"),i("v-btn",{staticClass:"px-3",attrs:{color:"blue",disabled:!e.$store.state.receiveDialog.valid},on:{click:function(t){e.receiveDialogStore.show=!1,e.confirmItemReceipt()}}},[e._v(" Accept ")])],1)],1)],1)],1),i("v-dialog",{attrs:{"max-width":"380",persistent:""},model:{value:e.shareDialogStore.show,callback:function(t){e.$set(e.shareDialogStore,"show",t)},expression:"shareDialogStore.show"}},[i("v-card",[i("v-card-title",{staticClass:"headline"},[e._v("Share Item")]),i("v-card-text",[e._v(" Select a user to send this item to. ")]),i("v-form",{ref:"shareForm",staticClass:"px-2",attrs:{"lazy-validation":!1},model:{value:e.shareDialogStore.valid,callback:function(t){e.$set(e.shareDialogStore,"valid",t)},expression:"shareDialogStore.valid"}},[i("v-select",{attrs:{items:e.nearbyUsers,"item-value":"uuid",rules:[function(e){return!!e||"A recipient is required"}],label:"Nearby Users",required:""},scopedSlots:e._u([{key:"item",fn:function(t){return[i("i",{staticStyle:{color:"grey","margin-right":"5px"}},[e._v(e._s(t.item.distance.toFixed(1))+"m")]),e._v(" "+e._s(t.item.name)+" ")]}},{key:"selection",fn:function(t){return[i("i",{staticStyle:{color:"grey","margin-right":"5px"}},[e._v(e._s(t.item.distance.toFixed(1))+"m")]),e._v(" "+e._s(t.item.name)+" ")]}}]),model:{value:e.shareDialogStore.data.recipient,callback:function(t){e.$set(e.shareDialogStore.data,"recipient",t)},expression:"shareDialogStore.data.recipient"}}),i("v-text-field",{staticClass:"px-2",attrs:{label:"URL",rules:[function(e){return!!e||"URL is required."}],required:""},model:{value:e.shareDialogStore.data.url,callback:function(t){e.$set(e.shareDialogStore.data,"url",t)},expression:"shareDialogStore.data.url"}}),i("v-card-actions",[i("v-btn",{staticClass:"px-3",attrs:{color:"red"},on:{click:function(t){e.shareDialogStore.show=!1}}},[e._v(" Cancel ")]),i("v-spacer"),i("v-btn",{staticClass:"px-3",attrs:{color:"blue",disabled:!e.$store.state.shareDialog.valid},on:{click:function(t){e.shareDialogStore.show=!1,e.shareItem(e.$store.state.shareDialog.data.uuid)}}},[e._v(" Send ")])],1)],1)],1)],1)],1)},s=[],l=(i("99af"),i("4160"),i("a15b"),i("a434"),i("b0c0"),i("d3b7"),i("ac1f"),i("3ca3"),i("466d"),i("159b"),i("ddb0"),i("2b3d"),new a["a"]),n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("draggable",{attrs:{group:e.options,list:e.itemsForIterator,handle:".handle"}},e._l(e.itemsForIterator,(function(t){return i("v-item-group",{key:t.uuid},[t.items?i("v-list-group",{staticClass:"top-level-folder",scopedSlots:e._u([{key:"activator",fn:function(){return[i("v-list-item",{staticClass:"mx-auto",attrs:{"one-line":"","max-width":"344",outlined:""}},[i("v-icon",{staticClass:"folder-icon",attrs:{color:"teal"}},[e._v("mdi-folder-settings")]),e._v(" "+e._s(t.name)+" ")],1)]},proxy:!0}],null,!0)},[i("div",{staticClass:"text-center my-2"},[i("v-btn",{staticClass:"mx-1 folder-button",attrs:{medium:"",tile:"",color:"purple"},on:{click:function(i){e.editFolderDialogStore.data.uuid=t.uuid,e.editFolderDialogStore.data.name=t.name,e.editFolderDialogStore.show=!0}}},[i("v-icon",[e._v("mdi-pencil")])],1),i("v-btn",{staticClass:"mx-1 folder-button",attrs:{medium:"",tile:"",color:"red"},on:{click:function(i){e.removeFolderDialogStore.show=!0,e.removeFolderDialogStore.uuid=t.uuid}}},[i("v-icon",[e._v("mdi-minus")])],1),i("v-menu",{attrs:{bottom:"",left:""},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on;return[i("v-btn",e._g({staticClass:"mx-1 folder-button",attrs:{medium:"",tile:"",color:"blue"}},r),[i("v-icon",[e._v("mdi-sort")])],1)]}}],null,!0)},[i("v-list",{attrs:{color:"grey darken-3"}},[i("v-list-item",{on:{click:function(i){return e.sortFolder(t.uuid,"az")}}},[i("v-list-item-title",[e._v("A-Z")]),i("v-list-item-action",[i("v-icon",{attrs:{large:""}},[e._v("mdi-sort-alphabetical-ascending")])],1)],1),i("v-list-item",{on:{click:function(i){return e.sortFolder(t.uuid,"za")}}},[i("v-list-item-title",[e._v("Z-A")]),i("v-list-item-action",[i("v-icon",{attrs:{large:""}},[e._v("mdi-sort-alphabetical-descending")])],1)],1)],1)],1)],1),i("v-container",{attrs:{fluid:""}},[i("itemiterator",{key:t.uuid,attrs:{itemsForIterator:t.items}})],1)],1):i("v-list-item",{staticClass:"mx-auto draggable-card",attrs:{"one-line":"","max-width":"344",outlined:""}},[i("div",{staticClass:"handle pa-2"},[i("v-icon",{attrs:{color:"orange darken-2"}},[e._v("mdi-square-medium-outline")])],1),i("v-list-item-content",{staticClass:"pb-1 pt-2 pl-4"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.settings.displayDensity.size>0,expression:"settings.displayDensity.size > 0"}],staticClass:"overline",staticStyle:{"font-size":"0.825rem !important"}},[e._v(e._s(t.type))]),i("v-list-item-title",{staticClass:"subtitle-1 mb-1"},[e._v(e._s(t.name))]),i("v-list-item-subtitle",{directives:[{name:"show",rawName:"v-show",value:2==e.settings.displayDensity.size,expression:"settings.displayDensity.size == 2"}]},[e._v(e._s(t.url))])],1),i("v-menu",{attrs:{bottom:"",left:""},scopedSlots:e._u([{key:"activator",fn:function(r){var a=r.on;return[i("v-btn",e._g({directives:[{name:"show",rawName:"v-show",value:e.settings.displayDensity.size>=1,expression:"settings.displayDensity.size >= 1"}],style:{backgroundColor:e.getIconColor(t.type)},attrs:{medium:"",fab:"",dark:""}},a),[i("v-icon",[e._v(e._s(e.getIcon(t.type)))])],1),i("v-btn",e._g({directives:[{name:"show",rawName:"v-show",value:e.settings.displayDensity.size<1,expression:"settings.displayDensity.size < 1"}],style:{backgroundColor:e.getIconColor(t.type)},attrs:{small:"",fab:"",dark:""}},a),[i("v-icon",[e._v(e._s(e.getIcon(t.type)))])],1)]}}],null,!0)},[i("v-list",{attrs:{color:"grey darken-3"}},[i("v-list-item",{on:{click:function(i){return e.sendEvent("use-item",{type:t.type,url:t.url})}}},[i("v-list-item-title",[e._v("Use")]),i("v-list-item-action",[i("v-icon",[e._v("mdi-play")])],1)],1),i("v-list-item",{on:{click:function(i){e.editDialogStore.show=!0,e.editDialogStore.uuid=t.uuid,e.editDialogStore.data.type=t.type.toUpperCase(),e.editDialogStore.data.folder=null,e.editDialogStore.data.name=t.name,e.editDialogStore.data.url=t.url}}},[i("v-list-item-title",[e._v("Edit")]),i("v-list-item-action",[i("v-icon",[e._v("mdi-pencil")])],1)],1),i("v-list-item",{on:{click:function(i){e.shareDialogStore.show=!0,e.shareDialogStore.data.url=t.url,e.shareDialogStore.data.uuid=t.uuid}}},[i("v-list-item-title",[e._v("Share")]),i("v-list-item-action",[i("v-icon",[e._v("mdi-share")])],1)],1),i("v-list-item",{attrs:{color:"red darken-1"},on:{click:function(i){e.removeDialogStore.show=!0,e.removeDialogStore.uuid=t.uuid}}},[i("v-list-item-title",[e._v("Remove")]),i("v-list-item-action",[i("v-icon",[e._v("mdi-minus")])],1)],1)],1)],1)],1)],1)})),1)},d=[],c=(i("4e827"),i("310e")),u=i.n(c),m={name:"itemiterator",components:{draggable:u.a},props:["itemsForIterator"],data:function(){return{settings:{}}},created:function(){this.settings=this.$store.state.settings},computed:{options:function(){return{name:"column-item",pull:!0,put:!0}},settingsChanged:function(){return this.$store.state.settings},addDialogStore:{get:function(){return this.$store.state.addDialog},set:function(e){this.$store.commit("mutate",{property:"addDialog",with:e})}},editDialogStore:{get:function(){return this.$store.state.editDialog},set:function(e){this.$store.commit("mutate",{property:"editDialog",with:e})}},editFolderDialogStore:{get:function(){return this.$store.state.editFolderDialog},set:function(e){this.$store.commit("mutate",{property:"editFolderDialog",with:e})}},shareDialogStore:{get:function(){return this.$store.state.shareDialog},set:function(e){this.$store.commit("mutate",{property:"shareDialog",with:e})}},removeFolderDialogStore:{get:function(){return this.$store.state.removeFolderDialog},set:function(e){this.$store.commit("mutate",{property:"removeFolderDialog",with:e})}},removeDialogStore:{get:function(){return this.$store.state.removeDialog},set:function(e){this.$store.commit("mutate",{property:"removeDialog",with:e})}}},watch:{settingsChanged:function(e,t){console.info("Settings previous value:",t),e&&(this.settings=e)}},methods:{sendEvent:function(e,t){l.$emit(e,t)},getIcon:function(e){var t;return e=e.toUpperCase(),t=this.$store.state.iconType[e]?this.$store.state.iconType[e].icon:this.$store.state.iconType.UNKNOWN.icon,t},getIconColor:function(e){var t;return e=e.toUpperCase(),t=this.$store.state.iconType[e]?this.$store.state.iconType[e].color:this.$store.state.iconType.UNKNOWN.color,t},sortFolder:function(e,t){var i=this.searchForItem(e);i&&("az"===t&&i.returnedItem.items.sort((function(e,t){var i=e.name.toUpperCase(),r=t.name.toUpperCase();return i<r?-1:i>r?1:0})),"za"===t&&i.returnedItem.items.sort((function(e,t){var i=e.name.toUpperCase(),r=t.name.toUpperCase();return i>r?-1:i<r?1:0})))},searchForItem:function(e){var t=this.recursiveSingularSearch(e,this.itemsForIterator);if(t)return{returnedItem:t.returnedItem,iteration:t.iteration,parentArray:t.parentArray,itemUUID:e}},recursiveSingularSearch:function(e,t){for(var i=0;i<t.length;i++){if(t[i].uuid==e){var r={returnedItem:t[i],iteration:i,parentArray:t};return r}if(Object.prototype.hasOwnProperty.call(t[i],"items")&&t[i].items.length>0)return this.recursiveSingularSearch(e,t[i].items)}}}},v=m,g=i("2877"),p=i("6544"),h=i.n(p),f=i("8336"),D=i("a523"),S=i("132d"),y=i("604c"),b=i("8860"),G=i("56b0"),I=i("da13"),F=i("1800"),w=i("5d23"),x=i("e449"),$=Object(g["a"])(v,n,d,!1,null,null,null),_=$.exports;function k(){return"undefined"===typeof EventBridge}h()($,{VBtn:f["a"],VContainer:D["a"],VIcon:S["a"],VItemGroup:y["b"],VList:b["a"],VListGroup:G["a"],VListItem:I["a"],VListItemAction:F["a"],VListItemContent:w["a"],VListItemSubtitle:w["b"],VListItemTitle:w["c"],VMenu:x["a"]}),k()||EventBridge.scriptEventReceived.connect((function(e){if(e=JSON.parse(e),"inventory"===e.app)switch(e.command){case"script-to-web-inventory":r.receiveInventory(e.data);break;case"script-to-web-receiving-item-queue":r.receiveReceivingItemQueue(e.data);break;case"script-to-web-nearby-users":r.receiveNearbyUsers(e.data);break;case"script-to-web-settings":r.receiveSettings(e.data);break}})),l.$on("use-item",(function(e){r.useItem(e.type,e.url)}));var C={name:"App",components:{itemiterator:_},data:function(){return{receivingItemsDialog:{show:!1,data:{receivingItemQueue:[{senderUUID:"SENDERUUIDLOL",senderName:"WHOISTHIS1",senderDistance:2.5,data:{type:"script",name:"This Is A Real Script",url:"https://butwhythough.com/lol.js",uuid:"This Is A Real Script"}},{senderUUID:"TEST2SENDERUUID",senderName:"WHOTHISBE2",senderDistance:1.22,data:{type:"script",name:"REALLYLONGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG",url:"https://butwhythough.com/looool.js",uuid:"REALLYLONNGGGGGGGG"}}]}},folderList:[],recursiveFolderHoldingList:[],nearbyUsers:[{name:"Who",uuid:"{4131531653652562}",distance:5},{name:"Is",uuid:"{4131531653756756576543652562}",distance:3.23},{name:"This?",uuid:"{4131531676575653652562}",distance:1}],sortBy:"alphabetical",settings:{displayDensity:{size:1,labels:["List","Compact","Large"]}},appVersion:"2.0.2",darkTheme:!0,drawer:!1,disabledProp:!0}},created:function(){r=this,this.$vuetify.theme.dark=this.darkTheme,this.sendAppMessage("ready","")},methods:{createUUID:function(){for(var e=[],t="0123456789abcdef",i=0;i<36;i++)e[i]=t.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-";var r=e.join("");return r},pushToItems:function(e,t,i,r,a){var o;o=null!=a?a:this.createUUID(),this.$store.commit("pushToItems",{type:e,name:t,folder:i,url:r,uuid:o}),null!==i&&"No Folder"!==i&&this.moveItem(o,i)},checkFileType:function(e){var t=null;switch(e){case".fbx":t="MODEL";break;case".gltf":t="MODEL";break;case".glb":t="MODEL";break;case".js":t="SCRIPT";break;case".fst":t="AVATAR";break;case".json":t="JSON";break;default:t="UNKNOWN"}return t},checkItemType:function(e){var t=null;return e=e.toUpperCase(),this.$store.state.supportedItemTypes.forEach((function(i){i===e&&(t=i)})),null===t&&(t="UNKNOWN"),t},createFolder:function(e){this.$store.commit("pushToItems",{name:e,folder:"No Folder",items:[],uuid:this.createUUID()}),this.createFolderDialogStore.data.name=null},editFolder:function(e){var t=this.searchForItem(e);t&&(t.returnedItem.name=this.$store.state.editFolderDialog.data.name,null!==this.$store.state.editFolderDialog.data.folder&&"No Change"!==this.$store.state.editFolderDialog.data.folder&&(t.returnedItem.folder!==this.$store.state.editFolderDialog.data.folder&&"No Folder"!==this.$store.state.editFolderDialog.data.folder?this.moveFolder(e,this.$store.state.editFolderDialog.data.folder):"No Folder"===this.$store.state.editFolderDialog.data.folder&&this.moveFolder(e,"top")))},addItem:function(e,t,i){var r,a=this.detectFileType(i);r=null==a||null==a[0]?"unknown":this.checkFileType(a[0]),this.pushToItems(r,e,t,i,null),this.addDialogStore.data.name=null,this.addDialogStore.data.folder=null,this.addDialogStore.data.url=null},detectFileType:function(e){var t=/\.[0-9a-z]+$/i,i=e.match(t);if(null==i||null==i[0]){var r=/\.[0-9a-z]+$/i,a=new URL(e);i=a.pathname.match(r)}else null!=i&&null!=i[0]||(i=null);return i},removeItem:function(e){var t=this.searchForItem(e);t.parentArray.splice(t.iteration,1)},removeFolder:function(e){var t=this.searchForItem(e);t.parentArray.splice(t.iteration,1)},editItem:function(e){var t,i=this.searchForItem(e);i.returnedItem.type=this.checkItemType(this.$store.state.editDialog.data.type),i.returnedItem.name=this.$store.state.editDialog.data.name,i.returnedItem.folder=this.$store.state.editDialog.data.folder,i.returnedItem.url=this.$store.state.editDialog.data.url;for(var r=0;r<this.folderList.length;r++)this.folderList[r].name===i.returnedItem.folder&&(t=this.folderList[r].name);null!==this.$store.state.editDialog.data.folder&&(t!==this.$store.state.editDialog.data.folder&&"No Folder"!==this.$store.state.editDialog.data.folder?this.moveItem(e,this.$store.state.editDialog.data.folder):"No Folder"===t&&this.moveItem(e,"top"))},acceptReceivingItem:function(e){this.removeReceivingItem(e.data.uuid),this.receiveDialogStore.data.userUUID=e.senderUUID,this.receiveDialogStore.data.userDisplayName=e.senderName,this.receiveDialogStore.data.type=e.data.type,this.receiveDialogStore.data.name=e.data.name,this.receiveDialogStore.data.url=e.data.url,this.getFolderList("add"),this.receiveDialogStore.show=!0},removeReceivingItem:function(e){for(var t=0;t<this.receivingItemsDialog.data.receivingItemQueue.length;t++)this.receivingItemsDialog.data.receivingItemQueue[t].data.uuid===e&&(this.receivingItemsDialog.data.receivingItemQueue.splice(t,1),this.sendAppMessage("web-to-script-update-receiving-item-queue",this.receivingItemQueue),0===this.receivingItemsDialog.data.receivingItemQueue.length&&(this.receivingItemsDialog.show=!1))},receiveReceivingItemQueue:function(e){this.receivingItemsDialog.data.receivingItemQueue=e},shareItem:function(e){var t=this.searchForItem(e),i=t.returnedItem.type,r=t.returnedItem.name;this.sendAppMessage("share-item",{type:i,name:r,url:this.$store.state.shareDialog.data.url,recipient:this.$store.state.shareDialog.data.recipient})},confirmItemReceipt:function(){this.pushToItems(this.checkItemType(this.$store.state.receiveDialog.data.type),this.$store.state.receiveDialog.data.name,this.$store.state.receiveDialog.data.folder,this.$store.state.receiveDialog.data.url,null)},useItem:function(e,t){this.sendAppMessage("use-item",{type:e,url:t})},onDragStart:function(){console.info("Drag start.")},onDragUpdate:function(){console.info("Drag Update.")},onDragEnd:function(){console.info("Drag End.")},onDragChange:function(e){console.info("Drag Update.",e)},sortTopInventory:function(e){this.$store.commit("sortTopInventory",{sort:e})},getFolderList:function(e){var t;if(this.recursiveFolderHoldingList=[],"edit"===e?(this.folderList=[{name:"No Change",uuid:"No Change"},{name:"No Folder",uuid:"No Folder"}],t=this.recursiveFolderPopulate(this.itemsStore,null)):"add"===e?(this.folderList=[{name:"No Folder",uuid:"No Folder"}],t=this.recursiveFolderPopulate(this.itemsStore,null)):"editFolder"===e&&(this.folderList=[{name:"No Change",uuid:"No Change"},{name:"No Folder",uuid:"No Folder"}],t=this.recursiveFolderPopulate(this.itemsStore,this.$store.state.editFolderDialog.data.uuid)),t){var i=this.folderList.concat(t);this.folderList=i}},moveItem:function(e,t){var i,r=this.searchForItem(e);"top"!==t&&(i=this.searchForItem(t)),this.removeItem(e),this.$store.commit("moveItem",{uuid:e,parentFolderUUID:t,findItem:r,findParentFolder:i})},moveFolder:function(e,t){var i,r=this.searchForItem(e);"top"!==t&&(i=this.searchForItem(t)),this.removeFolder(e),this.$store.commit("moveFolder",{uuid:e,parentFolderUUID:t,findFolder:r,findParentFolder:i})},searchForItem:function(e){var t=this.recursiveSingularSearch(e,this.itemsStore);if(t)return{returnedItem:t.returnedItem,iteration:t.iteration,parentArray:t.parentArray,itemUUID:e}},recursiveSingularSearch:function(e,t){for(var i=0;i<t.length;i++){if(t[i].uuid===e){var r={returnedItem:t[i],iteration:i,parentArray:t};return r}if(Object.prototype.hasOwnProperty.call(t[i],"items")&&t[i].items.length>0){var a=this.recursiveSingularSearch(e,t[i].items);if(null!==a)return a}}return null},recursiveFolderPopulate:function(e,t){for(var i=0;i<e.length;i++)Object.prototype.hasOwnProperty.call(e[i],"items")&&t!==e[i].uuid&&(this.recursiveFolderHoldingList.push({name:e[i].name,uuid:e[i].uuid}),this.recursiveFolderPopulate(e[i].items,t));return this.recursiveFolderHoldingList},sendInventory:function(){this.sendAppMessage("web-to-script-inventory",this.itemsStore)},receiveInventory:function(e){this.itemsStore=e||[]},sendSettings:function(){this.sendAppMessage("web-to-script-settings",this.$store.state.settings)},receiveSettings:function(e){e&&(this.settings=e)},receiveNearbyUsers:function(e){this.nearbyUsers=e||[]},sendAppMessage:function(e,t){var i={app:"inventory",command:e,data:t};k()||EventBridge.emitWebEvent(JSON.stringify(i))}},computed:{itemsStore:{get:function(){return this.$store.state.items},set:function(e){this.$store.commit("mutate",{property:"items",with:e})}},addDialogStore:{get:function(){return this.$store.state.addDialog},set:function(e){this.$store.commit("mutate",{property:"addDialog",with:e})}},editDialogStore:{get:function(){return this.$store.state.editDialog},set:function(e){this.$store.commit("mutate",{property:"editDialog",with:e})}},editDialogShow:function(){return this.$store.state.editDialog.show},editFolderDialogStore:{get:function(){return this.$store.state.editFolderDialog},set:function(e){this.$store.commit("mutate",{property:"editFolderDialog",with:e})}},editFolderDialogShow:function(){return this.$store.state.editFolderDialog.show},createFolderDialogStore:{get:function(){return this.$store.state.createFolderDialog},set:function(e){this.$store.commit("mutate",{property:"createFolderDialog",with:e})}},receiveDialogStore:{get:function(){return this.$store.state.receiveDialog},set:function(e){this.$store.commit("mutate",{property:"receiveDialog",with:e})}},shareDialogShow:function(){return this.$store.state.shareDialog.show},shareDialogStore:{get:function(){return this.$store.state.shareDialog},set:function(e){this.$store.commit("mutate",{property:"shareDialog",with:e})}},removeFolderDialogStore:{get:function(){return this.$store.state.removeFolderDialog},set:function(e){this.$store.commit("mutate",{property:"removeFolderDialog",with:e})}},removeDialogStore:{get:function(){return this.$store.state.removeDialog},set:function(e){this.$store.commit("mutate",{property:"removeDialog",with:e})}},receivingItemQueue:{get:function(){return this.receivingItemsDialog.data.receivingItemQueue}},receivingItemQueueLength:{get:function(){return this.receivingItemsDialog.data.receivingItemQueue.length}}},watch:{itemsStore:{deep:!0,handler:function(){this.sendInventory()}},settings:{deep:!0,handler:function(e){this.$store.commit("mutate",{property:"settings",with:e}),this.sendSettings()}},editDialogShow:{handler:function(e){!0===e&&this.getFolderList("edit")}},editFolderDialogShow:{handler:function(e){!0===e&&this.getFolderList("editFolder")}},shareDialogShow:{handler:function(e){!0===e&&this.sendAppMessage("web-to-script-request-nearby-users","")}},receivingItemQueue:{handler:function(){}}}},N=C,L=(i("034f"),i("7496")),U=i("40dc"),T=i("5bc1"),A=i("4ca6"),V=i("b0af"),O=i("99d9"),R=i("62ad"),E=i("a75b"),j=i("169a"),z=i("4bd4"),P=i("1baa"),q=i("34c3"),M=i("f774"),Q=i("b974"),B=i("ba0d"),W=i("2fa4"),H=i("8654"),J=i("2a7f"),K=Object(g["a"])(N,o,s,!1,null,null,null),Y=K.exports;h()(K,{VApp:L["a"],VAppBar:U["a"],VAppBarNavIcon:T["a"],VBadge:A["a"],VBtn:f["a"],VCard:V["a"],VCardActions:O["a"],VCardText:O["b"],VCardTitle:O["c"],VCol:R["a"],VContainer:D["a"],VContent:E["a"],VDialog:j["a"],VForm:z["a"],VIcon:S["a"],VList:b["a"],VListItem:I["a"],VListItemAction:F["a"],VListItemContent:w["a"],VListItemGroup:P["a"],VListItemIcon:q["a"],VListItemSubtitle:w["b"],VListItemTitle:w["c"],VMenu:x["a"],VNavigationDrawer:M["a"],VSelect:Q["a"],VSlider:B["a"],VSpacer:W["a"],VTextField:H["a"],VToolbarTitle:J["a"]});var Z=i("f309");a["a"].use(Z["a"]);var X=new Z["a"]({}),ee=i("2f62");a["a"].use(ee["a"]);var te=new ee["a"].Store({devtools:!0,state:{items:[{type:"script",name:"VRGrabScale",url:"https://gooawefaweawfgle.com/vr.js",folder:"No Folder",uuid:"54254354353"},{name:"Test Folder",folder:"No Folder",items:[{name:"inception1",folder:"Test Folder",items:[{name:"inception2",folder:"Test Folder",items:[{type:"script",name:"itemincepted",url:"https://googfdafsgaergale.com/vr.js",folder:"FolderWithinAFolder",uuid:"hkjkjhkjk"}],uuid:"adsfa32"}],uuid:"s4g4sg"}],uuid:"sdfsdf"},{type:"script",name:"VRGrabScale",url:"https://googfdafsgaergale.com/vr.js",folder:"No Folder",uuid:"54hgfhgf254354353"},{type:"script",name:"TEST",url:"https://gooadfdagle.com/vr.js",folder:"No Folder",uuid:"542rfwat4t5fsddf4354353"},{type:"json",name:"TESTJSON",url:"https://gooadfdagle.com/vr.json",folder:"No Folder",uuid:"542rfwat4t54354353"},{type:"script",name:"TESTLONGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG",url:"https://googfdaffle.com/vrLONGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG.js",folder:"No Folder",uuid:"5425ggsrg45354353"},{type:"whatttype",name:"BrokenIcon",url:"https://googfdaffle.com/vrLONGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG.js",folder:"No Folder",uuid:"5425ggsrg4fdaffdff535asdasd4353"},{type:"avatar",name:"AVI",url:"https://googlfadfe.com/vr.fst",folder:"No Folder",uuid:"542gregg45s3g4354353"},{type:"avatar",name:"AVI",url:"https://googlefdaf.com/vr.fst",folder:"No Folder",uuid:"5420798-087-54354353"},{type:"model",name:"3D MODEL",url:"https://googlee.com/vr.fbx",folder:"No Folder",uuid:"54254354980-7667jt353"},{type:"place",name:"PLACE DOMAIN",url:"https://googleee.com/vr.fbx",folder:"No Folder",uuid:"542543sg45s4gg54353"}],settings:{displayDensity:{size:1,labels:["List","Compact","Large"]}},iconType:{SCRIPT:{icon:"mdi-code-tags",color:"red"},MODEL:{icon:"mdi-video-3d",color:"green"},AVATAR:{icon:"mdi-account-convert",color:"purple"},PLACE:{icon:"mdi-earth",color:"#0097A7"},JSON:{icon:"mdi-inbox-multiple",color:"#37474F"},UNKNOWN:{icon:"mdi-help",color:"grey"}},supportedItemTypes:["SCRIPT","MODEL","AVATAR","PLACE","JSON","UNKNOWN"],removeDialog:{show:!1,uuid:null},removeFolderDialog:{show:!1,uuid:null},createFolderDialog:{show:!1,valid:!1,data:{name:null}},addDialog:{show:!1,valid:!1,data:{name:null,folder:null,url:null}},editDialog:{show:!1,valid:!1,uuid:null,data:{type:null,name:null,url:null,folder:null}},editFolderDialog:{show:!1,valid:!1,uuid:null,data:{name:null,folder:null}},receiveDialog:{show:!1,valid:!1,data:{userUUID:null,userDisplayName:null,name:null,folder:null,type:null,url:null}},shareDialog:{show:!1,valid:!1,data:{uuid:null,url:null,recipient:null}}},mutations:{mutate:function(e,t){e[t.property]=t.with},sortTopInventory:function(e,t){var i=e.items;"az"===t.sort&&e.items.sort((function(e,t){var i=e.name.toUpperCase(),r=t.name.toUpperCase();return i<r?-1:i>r?1:0})),"za"===t.sort&&e.items.sort((function(e,t){var i=e.name.toUpperCase(),r=t.name.toUpperCase();return i>r?-1:i<r?1:0})),a["a"].set(e,"items",i)},pushToItems:function(e,t){var i=e.items;i.push(t),a["a"].set(e,"items",i)},moveFolder:function(e,t){var i=e.items;"top"===t.parentFolderUUID?(t.findFolder.returnedItem.folder="No Folder",i.push(t.findFolder.returnedItem),a["a"].set(e,"items",i)):t.findParentFolder&&(t.findFolder.returnedItem.folder=t.findParentFolder.name,t.findParentFolder.returnedItem.items.push(t.findFolder.returnedItem),a["a"].set(e,"items",i))},moveItem:function(e,t){var i=e.items;"top"===t.parentFolderUUID?(t.findItem.returnedItem.folder="No Folder",i.push(t.findItem.returnedItem),a["a"].set(e,"items",i)):t.findParentFolder&&(t.findItem.returnedItem.folder=t.findParentFolder.name,t.findParentFolder.returnedItem.items.push(t.findItem.returnedItem),a["a"].set(e,"items",i))}}});a["a"].config.productionTip=!1,window.vm=new a["a"]({vuetify:X,store:te,render:function(e){return e(Y)}}).$mount("#app")},"85ec":function(e,t,i){}});
//# sourceMappingURL=app.a3555a80.js.map