{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@asd20/ui/src/components/atoms/icons lazy ^\\.\\/Asd20.*Svg$ namespace object","webpack:///./src/App.vue?8511","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue?bff9","webpack:///./src/router.js","webpack:///./src/helpers/fuzzySearch.js","webpack:///./src/config/azure-search.js","webpack:///./src/helpers/updateSearch.js","webpack:///./src/store/modules/files.js","webpack:///./src/authentication.js","webpack:///./src/store/modules/auth.js","webpack:///./src/store/index.js","webpack:///./src/main.js","webpack:///./src/App.vue?165b","webpack:///./src/helpers/mapFilesToListItems.js","webpack:///./src/helpers/queryFiles.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","map","webpackAsyncContext","req","ids","id","keys","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","component","Vue","use","Router","base","process","scrollBehavior","to","from","savedPosition","x","y","routes","path","pattern","str","toLowerCase","replace","split","reduce","a","b","RegExp","test","AZURE_SEARCH_DEFAULT_AXIOS_CONFIG","method","headers","params","axios","defaultMetadata","description","categories","owners","tags","last_modified_by","last_modified_date","organization_ids","state","files","facets","queriedFiles","queriedFacets","keywords","selectedCategories","selectedOwners","enableFuzzySearch","editing","selectedOrganizationIds","organizations","getAzureStorageAccessKey","listBlobsInAzureStorageContainer","account","containerName","sas","serviceURL","ServiceURL","StorageURL","newPipeline","AnonymousCredential","containerURL","ContainerURL","fromServiceURL","blobs","marker","listBlobFlatSegment","Aborter","none","include","listBlobsResponse","nextMarker","segment","blobItems","blob","saveBlobMetadataToAzureStorageContainer","blobName","metadata","blobURL","BlobURL","fromContainerURL","setMetadata","getProperties","deleteBlob","delete","convertBlobToFile","url","filename","pop","properties","etag","slug","downloadUrl","filetype","filesize","contentLength","mimeType","sourceId","sourceContext","createdBy","createdDateTime","lastModified","lastModifiedDateTime","lastModifiedBy","organizationIds","uploadBrowserFileToAzureBlobStorageContainer","browserFile","uploadProgressCallback","folder","File","blockBlobURL","BlockBlobURL","uploadBrowserDataToBlockBlob","rangeSize","parallelism","progress","namespaced","mutations","make","actions","queryOrganizations","commit","post","query","queryFiles","orderby","top","getFacets","count","select","getFiles","saveFile","file","rootState","filter","join","auth","userProfile","mail","updateSearch","uploadFile","dispatch","fileList","selectedOrganization","find","orgSlug","slugify","title","log","loadedBytes","size","deleteFile","clearFilters","getters","rootGetters","concat","f","indexOf","sort","categoryOptions","text","groupedCategoryOptions","groups","regExp","remainingCategories","group","unshift","g","ownersOptions","organizationOptions","tagsOptions","totalFiltersApplied","filteredFiles","matches","fuzzySearch","some","filteredFilesCount","filteredFilesListItems","mapFilesToListItems","link","authConfig","clientID","graphScopes","authority","client","UserAgentApplication","errorDesc","token","storeAuthStateInCookie","cacheLocation","getAccessToken","acquireTokenSilent","accessToken","getProfile","Authorization","login","loginRedirect","signIn","continueSession","profile","isAuthenticated","isAdmin","officeLocation","Vuex","store","Store","plugins","pathify","plugin","strict","performSearch","newVal","oldVal","watch","VueMq","VueResize","VueLazyload","directive","scrollTrack","config","productionTip","Asd20Button","Asd20Icon","router","render","h","App","$mount","label","icon","iconSize","Date","toLocaleDateString","condensed","actionable","bordered","checked","alignTop","timestamp","valueOf","searchPayload","trim","filters","payload","queryType","search"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAGnBC,EAAqB,CACxB,IAAO,GAMJjB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASa,EAAe7B,GACvB,OAAOyB,EAAoBK,EAAI,OAAS,CAAC,cAAc,eAAe9B,IAAUA,GAAW,IAAM,CAAC,iBAAiB,WAAW,iBAAiB,WAAW,cAAc,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,W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CACnB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,kBAAmB,CAClB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,iBAAkB,CACjB,OACA,kBAED,kBAAmB,CAClB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,iBAAkB,CACjB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,kBAAmB,CAClB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,kBAAmB,CAClB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,kBAAmB,CAClB,OACA,kBAED,iBAAkB,CACjB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,iBAAkB,CACjB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,iBAAkB,CACjB,OACA,kBAED,kBAAmB,CAClB,OACA,kBAED,gBAAiB,CAChB,OACA,kBAED,iBAAkB,CACjB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,kBAAmB,CAClB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,gBAAiB,CAChB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,kBAAmB,CAClB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,iBAAkB,CACjB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,kBAAmB,CAClB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oBAAqB,CACpB,OACA,mBAGF,SAASC,EAAoBC,GAC5B,IAAI1F,EAAoBgE,EAAEwB,EAAKE,GAC9B,OAAO9E,QAAQC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AeM,SAAevH,EAA9B,kC,8DAAe,0IACbhF,gBADa,MACF,GADE,MAEbX,kBAFa,MAEA,GAFA,MAGbC,cAHa,MAGJ,GAHI,MAIbC,YAJa,MAIN,GAJM,MAKb2F,WALa,MAKP,EALO,MAMbtB,uBANa,MAMK,GANL,WAQQ1E,IAAM,CACzBH,OAAQ,OACRC,QAAS,CAAE,UAAWrB,oCACtBsB,OAAQ,CAAE,cAAetB,cACzB+E,IAAK,GAAF,OACD/E,kDADC,oCAGHtI,KAAM,EAAF,KACC+W,EAAc,CACfpM,WACAX,aACAC,SACAC,OACAqE,kBACAzD,mBAAmB,KAPnB,IASF+E,UAxBS,uBAQP7P,EARO,EAQPA,KARO,kBA6BN,CACLuK,MAAOvK,EAAKkG,MACZsE,OAAQxK,EAAK,oBA/BF,2C","file":"js/app.ac0c87fd.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"chunk-files\":\"chunk-files\"}[chunkId]||chunkId) + \".\" + {\"chunk-27538164\":\"bf90e05e\",\"chunk-2d0c20d7\":\"bec7cf05\",\"chunk-files\":\"fe09c8ce\",\"chunk-2d0a353b\":\"c8d06e31\",\"chunk-2d0a4094\":\"ca2c39cc\",\"chunk-2d0a4f4e\":\"a3488b2a\",\"chunk-2d0aaf44\":\"34a111ee\",\"chunk-2d0ac43c\":\"73f536fb\",\"chunk-2d0af4bb\":\"165e3285\",\"chunk-2d0b6ecc\":\"f925afe2\",\"chunk-2d0b8a1b\":\"c467fc6e\",\"chunk-2d0b8ef0\":\"e67c389b\",\"chunk-2d0b9402\":\"885d5fd3\",\"chunk-2d0ba347\":\"4913329f\",\"chunk-2d0ba362\":\"ca261dd8\",\"chunk-2d0bdb39\":\"481df638\",\"chunk-2d0bfe73\":\"0d161e29\",\"chunk-2d0c08d2\":\"450fa4a9\",\"chunk-2d0c0c49\":\"623e2beb\",\"chunk-2d0c0c83\":\"3ca20a55\",\"chunk-2d0c1252\":\"fe2c6aea\",\"chunk-2d0c22db\":\"09bc2c18\",\"chunk-2d0c4884\":\"dc7c5d89\",\"chunk-2d0c4890\":\"ab40d7a1\",\"chunk-2d0c7e56\":\"3c26333a\",\"chunk-2d0c7ea6\":\"64229aa7\",\"chunk-2d0c89ab\":\"f53949b7\",\"chunk-2d0c9725\":\"0b7d6938\",\"chunk-2d0d0231\":\"8bee8711\",\"chunk-2d0d03d9\":\"2c27c551\",\"chunk-2d0d2b91\":\"23752ee3\",\"chunk-2d0d6bbc\":\"db3d922a\",\"chunk-2d0d7343\":\"0c517aa7\",\"chunk-2d0da333\":\"0e52ec9b\",\"chunk-2d0dd138\":\"d31e7a8e\",\"chunk-2d0ddbec\":\"b05cbc29\",\"chunk-2d0de8e8\":\"fa5b1eaf\",\"chunk-2d0e2110\":\"8991a0a2\",\"chunk-2d0e2905\":\"596fdb5e\",\"chunk-2d0e50ba\":\"05a4d111\",\"chunk-2d0e5411\":\"3d4f0c3c\",\"chunk-2d0e5499\":\"ddb52090\",\"chunk-2d0e5b6e\":\"b8d1cbb3\",\"chunk-2d0f07d3\":\"715c12ba\",\"chunk-2d0f0ffc\":\"33f02d02\",\"chunk-2d2073aa\":\"160f3254\",\"chunk-2d2082e6\":\"fbcae2e3\",\"chunk-2d20f15a\":\"807a1dd3\",\"chunk-2d20f1b9\":\"d13308e2\",\"chunk-2d213746\":\"be04d3a3\",\"chunk-2d216060\":\"902945fd\",\"chunk-2d21732a\":\"4a89f246\",\"chunk-2d217c9e\":\"109d9967\",\"chunk-2d21da76\":\"1c77fa2a\",\"chunk-2d21e425\":\"83b1cbf8\",\"chunk-2d21e9c4\":\"8c779c9e\",\"chunk-2d222709\":\"26118451\",\"chunk-2d2254a6\":\"0a19b2ee\",\"chunk-2d226509\":\"0560fabd\",\"chunk-2d2268e9\":\"2f513bb7\",\"chunk-2d230088\":\"bfb6c347\",\"chunk-2d2304e1\":\"d04bd5ee\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-27538164\":1,\"chunk-files\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"chunk-files\":\"chunk-files\"}[chunkId]||chunkId) + \".\" + {\"chunk-27538164\":\"3ff20180\",\"chunk-2d0c20d7\":\"31d6cfe0\",\"chunk-files\":\"6588c444\",\"chunk-2d0a353b\":\"31d6cfe0\",\"chunk-2d0a4094\":\"31d6cfe0\",\"chunk-2d0a4f4e\":\"31d6cfe0\",\"chunk-2d0aaf44\":\"31d6cfe0\",\"chunk-2d0ac43c\":\"31d6cfe0\",\"chunk-2d0af4bb\":\"31d6cfe0\",\"chunk-2d0b6ecc\":\"31d6cfe0\",\"chunk-2d0b8a1b\":\"31d6cfe0\",\"chunk-2d0b8ef0\":\"31d6cfe0\",\"chunk-2d0b9402\":\"31d6cfe0\",\"chunk-2d0ba347\":\"31d6cfe0\",\"chunk-2d0ba362\":\"31d6cfe0\",\"chunk-2d0bdb39\":\"31d6cfe0\",\"chunk-2d0bfe73\":\"31d6cfe0\",\"chunk-2d0c08d2\":\"31d6cfe0\",\"chunk-2d0c0c49\":\"31d6cfe0\",\"chunk-2d0c0c83\":\"31d6cfe0\",\"chunk-2d0c1252\":\"31d6cfe0\",\"chunk-2d0c22db\":\"31d6cfe0\",\"chunk-2d0c4884\":\"31d6cfe0\",\"chunk-2d0c4890\":\"31d6cfe0\",\"chunk-2d0c7e56\":\"31d6cfe0\",\"chunk-2d0c7ea6\":\"31d6cfe0\",\"chunk-2d0c89ab\":\"31d6cfe0\",\"chunk-2d0c9725\":\"31d6cfe0\",\"chunk-2d0d0231\":\"31d6cfe0\",\"chunk-2d0d03d9\":\"31d6cfe0\",\"chunk-2d0d2b91\":\"31d6cfe0\",\"chunk-2d0d6bbc\":\"31d6cfe0\",\"chunk-2d0d7343\":\"31d6cfe0\",\"chunk-2d0da333\":\"31d6cfe0\",\"chunk-2d0dd138\":\"31d6cfe0\",\"chunk-2d0ddbec\":\"31d6cfe0\",\"chunk-2d0de8e8\":\"31d6cfe0\",\"chunk-2d0e2110\":\"31d6cfe0\",\"chunk-2d0e2905\":\"31d6cfe0\",\"chunk-2d0e50ba\":\"31d6cfe0\",\"chunk-2d0e5411\":\"31d6cfe0\",\"chunk-2d0e5499\":\"31d6cfe0\",\"chunk-2d0e5b6e\":\"31d6cfe0\",\"chunk-2d0f07d3\":\"31d6cfe0\",\"chunk-2d0f0ffc\":\"31d6cfe0\",\"chunk-2d2073aa\":\"31d6cfe0\",\"chunk-2d2082e6\":\"31d6cfe0\",\"chunk-2d20f15a\":\"31d6cfe0\",\"chunk-2d20f1b9\":\"31d6cfe0\",\"chunk-2d213746\":\"31d6cfe0\",\"chunk-2d216060\":\"31d6cfe0\",\"chunk-2d21732a\":\"31d6cfe0\",\"chunk-2d217c9e\":\"31d6cfe0\",\"chunk-2d21da76\":\"31d6cfe0\",\"chunk-2d21e425\":\"31d6cfe0\",\"chunk-2d21e9c4\":\"31d6cfe0\",\"chunk-2d222709\":\"31d6cfe0\",\"chunk-2d2254a6\":\"31d6cfe0\",\"chunk-2d226509\":\"31d6cfe0\",\"chunk-2d2268e9\":\"31d6cfe0\",\"chunk-2d230088\":\"31d6cfe0\",\"chunk-2d2304e1\":\"31d6cfe0\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([1,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var map = {\n\t\"./Asd20AccessiblitySvg\": [\n\t\t\"c7e9\",\n\t\t\"chunk-2d217c9e\"\n\t],\n\t\"./Asd20AlertSvg\": [\n\t\t\"0e5e\",\n\t\t\"chunk-2d0af4bb\"\n\t],\n\t\"./Asd20ArtsSvg\": [\n\t\t\"e489\",\n\t\t\"chunk-2d2254a6\"\n\t],\n\t\"./Asd20AthleticsSvg\": [\n\t\t\"748a\",\n\t\t\"chunk-2d0d6bbc\"\n\t],\n\t\"./Asd20AwardSvg\": [\n\t\t\"b1e9\",\n\t\t\"chunk-2d20f1b9\"\n\t],\n\t\"./Asd20BellSvg\": [\n\t\t\"12e2\",\n\t\t\"chunk-2d0aaf44\"\n\t],\n\t\"./Asd20CalendarAltSvg\": [\n\t\t\"9f81\",\n\t\t\"chunk-2d0f0ffc\"\n\t],\n\t\"./Asd20CalendarSvg\": [\n\t\t\"85c8\",\n\t\t\"chunk-2d0de8e8\"\n\t],\n\t\"./Asd20CardsSvg\": [\n\t\t\"a463\",\n\t\t\"chunk-2d2082e6\"\n\t],\n\t\"./Asd20ChevronSvg\": [\n\t\t\"c667\",\n\t\t\"chunk-2d21732a\"\n\t],\n\t\"./Asd20CloseSvg\": [\n\t\t\"41ed\",\n\t\t\"chunk-2d0c08d2\"\n\t],\n\t\"./Asd20CommitteeSvg\": [\n\t\t\"9d1c\",\n\t\t\"chunk-2d0f07d3\"\n\t],\n\t\"./Asd20CoraSvg\": [\n\t\t\"d597\",\n\t\t\"chunk-2d21e425\"\n\t],\n\t\"./Asd20DangerSvg\": [\n\t\t\"0570\",\n\t\t\"chunk-2d0a4094\"\n\t],\n\t\"./Asd20DirectionsSvg\": [\n\t\t\"9650\",\n\t\t\"chunk-2d0e5b6e\"\n\t],\n\t\"./Asd20DirectorySvg\": [\n\t\t\"35e4\",\n\t\t\"chunk-2d0ba347\"\n\t],\n\t\"./Asd20EmailSvg\": [\n\t\t\"5324\",\n\t\t\"chunk-2d0c7e56\"\n\t],\n\t\"./Asd20ExternalSvg\": [\n\t\t\"66ad\",\n\t\t\"chunk-2d0d03d9\"\n\t],\n\t\"./Asd20FacebookSvg\": [\n\t\t\"4594\",\n\t\t\"chunk-2d0c1252\"\n\t],\n\t\"./Asd20FileSvg\": [\n\t\t\"ec5b\",\n\t\t\"chunk-2d2304e1\"\n\t],\n\t\"./Asd20FilesSvg\": [\n\t\t\"cf2b\",\n\t\t\"chunk-2d222709\"\n\t],\n\t\"./Asd20FilterSvg\": [\n\t\t\"3195\",\n\t\t\"chunk-2d0b8ef0\"\n\t],\n\t\"./Asd20FinanceSvg\": [\n\t\t\"4001\",\n\t\t\"chunk-2d0bfe73\"\n\t],\n\t\"./Asd20FoodSvg\": [\n\t\t\"561e\",\n\t\t\"chunk-2d0c89ab\"\n\t],\n\t\"./Asd20GallerySvg\": [\n\t\t\"3af2\",\n\t\t\"chunk-2d0c4890\"\n\t],\n\t\"./Asd20GroupSvg\": [\n\t\t\"7cb0\",\n\t\t\"chunk-2d0e2110\"\n\t],\n\t\"./Asd20HeartFilledSvg\": [\n\t\t\"e8bb\",\n\t\t\"chunk-2d2268e9\"\n\t],\n\t\"./Asd20HeartSvg\": [\n\t\t\"809c\",\n\t\t\"chunk-2d0dd138\"\n\t],\n\t\"./Asd20HoursAltSvg\": [\n\t\t\"6b1b\",\n\t\t\"chunk-2d0da333\"\n\t],\n\t\"./Asd20HoursSvg\": [\n\t\t\"3008\",\n\t\t\"chunk-2d0b8a1b\"\n\t],\n\t\"./Asd20InfoSvg\": [\n\t\t\"58d0\",\n\t\t\"chunk-2d0c9725\"\n\t],\n\t\"./Asd20InstagramSvg\": [\n\t\t\"768f\",\n\t\t\"chunk-2d0d7343\"\n\t],\n\t\"./Asd20JobsSvg\": [\n\t\t\"938b\",\n\t\t\"chunk-2d0e50ba\"\n\t],\n\t\"./Asd20LanguageSvg\": [\n\t\t\"42f5\",\n\t\t\"chunk-2d0c0c83\"\n\t],\n\t\"./Asd20LibrarySvg\": [\n\t\t\"c162\",\n\t\t\"chunk-2d216060\"\n\t],\n\t\"./Asd20LinkedinSvg\": [\n\t\t\"1edf\",\n\t\t\"chunk-2d0b6ecc\"\n\t],\n\t\"./Asd20ListSvg\": [\n\t\t\"949a\",\n\t\t\"chunk-2d0e5499\"\n\t],\n\t\"./Asd20LoginSvg\": [\n\t\t\"d1e8\",\n\t\t\"chunk-2d21da76\"\n\t],\n\t\"./Asd20MapSvg\": [\n\t\t\"9466\",\n\t\t\"chunk-2d0e5411\"\n\t],\n\t\"./Asd20MenuSvg\": [\n\t\t\"48cd\",\n\t\t\"chunk-2d0c22db\"\n\t],\n\t\"./Asd20PersonalizeSvg\": [\n\t\t\"533e\",\n\t\t\"chunk-2d0c7ea6\"\n\t],\n\t\"./Asd20PhoneAltSvg\": [\n\t\t\"0269\",\n\t\t\"chunk-2d0a353b\"\n\t],\n\t\"./Asd20PhoneSvg\": [\n\t\t\"a049\",\n\t\t\"chunk-2d2073aa\"\n\t],\n\t\"./Asd20PinFilledSvg\": [\n\t\t\"e7ab\",\n\t\t\"chunk-2d226509\"\n\t],\n\t\"./Asd20PinSvg\": [\n\t\t\"31c1\",\n\t\t\"chunk-2d0b9402\"\n\t],\n\t\"./Asd20RegisterSvg\": [\n\t\t\"eb0e\",\n\t\t\"chunk-2d230088\"\n\t],\n\t\"./Asd20SchoolSvg\": [\n\t\t\"35f0\",\n\t\t\"chunk-2d0ba362\"\n\t],\n\t\"./Asd20SearchSvg\": [\n\t\t\"2cb4\",\n\t\t\"chunk-2d0bdb39\"\n\t],\n\t\"./Asd20StaffSvg\": [\n\t\t\"5a5d\",\n\t\t\"chunk-2d0d2b91\"\n\t],\n\t\"./Asd20StarFilledSvg\": [\n\t\t\"b1b7\",\n\t\t\"chunk-2d20f15a\"\n\t],\n\t\"./Asd20StarSvg\": [\n\t\t\"ad6c\",\n\t\t\"chunk-2d213746\"\n\t],\n\t\"./Asd20TranslateSvg\": [\n\t\t\"8361\",\n\t\t\"chunk-2d0ddbec\"\n\t],\n\t\"./Asd20TwitterSvg\": [\n\t\t\"42d9\",\n\t\t\"chunk-2d0c0c49\"\n\t],\n\t\"./Asd20VendorsSvg\": [\n\t\t\"1997\",\n\t\t\"chunk-2d0ac43c\"\n\t],\n\t\"./Asd20VideoSvg\": [\n\t\t\"d5fc\",\n\t\t\"chunk-2d21e9c4\"\n\t],\n\t\"./Asd20WeatherSnowSvg\": [\n\t\t\"093b\",\n\t\t\"chunk-2d0a4f4e\"\n\t],\n\t\"./Asd20WeatherSunSvg\": [\n\t\t\"7ede\",\n\t\t\"chunk-2d0e2905\"\n\t],\n\t\"./Asd20WebsiteSvg\": [\n\t\t\"6760\",\n\t\t\"chunk-2d0d0231\"\n\t],\n\t\"./Asd20YoutubeSvg\": [\n\t\t\"3add\",\n\t\t\"chunk-2d0c4884\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"33da\";\nmodule.exports = webpackAsyncContext;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('keep-alive',{attrs:{\"include\":\"Asd20DirectorySearchPage\"}},[_c('router-view')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n
\n\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=74315cb4&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport Router from 'vue-router'\n\nVue.use(Router)\n\nexport default new Router({\n base: process.env.BASE_URL,\n mode: 'history',\n scrollBehavior(to, from, savedPosition) {\n if (savedPosition) {\n return savedPosition\n } else {\n return { x: 0, y: 0 }\n }\n },\n routes: [\n {\n path: '/',\n name: 'files',\n component: () =>\n import(/* webpackChunkName: \"chunk-files\" */ '@/components/pages/Files.vue'),\n },\n {\n path: '/test',\n name: 'fileList',\n component: () => import('@/components/pages/FileList.vue'),\n },\n ],\n})\n","export default function(pattern, str) {\n str = str.toLowerCase()\n pattern = pattern.replace(/\\W/g, '').toLowerCase() // strip non alpha numeric\n pattern = pattern.split('').reduce(function(a, b) {\n return a + '.*' + b\n }, [])\n return new RegExp(pattern).test(str)\n}\n","export const AZURE_SEARCH_DEFAULT_AXIOS_CONFIG = {\n method: 'post',\n headers: { 'api-key': process.env.VUE_APP_AZURE_SEARCH_KEY },\n params: { 'api-version': process.env.VUE_APP_AZURE_SEARCH_API_VERSION },\n}\n","import axios from 'axios'\n\nexport default async function() {\n return axios.get(`${process.env.VUE_APP_API_ENDPOINT}/api/update-search-files?code=Hv3cN9SO/7KfZrHX2/pmxKi23ENN17uTYWKjwnZ5S5alHGB8Cu0Kzg==`)\n}\n","import { make } from 'vuex-pathify'\nimport axios from 'axios'\nimport fuzzySearch from '../../helpers/fuzzySearch'\nimport queryFiles from '../../helpers/queryFiles'\n// import queryOrganizations from '../../helpers/queryOrganizations'\nimport mapFilesToListItems from '../../helpers/mapFilesToListItems'\nimport { AZURE_SEARCH_DEFAULT_AXIOS_CONFIG } from '../../config/azure-search.js'\nimport slugify from 'slugify'\nimport updateSearch from '../../helpers/updateSearch'\n\nimport {\n Aborter,\n BlobURL,\n BlockBlobURL,\n ContainerURL,\n ServiceURL,\n StorageURL,\n AnonymousCredential,\n uploadBrowserDataToBlockBlob,\n} from '@azure/storage-blob'\nimport { map } from 'lodash'\n\nconst defaultMetadata = {\n name: '',\n description: '',\n categories: '',\n owners: '',\n tags: '',\n last_modified_by: '',\n last_modified_date: '',\n organization_ids: '',\n}\n\nconst state = {\n files: [],\n facets: { categories: [], owners: [], tags: [] },\n queriedFiles: [],\n queriedFacets: { categories: [], owners: [], tags: [] },\n keywords: '',\n selectedCategories: [],\n selectedOwners: [],\n enableFuzzySearch: true,\n editing: false,\n selectedOrganizationIds: [],\n organizations: [],\n}\n\nconst getAzureStorageAccessKey = async function() {\n if (process.env.VUE_APP_AZURE_STORAGE_SAS) {\n return await new Promise(resolve =>\n resolve(process.env.VUE_APP_AZURE_STORAGE_SAS)\n )\n }\n // TODO: Add call to get short-lived connection string\n}\n\nconst listBlobsInAzureStorageContainer = async function(\n account,\n containerName,\n sas\n) {\n const serviceURL = new ServiceURL(\n // When using AnonymousCredential, following url should include a valid SAS or support public access\n `https://${account}.blob.core.windows.net/${sas}`,\n StorageURL.newPipeline(new AnonymousCredential())\n )\n const containerURL = ContainerURL.fromServiceURL(serviceURL, containerName)\n\n let blobs = []\n\n // Loop through blobs and add the mto an array\n let marker = undefined\n do {\n const listBlobsResponse = await containerURL.listBlobFlatSegment(\n Aborter.none,\n marker,\n { include: ['metadata'] }\n )\n\n marker = listBlobsResponse.nextMarker\n for (const blob of listBlobsResponse.segment.blobItems) {\n blobs.push(blob)\n }\n } while (marker)\n\n return blobs\n}\n\nconst saveBlobMetadataToAzureStorageContainer = async function(\n blobName,\n metadata = defaultMetadata,\n account,\n containerName,\n sas\n) {\n const serviceURL = new ServiceURL(\n `https://${account}.blob.core.windows.net/${sas}`,\n StorageURL.newPipeline(new AnonymousCredential())\n )\n const containerURL = ContainerURL.fromServiceURL(serviceURL, containerName)\n const blobURL = BlobURL.fromContainerURL(containerURL, blobName)\n await blobURL.setMetadata(Aborter.none, metadata)\n return await blobURL.getProperties(Aborter.none)\n}\n\nconst deleteBlob = async function(blobName, account, containerName, sas) {\n const serviceURL = new ServiceURL(\n `https://${account}.blob.core.windows.net/${sas}`,\n StorageURL.newPipeline(new AnonymousCredential())\n )\n const containerURL = ContainerURL.fromServiceURL(serviceURL, containerName)\n const blobURL = BlobURL.fromContainerURL(containerURL, blobName)\n return await blobURL.delete(Aborter.none)\n}\n\nconst convertBlobToFile = function(blob, account, containerName) {\n const metadata = blob.metadata\n ? { ...defaultMetadata, ...blob.metadata }\n : defaultMetadata\n\n const url = `https://${account}.blob.core.windows.net/${containerName}/${\n blob.name\n }`\n\n // TODO: folder/folder/filename.pdf => filename.pdf\n const filename = blob.name.split('/').pop()\n // const filename2 = blob.name.replace(/^.*[\\\\\\/]/, '') //.replace(/PUT_REGEX_HERE/g, '')\n\n return {\n type: 'file',\n id: blob.properties.etag,\n name: metadata.name || filename,\n slug: blob.name,\n description: metadata.description,\n categories: metadata.categories ? metadata.categories.split(',') : [],\n owners: metadata.owners ? metadata.owners.split(',') : [],\n tags: metadata.tags ? metadata.tags.split(',') : [],\n url: url,\n downloadUrl: url,\n filename: filename,\n filetype: '',\n filesize: blob.properties.contentLength,\n mimeType: '',\n sourceId: url,\n sourceContext: '',\n createdBy: metadata.owners ? metadata.owners : '',\n createdDateTime: blob.properties.lastModified,\n lastModifiedDateTime: metadata.last_modified_date,\n lastModifiedBy: metadata.last_modified_by,\n organizationIds: metadata.organization_ids\n ? metadata.organization_ids.split(',')\n : [],\n }\n}\n\nconst uploadBrowserFileToAzureBlobStorageContainer = async function(\n browserFile,\n metadata = defaultMetadata,\n uploadProgressCallback,\n account,\n containerName,\n sas,\n folder = ''\n) {\n if (\n typeof metadata === undefined ||\n typeof browserFile === undefined ||\n !(browserFile instanceof File)\n )\n return\n\n const serviceURL = new ServiceURL(\n `https://${account}.blob.core.windows.net/${sas}`,\n StorageURL.newPipeline(new AnonymousCredential())\n )\n const containerURL = ContainerURL.fromServiceURL(serviceURL, containerName)\n const blockBlobURL = BlockBlobURL.fromContainerURL(\n containerURL,\n `${folder ? folder + '/' : ''}${browserFile.name}`\n )\n\n return await uploadBrowserDataToBlockBlob(\n Aborter.none,\n browserFile,\n blockBlobURL,\n {\n rangeSize: 4 * 1024 * 1024, // 4MB range size\n parallelism: 20, // 20 concurrency\n progress: uploadProgressCallback,\n metadata: metadata,\n }\n )\n}\n\nexport default {\n namespaced: true,\n\n state,\n\n mutations: make.mutations(state),\n\n actions: {\n ...make.actions(state),\n async queryOrganizations({ commit }) {\n try {\n let { data } = await axios.post(\n process.env.VUE_APP_HASURA_API_ENDPOINT,\n {\n query: `{\n organizations(order_by: {title: asc}) {\n title\n id\n }\n }\n `,\n },\n {\n headers: {\n 'Content-Type': 'application/json',\n },\n }\n )\n commit('SET_ORGANIZATIONS', data.data.organizations)\n } catch (err) {\n throw new Error(err)\n }\n },\n /**\n * Performs a search against the files Azure Search Index\n *\n * @param {*} { commit, getters }\n * @returns\n */\n async queryFiles({ commit, state }) {\n // Query azure search\n const { files, facets } = await queryFiles({\n keywords: state.keywords,\n categories: state.selectedCategories,\n owners: state.selectedOwners,\n organizationIds: state.selectedOrganizationIds,\n orderby: 'name desc',\n top: 250,\n })\n\n // Update state\n commit('SET_QUERIED_FILES', files)\n commit('SET_QUERIED_FACETS', facets)\n\n return files\n },\n\n // async queryOrganizations({commit}){\n // const data = await queryOrganizations()\n // console.log('queryorgs', data)\n // commit('SET_ORGANIZATIONS', data)\n // return data\n // },\n\n /**\n * Query the search API to collect all facets\n *\n * @param {*} { commit }\n * @returns\n */\n async getFacets({ commit }) {\n // Query azure search\n let { data } = await axios({\n ...AZURE_SEARCH_DEFAULT_AXIOS_CONFIG,\n url: `${\n process.env.VUE_APP_AZURE_SEARCH_ENDPOINT\n }/indexes/files-index/docs/search`,\n data: {\n count: true,\n facets: [\n 'categories,count:1000',\n 'owners,count:1000',\n 'tags,count:1000',\n ],\n top: 1,\n select: 'id',\n },\n })\n\n // Update state\n if (data && data.value) {\n commit('SET_FACETS', data['@search.facets'])\n }\n return data.value\n },\n\n /**\n * Requests a list of files from the files REST API\n *\n * @param {*} { commit }\n */\n async getFiles({ commit }) {\n const account = process.env.VUE_APP_AZURE_STORAGE_ACCOUNT\n const containerName = process.env.VUE_APP_AZURE_STORAGE_CONTAINER\n const sas = await getAzureStorageAccessKey()\n const blobs = await listBlobsInAzureStorageContainer(\n account,\n containerName,\n sas\n )\n\n const files = blobs.map(blob =>\n convertBlobToFile(blob, account, containerName)\n )\n\n // Update state\n commit('SET_FILES', files)\n },\n\n /**\n * Updates a files metadata using a REST API\n *\n * @param {*} { state, commit }\n * @param {*} file\n * @returns\n */\n async saveFile({ state, commit, rootState }, file) {\n // Get files minus the one being updated\n let files = state.files.filter(d => d.slug !== file.slug)\n\n // Perform API call\n const account = process.env.VUE_APP_AZURE_STORAGE_ACCOUNT\n const containerName = process.env.VUE_APP_AZURE_STORAGE_CONTAINER\n const sas = await getAzureStorageAccessKey()\n\n const properties = await saveBlobMetadataToAzureStorageContainer(\n file.slug,\n {\n ...defaultMetadata,\n name: file.name,\n description: file.description,\n categories: (file.categories || []).join(','),\n owners: (file.owners || []).join(','),\n tags: (file.tags || []).join(','),\n last_modified_by: rootState.auth.userProfile.mail,\n last_modified_date: file.lastModifiedDateTime,\n organization_ids: (file.organizationIds || []).join(','),\n },\n account,\n containerName,\n sas\n )\n\n // Add updated file to array\n files.push({\n ...file,\n lastModifiedDateTime: properties.lastModified,\n lastModifiedBy: properties.metadata.last_modified_by,\n })\n\n // Update State\n commit('SET_FILES', files)\n\n // return savedFile\n updateSearch()\n return file\n },\n\n /**\n * Updates a files metadata using a REST API\n *\n * @param {*} { state, commit }\n * @param {*} browserFile\n * @returns\n */\n async uploadFile(\n { dispatch, rootState, state },\n { metadata, fileList, uploadProgressCallback }\n ) {\n // Perform API call\n const account = process.env.VUE_APP_AZURE_STORAGE_ACCOUNT\n const containerName = process.env.VUE_APP_AZURE_STORAGE_CONTAINER\n const sas = await getAzureStorageAccessKey()\n const selectedOrganization = state.organizations.find(\n o => o.id === metadata.organizationIds[0]\n )\n const orgSlug = selectedOrganization\n ? slugify(selectedOrganization.title)\n : 'academy-district-20'\n console.log(orgSlug)\n for (const file of fileList) {\n await uploadBrowserFileToAzureBlobStorageContainer(\n file,\n {\n ...defaultMetadata,\n name: file.name,\n description: metadata.description,\n categories: (metadata.categories || []).join(','),\n owners: (metadata.owners || []).join(','),\n organization_ids: (metadata.organizationIds || []).join(','),\n tags: (metadata.tags || []).join(','),\n last_modified_by: rootState.auth.userProfile.mail,\n last_modified_date: metadata.lastModifiedDateTime,\n },\n ({ loadedBytes }) => {\n uploadProgressCallback({\n filename: file.name,\n progress: file.size / loadedBytes,\n loadedBytes,\n })\n },\n account,\n containerName,\n sas,\n orgSlug\n )\n }\n updateSearch()\n dispatch('getFiles')\n },\n\n /**\n * Deletes a file using a REST API\n *\n * @param {*} { state, dispatch }\n * @param {*} file\n */\n async deleteFile({ state, dispatch }, file) {\n let files = state.files.filter(d => d.slug !== file.slug)\n\n const account = process.env.VUE_APP_AZURE_STORAGE_ACCOUNT\n const containerName = process.env.VUE_APP_AZURE_STORAGE_CONTAINER\n const sas = await getAzureStorageAccessKey()\n await deleteBlob(file.slug, account, containerName, sas)\n updateSearch()\n dispatch('setFiles', files)\n },\n\n clearFilters({ commit }) {\n commit('SET_KEYWORDS', '')\n commit('SET_SELECTED_CATEGORIES', [])\n commit('SET_SELECTED_ORGANIZATION_IDS', [])\n },\n },\n\n getters: {\n // categories: state => state.categories,\n categories: (state, getters, rootState, rootGetters) => {\n if (rootGetters['auth/isAdmin'] && state.editing) {\n return [].concat\n .apply([], state.files.map(f => f.categories || []))\n .reduce((a, c) => {\n if (a.indexOf(c) === -1) a.push(c)\n return a\n }, [])\n .sort()\n }\n\n return state.facets.categories.map(p => p.value).sort()\n },\n\n categoryOptions: (state, getters) => {\n return getters.categories.map(c => {\n const count = state.files.filter(f => f.categories.indexOf(c) > -1)\n .length\n\n return {\n text: c,\n value: c,\n count: count,\n }\n })\n },\n\n groupedCategoryOptions: (state, getters) => {\n let groups = [\n {\n name: 'Educational Programs',\n regExp: /program|high trails|college and career|expulsion|talented and gifted|international exchange|1:1/gi,\n categories: [],\n },\n {\n name: 'Employees & Job Seekers',\n regExp: /(Employee|Staff|Employment|Salary Information)/gi,\n categories: [],\n },\n {\n name: 'Transparency and Reporting',\n regExp: /finance|assessment|accreditation|character and climate|student data privacy|data protection|contracts/gi,\n categories: [],\n },\n {\n name: 'Committees',\n regExp: /Committee/gi,\n categories: [],\n },\n ]\n\n let remainingCategories = getters.categories.slice(0)\n\n // Update categories for each group\n for (let group of groups) {\n remainingCategories = remainingCategories.filter(\n c => !new RegExp(group.regExp).test(c)\n )\n group.categories = getters.categories\n .filter(c => {\n // console.log(group.name, group.regExp, c, group.regExp.test(c))\n return new RegExp(group.regExp).test(c)\n })\n .map(c => {\n const count = state.files.filter(f => f.categories.indexOf(c) > -1)\n .length\n\n return {\n text: c,\n value: c,\n count: count,\n }\n })\n }\n\n groups.unshift({\n name: 'Families & Students',\n categories: remainingCategories.map(c => {\n const count = state.files.filter(f => f.categories.indexOf(c) > -1)\n .length\n\n return {\n text: c,\n value: c,\n count: count,\n }\n }),\n })\n\n return groups.map(g => {\n return {\n text: g.name,\n value: g.name,\n categories: g.categories,\n }\n })\n },\n\n owners: (state, getters, rootState, rootGetters) => {\n if (rootGetters['auth/isAdmin'] && state.editing) {\n return [].concat\n .apply([], state.files.map(f => f.owners || []))\n .reduce((a, c) => {\n if (a.indexOf(c) === -1) a.push(c)\n return a\n }, [])\n .sort()\n }\n return state.facets.owners.map(p => p.value).sort()\n },\n\n ownersOptions: (state, getters) => {\n return getters.owners.map(o => {\n const count = state.files.filter(f => f.owners === o).length\n\n return {\n text: o,\n value: o,\n count: count,\n }\n })\n },\n organizationOptions: state => {\n return state.organizations.map(o => {\n const count = state.files.filter(f => f.organizationIds === o).length\n\n return {\n text: o.title,\n value: o.id,\n count: count,\n }\n })\n },\n\n tags: (state, getters, rootState, rootGetters) => {\n if (rootGetters['auth/isAdmin'] && state.editing) {\n return [].concat\n .apply([], state.files.map(f => f.tags || []))\n .reduce((a, c) => {\n if (a.indexOf(c) === -1) a.push(c)\n return a\n }, [])\n .sort()\n }\n return state.facets.tags.map(p => p.value).sort()\n },\n\n tagsOptions: (state, getters) => {\n return getters.tags.map(o => {\n const count = state.files.filter(f => f.tags === o).length\n\n return {\n text: o,\n value: o,\n count: count,\n }\n })\n },\n\n // organizationOptions: (state) => {\n // return state.orgs.organizations.map(o => ({\n // id: o.id,\n // name: o.title\n // }))\n // },\n\n totalFiltersApplied: state =>\n state.selectedCategories.length +\n state.selectedOwners.length +\n state.selectedOrganizationIds.length,\n\n filteredFiles: (state, getters, rootState, rootGetters) => {\n if (!rootGetters['auth/isAdmin'] || !state.editing) {\n return state.queriedFiles\n }\n\n return (\n state.files\n // Filter by keyword\n .filter(f => {\n let matches = 0\n if (state.keywords) {\n matches += fuzzySearch(state.keywords, f.name)\n matches += fuzzySearch(state.keywords, f.filename)\n matches += fuzzySearch(state.keywords, f.description)\n }\n return !state.keywords || matches > 0\n })\n // Filter by facets\n .filter(f => {\n return (\n getters.totalFiltersApplied === 0 ||\n (f.categories || []).some(\n c => state.selectedCategories.indexOf(c) > -1\n ) ||\n (f.owners || []).some(\n c => state.selectedOwners.indexOf(c) > -1\n ) ||\n (f.organizationIds || []).some(\n c => state.selectedOrganizationIds.indexOf(c) > -1\n )\n )\n })\n )\n },\n\n filteredFilesCount: (state, getters) => getters.filteredFiles.length,\n\n filteredFilesListItems: (state, getters) => {\n return mapFilesToListItems(getters.filteredFiles).map(c => ({\n ...c,\n link: state.editing ? '' : c.link,\n }))\n },\n },\n}\n","import { UserAgentApplication } from 'msal'\nimport axios from 'axios'\n\nconst authConfig = {\n clientID: process.env.VUE_APP_CLIENTID,\n graphScopes: ['openid', 'offline_access', 'profile', 'email'],\n authority: 'https://login.microsoftonline.com/organizations',\n}\n\nexport const client = new UserAgentApplication(\n authConfig.clientID,\n authConfig.authority,\n (errorDesc, token, error) => {\n if (!token) {\n throw new Error(error + ':' + errorDesc)\n }\n },\n { storeAuthStateInCookie: false, cacheLocation: 'localStorage' }\n)\n\nexport async function getAccessToken() {\n try {\n let accessToken = await client.acquireTokenSilent(\n authConfig.graphScopes,\n authConfig.authority\n )\n return accessToken\n } catch (error) {\n // AcquireTokenSilent Failure\n throw new Error(error)\n }\n}\n\nexport async function getProfile(accessToken) {\n try {\n let { data } = await axios.get('https://graph.microsoft.com/v1.0/me', {\n headers: {\n Authorization: `Bearer ${accessToken}`,\n },\n })\n return data\n } catch (err) {\n throw new Error(err)\n }\n}\n\nexport async function login() {\n try {\n await client.loginRedirect(authConfig.graphScopes)\n } catch (error) {\n throw new Error(error)\n }\n}\n","import { make } from 'vuex-pathify'\nimport { getAccessToken, getProfile, login } from '../../authentication'\n\nconst state = {\n accessToken: '',\n userProfile: null,\n}\n\nexport default {\n namespaced: true,\n\n state,\n\n mutations: make.mutations(state),\n\n actions: {\n ...make.actions(state),\n async signIn({ dispatch }) {\n try {\n await dispatch('continueSession')\n } catch (error) {\n await login()\n }\n },\n\n async continueSession({ commit }) {\n try {\n const accessToken = await getAccessToken()\n const profile = await getProfile(accessToken)\n commit('SET_ACCESS_TOKEN', accessToken)\n commit('SET_USER_PROFILE', profile)\n } catch (error) {\n throw new Error(error)\n }\n },\n },\n\n getters: {\n isAuthenticated(state) {\n return !!state.accessToken\n },\n isAdmin(state, getters) {\n return (\n getters.isAuthenticated &&\n !!state.userProfile &&\n (state.userProfile.officeLocation === 'Public Relations Office' || state.userProfile.officeLocation === 'Communications' ||\n state.userProfile.mail === 'paul.hollendorfer@asd20.org' || state.userProfile === 'samantha.laberge@asd20.org' || state.userProfile === 'krystal.story@asd20.org')\n )\n },\n },\n}\n","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport pathify, { make } from 'vuex-pathify'\nimport files from '@/store/modules/files'\nimport auth from '@/store/modules/auth'\n\n\n// const apiEndpoint = process.env.VUE_APP_API_ENDPOINT\n\nVue.use(Vuex)\n\nconst state = {}\n\nconst store = new Vuex.Store({\n plugins: [pathify.plugin],\n modules: { files, auth },\n\n state,\n\n mutations: make.mutations(state),\n\n actions: {\n ...make.actions(state),\n },\n\n getters: {},\n\n strict: process.env.NODE_ENV !== 'production',\n})\n// store.dispatch('auth/continueSession')\nstore.dispatch('files/getFacets')\nstore.dispatch('files/queryFiles')\nstore.dispatch('files/getFiles')\nstore.dispatch('files/queryOrganizations')\n\nconst performSearch = (newVal, oldVal) => {\n const editing = store.state.files.editing\n if (newVal !== oldVal && !editing) store.dispatch('files/queryFiles')\n}\nstore.watch(state => state.files.keywords, performSearch)\nstore.watch(state => state.files.selectedCategories, performSearch)\nstore.watch(state => state.files.selectedOwners, performSearch)\nstore.watch(state => state.files.selectedOrganizationIds, performSearch)\nexport default store\n","import Vue from 'vue'\nimport App from './App.vue'\nimport router from './router'\nimport store from './store'\nimport './registerServiceWorker'\nimport Asd20Button from '@asd20/ui/src/components/atoms/Asd20Button'\nimport Asd20Icon from '@asd20/ui/src/components/atoms/Asd20Icon'\nimport scrollTrack from '@asd20/ui/src/directives/scroll-track'\nimport VueMq from 'vue-mq'\nimport VueLazyload from 'vue-lazyload'\nimport VueResize from 'vue-resize'\nimport 'vue-resize/dist/vue-resize.css'\n\nVue.use(VueMq)\nVue.use(VueResize)\nVue.use(VueLazyload)\nVue.directive('scroll-track', scrollTrack)\n\nVue.config.productionTip = false\n\nVue.component('Asd20Button', Asd20Button)\nVue.component('Asd20Icon', Asd20Icon)\n\nnew Vue({\n router,\n store,\n render: h => h(App),\n}).$mount('#app')\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"","export default function mapFilesToListItems(files) {\n return files\n .map(f => {\n return {\n file: f,\n label: f.name,\n icon: 'file',\n iconSize: 'md',\n // thumbnail: p.picture.thumbnail,\n description: `${\n f.description\n } Updated ${new Date(\n f.lastModifiedDateTime\n ).toLocaleDateString()}`,\n condensed: false,\n actionable: true,\n bordered: true,\n checked: false,\n alignTop: true,\n tags: f.categories,\n timestamp: f.lastModifiedDateTime\n ? new Date(f.lastModifiedDateTime).valueOf()\n : 0,\n link: f.downloadUrl\n }\n })\n .sort((a, b) => (a.label > b.label ? 1 : b.label > a.label ? -1 : 0))\n}\n","import axios from 'axios'\n\n/**\n * Creates a Azure Search payload\n *\n * @param {*} state\n * @returns\n */\nfunction searchPayload(state) {\n let query = '*'\n\n if (state.enableFuzzySearch) {\n // Search both by exact phrase and by fuzzy search of event name\n query = state.keywords.trim()\n ? `\"${state.keywords.trim()}\" OR name:${state.keywords\n .trim()\n .split(' ')\n .join('* OR name:')}*`\n : '*'\n } else {\n query = state.keywords.trim()\n }\n\n let filters = []\n\n if (state.categories.length > 0) {\n filters.push(\n `categories/any(t: search.in(t, '${state.categories.join(',')}', ',')) `\n )\n }\n\n if (state.owners.length > 0) {\n filters.push(\n `owners/any(t: search.in(t, '${state.owners.join(',')}', ',')) `\n )\n }\n\n if (state.tags.length > 0) {\n filters.push(`tags/any(t: search.in(t, '${state.tags.join(',')}', ',')) `)\n }\n // TODO: add selectedOrganizationIds\n if (state.organizationIds.length > 0) {\n filters.push(`organizationIds/any(t: search.in(t, '${state.organizationIds.join(',')}', ',')) `)\n }\n\n let payload = {\n count: true,\n queryType: state.enableFuzzySearch ? 'full' : 'simple',\n search: query,\n filter: filters.join(' and '),\n facets: ['categories,count:1000', 'owners,count:1000', 'tags,count:1000'],\n top: 250,\n }\n\n return payload\n}\n\n/**\n * Makes a HTTP call to Azure Search for files\n *\n * @export\n * @param {*} {\n * keywords = '',\n * categories = [],\n * owners = [],\n * top = 5,\n * }\n * @returns\n */\nexport default async function queryFiles({\n keywords = '',\n categories = [],\n owners = [],\n tags = [],\n top = 5,\n organizationIds = []\n}) {\n let { data } = await axios({\n method: 'post',\n headers: { 'api-key': process.env.VUE_APP_AZURE_SEARCH_KEY },\n params: { 'api-version': process.env.VUE_APP_AZURE_SEARCH_API_VERSION },\n url: `${\n process.env.VUE_APP_AZURE_SEARCH_ENDPOINT\n }/indexes/files-index/docs/search`,\n data: {\n ...searchPayload({\n keywords,\n categories,\n owners,\n tags,\n organizationIds,\n enableFuzzySearch: true,\n }),\n top,\n },\n })\n\n // Return results\n return {\n files: data.value,\n facets: data['@search.facets'],\n }\n}\n"],"sourceRoot":""}