@micromag/viewer-build 0.2.398 → 0.2.399

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/build/asset-manifest.json +36 -38
  2. package/build/index.html +1 -1
  3. package/build/static/js/0.69a41d35.chunk.js +2 -0
  4. package/build/static/js/0.69a41d35.chunk.js.map +1 -0
  5. package/build/static/js/1.8749f3d7.chunk.js +2 -0
  6. package/build/static/js/1.8749f3d7.chunk.js.map +1 -0
  7. package/build/static/js/{11.9b03ae00.chunk.js → 10.5548eab7.chunk.js} +2 -2
  8. package/build/static/js/{11.9b03ae00.chunk.js.map → 10.5548eab7.chunk.js.map} +1 -1
  9. package/build/static/js/{12.07f6dfbf.chunk.js → 11.5c58bd92.chunk.js} +2 -2
  10. package/build/static/js/{12.07f6dfbf.chunk.js.map → 11.5c58bd92.chunk.js.map} +1 -1
  11. package/build/static/js/{13.af8da627.chunk.js → 12.703b846d.chunk.js} +2 -2
  12. package/build/static/js/{13.af8da627.chunk.js.map → 12.703b846d.chunk.js.map} +1 -1
  13. package/build/static/js/{14.e42f0789.chunk.js → 13.e2bba628.chunk.js} +2 -2
  14. package/build/static/js/{14.e42f0789.chunk.js.map → 13.e2bba628.chunk.js.map} +1 -1
  15. package/build/static/js/14.95f5da64.chunk.js +2 -0
  16. package/build/static/js/14.95f5da64.chunk.js.map +1 -0
  17. package/build/static/js/{16.d2386b37.chunk.js → 15.f1290dcc.chunk.js} +2 -2
  18. package/build/static/js/{16.d2386b37.chunk.js.map → 15.f1290dcc.chunk.js.map} +1 -1
  19. package/build/static/js/4.03dcd345.chunk.js +3 -0
  20. package/build/static/js/{5.36556929.chunk.js.LICENSE.txt → 4.03dcd345.chunk.js.LICENSE.txt} +0 -0
  21. package/build/static/js/4.03dcd345.chunk.js.map +1 -0
  22. package/build/static/js/{7.1cc6c06d.chunk.js → 5.2ea912f0.chunk.js} +2 -2
  23. package/build/static/js/{7.1cc6c06d.chunk.js.map → 5.2ea912f0.chunk.js.map} +1 -1
  24. package/build/static/js/{2.89735343.chunk.js → 6.517fcd7a.chunk.js} +2 -2
  25. package/build/static/js/6.517fcd7a.chunk.js.map +1 -0
  26. package/build/static/js/{8.7d772a7e.chunk.js → 7.5a52b215.chunk.js} +2 -2
  27. package/build/static/js/{8.7d772a7e.chunk.js.map → 7.5a52b215.chunk.js.map} +1 -1
  28. package/build/static/js/{9.2b1ae3f1.chunk.js → 8.c57879b2.chunk.js} +2 -2
  29. package/build/static/js/{9.2b1ae3f1.chunk.js.map → 8.c57879b2.chunk.js.map} +1 -1
  30. package/build/static/js/9.8eb300f6.chunk.js +2 -0
  31. package/build/static/js/9.8eb300f6.chunk.js.map +1 -0
  32. package/build/static/js/main.33657a37.chunk.js +2 -0
  33. package/build/static/js/main.33657a37.chunk.js.map +1 -0
  34. package/build/static/js/runtime-main.35b56a39.js +2 -0
  35. package/build/static/js/runtime-main.35b56a39.js.map +1 -0
  36. package/package.json +7 -7
  37. package/build/static/js/0.b8a162a9.chunk.js +0 -2
  38. package/build/static/js/0.b8a162a9.chunk.js.map +0 -1
  39. package/build/static/js/1.c7a69c3d.chunk.js +0 -2
  40. package/build/static/js/1.c7a69c3d.chunk.js.map +0 -1
  41. package/build/static/js/10.11cb5892.chunk.js +0 -2
  42. package/build/static/js/10.11cb5892.chunk.js.map +0 -1
  43. package/build/static/js/15.15c6ee58.chunk.js +0 -2
  44. package/build/static/js/15.15c6ee58.chunk.js.map +0 -1
  45. package/build/static/js/2.89735343.chunk.js.map +0 -1
  46. package/build/static/js/5.36556929.chunk.js +0 -3
  47. package/build/static/js/5.36556929.chunk.js.map +0 -1
  48. package/build/static/js/6.9d7e4dda.chunk.js +0 -2
  49. package/build/static/js/6.9d7e4dda.chunk.js.map +0 -1
  50. package/build/static/js/main.b3b43245.chunk.js +0 -2
  51. package/build/static/js/main.b3b43245.chunk.js.map +0 -1
  52. package/build/static/js/runtime-main.82def290.js +0 -2
  53. package/build/static/js/runtime-main.82def290.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../node_modules/@uppy/companion-client/lib/index.js","../../../node_modules/@uppy/companion-client/lib/RequestClient.js","../../../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/get.js","../../../node_modules/@uppy/utils/lib/NetworkError.js","../../../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/superPropBase.js","../../../node_modules/@uppy/utils/lib/fetchWithNetworkError.js","../../../node_modules/@uppy/companion-client/lib/AuthError.js","../../../node_modules/@uppy/companion-client/lib/Provider.js","../../../node_modules/@uppy/companion-client/lib/tokenStorage.js","../../../node_modules/@uppy/companion-client/lib/SearchProvider.js","../../../node_modules/@uppy/companion-client/lib/Socket.js","../../../node_modules/@uppy/utils/lib/emitSocketProgress.js","../../../node_modules/@uppy/utils/lib/getSocketHost.js","../../../node_modules/@uppy/utils/lib/settle.js","../../../node_modules/@uppy/utils/lib/EventTracker.js","../../../node_modules/@uppy/utils/lib/isNetworkError.js","../../../node_modules/@uppy/utils/lib/RateLimitedQueue.js"],"names":["RequestClient","require","Provider","SearchProvider","Socket","module","exports","_class","_getPostResponseFunc","_getUrl","_errorHandler","_temp","_classPrivateFieldLooseBase","receiver","privateKey","Object","prototype","hasOwnProperty","call","TypeError","id","_classPrivateFieldLooseKey","name","fetchWithNetworkError","AuthError","handleJSONResponse","res","status","jsonPromise","json","errMsg","statusText","errData","message","requestId","Error","_getUrl2","url","test","this","hostname","_errorHandler2","method","path","err","_err","isAuthError","error","cause","Promise","reject","uppy","opts","defineProperty","value","writable","skip","response","onReceiveResponse","bind","allowedHeaders","preflightDone","companion","getState","host","companionUrl","replace","userHeaders","companionHeaders","resolve","defaultHeaders","headers","has","get","setState","slice","fetch","then","split","map","headerName","trim","toLowerCase","log","all","preflight","_ref","keys","forEach","header","includes","skipPostResponse","preflightAndHeaders","credentials","companionCookiesRule","data","body","JSON","stringify","VERSION","Accept","superPropBase","_get","target","property","Reflect","base","desc","getOwnPropertyDescriptor","NetworkError","xhr","isNetworkError","request","getPrototypeOf","object","arguments","tokenStorage","provider","s","charAt","toUpperCase","join","pluginId","tokenKey","companionKeysParams","preAuthToken","getAuthToken","token","authHeaders","btoa","params","plugin","getPlugin","authenticated","getPluginState","setPluginState","storage","setItem","getItem","queries","uppyPreAuthToken","URLSearchParams","post","directory","removeItem","_ref2","defaultOpts","type","files","serverUrl","serverPattern","companionAllowedHosts","pattern","Array","isArray","RegExp","URL","origin","key","localStorage","text","encodeURIComponent","_queued","_emitter","_isOpen","_socket","_handleMessage","ee","e","parse","emit","action","payload","console","autoOpen","open","WebSocket","onopen","length","first","shift","send","onclose","onmessage","_classPrivateFieldLoo","close","push","handler","on","once","Symbol","throttle","uploader","progressData","file","progress","bytesUploaded","bytesTotal","leading","trailing","exec","socketProtocol","promises","resolutions","rejections","resolved","rejected","promise","successful","failed","_events","emitter","event","fn","splice","off","readyState","createCancelError","_activeRequests","_queuedHandlers","_paused","_pauseTimer","_downLimit","_upperLimit","_rateLimitingTimer","_call","_queueNext","_next","_queue","_dequeue","_resume","_increaseLimit","RateLimitedQueue","limit","_dequeue2","_queue2","_next2","_queueNext2","_call2","resume","setTimeout","Math","ceil","i","floor","Infinity","queueOptions","_this","_len","args","_key","queuedRequest","outerPromise","run","cancelError","innerPromise","result","done","abort","clearTimeout","duration","pause","Number","isFinite","cancelActive","queueMicrotask","next","options","priority","index","findIndex","other","indexOf","internalRateLimitedQueue"],"mappings":"wIAKA,IAAMA,EAAgBC,EAAQ,KAExBC,EAAWD,EAAQ,KAEnBE,EAAiBF,EAAQ,KAEzBG,EAASH,EAAQ,KAEvBI,EAAOC,QAAU,CACfN,gBACAE,WACAC,iBACAC,W,qCCfEG,EAAQC,EAAsBC,EAASC,EAAeC,E,yDAE1D,SAASC,EAA4BC,EAAUC,GAAc,IAAKC,OAAOC,UAAUC,eAAeC,KAAKL,EAAUC,GAAe,MAAM,IAAIK,UAAU,kDAAqD,OAAON,EAEhN,IAAIO,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oL,GAAiBA,GAAiBzC,OAAxE,CAOA,IAAMwF,EAAO9P,EAA4B2B,KAAMoL,GAAiBA,GAAiBvC,QAE3EO,EAAU/K,EAA4B2B,KAAM0L,GAAOA,GAAOyC,EAAKrD,IAErEqD,EAAKR,MAAQvE,EAAQuE,MACrBQ,EAAKT,KAAOtE,EAAQsE,MAGtB,SAAStB,EAAQtB,EAAIsD,GAAS,gBACZ,IAAZA,IACFA,EAAU,IAGZ,IAAMhF,EAAU,CACd0B,KACAuD,SAAUD,EAAQC,UAAY,EAC9BV,MAAO,WACLtP,EAA4B,EAAMyN,GAAUA,GAAU1C,IAExDsE,KAAM,WACJ,MAAM,IAAI9N,MAAM,gEAId0O,EAAQjQ,EAA4B2B,KAAMoL,GAAiBA,GAAiBmD,WAAU,SAAAC,GAC1F,OAAOpF,EAAQiF,SAAWG,EAAMH,YASlC,OANe,IAAXC,EACFjQ,EAA4B2B,KAAMoL,GAAiBA,GAAiBjC,KAAKC,GAEzE/K,EAA4B2B,KAAMoL,GAAiBA,GAAiBL,OAAOuD,EAAO,EAAGlF,GAGhFA,EAGT,SAAS+C,EAAU/C,GACjB,IAAMkF,EAAQjQ,EAA4B2B,KAAMoL,GAAiBA,GAAiBqD,QAAQrF,IAE3E,IAAXkF,GACFjQ,EAA4B2B,KAAMoL,GAAiBA,GAAiBL,OAAOuD,EAAO,GAItFxQ,EAAOC,QAAU,CACfkO,mBACAyC,yBAA0BnF,OAAO","file":"static/js/1.8749f3d7.chunk.js","sourcesContent":["'use strict';\n/**\n * Manages communications with Companion\n */\n\nconst RequestClient = require('./RequestClient');\n\nconst Provider = require('./Provider');\n\nconst SearchProvider = require('./SearchProvider');\n\nconst Socket = require('./Socket');\n\nmodule.exports = {\n RequestClient,\n Provider,\n SearchProvider,\n Socket\n};","'use strict';\n\nvar _class, _getPostResponseFunc, _getUrl, _errorHandler, _temp;\n\nfunction _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError(\"attempted to use private field on non-instance\"); } return receiver; }\n\nvar id = 0;\n\nfunction _classPrivateFieldLooseKey(name) { return \"__private_\" + id++ + \"_\" + name; }\n\nconst fetchWithNetworkError = require('@uppy/utils/lib/fetchWithNetworkError');\n\nconst AuthError = require('./AuthError'); // Remove the trailing slash so we can always safely append /xyz.\n\n\nfunction stripSlash(url) {\n return url.replace(/\\/$/, '');\n}\n\nasync function handleJSONResponse(res) {\n if (res.status === 401) {\n throw new AuthError();\n }\n\n const jsonPromise = res.json();\n\n if (res.status < 200 || res.status > 300) {\n let errMsg = `Failed request with status: ${res.status}. ${res.statusText}`;\n\n try {\n const errData = await jsonPromise;\n errMsg = errData.message ? `${errMsg} message: ${errData.message}` : errMsg;\n errMsg = errData.requestId ? `${errMsg} request-Id: ${errData.requestId}` : errMsg;\n } finally {\n // eslint-disable-next-line no-unsafe-finally\n throw new Error(errMsg);\n }\n }\n\n return jsonPromise;\n}\n\nmodule.exports = (_temp = (_getPostResponseFunc = /*#__PURE__*/_classPrivateFieldLooseKey(\"getPostResponseFunc\"), _getUrl = /*#__PURE__*/_classPrivateFieldLooseKey(\"getUrl\"), _errorHandler = /*#__PURE__*/_classPrivateFieldLooseKey(\"errorHandler\"), _class = class RequestClient {\n // eslint-disable-next-line global-require\n constructor(uppy, opts) {\n Object.defineProperty(this, _errorHandler, {\n value: _errorHandler2\n });\n Object.defineProperty(this, _getUrl, {\n value: _getUrl2\n });\n Object.defineProperty(this, _getPostResponseFunc, {\n writable: true,\n value: skip => response => skip ? response : this.onReceiveResponse(response)\n });\n this.uppy = uppy;\n this.opts = opts;\n this.onReceiveResponse = this.onReceiveResponse.bind(this);\n this.allowedHeaders = ['accept', 'content-type', 'uppy-auth-token'];\n this.preflightDone = false;\n }\n\n get hostname() {\n const {\n companion\n } = this.uppy.getState();\n const host = this.opts.companionUrl;\n return stripSlash(companion && companion[host] ? companion[host] : host);\n }\n\n headers() {\n const userHeaders = this.opts.companionHeaders || {};\n return Promise.resolve({ ...RequestClient.defaultHeaders,\n ...userHeaders\n });\n }\n\n onReceiveResponse(response) {\n const state = this.uppy.getState();\n const companion = state.companion || {};\n const host = this.opts.companionUrl;\n const {\n headers\n } = response; // Store the self-identified domain name for the Companion instance we just hit.\n\n if (headers.has('i-am') && headers.get('i-am') !== companion[host]) {\n this.uppy.setState({\n companion: { ...companion,\n [host]: headers.get('i-am')\n }\n });\n }\n\n return response;\n }\n\n preflight(path) {\n if (this.preflightDone) {\n return Promise.resolve(this.allowedHeaders.slice());\n }\n\n return fetch(_classPrivateFieldLooseBase(this, _getUrl)[_getUrl](path), {\n method: 'OPTIONS'\n }).then(response => {\n if (response.headers.has('access-control-allow-headers')) {\n this.allowedHeaders = response.headers.get('access-control-allow-headers').split(',').map(headerName => headerName.trim().toLowerCase());\n }\n\n this.preflightDone = true;\n return this.allowedHeaders.slice();\n }).catch(err => {\n this.uppy.log(`[CompanionClient] unable to make preflight request ${err}`, 'warning');\n this.preflightDone = true;\n return this.allowedHeaders.slice();\n });\n }\n\n preflightAndHeaders(path) {\n return Promise.all([this.preflight(path), this.headers()]).then(_ref => {\n let [allowedHeaders, headers] = _ref;\n // filter to keep only allowed Headers\n Object.keys(headers).forEach(header => {\n if (!allowedHeaders.includes(header.toLowerCase())) {\n this.uppy.log(`[CompanionClient] excluding disallowed header ${header}`);\n delete headers[header]; // eslint-disable-line no-param-reassign\n }\n });\n return headers;\n });\n }\n\n get(path, skipPostResponse) {\n const method = 'get';\n return this.preflightAndHeaders(path).then(headers => fetchWithNetworkError(_classPrivateFieldLooseBase(this, _getUrl)[_getUrl](path), {\n method,\n headers,\n credentials: this.opts.companionCookiesRule || 'same-origin'\n })).then(_classPrivateFieldLooseBase(this, _getPostResponseFunc)[_getPostResponseFunc](skipPostResponse)).then(handleJSONResponse).catch(_classPrivateFieldLooseBase(this, _errorHandler)[_errorHandler](method, path));\n }\n\n post(path, data, skipPostResponse) {\n const method = 'post';\n return this.preflightAndHeaders(path).then(headers => fetchWithNetworkError(_classPrivateFieldLooseBase(this, _getUrl)[_getUrl](path), {\n method,\n headers,\n credentials: this.opts.companionCookiesRule || 'same-origin',\n body: JSON.stringify(data)\n })).then(_classPrivateFieldLooseBase(this, _getPostResponseFunc)[_getPostResponseFunc](skipPostResponse)).then(handleJSONResponse).catch(_classPrivateFieldLooseBase(this, _errorHandler)[_errorHandler](method, path));\n }\n\n delete(path, data, skipPostResponse) {\n const method = 'delete';\n return this.preflightAndHeaders(path).then(headers => fetchWithNetworkError(`${this.hostname}/${path}`, {\n method,\n headers,\n credentials: this.opts.companionCookiesRule || 'same-origin',\n body: data ? JSON.stringify(data) : null\n })).then(_classPrivateFieldLooseBase(this, _getPostResponseFunc)[_getPostResponseFunc](skipPostResponse)).then(handleJSONResponse).catch(_classPrivateFieldLooseBase(this, _errorHandler)[_errorHandler](method, path));\n }\n\n}), _class.VERSION = \"2.0.4\", _class.defaultHeaders = {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n 'Uppy-Versions': `@uppy/companion-client=${_class.VERSION}`\n}, _temp);\n\nfunction _getUrl2(url) {\n if (/^(https?:|)\\/\\//.test(url)) {\n return url;\n }\n\n return `${this.hostname}/${url}`;\n}\n\nfunction _errorHandler2(method, path) {\n return err => {\n var _err;\n\n if (!((_err = err) != null && _err.isAuthError)) {\n const error = new Error(`Could not ${method} ${_classPrivateFieldLooseBase(this, _getUrl)[_getUrl](path)}`);\n error.cause = err;\n err = error; // eslint-disable-line no-param-reassign\n }\n\n return Promise.reject(err);\n };\n}","var superPropBase = require(\"./superPropBase\");\n\nfunction _get(target, property, receiver) {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n module.exports = _get = Reflect.get;\n } else {\n module.exports = _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n\n if (desc.get) {\n return desc.get.call(receiver);\n }\n\n return desc.value;\n };\n }\n\n return _get(target, property, receiver || target);\n}\n\nmodule.exports = _get;","\"use strict\";\n\nclass NetworkError extends Error {\n constructor(error, xhr) {\n if (xhr === void 0) {\n xhr = null;\n }\n\n super(`This looks like a network error, the endpoint might be blocked by an internet provider or a firewall.`);\n this.cause = error;\n this.isNetworkError = true;\n this.request = xhr;\n }\n\n}\n\nmodule.exports = NetworkError;","var getPrototypeOf = require(\"./getPrototypeOf\");\n\nfunction _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n\n return object;\n}\n\nmodule.exports = _superPropBase;","\"use strict\";\n\nconst NetworkError = require('./NetworkError');\n/**\n * Wrapper around window.fetch that throws a NetworkError when appropriate\n */\n\n\nmodule.exports = function fetchWithNetworkError() {\n return fetch(...arguments).catch(err => {\n if (err.name === 'AbortError') {\n throw err;\n } else {\n throw new NetworkError(err);\n }\n });\n};","'use strict';\n\nclass AuthError extends Error {\n constructor() {\n super('Authorization required');\n this.name = 'AuthError';\n this.isAuthError = true;\n }\n\n}\n\nmodule.exports = AuthError;","'use strict';\n\nconst RequestClient = require('./RequestClient');\n\nconst tokenStorage = require('./tokenStorage');\n\nconst getName = id => {\n return id.split('-').map(s => s.charAt(0).toUpperCase() + s.slice(1)).join(' ');\n};\n\nmodule.exports = class Provider extends RequestClient {\n constructor(uppy, opts) {\n super(uppy, opts);\n this.provider = opts.provider;\n this.id = this.provider;\n this.name = this.opts.name || getName(this.id);\n this.pluginId = this.opts.pluginId;\n this.tokenKey = `companion-${this.pluginId}-auth-token`;\n this.companionKeysParams = this.opts.companionKeysParams;\n this.preAuthToken = null;\n }\n\n headers() {\n return Promise.all([super.headers(), this.getAuthToken()]).then(_ref => {\n let [headers, token] = _ref;\n const authHeaders = {};\n\n if (token) {\n authHeaders['uppy-auth-token'] = token;\n }\n\n if (this.companionKeysParams) {\n authHeaders['uppy-credentials-params'] = btoa(JSON.stringify({\n params: this.companionKeysParams\n }));\n }\n\n return { ...headers,\n ...authHeaders\n };\n });\n }\n\n onReceiveResponse(response) {\n response = super.onReceiveResponse(response);\n const plugin = this.uppy.getPlugin(this.pluginId);\n const oldAuthenticated = plugin.getPluginState().authenticated;\n const authenticated = oldAuthenticated ? response.status !== 401 : response.status < 400;\n plugin.setPluginState({\n authenticated\n });\n return response;\n }\n\n setAuthToken(token) {\n return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey, token);\n }\n\n getAuthToken() {\n return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey);\n }\n\n authUrl(queries) {\n if (queries === void 0) {\n queries = {};\n }\n\n if (this.preAuthToken) {\n queries.uppyPreAuthToken = this.preAuthToken;\n }\n\n return `${this.hostname}/${this.id}/connect?${new URLSearchParams(queries)}`;\n }\n\n fileUrl(id) {\n return `${this.hostname}/${this.id}/get/${id}`;\n }\n\n fetchPreAuthToken() {\n if (!this.companionKeysParams) {\n return Promise.resolve();\n }\n\n return this.post(`${this.id}/preauth/`, {\n params: this.companionKeysParams\n }).then(res => {\n this.preAuthToken = res.token;\n }).catch(err => {\n this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${err}`, 'warning');\n });\n }\n\n list(directory) {\n return this.get(`${this.id}/list/${directory || ''}`);\n }\n\n logout() {\n return this.get(`${this.id}/logout`).then(response => Promise.all([response, this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(_ref2 => {\n let [response] = _ref2;\n return response;\n });\n }\n\n static initPlugin(plugin, opts, defaultOpts) {\n plugin.type = 'acquirer';\n plugin.files = [];\n\n if (defaultOpts) {\n plugin.opts = { ...defaultOpts,\n ...opts\n };\n }\n\n if (opts.serverUrl || opts.serverPattern) {\n throw new Error('`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`');\n }\n\n if (opts.companionAllowedHosts) {\n const pattern = opts.companionAllowedHosts; // validate companionAllowedHosts param\n\n if (typeof pattern !== 'string' && !Array.isArray(pattern) && !(pattern instanceof RegExp)) {\n throw new TypeError(`${plugin.id}: the option \"companionAllowedHosts\" must be one of string, Array, RegExp`);\n }\n\n plugin.opts.companionAllowedHosts = pattern;\n } else if (/^(?!https?:\\/\\/).*$/i.test(opts.companionUrl)) {\n // does not start with https://\n plugin.opts.companionAllowedHosts = `https://${opts.companionUrl.replace(/^\\/\\//, '')}`;\n } else {\n plugin.opts.companionAllowedHosts = new URL(opts.companionUrl).origin;\n }\n\n plugin.storage = plugin.opts.storage || tokenStorage;\n }\n\n};","'use strict';\n/**\n * This module serves as an Async wrapper for LocalStorage\n */\n\nmodule.exports.setItem = (key, value) => {\n return new Promise(resolve => {\n localStorage.setItem(key, value);\n resolve();\n });\n};\n\nmodule.exports.getItem = key => {\n return Promise.resolve(localStorage.getItem(key));\n};\n\nmodule.exports.removeItem = key => {\n return new Promise(resolve => {\n localStorage.removeItem(key);\n resolve();\n });\n};","'use strict';\n\nconst RequestClient = require('./RequestClient');\n\nconst getName = id => {\n return id.split('-').map(s => s.charAt(0).toUpperCase() + s.slice(1)).join(' ');\n};\n\nmodule.exports = class SearchProvider extends RequestClient {\n constructor(uppy, opts) {\n super(uppy, opts);\n this.provider = opts.provider;\n this.id = this.provider;\n this.name = this.opts.name || getName(this.id);\n this.pluginId = this.opts.pluginId;\n }\n\n fileUrl(id) {\n return `${this.hostname}/search/${this.id}/get/${id}`;\n }\n\n search(text, queries) {\n queries = queries ? `&${queries}` : '';\n return this.get(`search/${this.id}/list?q=${encodeURIComponent(text)}${queries}`);\n }\n\n};","\"use strict\";\n\nvar _queued, _emitter, _isOpen, _socket, _handleMessage;\n\nlet _Symbol$for, _Symbol$for2;\n\nfunction _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError(\"attempted to use private field on non-instance\"); } return receiver; }\n\nvar id = 0;\n\nfunction _classPrivateFieldLooseKey(name) { return \"__private_\" + id++ + \"_\" + name; }\n\nconst ee = require('namespace-emitter');\n\nmodule.exports = (_queued = /*#__PURE__*/_classPrivateFieldLooseKey(\"queued\"), _emitter = /*#__PURE__*/_classPrivateFieldLooseKey(\"emitter\"), _isOpen = /*#__PURE__*/_classPrivateFieldLooseKey(\"isOpen\"), _socket = /*#__PURE__*/_classPrivateFieldLooseKey(\"socket\"), _handleMessage = /*#__PURE__*/_classPrivateFieldLooseKey(\"handleMessage\"), _Symbol$for = Symbol.for('uppy test: getSocket'), _Symbol$for2 = Symbol.for('uppy test: getQueued'), class UppySocket {\n constructor(opts) {\n Object.defineProperty(this, _queued, {\n writable: true,\n value: []\n });\n Object.defineProperty(this, _emitter, {\n writable: true,\n value: ee()\n });\n Object.defineProperty(this, _isOpen, {\n writable: true,\n value: false\n });\n Object.defineProperty(this, _socket, {\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, _handleMessage, {\n writable: true,\n value: e => {\n try {\n const message = JSON.parse(e.data);\n this.emit(message.action, message.payload);\n } catch (err) {\n // TODO: use a more robust error handler.\n console.log(err); // eslint-disable-line no-console\n }\n }\n });\n this.opts = opts;\n\n if (!opts || opts.autoOpen !== false) {\n this.open();\n }\n }\n\n get isOpen() {\n return _classPrivateFieldLooseBase(this, _isOpen)[_isOpen];\n }\n\n [_Symbol$for]() {\n return _classPrivateFieldLooseBase(this, _socket)[_socket];\n }\n\n [_Symbol$for2]() {\n return _classPrivateFieldLooseBase(this, _queued)[_queued];\n }\n\n open() {\n _classPrivateFieldLooseBase(this, _socket)[_socket] = new WebSocket(this.opts.target);\n\n _classPrivateFieldLooseBase(this, _socket)[_socket].onopen = () => {\n _classPrivateFieldLooseBase(this, _isOpen)[_isOpen] = true;\n\n while (_classPrivateFieldLooseBase(this, _queued)[_queued].length > 0 && _classPrivateFieldLooseBase(this, _isOpen)[_isOpen]) {\n const first = _classPrivateFieldLooseBase(this, _queued)[_queued].shift();\n\n this.send(first.action, first.payload);\n }\n };\n\n _classPrivateFieldLooseBase(this, _socket)[_socket].onclose = () => {\n _classPrivateFieldLooseBase(this, _isOpen)[_isOpen] = false;\n };\n\n _classPrivateFieldLooseBase(this, _socket)[_socket].onmessage = _classPrivateFieldLooseBase(this, _handleMessage)[_handleMessage];\n }\n\n close() {\n var _classPrivateFieldLoo;\n\n (_classPrivateFieldLoo = _classPrivateFieldLooseBase(this, _socket)[_socket]) == null ? void 0 : _classPrivateFieldLoo.close();\n }\n\n send(action, payload) {\n // attach uuid\n if (!_classPrivateFieldLooseBase(this, _isOpen)[_isOpen]) {\n _classPrivateFieldLooseBase(this, _queued)[_queued].push({\n action,\n payload\n });\n\n return;\n }\n\n _classPrivateFieldLooseBase(this, _socket)[_socket].send(JSON.stringify({\n action,\n payload\n }));\n }\n\n on(action, handler) {\n _classPrivateFieldLooseBase(this, _emitter)[_emitter].on(action, handler);\n }\n\n emit(action, payload) {\n _classPrivateFieldLooseBase(this, _emitter)[_emitter].emit(action, payload);\n }\n\n once(action, handler) {\n _classPrivateFieldLooseBase(this, _emitter)[_emitter].once(action, handler);\n }\n\n});","\"use strict\";\n\nconst throttle = require('lodash.throttle');\n\nfunction emitSocketProgress(uploader, progressData, file) {\n const {\n progress,\n bytesUploaded,\n bytesTotal\n } = progressData;\n\n if (progress) {\n uploader.uppy.log(`Upload progress: ${progress}`);\n uploader.uppy.emit('upload-progress', file, {\n uploader,\n bytesUploaded,\n bytesTotal\n });\n }\n}\n\nmodule.exports = throttle(emitSocketProgress, 300, {\n leading: true,\n trailing: true\n});","\"use strict\";\n\nmodule.exports = function getSocketHost(url) {\n // get the host domain\n const regex = /^(?:https?:\\/\\/|\\/\\/)?(?:[^@\\n]+@)?(?:www\\.)?([^\\n]+)/i;\n const host = regex.exec(url)[1];\n const socketProtocol = /^http:\\/\\//i.test(url) ? 'ws' : 'wss';\n return `${socketProtocol}://${host}`;\n};","\"use strict\";\n\nmodule.exports = function settle(promises) {\n const resolutions = [];\n const rejections = [];\n\n function resolved(value) {\n resolutions.push(value);\n }\n\n function rejected(error) {\n rejections.push(error);\n }\n\n const wait = Promise.all(promises.map(promise => promise.then(resolved, rejected)));\n return wait.then(() => {\n return {\n successful: resolutions,\n failed: rejections\n };\n });\n};","\"use strict\";\n\nvar _emitter, _events;\n\nfunction _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError(\"attempted to use private field on non-instance\"); } return receiver; }\n\nvar id = 0;\n\nfunction _classPrivateFieldLooseKey(name) { return \"__private_\" + id++ + \"_\" + name; }\n\n/**\n * Create a wrapper around an event emitter with a `remove` method to remove\n * all events that were added using the wrapped emitter.\n */\nmodule.exports = (_emitter = /*#__PURE__*/_classPrivateFieldLooseKey(\"emitter\"), _events = /*#__PURE__*/_classPrivateFieldLooseKey(\"events\"), class EventTracker {\n constructor(emitter) {\n Object.defineProperty(this, _emitter, {\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, _events, {\n writable: true,\n value: []\n });\n _classPrivateFieldLooseBase(this, _emitter)[_emitter] = emitter;\n }\n\n on(event, fn) {\n _classPrivateFieldLooseBase(this, _events)[_events].push([event, fn]);\n\n return _classPrivateFieldLooseBase(this, _emitter)[_emitter].on(event, fn);\n }\n\n remove() {\n for (const [event, fn] of _classPrivateFieldLooseBase(this, _events)[_events].splice(0)) {\n _classPrivateFieldLooseBase(this, _emitter)[_emitter].off(event, fn);\n }\n }\n\n});","\"use strict\";\n\nfunction isNetworkError(xhr) {\n if (!xhr) {\n return false;\n }\n\n return xhr.readyState !== 0 && xhr.readyState !== 4 || xhr.status === 0;\n}\n\nmodule.exports = isNetworkError;","\"use strict\";\n\nfunction _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError(\"attempted to use private field on non-instance\"); } return receiver; }\n\nvar id = 0;\n\nfunction _classPrivateFieldLooseKey(name) { return \"__private_\" + id++ + \"_\" + name; }\n\nfunction createCancelError() {\n return new Error('Cancelled');\n}\n\nvar _activeRequests = /*#__PURE__*/_classPrivateFieldLooseKey(\"activeRequests\");\n\nvar _queuedHandlers = /*#__PURE__*/_classPrivateFieldLooseKey(\"queuedHandlers\");\n\nvar _paused = /*#__PURE__*/_classPrivateFieldLooseKey(\"paused\");\n\nvar _pauseTimer = /*#__PURE__*/_classPrivateFieldLooseKey(\"pauseTimer\");\n\nvar _downLimit = /*#__PURE__*/_classPrivateFieldLooseKey(\"downLimit\");\n\nvar _upperLimit = /*#__PURE__*/_classPrivateFieldLooseKey(\"upperLimit\");\n\nvar _rateLimitingTimer = /*#__PURE__*/_classPrivateFieldLooseKey(\"rateLimitingTimer\");\n\nvar _call = /*#__PURE__*/_classPrivateFieldLooseKey(\"call\");\n\nvar _queueNext = /*#__PURE__*/_classPrivateFieldLooseKey(\"queueNext\");\n\nvar _next = /*#__PURE__*/_classPrivateFieldLooseKey(\"next\");\n\nvar _queue = /*#__PURE__*/_classPrivateFieldLooseKey(\"queue\");\n\nvar _dequeue = /*#__PURE__*/_classPrivateFieldLooseKey(\"dequeue\");\n\nvar _resume = /*#__PURE__*/_classPrivateFieldLooseKey(\"resume\");\n\nvar _increaseLimit = /*#__PURE__*/_classPrivateFieldLooseKey(\"increaseLimit\");\n\nclass RateLimitedQueue {\n constructor(limit) {\n Object.defineProperty(this, _dequeue, {\n value: _dequeue2\n });\n Object.defineProperty(this, _queue, {\n value: _queue2\n });\n Object.defineProperty(this, _next, {\n value: _next2\n });\n Object.defineProperty(this, _queueNext, {\n value: _queueNext2\n });\n Object.defineProperty(this, _call, {\n value: _call2\n });\n Object.defineProperty(this, _activeRequests, {\n writable: true,\n value: 0\n });\n Object.defineProperty(this, _queuedHandlers, {\n writable: true,\n value: []\n });\n Object.defineProperty(this, _paused, {\n writable: true,\n value: false\n });\n Object.defineProperty(this, _pauseTimer, {\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, _downLimit, {\n writable: true,\n value: 1\n });\n Object.defineProperty(this, _upperLimit, {\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, _rateLimitingTimer, {\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, _resume, {\n writable: true,\n value: () => this.resume()\n });\n Object.defineProperty(this, _increaseLimit, {\n writable: true,\n value: () => {\n if (_classPrivateFieldLooseBase(this, _paused)[_paused]) {\n _classPrivateFieldLooseBase(this, _rateLimitingTimer)[_rateLimitingTimer] = setTimeout(_classPrivateFieldLooseBase(this, _increaseLimit)[_increaseLimit], 0);\n return;\n }\n\n _classPrivateFieldLooseBase(this, _downLimit)[_downLimit] = this.limit;\n this.limit = Math.ceil((_classPrivateFieldLooseBase(this, _upperLimit)[_upperLimit] + _classPrivateFieldLooseBase(this, _downLimit)[_downLimit]) / 2);\n\n for (let i = _classPrivateFieldLooseBase(this, _downLimit)[_downLimit]; i <= this.limit; i++) {\n _classPrivateFieldLooseBase(this, _queueNext)[_queueNext]();\n }\n\n if (_classPrivateFieldLooseBase(this, _upperLimit)[_upperLimit] - _classPrivateFieldLooseBase(this, _downLimit)[_downLimit] > 3) {\n _classPrivateFieldLooseBase(this, _rateLimitingTimer)[_rateLimitingTimer] = setTimeout(_classPrivateFieldLooseBase(this, _increaseLimit)[_increaseLimit], 2000);\n } else {\n _classPrivateFieldLooseBase(this, _downLimit)[_downLimit] = Math.floor(_classPrivateFieldLooseBase(this, _downLimit)[_downLimit] / 2);\n }\n }\n });\n\n if (typeof limit !== 'number' || limit === 0) {\n this.limit = Infinity;\n } else {\n this.limit = limit;\n }\n }\n\n run(fn, queueOptions) {\n if (!_classPrivateFieldLooseBase(this, _paused)[_paused] && _classPrivateFieldLooseBase(this, _activeRequests)[_activeRequests] < this.limit) {\n return _classPrivateFieldLooseBase(this, _call)[_call](fn);\n }\n\n return _classPrivateFieldLooseBase(this, _queue)[_queue](fn, queueOptions);\n }\n\n wrapPromiseFunction(fn, queueOptions) {\n var _this = this;\n\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n let queuedRequest;\n const outerPromise = new Promise((resolve, reject) => {\n queuedRequest = _this.run(() => {\n let cancelError;\n let innerPromise;\n\n try {\n innerPromise = Promise.resolve(fn(...args));\n } catch (err) {\n innerPromise = Promise.reject(err);\n }\n\n innerPromise.then(result => {\n if (cancelError) {\n reject(cancelError);\n } else {\n queuedRequest.done();\n resolve(result);\n }\n }, err => {\n if (cancelError) {\n reject(cancelError);\n } else {\n queuedRequest.done();\n reject(err);\n }\n });\n return () => {\n cancelError = createCancelError();\n };\n }, queueOptions);\n });\n\n outerPromise.abort = () => {\n queuedRequest.abort();\n };\n\n return outerPromise;\n };\n }\n\n resume() {\n _classPrivateFieldLooseBase(this, _paused)[_paused] = false;\n clearTimeout(_classPrivateFieldLooseBase(this, _pauseTimer)[_pauseTimer]);\n\n for (let i = 0; i < this.limit; i++) {\n _classPrivateFieldLooseBase(this, _queueNext)[_queueNext]();\n }\n }\n\n /**\n * Freezes the queue for a while or indefinitely.\n *\n * @param {number | null } [duration] Duration for the pause to happen, in milliseconds.\n * If omitted, the queue won't resume automatically.\n */\n pause(duration) {\n if (duration === void 0) {\n duration = null;\n }\n\n _classPrivateFieldLooseBase(this, _paused)[_paused] = true;\n clearTimeout(_classPrivateFieldLooseBase(this, _pauseTimer)[_pauseTimer]);\n\n if (duration != null) {\n _classPrivateFieldLooseBase(this, _pauseTimer)[_pauseTimer] = setTimeout(_classPrivateFieldLooseBase(this, _resume)[_resume], duration);\n }\n }\n /**\n * Pauses the queue for a duration, and lower the limit of concurrent requests\n * when the queue resumes. When the queue resumes, it tries to progressively\n * increase the limit in `this.#increaseLimit` until another call is made to\n * `this.rateLimit`.\n * Call this function when using the RateLimitedQueue for network requests and\n * the remote server responds with 429 HTTP code.\n *\n * @param {number} duration in milliseconds.\n */\n\n\n rateLimit(duration) {\n clearTimeout(_classPrivateFieldLooseBase(this, _rateLimitingTimer)[_rateLimitingTimer]);\n this.pause(duration);\n\n if (this.limit > 1 && Number.isFinite(this.limit)) {\n _classPrivateFieldLooseBase(this, _upperLimit)[_upperLimit] = this.limit - 1;\n this.limit = _classPrivateFieldLooseBase(this, _downLimit)[_downLimit];\n _classPrivateFieldLooseBase(this, _rateLimitingTimer)[_rateLimitingTimer] = setTimeout(_classPrivateFieldLooseBase(this, _increaseLimit)[_increaseLimit], duration);\n }\n }\n\n get isPaused() {\n return _classPrivateFieldLooseBase(this, _paused)[_paused];\n }\n\n}\n\nfunction _call2(fn) {\n _classPrivateFieldLooseBase(this, _activeRequests)[_activeRequests] += 1;\n let done = false;\n let cancelActive;\n\n try {\n cancelActive = fn();\n } catch (err) {\n _classPrivateFieldLooseBase(this, _activeRequests)[_activeRequests] -= 1;\n throw err;\n }\n\n return {\n abort: () => {\n if (done) return;\n done = true;\n _classPrivateFieldLooseBase(this, _activeRequests)[_activeRequests] -= 1;\n cancelActive();\n\n _classPrivateFieldLooseBase(this, _queueNext)[_queueNext]();\n },\n done: () => {\n if (done) return;\n done = true;\n _classPrivateFieldLooseBase(this, _activeRequests)[_activeRequests] -= 1;\n\n _classPrivateFieldLooseBase(this, _queueNext)[_queueNext]();\n }\n };\n}\n\nfunction _queueNext2() {\n // Do it soon but not immediately, this allows clearing out the entire queue synchronously\n // one by one without continuously _advancing_ it (and starting new tasks before immediately\n // aborting them)\n queueMicrotask(() => _classPrivateFieldLooseBase(this, _next)[_next]());\n}\n\nfunction _next2() {\n if (_classPrivateFieldLooseBase(this, _paused)[_paused] || _classPrivateFieldLooseBase(this, _activeRequests)[_activeRequests] >= this.limit) {\n return;\n }\n\n if (_classPrivateFieldLooseBase(this, _queuedHandlers)[_queuedHandlers].length === 0) {\n return;\n } // Dispatch the next request, and update the abort/done handlers\n // so that cancelling it does the Right Thing (and doesn't just try\n // to dequeue an already-running request).\n\n\n const next = _classPrivateFieldLooseBase(this, _queuedHandlers)[_queuedHandlers].shift();\n\n const handler = _classPrivateFieldLooseBase(this, _call)[_call](next.fn);\n\n next.abort = handler.abort;\n next.done = handler.done;\n}\n\nfunction _queue2(fn, options) {\n if (options === void 0) {\n options = {};\n }\n\n const handler = {\n fn,\n priority: options.priority || 0,\n abort: () => {\n _classPrivateFieldLooseBase(this, _dequeue)[_dequeue](handler);\n },\n done: () => {\n throw new Error('Cannot mark a queued request as done: this indicates a bug');\n }\n };\n\n const index = _classPrivateFieldLooseBase(this, _queuedHandlers)[_queuedHandlers].findIndex(other => {\n return handler.priority > other.priority;\n });\n\n if (index === -1) {\n _classPrivateFieldLooseBase(this, _queuedHandlers)[_queuedHandlers].push(handler);\n } else {\n _classPrivateFieldLooseBase(this, _queuedHandlers)[_queuedHandlers].splice(index, 0, handler);\n }\n\n return handler;\n}\n\nfunction _dequeue2(handler) {\n const index = _classPrivateFieldLooseBase(this, _queuedHandlers)[_queuedHandlers].indexOf(handler);\n\n if (index !== -1) {\n _classPrivateFieldLooseBase(this, _queuedHandlers)[_queuedHandlers].splice(index, 1);\n }\n}\n\nmodule.exports = {\n RateLimitedQueue,\n internalRateLimitedQueue: Symbol('__queue')\n};"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (this["webpackJsonp@micromag/viewer-build"]=this["webpackJsonp@micromag/viewer-build"]||[]).push([[11],{534:function(e,i,n){"use strict";e.exports={strings:{pluginNameFacebook:"Facebook"}}},545:function(e,i,n){"use strict";var t,o,r=n(19),s=n(20),l=n(56),a=n(24),u=n(25),c=n(53).UIPlugin,h=n(452).Provider,d=n(462).ProviderViews,p=n(17).h,v=n(534);e.exports=(o=t=function(e){a(n,e);var i=u(n);function n(e,t){var o;return r(this,n),(o=i.call(this,e,t)).id=o.opts.id||"Facebook",h.initPlugin(l(o),t),o.title=o.opts.title||"Facebook",o.icon=function(){return p("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},p("g",{fill:"none",fillRule:"evenodd"},p("rect",{className:"uppy-ProviderIconBg",width:"32",height:"32",rx:"16",fill:"#3C5A99"}),p("path",{d:"M17.842 26v-8.667h2.653l.398-3.377h-3.051v-2.157c0-.978.248-1.644 1.527-1.644H21V7.132A19.914 19.914 0 0 0 18.623 7c-2.352 0-3.963 1.574-3.963 4.465v2.49H12v3.378h2.66V26h3.182z",fill:"#FFF",fillRule:"nonzero"})))},o.provider=new h(e,{companionUrl:o.opts.companionUrl,companionHeaders:o.opts.companionHeaders,companionKeysParams:o.opts.companionKeysParams,companionCookiesRule:o.opts.companionCookiesRule,provider:"facebook",pluginId:o.id}),o.defaultLocale=v,o.i18nInit(),o.title=o.i18n("pluginNameFacebook"),o.onFirstRender=o.onFirstRender.bind(l(o)),o.render=o.render.bind(l(o)),o}return s(n,[{key:"install",value:function(){this.view=new d(this,{provider:this.provider});var e=this.opts.target;e&&this.mount(e,this)}},{key:"uninstall",value:function(){this.view.tearDown(),this.unmount()}},{key:"onFirstRender",value:function(){return Promise.all([this.provider.fetchPreAuthToken(),this.view.getFolder()])}},{key:"render",value:function(e){var i={};return this.getPluginState().files.length&&!this.getPluginState().folders.length&&(i.viewType="grid",i.showFilter=!1,i.showTitles=!1),this.view.render(e,i)}}]),n}(c),t.VERSION="2.0.5",o)}}]);
2
- //# sourceMappingURL=11.9b03ae00.chunk.js.map
1
+ (this["webpackJsonp@micromag/viewer-build"]=this["webpackJsonp@micromag/viewer-build"]||[]).push([[10],{519:function(e,i,n){"use strict";e.exports={strings:{pluginNameFacebook:"Facebook"}}},529:function(e,i,n){"use strict";var t,o,r=n(19),s=n(20),l=n(56),a=n(24),u=n(25),c=n(53).UIPlugin,h=n(457).Provider,d=n(462).ProviderViews,p=n(17).h,v=n(519);e.exports=(o=t=function(e){a(n,e);var i=u(n);function n(e,t){var o;return r(this,n),(o=i.call(this,e,t)).id=o.opts.id||"Facebook",h.initPlugin(l(o),t),o.title=o.opts.title||"Facebook",o.icon=function(){return p("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},p("g",{fill:"none",fillRule:"evenodd"},p("rect",{className:"uppy-ProviderIconBg",width:"32",height:"32",rx:"16",fill:"#3C5A99"}),p("path",{d:"M17.842 26v-8.667h2.653l.398-3.377h-3.051v-2.157c0-.978.248-1.644 1.527-1.644H21V7.132A19.914 19.914 0 0 0 18.623 7c-2.352 0-3.963 1.574-3.963 4.465v2.49H12v3.378h2.66V26h3.182z",fill:"#FFF",fillRule:"nonzero"})))},o.provider=new h(e,{companionUrl:o.opts.companionUrl,companionHeaders:o.opts.companionHeaders,companionKeysParams:o.opts.companionKeysParams,companionCookiesRule:o.opts.companionCookiesRule,provider:"facebook",pluginId:o.id}),o.defaultLocale=v,o.i18nInit(),o.title=o.i18n("pluginNameFacebook"),o.onFirstRender=o.onFirstRender.bind(l(o)),o.render=o.render.bind(l(o)),o}return s(n,[{key:"install",value:function(){this.view=new d(this,{provider:this.provider});var e=this.opts.target;e&&this.mount(e,this)}},{key:"uninstall",value:function(){this.view.tearDown(),this.unmount()}},{key:"onFirstRender",value:function(){return Promise.all([this.provider.fetchPreAuthToken(),this.view.getFolder()])}},{key:"render",value:function(e){var i={};return this.getPluginState().files.length&&!this.getPluginState().folders.length&&(i.viewType="grid",i.showFilter=!1,i.showTitles=!1),this.view.render(e,i)}}]),n}(c),t.VERSION="2.0.5",o)}}]);
2
+ //# sourceMappingURL=10.5548eab7.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/@uppy/facebook/lib/locale.js","../../../node_modules/@uppy/facebook/lib/index.js"],"names":["module","exports","strings","pluginNameFacebook","_class","_temp","UIPlugin","require","Provider","ProviderViews","h","locale","uppy","opts","id","initPlugin","title","icon","focusable","width","height","viewBox","fill","fillRule","className","rx","d","provider","companionUrl","companionHeaders","companionKeysParams","companionCookiesRule","pluginId","defaultLocale","i18nInit","i18n","onFirstRender","bind","render","this","view","target","mount","tearDown","unmount","Promise","all","fetchPreAuthToken","getFolder","state","viewOptions","getPluginState","files","length","folders","viewType","showFilter","showTitles","VERSION"],"mappings":"yIAEAA,EAAOC,QAAU,CACfC,QAAS,CACPC,mBAAoB,c,qCCFpBC,EAAQC,E,wC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KZ,SAASoB,oBAAqBR,KAAKC,KAAKQ,gBA9DrC,oBAiE9B,SAAOC,GACL,IAAMC,EAAc,GAQpB,OANIX,KAAKY,iBAAiBC,MAAMC,SAAWd,KAAKY,iBAAiBG,QAAQD,SACvEH,EAAYK,SAAW,OACvBL,EAAYM,YAAa,EACzBN,EAAYO,YAAa,GAGpBlB,KAAKC,KAAKF,OAAOW,EAAOC,OA1EH,GAA0B5C,GA6EvDF,EAAOsD,QAAU,QAASrD","file":"static/js/11.9b03ae00.chunk.js","sourcesContent":["\"use strict\";\n\nmodule.exports = {\n strings: {\n pluginNameFacebook: 'Facebook'\n }\n};","\"use strict\";\n\nvar _class, _temp;\n\nconst {\n UIPlugin\n} = require('@uppy/core');\n\nconst {\n Provider\n} = require('@uppy/companion-client');\n\nconst {\n ProviderViews\n} = require('@uppy/provider-views');\n\nconst {\n h\n} = require('preact');\n\nconst locale = require('./locale.js');\n\nmodule.exports = (_temp = _class = class Facebook extends UIPlugin {\n constructor(uppy, opts) {\n super(uppy, opts);\n this.id = this.opts.id || 'Facebook';\n Provider.initPlugin(this, opts);\n this.title = this.opts.title || 'Facebook';\n\n this.icon = () => h(\"svg\", {\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n width: \"32\",\n height: \"32\",\n viewBox: \"0 0 32 32\"\n }, h(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\"\n }, h(\"rect\", {\n className: \"uppy-ProviderIconBg\",\n width: \"32\",\n height: \"32\",\n rx: \"16\",\n fill: \"#3C5A99\"\n }), h(\"path\", {\n d: \"M17.842 26v-8.667h2.653l.398-3.377h-3.051v-2.157c0-.978.248-1.644 1.527-1.644H21V7.132A19.914 19.914 0 0 0 18.623 7c-2.352 0-3.963 1.574-3.963 4.465v2.49H12v3.378h2.66V26h3.182z\",\n fill: \"#FFF\",\n fillRule: \"nonzero\"\n })));\n\n this.provider = new Provider(uppy, {\n companionUrl: this.opts.companionUrl,\n companionHeaders: this.opts.companionHeaders,\n companionKeysParams: this.opts.companionKeysParams,\n companionCookiesRule: this.opts.companionCookiesRule,\n provider: 'facebook',\n pluginId: this.id\n });\n this.defaultLocale = locale;\n this.i18nInit();\n this.title = this.i18n('pluginNameFacebook');\n this.onFirstRender = this.onFirstRender.bind(this);\n this.render = this.render.bind(this);\n }\n\n install() {\n this.view = new ProviderViews(this, {\n provider: this.provider\n });\n const {\n target\n } = this.opts;\n\n if (target) {\n this.mount(target, this);\n }\n }\n\n uninstall() {\n this.view.tearDown();\n this.unmount();\n }\n\n onFirstRender() {\n return Promise.all([this.provider.fetchPreAuthToken(), this.view.getFolder()]);\n }\n\n render(state) {\n const viewOptions = {};\n\n if (this.getPluginState().files.length && !this.getPluginState().folders.length) {\n viewOptions.viewType = 'grid';\n viewOptions.showFilter = false;\n viewOptions.showTitles = false;\n }\n\n return this.view.render(state, viewOptions);\n }\n\n}, _class.VERSION = \"2.0.5\", _temp);"],"sourceRoot":""}
1
+ {"version":3,"sources":["../../../node_modules/@uppy/facebook/lib/locale.js","../../../node_modules/@uppy/facebook/lib/index.js"],"names":["module","exports","strings","pluginNameFacebook","_class","_temp","UIPlugin","require","Provider","ProviderViews","h","locale","uppy","opts","id","initPlugin","title","icon","focusable","width","height","viewBox","fill","fillRule","className","rx","d","provider","companionUrl","companionHeaders","companionKeysParams","companionCookiesRule","pluginId","defaultLocale","i18nInit","i18n","onFirstRender","bind","render","this","view","target","mount","tearDown","unmount","Promise","all","fetchPreAuthToken","getFolder","state","viewOptions","getPluginState","files","length","folders","viewType","showFilter","showTitles","VERSION"],"mappings":"yIAEAA,EAAOC,QAAU,CACfC,QAAS,CACPC,mBAAoB,c,qCCFpBC,EAAQC,E,wCAGVC,EACEC,EAAQ,IADVD,SAIAE,EACED,EAAQ,KADVC,SAIAC,EACEF,EAAQ,KADVE,cAIAC,EACEH,EAAQ,IADVG,EAGIC,EAASJ,EAAQ,KAEvBP,EAAOC,SAAWI,EAAQD,EAAM,8BAC9B,WAAYQ,EAAMC,GAAM,wBACt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N,EAAYO,YAAa,GAGpBlB,KAAKC,KAAKF,OAAOW,EAAOC,OA1EH,GAA0B5C,GA6EvDF,EAAOsD,QAAU,QAASrD","file":"static/js/10.5548eab7.chunk.js","sourcesContent":["\"use strict\";\n\nmodule.exports = {\n strings: {\n pluginNameFacebook: 'Facebook'\n }\n};","\"use strict\";\n\nvar _class, _temp;\n\nconst {\n UIPlugin\n} = require('@uppy/core');\n\nconst {\n Provider\n} = require('@uppy/companion-client');\n\nconst {\n ProviderViews\n} = require('@uppy/provider-views');\n\nconst {\n h\n} = require('preact');\n\nconst locale = require('./locale.js');\n\nmodule.exports = (_temp = _class = class Facebook extends UIPlugin {\n constructor(uppy, opts) {\n super(uppy, opts);\n this.id = this.opts.id || 'Facebook';\n Provider.initPlugin(this, opts);\n this.title = this.opts.title || 'Facebook';\n\n this.icon = () => h(\"svg\", {\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n width: \"32\",\n height: \"32\",\n viewBox: \"0 0 32 32\"\n }, h(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\"\n }, h(\"rect\", {\n className: \"uppy-ProviderIconBg\",\n width: \"32\",\n height: \"32\",\n rx: \"16\",\n fill: \"#3C5A99\"\n }), h(\"path\", {\n d: \"M17.842 26v-8.667h2.653l.398-3.377h-3.051v-2.157c0-.978.248-1.644 1.527-1.644H21V7.132A19.914 19.914 0 0 0 18.623 7c-2.352 0-3.963 1.574-3.963 4.465v2.49H12v3.378h2.66V26h3.182z\",\n fill: \"#FFF\",\n fillRule: \"nonzero\"\n })));\n\n this.provider = new Provider(uppy, {\n companionUrl: this.opts.companionUrl,\n companionHeaders: this.opts.companionHeaders,\n companionKeysParams: this.opts.companionKeysParams,\n companionCookiesRule: this.opts.companionCookiesRule,\n provider: 'facebook',\n pluginId: this.id\n });\n this.defaultLocale = locale;\n this.i18nInit();\n this.title = this.i18n('pluginNameFacebook');\n this.onFirstRender = this.onFirstRender.bind(this);\n this.render = this.render.bind(this);\n }\n\n install() {\n this.view = new ProviderViews(this, {\n provider: this.provider\n });\n const {\n target\n } = this.opts;\n\n if (target) {\n this.mount(target, this);\n }\n }\n\n uninstall() {\n this.view.tearDown();\n this.unmount();\n }\n\n onFirstRender() {\n return Promise.all([this.provider.fetchPreAuthToken(), this.view.getFolder()]);\n }\n\n render(state) {\n const viewOptions = {};\n\n if (this.getPluginState().files.length && !this.getPluginState().folders.length) {\n viewOptions.viewType = 'grid';\n viewOptions.showFilter = false;\n viewOptions.showTitles = false;\n }\n\n return this.view.render(state, viewOptions);\n }\n\n}, _class.VERSION = \"2.0.5\", _temp);"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (this["webpackJsonp@micromag/viewer-build"]=this["webpackJsonp@micromag/viewer-build"]||[]).push([[12],{535:function(e,i,n){"use strict";e.exports={strings:{pluginNameInstagram:"Instagram"}}},546:function(e,i,n){"use strict";var r,t,o=n(19),s=n(20),a=n(56),c=n(24),l=n(25),u=n(53).UIPlugin,d=n(452).Provider,p=n(462).ProviderViews,h=n(17).h,m=n(535);e.exports=(t=r=function(e){c(n,e);var i=l(n);function n(e,r){var t;return o(this,n),(t=i.call(this,e,r)).id=t.opts.id||"Instagram",d.initPlugin(a(t),r),t.icon=function(){return h("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},h("g",{fill:"none",fillRule:"evenodd"},h("rect",{className:"uppy-ProviderIconBg",fill:"#E1306C",width:"32",height:"32",rx:"16"}),h("path",{d:"M16 8.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.67.31.392.144.745.374 1.036.673.299.29.529.644.673 1.035.123.317.27.794.31 1.671.043.95.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671a2.98 2.98 0 0 1-1.708 1.708c-.317.123-.794.27-1.671.31-.95.043-1.234.053-3.637.053s-2.688-.01-3.637-.053c-.877-.04-1.354-.187-1.671-.31a2.788 2.788 0 0 1-1.035-.673 2.788 2.788 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.67.144-.392.374-.745.673-1.036.29-.299.644-.529 1.035-.673.317-.123.794-.27 1.671-.31.95-.043 1.234-.052 3.637-.052zM16 7c-2.444 0-2.75.01-3.71.054-.959.044-1.613.196-2.185.419-.6.225-1.145.58-1.594 1.038-.458.45-.813.993-1.039 1.594-.222.572-.374 1.226-.418 2.184C7.01 13.25 7 13.556 7 16s.01 2.75.054 3.71c.044.959.196 1.613.419 2.185.226.6.58 1.145 1.038 1.594.45.458.993.813 1.594 1.038.572.223 1.227.375 2.184.419.96.044 1.267.054 3.711.054s2.75-.01 3.71-.054c.959-.044 1.613-.196 2.185-.419a4.602 4.602 0 0 0 2.632-2.632c.223-.572.375-1.226.419-2.184.044-.96.054-1.267.054-3.711s-.01-2.75-.054-3.71c-.044-.959-.196-1.613-.419-2.185A4.412 4.412 0 0 0 23.49 8.51a4.412 4.412 0 0 0-1.594-1.039c-.572-.222-1.226-.374-2.184-.418C18.75 7.01 18.444 7 16 7zm0 4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zm0 7.421a2.921 2.921 0 1 1 0-5.842 2.921 2.921 0 0 1 0 5.842zm4.875-6.671a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25z",fill:"#FFF"})))},t.defaultLocale=m,t.i18nInit(),t.title=t.i18n("pluginNameInstagram"),t.provider=new d(e,{companionUrl:t.opts.companionUrl,companionHeaders:t.opts.companionHeaders,companionKeysParams:t.opts.companionKeysParams,companionCookiesRule:t.opts.companionCookiesRule,provider:"instagram",pluginId:t.id}),t.onFirstRender=t.onFirstRender.bind(a(t)),t.render=t.render.bind(a(t)),t}return s(n,[{key:"install",value:function(){this.view=new p(this,{provider:this.provider,viewType:"grid",showTitles:!1,showFilter:!1,showBreadcrumbs:!1});var e=this.opts.target;e&&this.mount(e,this)}},{key:"uninstall",value:function(){this.view.tearDown(),this.unmount()}},{key:"onFirstRender",value:function(){return Promise.all([this.provider.fetchPreAuthToken(),this.view.getFolder("recent")])}},{key:"render",value:function(e){return this.view.render(e)}}]),n}(u),r.VERSION="2.0.5",t)}}]);
2
- //# sourceMappingURL=12.07f6dfbf.chunk.js.map
1
+ (this["webpackJsonp@micromag/viewer-build"]=this["webpackJsonp@micromag/viewer-build"]||[]).push([[11],{520:function(e,i,n){"use strict";e.exports={strings:{pluginNameInstagram:"Instagram"}}},530:function(e,i,n){"use strict";var r,t,o=n(19),s=n(20),a=n(56),c=n(24),l=n(25),u=n(53).UIPlugin,d=n(457).Provider,p=n(462).ProviderViews,h=n(17).h,m=n(520);e.exports=(t=r=function(e){c(n,e);var i=l(n);function n(e,r){var t;return o(this,n),(t=i.call(this,e,r)).id=t.opts.id||"Instagram",d.initPlugin(a(t),r),t.icon=function(){return h("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},h("g",{fill:"none",fillRule:"evenodd"},h("rect",{className:"uppy-ProviderIconBg",fill:"#E1306C",width:"32",height:"32",rx:"16"}),h("path",{d:"M16 8.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.67.31.392.144.745.374 1.036.673.299.29.529.644.673 1.035.123.317.27.794.31 1.671.043.95.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671a2.98 2.98 0 0 1-1.708 1.708c-.317.123-.794.27-1.671.31-.95.043-1.234.053-3.637.053s-2.688-.01-3.637-.053c-.877-.04-1.354-.187-1.671-.31a2.788 2.788 0 0 1-1.035-.673 2.788 2.788 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.67.144-.392.374-.745.673-1.036.29-.299.644-.529 1.035-.673.317-.123.794-.27 1.671-.31.95-.043 1.234-.052 3.637-.052zM16 7c-2.444 0-2.75.01-3.71.054-.959.044-1.613.196-2.185.419-.6.225-1.145.58-1.594 1.038-.458.45-.813.993-1.039 1.594-.222.572-.374 1.226-.418 2.184C7.01 13.25 7 13.556 7 16s.01 2.75.054 3.71c.044.959.196 1.613.419 2.185.226.6.58 1.145 1.038 1.594.45.458.993.813 1.594 1.038.572.223 1.227.375 2.184.419.96.044 1.267.054 3.711.054s2.75-.01 3.71-.054c.959-.044 1.613-.196 2.185-.419a4.602 4.602 0 0 0 2.632-2.632c.223-.572.375-1.226.419-2.184.044-.96.054-1.267.054-3.711s-.01-2.75-.054-3.71c-.044-.959-.196-1.613-.419-2.185A4.412 4.412 0 0 0 23.49 8.51a4.412 4.412 0 0 0-1.594-1.039c-.572-.222-1.226-.374-2.184-.418C18.75 7.01 18.444 7 16 7zm0 4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zm0 7.421a2.921 2.921 0 1 1 0-5.842 2.921 2.921 0 0 1 0 5.842zm4.875-6.671a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25z",fill:"#FFF"})))},t.defaultLocale=m,t.i18nInit(),t.title=t.i18n("pluginNameInstagram"),t.provider=new d(e,{companionUrl:t.opts.companionUrl,companionHeaders:t.opts.companionHeaders,companionKeysParams:t.opts.companionKeysParams,companionCookiesRule:t.opts.companionCookiesRule,provider:"instagram",pluginId:t.id}),t.onFirstRender=t.onFirstRender.bind(a(t)),t.render=t.render.bind(a(t)),t}return s(n,[{key:"install",value:function(){this.view=new p(this,{provider:this.provider,viewType:"grid",showTitles:!1,showFilter:!1,showBreadcrumbs:!1});var e=this.opts.target;e&&this.mount(e,this)}},{key:"uninstall",value:function(){this.view.tearDown(),this.unmount()}},{key:"onFirstRender",value:function(){return Promise.all([this.provider.fetchPreAuthToken(),this.view.getFolder("recent")])}},{key:"render",value:function(e){return this.view.render(e)}}]),n}(u),r.VERSION="2.0.5",t)}}]);
2
+ //# sourceMappingURL=11.5c58bd92.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/@uppy/instagram/lib/locale.js","../../../node_modules/@uppy/instagram/lib/index.js"],"names":["module","exports","strings","pluginNameInstagram","_class","_temp","UIPlugin","require","Provider","ProviderViews","h","locale","uppy","opts","id","initPlugin","icon","focusable","width","height","viewBox","fill","fillRule","className","rx","d","defaultLocale","i18nInit","title","i18n","provider","companionUrl","companionHeaders","companionKeysParams","companionCookiesRule","pluginId","onFirstRender","bind","render","this","view","viewType","showTitles","showFilter","showBreadcrumbs","target","mount","tearDown","unmount","Promise","all","fetchPreAuthToken","getFolder","state","VERSION"],"mappings":"yIAEAA,EAAOC,QAAU,CACfC,QAAS,CACPC,oBAAqB,e,qCCFrBC,EAAQC,E,wCAGVC,EACEC,EAAQ,IADVD,SAIAE,EACED,EAAQ,KADVC,SAIAC,EACEF,EAAQ,KADVE,cAIAC,EACEH,EAAQ,IADVG,EAGIC,EAASJ,EAAQ,KAEvBP,EAAOC,SAAWI,EAAQD,EAAM,8BAC9B,WAAYQ,EAAMC,GAAM,wBACtB,cAAMD,EAAMC,IACPC,GAAK,EAAKD,KAAKC,IAAM,YAC1BN,EAASO,WAAT,KAA0BF,GAE1B,EAAKG,KAAO,kBAAMN,EAAE,MAAO,CACzB,cAAe,OACfO,UAAW,QACXC,MAAO,KACPC,OAAQ,KACRC,QAAS,aACRV,EAAE,IAAK,CACRW,KAAM,OACNC,SAAU,WACTZ,EAAE,OAAQ,CACXa,UAAW,sBACXF,KAAM,UACNH,MAAO,KACPC,OAAQ,KACRK,GAAI,OACFd,EAAE,OAAQ,CACZe,EAAG,o6CACHJ,KAAM,YAGR,EAAKK,cAAgBf,EACrB,EAAKgB,WACL,EAAKC,MAAQ,EAAKC,KAAK,uBACvB,EAAKC,SAAW,IAAItB,EAASI,EAAM,CACjCmB,aAAc,EAAKlB,KAAKkB,aACxBC,iBAAkB,EAAKnB,KAAKmB,iBAC5BC,oBAAqB,EAAKpB,KAAKoB,oBAC/BC,qBAAsB,EAAKrB,KAAKqB,qBAChCJ,SAAU,YACVK,SAAU,EAAKrB,KAEjB,EAAKsB,cAAgB,EAAKA,cAAcC,KAAnB,MACrB,EAAKC,OAAS,EAAKA,OAAOD,KAAZ,MArCQ,EADM,iCAyC9B,WACEE,KAAKC,KAAO,IAAI/B,EAAc8B,KAAM,CAClCT,SAAUS,KAAKT,SACfW,SAAU,OACVC,YAAY,EACZC,YAAY,EACZC,iBAAiB,IAEnB,IACEC,EACEN,KAAK1B,KADPgC,OAGEA,GACFN,KAAKO,MAAMD,EAAQN,QAtDO,uBA0D9B,WACEA,KAAKC,KAAKO,WACVR,KAAKS,YA5DuB,2BA+D9B,WACE,OAAOC,QAAQC,IAAI,CAACX,KAAKT,SAASqB,oBAAqBZ,KAAKC,KAAKY,UAAU,cAhE/C,oBAmE9B,SAAOC,GACL,OAAOd,KAAKC,KAAKF,OAAOe,OApEI,GAA2B/C,GAuExDF,EAAOkD,QAAU,QAASjD","file":"static/js/12.07f6dfbf.chunk.js","sourcesContent":["\"use strict\";\n\nmodule.exports = {\n strings: {\n pluginNameInstagram: 'Instagram'\n }\n};","\"use strict\";\n\nvar _class, _temp;\n\nconst {\n UIPlugin\n} = require('@uppy/core');\n\nconst {\n Provider\n} = require('@uppy/companion-client');\n\nconst {\n ProviderViews\n} = require('@uppy/provider-views');\n\nconst {\n h\n} = require('preact');\n\nconst locale = require('./locale.js');\n\nmodule.exports = (_temp = _class = class Instagram extends UIPlugin {\n constructor(uppy, opts) {\n super(uppy, opts);\n this.id = this.opts.id || 'Instagram';\n Provider.initPlugin(this, opts);\n\n this.icon = () => h(\"svg\", {\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n width: \"32\",\n height: \"32\",\n viewBox: \"0 0 32 32\"\n }, h(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\"\n }, h(\"rect\", {\n className: \"uppy-ProviderIconBg\",\n fill: \"#E1306C\",\n width: \"32\",\n height: \"32\",\n rx: \"16\"\n }), h(\"path\", {\n d: \"M16 8.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.67.31.392.144.745.374 1.036.673.299.29.529.644.673 1.035.123.317.27.794.31 1.671.043.95.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671a2.98 2.98 0 0 1-1.708 1.708c-.317.123-.794.27-1.671.31-.95.043-1.234.053-3.637.053s-2.688-.01-3.637-.053c-.877-.04-1.354-.187-1.671-.31a2.788 2.788 0 0 1-1.035-.673 2.788 2.788 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.67.144-.392.374-.745.673-1.036.29-.299.644-.529 1.035-.673.317-.123.794-.27 1.671-.31.95-.043 1.234-.052 3.637-.052zM16 7c-2.444 0-2.75.01-3.71.054-.959.044-1.613.196-2.185.419-.6.225-1.145.58-1.594 1.038-.458.45-.813.993-1.039 1.594-.222.572-.374 1.226-.418 2.184C7.01 13.25 7 13.556 7 16s.01 2.75.054 3.71c.044.959.196 1.613.419 2.185.226.6.58 1.145 1.038 1.594.45.458.993.813 1.594 1.038.572.223 1.227.375 2.184.419.96.044 1.267.054 3.711.054s2.75-.01 3.71-.054c.959-.044 1.613-.196 2.185-.419a4.602 4.602 0 0 0 2.632-2.632c.223-.572.375-1.226.419-2.184.044-.96.054-1.267.054-3.711s-.01-2.75-.054-3.71c-.044-.959-.196-1.613-.419-2.185A4.412 4.412 0 0 0 23.49 8.51a4.412 4.412 0 0 0-1.594-1.039c-.572-.222-1.226-.374-2.184-.418C18.75 7.01 18.444 7 16 7zm0 4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zm0 7.421a2.921 2.921 0 1 1 0-5.842 2.921 2.921 0 0 1 0 5.842zm4.875-6.671a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25z\",\n fill: \"#FFF\"\n })));\n\n this.defaultLocale = locale;\n this.i18nInit();\n this.title = this.i18n('pluginNameInstagram');\n this.provider = new Provider(uppy, {\n companionUrl: this.opts.companionUrl,\n companionHeaders: this.opts.companionHeaders,\n companionKeysParams: this.opts.companionKeysParams,\n companionCookiesRule: this.opts.companionCookiesRule,\n provider: 'instagram',\n pluginId: this.id\n });\n this.onFirstRender = this.onFirstRender.bind(this);\n this.render = this.render.bind(this);\n }\n\n install() {\n this.view = new ProviderViews(this, {\n provider: this.provider,\n viewType: 'grid',\n showTitles: false,\n showFilter: false,\n showBreadcrumbs: false\n });\n const {\n target\n } = this.opts;\n\n if (target) {\n this.mount(target, this);\n }\n }\n\n uninstall() {\n this.view.tearDown();\n this.unmount();\n }\n\n onFirstRender() {\n return Promise.all([this.provider.fetchPreAuthToken(), this.view.getFolder('recent')]);\n }\n\n render(state) {\n return this.view.render(state);\n }\n\n}, _class.VERSION = \"2.0.5\", _temp);"],"sourceRoot":""}
1
+ {"version":3,"sources":["../../../node_modules/@uppy/instagram/lib/locale.js","../../../node_modules/@uppy/instagram/lib/index.js"],"names":["module","exports","strings","pluginNameInstagram","_class","_temp","UIPlugin","require","Provider","ProviderViews","h","locale","uppy","opts","id","initPlugin","icon","focusable","width","height","viewBox","fill","fillRule","className","rx","d","defaultLocale","i18nInit","title","i18n","provider","companionUrl","companionHeaders","companionKeysParams","companionCookiesRule","pluginId","onFirstRender","bind","render","this","view","viewType","showTitles","showFilter","showBreadcrumbs","target","mount","tearDown","unmount","Promise","all","fetchPreAuthToken","getFolder","state","VERSION"],"mappings":"yIAEAA,EAAOC,QAAU,CACfC,QAAS,CACPC,oBAAqB,e,qCCFrBC,EAAQC,E,wCAGVC,EACEC,EAAQ,IADVD,SAIAE,EACED,EAAQ,KADVC,SAIAC,EACEF,EAAQ,KADVE,cAIAC,EACEH,EAAQ,IADVG,EAGIC,EAASJ,EAAQ,KAEvBP,EAAOC,SAAWI,EAAQD,EAAM,8BAC9B,WAAYQ,EAAMC,GAAM,wBACtB,cAAMD,EAAMC,IACPC,GAAK,EAAKD,KAAKC,IAAM,YAC1BN,EAASO,WAAT,KAA0BF,GAE1B,EAAKG,KAAO,kBAAMN,EAAE,MAAO,CACzB,cAAe,OACfO,UAAW,QACXC,MAAO,KACPC,OAAQ,KACRC,QAAS,aACRV,EAAE,IAAK,CACRW,KAAM,OACNC,SAAU,WACTZ,EAAE,OAAQ,CACXa,UAAW,sBACXF,KAAM,UACNH,MAAO,KACPC,OAAQ,KACRK,GAAI,OACFd,EAAE,OAAQ,CACZe,EAAG,o6CACHJ,KAAM,YAGR,EAAKK,cAAgBf,EACrB,EAAKgB,WACL,EAAKC,MAAQ,EAAKC,KAAK,uBACvB,EAAKC,SAAW,IAAItB,EAASI,EAAM,CACjCmB,aAAc,EAAKlB,KAAKkB,aACxBC,iBAAkB,EAAKnB,KAAKmB,iBAC5BC,oBAAqB,EAAKpB,KAAKoB,oBAC/BC,qBAAsB,EAAKrB,KAAKqB,qBAChCJ,SAAU,YACVK,SAAU,EAAKrB,KAEjB,EAAKsB,cAAgB,EAAKA,cAAcC,KAAnB,MACrB,EAAKC,OAAS,EAAKA,OAAOD,KAAZ,MArCQ,EADM,iCAyC9B,WACEE,KAAKC,KAAO,IAAI/B,EAAc8B,KAAM,CAClCT,SAAUS,KAAKT,SACfW,SAAU,OACVC,YAAY,EACZC,YAAY,EACZC,iBAAiB,IAEnB,IACEC,EACEN,KAAK1B,KADPgC,OAGEA,GACFN,KAAKO,MAAMD,EAAQN,QAtDO,uBA0D9B,WACEA,KAAKC,KAAKO,WACVR,KAAKS,YA5DuB,2BA+D9B,WACE,OAAOC,QAAQC,IAAI,CAACX,KAAKT,SAASqB,oBAAqBZ,KAAKC,KAAKY,UAAU,cAhE/C,oBAmE9B,SAAOC,GACL,OAAOd,KAAKC,KAAKF,OAAOe,OApEI,GAA2B/C,GAuExDF,EAAOkD,QAAU,QAASjD","file":"static/js/11.5c58bd92.chunk.js","sourcesContent":["\"use strict\";\n\nmodule.exports = {\n strings: {\n pluginNameInstagram: 'Instagram'\n }\n};","\"use strict\";\n\nvar _class, _temp;\n\nconst {\n UIPlugin\n} = require('@uppy/core');\n\nconst {\n Provider\n} = require('@uppy/companion-client');\n\nconst {\n ProviderViews\n} = require('@uppy/provider-views');\n\nconst {\n h\n} = require('preact');\n\nconst locale = require('./locale.js');\n\nmodule.exports = (_temp = _class = class Instagram extends UIPlugin {\n constructor(uppy, opts) {\n super(uppy, opts);\n this.id = this.opts.id || 'Instagram';\n Provider.initPlugin(this, opts);\n\n this.icon = () => h(\"svg\", {\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n width: \"32\",\n height: \"32\",\n viewBox: \"0 0 32 32\"\n }, h(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\"\n }, h(\"rect\", {\n className: \"uppy-ProviderIconBg\",\n fill: \"#E1306C\",\n width: \"32\",\n height: \"32\",\n rx: \"16\"\n }), h(\"path\", {\n d: \"M16 8.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.67.31.392.144.745.374 1.036.673.299.29.529.644.673 1.035.123.317.27.794.31 1.671.043.95.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671a2.98 2.98 0 0 1-1.708 1.708c-.317.123-.794.27-1.671.31-.95.043-1.234.053-3.637.053s-2.688-.01-3.637-.053c-.877-.04-1.354-.187-1.671-.31a2.788 2.788 0 0 1-1.035-.673 2.788 2.788 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.67.144-.392.374-.745.673-1.036.29-.299.644-.529 1.035-.673.317-.123.794-.27 1.671-.31.95-.043 1.234-.052 3.637-.052zM16 7c-2.444 0-2.75.01-3.71.054-.959.044-1.613.196-2.185.419-.6.225-1.145.58-1.594 1.038-.458.45-.813.993-1.039 1.594-.222.572-.374 1.226-.418 2.184C7.01 13.25 7 13.556 7 16s.01 2.75.054 3.71c.044.959.196 1.613.419 2.185.226.6.58 1.145 1.038 1.594.45.458.993.813 1.594 1.038.572.223 1.227.375 2.184.419.96.044 1.267.054 3.711.054s2.75-.01 3.71-.054c.959-.044 1.613-.196 2.185-.419a4.602 4.602 0 0 0 2.632-2.632c.223-.572.375-1.226.419-2.184.044-.96.054-1.267.054-3.711s-.01-2.75-.054-3.71c-.044-.959-.196-1.613-.419-2.185A4.412 4.412 0 0 0 23.49 8.51a4.412 4.412 0 0 0-1.594-1.039c-.572-.222-1.226-.374-2.184-.418C18.75 7.01 18.444 7 16 7zm0 4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zm0 7.421a2.921 2.921 0 1 1 0-5.842 2.921 2.921 0 0 1 0 5.842zm4.875-6.671a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25z\",\n fill: \"#FFF\"\n })));\n\n this.defaultLocale = locale;\n this.i18nInit();\n this.title = this.i18n('pluginNameInstagram');\n this.provider = new Provider(uppy, {\n companionUrl: this.opts.companionUrl,\n companionHeaders: this.opts.companionHeaders,\n companionKeysParams: this.opts.companionKeysParams,\n companionCookiesRule: this.opts.companionCookiesRule,\n provider: 'instagram',\n pluginId: this.id\n });\n this.onFirstRender = this.onFirstRender.bind(this);\n this.render = this.render.bind(this);\n }\n\n install() {\n this.view = new ProviderViews(this, {\n provider: this.provider,\n viewType: 'grid',\n showTitles: false,\n showFilter: false,\n showBreadcrumbs: false\n });\n const {\n target\n } = this.opts;\n\n if (target) {\n this.mount(target, this);\n }\n }\n\n uninstall() {\n this.view.tearDown();\n this.unmount();\n }\n\n onFirstRender() {\n return Promise.all([this.provider.fetchPreAuthToken(), this.view.getFolder('recent')]);\n }\n\n render(state) {\n return this.view.render(state);\n }\n\n}, _class.VERSION = \"2.0.5\", _temp);"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (this["webpackJsonp@micromag/viewer-build"]=this["webpackJsonp@micromag/viewer-build"]||[]).push([[13],{541:function(e,o,i){"use strict";var r={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},addingMoreFiles:"Adding more files",addMore:"Add more",addMoreFiles:"Add more files",allFilesFromFolderNamed:"All files from folder %{name}",allowAccessDescription:"In order to take pictures or record video with your camera, please allow camera access for this site.",allowAccessTitle:"Please allow access to your camera",allowAudioAccessDescription:"In order to record audio, please allow microphone access for this site.",allowAudioAccessTitle:"Please allow access to your microphone",aspectRatioLandscape:"Crop landscape (16:9)",aspectRatioPortrait:"Crop portrait (9:16)",aspectRatioSquare:"Crop square",authAborted:"Authentication aborted",authenticateWith:"Connect to %{pluginName}",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",back:"Back",backToSearch:"Back to Search",browse:"browse",browseFiles:"browse files",browseFolders:"browse folders",cancel:"Cancel",cancelUpload:"Cancel upload",chooseFiles:"Choose files",closeModal:"Close Modal",companionError:"Connection with Companion failed",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",complete:"Complete",connectedToInternet:"Connected to the Internet",copyLink:"Copy link",copyLinkToClipboardFallback:"Copy the URL below",copyLinkToClipboardSuccess:"Link copied to clipboard.",creatingAssembly:"Preparing upload...",creatingAssemblyFailed:"Transloadit: Could not create Assembly",dashboardTitle:"Uppy Dashboard",dashboardWindowTitle:"Uppy Dashboard Window (Press escape to close)",dataUploadedOfTotal:"%{complete} of %{total}",discardRecordedFile:"Discard recorded file",done:"Done",dropHereOr:"Drop here or %{browse}",dropHint:"Drop your files here",dropPasteBoth:"Drop files here, %{browseFiles} or %{browseFolders}",dropPasteFiles:"Drop files here or %{browseFiles}",dropPasteFolders:"Drop files here or %{browseFolders}",dropPasteImportBoth:"Drop files here, %{browseFiles}, %{browseFolders} or import from:",dropPasteImportFiles:"Drop files here, %{browseFiles} or import from:",dropPasteImportFolders:"Drop files here, %{browseFolders} or import from:",editFile:"Edit file",editFileWithFilename:"Edit file %{file}",editing:"Editing %{file}",emptyFolderAdded:"No files were added from empty folder",encoding:"Encoding...",enterCorrectUrl:"Incorrect URL: Please make sure you are entering a direct link to a file",enterTextToSearch:"Enter text to search for images",enterUrlToImport:"Enter URL to import a file",exceedsSize:"%{file} exceeds maximum allowed size of %{size}",failedToFetch:"Companion failed to fetch this URL, please make sure it\u2019s correct",failedToUpload:"Failed to upload %{file}",filesUploadedOfTotal:{0:"%{complete} of %{smart_count} file uploaded",1:"%{complete} of %{smart_count} files uploaded"},filter:"Filter",finishEditingFile:"Finish editing file",flipHorizontal:"Flip horizontal",folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"},folderAlreadyAdded:'The folder "%{folder}" was already added',generatingThumbnails:"Generating thumbnails...",import:"Import",importFiles:"Import files from:",importFrom:"Import from %{name}",inferiorSize:"This file is smaller than the allowed size of %{size}",loading:"Loading...",logOut:"Log out",micDisabled:"Microphone access denied by user",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",missingRequiredMetaFields:{0:"Missing required meta field: %{fields}.",1:"Missing required meta fields: %{fields}."},myDevice:"My Device",noAudioDescription:"In order to record audio, please connect a microphone or another audio input device",noAudioTitle:"Microphone Not Available",noCameraDescription:"In order to take pictures or record video, please connect a camera device",noCameraTitle:"Camera Not Available",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",noFilesFound:"You have no files or folders here",noInternetConnection:"No Internet connection",noMoreFilesAllowed:"Cannot add more files",openFolderNamed:"Open folder %{name}",pause:"Pause",paused:"Paused",pauseUpload:"Pause upload",pluginNameAudio:"Audio",pluginNameBox:"Box",pluginNameCamera:"Camera",pluginNameDropbox:"Dropbox",pluginNameFacebook:"Facebook",pluginNameGoogleDrive:"Google Drive",pluginNameInstagram:"Instagram",pluginNameOneDrive:"OneDrive",pluginNameZoom:"Zoom",poweredBy:"Powered by %{uppy}",processingXFiles:{0:"Processing %{smart_count} file",1:"Processing %{smart_count} files"},recording:"Recording",recordingLength:"Recording length %{recording_length}",recordingStoppedMaxSize:"Recording stopped because the file size is about to exceed the limit",recoveredAllFiles:"We restored all files. You can now resume the upload.",recoveredXFiles:{0:"We could not fully recover 1 file. Please re-select it and resume the upload.",1:"We could not fully recover %{smart_count} files. Please re-select them and resume the upload."},removeFile:"Remove file",reSelect:"Re-select",resetFilter:"Reset filter",resume:"Resume",resumeUpload:"Resume upload",retry:"Retry",retryUpload:"Retry upload",revert:"Revert",rotate:"Rotate",save:"Save",saveChanges:"Save changes",searchImages:"Search for images",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},sessionRestored:"Session restored",showErrorDetails:"Show error details",signInWithGoogle:"Sign in with Google",smile:"Smile!",startAudioRecording:"Begin audio recording",startCapturing:"Begin screen capturing",startRecording:"Begin video recording",stopAudioRecording:"Stop audio recording",stopCapturing:"Stop screen capturing",stopRecording:"Stop video recording",streamActive:"Stream active",streamPassive:"Stream passive",submitRecordedFile:"Submit recorded file",takePicture:"Take a picture",timedOut:"Upload stalled for %{seconds} seconds, aborting.",upload:"Upload",uploadComplete:"Upload complete",uploadFailed:"Upload failed",uploading:"Uploading",uploadingXFiles:{0:"Uploading %{smart_count} file",1:"Uploading %{smart_count} files"},uploadPaused:"Upload paused",uploadXFiles:{0:"Upload %{smart_count} file",1:"Upload %{smart_count} files"},uploadXNewFiles:{0:"Upload +%{smart_count} file",1:"Upload +%{smart_count} files"},xFilesSelected:{0:"%{smart_count} file selected",1:"%{smart_count} files selected"},xMoreFilesAdded:{0:"%{smart_count} more file added",1:"%{smart_count} more files added"},xTimeLeft:"%{time} left",youCanOnlyUploadFileTypes:"You can only upload: %{types}",youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},zoomIn:"Zoom in",zoomOut:"Zoom out"},pluralize:function(e){return 1===e?0:1}};"undefined"!==typeof window&&"undefined"!==typeof window.Uppy&&(window.Uppy.locales.en_US=r),e.exports=r}}]);
2
- //# sourceMappingURL=13.af8da627.chunk.js.map
1
+ (this["webpackJsonp@micromag/viewer-build"]=this["webpackJsonp@micromag/viewer-build"]||[]).push([[12],{525:function(e,o,i){"use strict";var r={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},addingMoreFiles:"Adding more files",addMore:"Add more",addMoreFiles:"Add more files",allFilesFromFolderNamed:"All files from folder %{name}",allowAccessDescription:"In order to take pictures or record video with your camera, please allow camera access for this site.",allowAccessTitle:"Please allow access to your camera",allowAudioAccessDescription:"In order to record audio, please allow microphone access for this site.",allowAudioAccessTitle:"Please allow access to your microphone",aspectRatioLandscape:"Crop landscape (16:9)",aspectRatioPortrait:"Crop portrait (9:16)",aspectRatioSquare:"Crop square",authAborted:"Authentication aborted",authenticateWith:"Connect to %{pluginName}",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",back:"Back",backToSearch:"Back to Search",browse:"browse",browseFiles:"browse files",browseFolders:"browse folders",cancel:"Cancel",cancelUpload:"Cancel upload",chooseFiles:"Choose files",closeModal:"Close Modal",companionError:"Connection with Companion failed",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",complete:"Complete",connectedToInternet:"Connected to the Internet",copyLink:"Copy link",copyLinkToClipboardFallback:"Copy the URL below",copyLinkToClipboardSuccess:"Link copied to clipboard.",creatingAssembly:"Preparing upload...",creatingAssemblyFailed:"Transloadit: Could not create Assembly",dashboardTitle:"Uppy Dashboard",dashboardWindowTitle:"Uppy Dashboard Window (Press escape to close)",dataUploadedOfTotal:"%{complete} of %{total}",discardRecordedFile:"Discard recorded file",done:"Done",dropHereOr:"Drop here or %{browse}",dropHint:"Drop your files here",dropPasteBoth:"Drop files here, %{browseFiles} or %{browseFolders}",dropPasteFiles:"Drop files here or %{browseFiles}",dropPasteFolders:"Drop files here or %{browseFolders}",dropPasteImportBoth:"Drop files here, %{browseFiles}, %{browseFolders} or import from:",dropPasteImportFiles:"Drop files here, %{browseFiles} or import from:",dropPasteImportFolders:"Drop files here, %{browseFolders} or import from:",editFile:"Edit file",editFileWithFilename:"Edit file %{file}",editing:"Editing %{file}",emptyFolderAdded:"No files were added from empty folder",encoding:"Encoding...",enterCorrectUrl:"Incorrect URL: Please make sure you are entering a direct link to a file",enterTextToSearch:"Enter text to search for images",enterUrlToImport:"Enter URL to import a file",exceedsSize:"%{file} exceeds maximum allowed size of %{size}",failedToFetch:"Companion failed to fetch this URL, please make sure it\u2019s correct",failedToUpload:"Failed to upload %{file}",filesUploadedOfTotal:{0:"%{complete} of %{smart_count} file uploaded",1:"%{complete} of %{smart_count} files uploaded"},filter:"Filter",finishEditingFile:"Finish editing file",flipHorizontal:"Flip horizontal",folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"},folderAlreadyAdded:'The folder "%{folder}" was already added',generatingThumbnails:"Generating thumbnails...",import:"Import",importFiles:"Import files from:",importFrom:"Import from %{name}",inferiorSize:"This file is smaller than the allowed size of %{size}",loading:"Loading...",logOut:"Log out",micDisabled:"Microphone access denied by user",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",missingRequiredMetaFields:{0:"Missing required meta field: %{fields}.",1:"Missing required meta fields: %{fields}."},myDevice:"My Device",noAudioDescription:"In order to record audio, please connect a microphone or another audio input device",noAudioTitle:"Microphone Not Available",noCameraDescription:"In order to take pictures or record video, please connect a camera device",noCameraTitle:"Camera Not Available",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",noFilesFound:"You have no files or folders here",noInternetConnection:"No Internet connection",noMoreFilesAllowed:"Cannot add more files",openFolderNamed:"Open folder %{name}",pause:"Pause",paused:"Paused",pauseUpload:"Pause upload",pluginNameAudio:"Audio",pluginNameBox:"Box",pluginNameCamera:"Camera",pluginNameDropbox:"Dropbox",pluginNameFacebook:"Facebook",pluginNameGoogleDrive:"Google Drive",pluginNameInstagram:"Instagram",pluginNameOneDrive:"OneDrive",pluginNameZoom:"Zoom",poweredBy:"Powered by %{uppy}",processingXFiles:{0:"Processing %{smart_count} file",1:"Processing %{smart_count} files"},recording:"Recording",recordingLength:"Recording length %{recording_length}",recordingStoppedMaxSize:"Recording stopped because the file size is about to exceed the limit",recoveredAllFiles:"We restored all files. You can now resume the upload.",recoveredXFiles:{0:"We could not fully recover 1 file. Please re-select it and resume the upload.",1:"We could not fully recover %{smart_count} files. Please re-select them and resume the upload."},removeFile:"Remove file",reSelect:"Re-select",resetFilter:"Reset filter",resume:"Resume",resumeUpload:"Resume upload",retry:"Retry",retryUpload:"Retry upload",revert:"Revert",rotate:"Rotate",save:"Save",saveChanges:"Save changes",searchImages:"Search for images",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},sessionRestored:"Session restored",showErrorDetails:"Show error details",signInWithGoogle:"Sign in with Google",smile:"Smile!",startAudioRecording:"Begin audio recording",startCapturing:"Begin screen capturing",startRecording:"Begin video recording",stopAudioRecording:"Stop audio recording",stopCapturing:"Stop screen capturing",stopRecording:"Stop video recording",streamActive:"Stream active",streamPassive:"Stream passive",submitRecordedFile:"Submit recorded file",takePicture:"Take a picture",timedOut:"Upload stalled for %{seconds} seconds, aborting.",upload:"Upload",uploadComplete:"Upload complete",uploadFailed:"Upload failed",uploading:"Uploading",uploadingXFiles:{0:"Uploading %{smart_count} file",1:"Uploading %{smart_count} files"},uploadPaused:"Upload paused",uploadXFiles:{0:"Upload %{smart_count} file",1:"Upload %{smart_count} files"},uploadXNewFiles:{0:"Upload +%{smart_count} file",1:"Upload +%{smart_count} files"},xFilesSelected:{0:"%{smart_count} file selected",1:"%{smart_count} files selected"},xMoreFilesAdded:{0:"%{smart_count} more file added",1:"%{smart_count} more files added"},xTimeLeft:"%{time} left",youCanOnlyUploadFileTypes:"You can only upload: %{types}",youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},zoomIn:"Zoom in",zoomOut:"Zoom out"},pluralize:function(e){return 1===e?0:1}};"undefined"!==typeof window&&"undefined"!==typeof window.Uppy&&(window.Uppy.locales.en_US=r),e.exports=r}}]);
2
+ //# sourceMappingURL=12.703b846d.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/@uppy/locales/lib/en_US.js"],"names":["en_US","addBulkFilesFailed","addingMoreFiles","addMore","addMoreFiles","allFilesFromFolderNamed","allowAccessDescription","allowAccessTitle","allowAudioAccessDescription","allowAudioAccessTitle","aspectRatioLandscape","aspectRatioPortrait","aspectRatioSquare","authAborted","authenticateWith","authenticateWithTitle","back","backToSearch","browse","browseFiles","browseFolders","cancel","cancelUpload","chooseFiles","closeModal","companionError","companionUnauthorizeHint","complete","connectedToInternet","copyLink","copyLinkToClipboardFallback","copyLinkToClipboardSuccess","creatingAssembly","creatingAssemblyFailed","dashboardTitle","dashboardWindowTitle","dataUploadedOfTotal","discardRecordedFile","done","dropHereOr","dropHint","dropPasteBoth","dropPasteFiles","dropPasteFolders","dropPasteImportBoth","dropPasteImportFiles","dropPasteImportFolders","editFile","editFileWithFilename","editing","emptyFolderAdded","encoding","enterCorrectUrl","enterTextToSearch","enterUrlToImport","exceedsSize","failedToFetch","failedToUpload","filesUploadedOfTotal","filter","finishEditingFile","flipHorizontal","folderAdded","folderAlreadyAdded","generatingThumbnails","import","importFiles","importFrom","inferiorSize","loading","logOut","micDisabled","missingRequiredMetaField","missingRequiredMetaFieldOnFile","missingRequiredMetaFields","myDevice","noAudioDescription","noAudioTitle","noCameraDescription","noCameraTitle","noDuplicates","noFilesFound","noInternetConnection","noMoreFilesAllowed","openFolderNamed","pause","paused","pauseUpload","pluginNameAudio","pluginNameBox","pluginNameCamera","pluginNameDropbox","pluginNameFacebook","pluginNameGoogleDrive","pluginNameInstagram","pluginNameOneDrive","pluginNameZoom","poweredBy","processingXFiles","recording","recordingLength","recordingStoppedMaxSize","recoveredAllFiles","recoveredXFiles","removeFile","reSelect","resetFilter","resume","resumeUpload","retry","retryUpload","revert","rotate","save","saveChanges","searchImages","selectX","sessionRestored","showErrorDetails","signInWithGoogle","smile","startAudioRecording","startCapturing","startRecording","stopAudioRecording","stopCapturing","stopRecording","streamActive","streamPassive","submitRecordedFile","takePicture","timedOut","upload","uploadComplete","uploadFailed","uploading","uploadingXFiles","uploadPaused","uploadXFiles","uploadXNewFiles","xFilesSelected","xMoreFilesAdded","xTimeLeft","youCanOnlyUploadFileTypes","youCanOnlyUploadX","youHaveToAtLeastSelectX","zoomIn","zoomOut","count","window","Uppy","locales","module","exports"],"mappings":"yIAEA,IAAMA,EAAQ,CACdA,QAAgB,CACdC,mBAAoB,CAClB,EAAK,6DACL,EAAK,6DAEPC,gBAAiB,oBACjBC,QAAS,WACTC,aAAc,iBACdC,wBAAyB,gCACzBC,uBAAwB,wGACxBC,iBAAkB,qCAClBC,4BAA6B,0EAC7BC,sBAAuB,yCACvBC,qBAAsB,wBACtBC,oBAAqB,uBACrBC,kBAAmB,cACnBC,YAAa,yBACbC,iBAAkB,2BAClBC,sBAAuB,yDACvBC,KAAM,OACNC,aAAc,iBACdC,OAAQ,SACRC,YAAa,eACbC,cAAe,iBACfC,OAAQ,SACRC,aAAc,gBACdC,YAAa,eACbC,WAAY,cACZC,eAAgB,mCAChBC,yBAA0B,kEAC1BC,SAAU,WACVC,oBAAqB,4BACrBC,SAAU,YACVC,4BAA6B,qBAC7BC,2BAA4B,4BAC5BC,iBAAkB,sBAClBC,uBAAwB,yCACxBC,eAAgB,iBAChBC,qBAAsB,gDACtBC,oBAAqB,0BACrBC,oBAAqB,wBACrBC,KAAM,OACNC,WAAY,yBACZC,SAAU,uBACVC,cAAe,sDACfC,eAAgB,oCAChBC,iBAAkB,sCAClBC,oBAAqB,oEACrBC,qBAAsB,kDACtBC,uBAAwB,oDACxBC,SAAU,YACVC,qBAAsB,oBACtBC,QAAS,kBACTC,iBAAkB,wCAClBC,SAAU,cACVC,gBAAiB,2EACjBC,kBAAmB,kCACnBC,iBAAkB,6BAClBC,YAA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,iBACbC,SAAU,mDACVC,OAAQ,SACRC,eAAgB,kBAChBC,aAAc,gBACdC,UAAW,YACXC,gBAAiB,CACf,EAAK,gCACL,EAAK,kCAEPC,aAAc,gBACdC,aAAc,CACZ,EAAK,6BACL,EAAK,+BAEPC,gBAAiB,CACf,EAAK,8BACL,EAAK,gCAEPC,eAAgB,CACd,EAAK,+BACL,EAAK,iCAEPC,gBAAiB,CACf,EAAK,iCACL,EAAK,mCAEPC,UAAW,eACXC,0BAA2B,gCAC3BC,kBAAmB,CACjB,EAAK,0CACL,EAAK,4CAEPC,wBAAyB,CACvB,EAAK,kDACL,EAAK,oDAEPC,OAAQ,UACRC,QAAS,YAGXnJ,UAAkB,SAAmBoJ,GACnC,OAAc,IAAVA,EACK,EAGF,IAGa,qBAAXC,QAAiD,qBAAhBA,OAAOC,OACjDD,OAAOC,KAAKC,QAAQvJ,MAAQA,GAG9BwJ,EAAOC,QAAUzJ","file":"static/js/13.af8da627.chunk.js","sourcesContent":["\"use strict\";\n\nconst en_US = {};\nen_US.strings = {\n addBulkFilesFailed: {\n '0': 'Failed to add %{smart_count} file due to an internal error',\n '1': 'Failed to add %{smart_count} files due to internal errors'\n },\n addingMoreFiles: 'Adding more files',\n addMore: 'Add more',\n addMoreFiles: 'Add more files',\n allFilesFromFolderNamed: 'All files from folder %{name}',\n allowAccessDescription: 'In order to take pictures or record video with your camera, please allow camera access for this site.',\n allowAccessTitle: 'Please allow access to your camera',\n allowAudioAccessDescription: 'In order to record audio, please allow microphone access for this site.',\n allowAudioAccessTitle: 'Please allow access to your microphone',\n aspectRatioLandscape: 'Crop landscape (16:9)',\n aspectRatioPortrait: 'Crop portrait (9:16)',\n aspectRatioSquare: 'Crop square',\n authAborted: 'Authentication aborted',\n authenticateWith: 'Connect to %{pluginName}',\n authenticateWithTitle: 'Please authenticate with %{pluginName} to select files',\n back: 'Back',\n backToSearch: 'Back to Search',\n browse: 'browse',\n browseFiles: 'browse files',\n browseFolders: 'browse folders',\n cancel: 'Cancel',\n cancelUpload: 'Cancel upload',\n chooseFiles: 'Choose files',\n closeModal: 'Close Modal',\n companionError: 'Connection with Companion failed',\n companionUnauthorizeHint: 'To unauthorize to your %{provider} account, please go to %{url}',\n complete: 'Complete',\n connectedToInternet: 'Connected to the Internet',\n copyLink: 'Copy link',\n copyLinkToClipboardFallback: 'Copy the URL below',\n copyLinkToClipboardSuccess: 'Link copied to clipboard.',\n creatingAssembly: 'Preparing upload...',\n creatingAssemblyFailed: 'Transloadit: Could not create Assembly',\n dashboardTitle: 'Uppy Dashboard',\n dashboardWindowTitle: 'Uppy Dashboard Window (Press escape to close)',\n dataUploadedOfTotal: '%{complete} of %{total}',\n discardRecordedFile: 'Discard recorded file',\n done: 'Done',\n dropHereOr: 'Drop here or %{browse}',\n dropHint: 'Drop your files here',\n dropPasteBoth: 'Drop files here, %{browseFiles} or %{browseFolders}',\n dropPasteFiles: 'Drop files here or %{browseFiles}',\n dropPasteFolders: 'Drop files here or %{browseFolders}',\n dropPasteImportBoth: 'Drop files here, %{browseFiles}, %{browseFolders} or import from:',\n dropPasteImportFiles: 'Drop files here, %{browseFiles} or import from:',\n dropPasteImportFolders: 'Drop files here, %{browseFolders} or import from:',\n editFile: 'Edit file',\n editFileWithFilename: 'Edit file %{file}',\n editing: 'Editing %{file}',\n emptyFolderAdded: 'No files were added from empty folder',\n encoding: 'Encoding...',\n enterCorrectUrl: 'Incorrect URL: Please make sure you are entering a direct link to a file',\n enterTextToSearch: 'Enter text to search for images',\n enterUrlToImport: 'Enter URL to import a file',\n exceedsSize: '%{file} exceeds maximum allowed size of %{size}',\n failedToFetch: 'Companion failed to fetch this URL, please make sure it’s correct',\n failedToUpload: 'Failed to upload %{file}',\n filesUploadedOfTotal: {\n '0': '%{complete} of %{smart_count} file uploaded',\n '1': '%{complete} of %{smart_count} files uploaded'\n },\n filter: 'Filter',\n finishEditingFile: 'Finish editing file',\n flipHorizontal: 'Flip horizontal',\n folderAdded: {\n '0': 'Added %{smart_count} file from %{folder}',\n '1': 'Added %{smart_count} files from %{folder}'\n },\n folderAlreadyAdded: 'The folder \"%{folder}\" was already added',\n generatingThumbnails: 'Generating thumbnails...',\n import: 'Import',\n importFiles: 'Import files from:',\n importFrom: 'Import from %{name}',\n inferiorSize: 'This file is smaller than the allowed size of %{size}',\n loading: 'Loading...',\n logOut: 'Log out',\n micDisabled: 'Microphone access denied by user',\n missingRequiredMetaField: 'Missing required meta fields',\n missingRequiredMetaFieldOnFile: 'Missing required meta fields in %{fileName}',\n missingRequiredMetaFields: {\n '0': 'Missing required meta field: %{fields}.',\n '1': 'Missing required meta fields: %{fields}.'\n },\n myDevice: 'My Device',\n noAudioDescription: 'In order to record audio, please connect a microphone or another audio input device',\n noAudioTitle: 'Microphone Not Available',\n noCameraDescription: 'In order to take pictures or record video, please connect a camera device',\n noCameraTitle: 'Camera Not Available',\n noDuplicates: \"Cannot add the duplicate file '%{fileName}', it already exists\",\n noFilesFound: 'You have no files or folders here',\n noInternetConnection: 'No Internet connection',\n noMoreFilesAllowed: 'Cannot add more files',\n openFolderNamed: 'Open folder %{name}',\n pause: 'Pause',\n paused: 'Paused',\n pauseUpload: 'Pause upload',\n pluginNameAudio: 'Audio',\n pluginNameBox: 'Box',\n pluginNameCamera: 'Camera',\n pluginNameDropbox: 'Dropbox',\n pluginNameFacebook: 'Facebook',\n pluginNameGoogleDrive: 'Google Drive',\n pluginNameInstagram: 'Instagram',\n pluginNameOneDrive: 'OneDrive',\n pluginNameZoom: 'Zoom',\n poweredBy: 'Powered by %{uppy}',\n processingXFiles: {\n '0': 'Processing %{smart_count} file',\n '1': 'Processing %{smart_count} files'\n },\n recording: 'Recording',\n recordingLength: 'Recording length %{recording_length}',\n recordingStoppedMaxSize: 'Recording stopped because the file size is about to exceed the limit',\n recoveredAllFiles: 'We restored all files. You can now resume the upload.',\n recoveredXFiles: {\n '0': 'We could not fully recover 1 file. Please re-select it and resume the upload.',\n '1': 'We could not fully recover %{smart_count} files. Please re-select them and resume the upload.'\n },\n removeFile: 'Remove file',\n reSelect: 'Re-select',\n resetFilter: 'Reset filter',\n resume: 'Resume',\n resumeUpload: 'Resume upload',\n retry: 'Retry',\n retryUpload: 'Retry upload',\n revert: 'Revert',\n rotate: 'Rotate',\n save: 'Save',\n saveChanges: 'Save changes',\n searchImages: 'Search for images',\n selectX: {\n '0': 'Select %{smart_count}',\n '1': 'Select %{smart_count}'\n },\n sessionRestored: 'Session restored',\n showErrorDetails: 'Show error details',\n signInWithGoogle: 'Sign in with Google',\n smile: 'Smile!',\n startAudioRecording: 'Begin audio recording',\n startCapturing: 'Begin screen capturing',\n startRecording: 'Begin video recording',\n stopAudioRecording: 'Stop audio recording',\n stopCapturing: 'Stop screen capturing',\n stopRecording: 'Stop video recording',\n streamActive: 'Stream active',\n streamPassive: 'Stream passive',\n submitRecordedFile: 'Submit recorded file',\n takePicture: 'Take a picture',\n timedOut: 'Upload stalled for %{seconds} seconds, aborting.',\n upload: 'Upload',\n uploadComplete: 'Upload complete',\n uploadFailed: 'Upload failed',\n uploading: 'Uploading',\n uploadingXFiles: {\n '0': 'Uploading %{smart_count} file',\n '1': 'Uploading %{smart_count} files'\n },\n uploadPaused: 'Upload paused',\n uploadXFiles: {\n '0': 'Upload %{smart_count} file',\n '1': 'Upload %{smart_count} files'\n },\n uploadXNewFiles: {\n '0': 'Upload +%{smart_count} file',\n '1': 'Upload +%{smart_count} files'\n },\n xFilesSelected: {\n '0': '%{smart_count} file selected',\n '1': '%{smart_count} files selected'\n },\n xMoreFilesAdded: {\n '0': '%{smart_count} more file added',\n '1': '%{smart_count} more files added'\n },\n xTimeLeft: '%{time} left',\n youCanOnlyUploadFileTypes: 'You can only upload: %{types}',\n youCanOnlyUploadX: {\n '0': 'You can only upload %{smart_count} file',\n '1': 'You can only upload %{smart_count} files'\n },\n youHaveToAtLeastSelectX: {\n '0': 'You have to select at least %{smart_count} file',\n '1': 'You have to select at least %{smart_count} files'\n },\n zoomIn: 'Zoom in',\n zoomOut: 'Zoom out'\n};\n\nen_US.pluralize = function pluralize(count) {\n if (count === 1) {\n return 0;\n }\n\n return 1;\n};\n\nif (typeof window !== 'undefined' && typeof window.Uppy !== 'undefined') {\n window.Uppy.locales.en_US = en_US;\n}\n\nmodule.exports = en_US;"],"sourceRoot":""}
1
+ {"version":3,"sources":["../../../node_modules/@uppy/locales/lib/en_US.js"],"names":["en_US","addBulkFilesFailed","addingMoreFiles","addMore","addMoreFiles","allFilesFromFolderNamed","allowAccessDescription","allowAccessTitle","allowAudioAccessDescription","allowAudioAccessTitle","aspectRatioLandscape","aspectRatioPortrait","aspectRatioSquare","authAborted","authenticateWith","authenticateWithTitle","back","backToSearch","browse","browseFiles","browseFolders","cancel","cancelUpload","chooseFiles","closeModal","companionError","companionUnauthorizeHint","complete","connectedToInternet","copyLink","copyLinkToClipboardFallback","copyLinkToClipboardSuccess","creatingAssembly","creatingAssemblyFailed","dashboardTitle","dashboardWindowTitle","dataUploadedOfTotal","discardRecordedFile","done","dropHereOr","dropHint","dropPasteBoth","dropPasteFiles","dropPasteFolders","dropPasteImportBoth","dropPasteImportFiles","dropPasteImportFolders","editFile","editFileWithFilename","editing","emptyFolderAdded","encoding","enterCorrectUrl","enterTextToSearch","enterUrlToImport","exceedsSize","failedToFetch","failedToUpload","filesUploadedOfTotal","filter","finishEditingFile","flipHorizontal","folderAdded","folderAlreadyAdded","generatingThumbnails","import","importFiles","importFrom","inferiorSize","loading","logOut","micDisabled","missingRequiredMetaField","missingRequiredMetaFieldOnFile","missingRequiredMetaFields","myDevice","noAudioDescription","noAudioTitle","noCameraDescription","noCameraTitle","noDuplicates","noFilesFound","noInternetConnection","noMoreFilesAllowed","openFolderNamed","pause","paused","pauseUpload","pluginNameAudio","pluginNameBox","pluginNameCamera","pluginNameDropbox","pluginNameFacebook","pluginNameGoogleDrive","pluginNameInstagram","pluginNameOneDrive","pluginNameZoom","poweredBy","processingXFiles","recording","recordingLength","recordingStoppedMaxSize","recoveredAllFiles","recoveredXFiles","removeFile","reSelect","resetFilter","resume","resumeUpload","retry","retryUpload","revert","rotate","save","saveChanges","searchImages","selectX","sessionRestored","showErrorDetails","signInWithGoogle","smile","startAudioRecording","startCapturing","startRecording","stopAudioRecording","stopCapturing","stopRecording","streamActive","streamPassive","submitRecordedFile","takePicture","timedOut","upload","uploadComplete","uploadFailed","uploading","uploadingXFiles","uploadPaused","uploadXFiles","uploadXNewFiles","xFilesSelected","xMoreFilesAdded","xTimeLeft","youCanOnlyUploadFileTypes","youCanOnlyUploadX","youHaveToAtLeastSelectX","zoomIn","zoomOut","count","window","Uppy","locales","module","exports"],"mappings":"yIAEA,IAAMA,EAAQ,CACdA,QAAgB,CACdC,mBAAoB,CAClB,EAAK,6DACL,EAAK,6DAEPC,gBAAiB,oBACjBC,QAAS,WACTC,aAAc,iBACdC,wBAAyB,gCACzBC,uBAAwB,wGACxBC,iBAAkB,qCAClBC,4BAA6B,0EAC7BC,sBAAuB,yCACvBC,qBAAsB,wBACtBC,oBAAqB,uBACrBC,kBAAmB,cACnBC,YAAa,yBACbC,iBAAkB,2BAClBC,sBAAuB,yDACvBC,KAAM,OACNC,aAAc,iBACdC,OAAQ,SACRC,YAAa,eACbC,cAAe,iBACfC,OAAQ,SACRC,aAAc,gBACdC,YAAa,eACbC,WAAY,cACZC,eAAgB,mCAChBC,yBAA0B,kEAC1BC,SAAU,WACVC,oBAAqB,4BACrBC,SAAU,YACVC,4BAA6B,qBAC7BC,2BAA4B,4BAC5BC,iBAAkB,sBAClBC,uBAAwB,yCACxBC,eAAgB,iBAChBC,qBAAsB,gDACtBC,oBAAqB,0BACrBC,oBAAqB,wBACrBC,KAAM,OACNC,WAAY,yBACZC,SAAU,uBACVC,cAAe,sDACfC,eAAgB,oCAChBC,iBAAkB,sCAClBC,oBAAqB,oEACrBC,qBAAsB,kDACtBC,uBAAwB,oDACxBC,SAAU,YACVC,qBAAsB,oBACtBC,QAAS,kBACTC,iBAAkB,wCAClBC,SAAU,cACVC,gBAAiB,2EACjBC,k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,cAAe,iBACfC,mBAAoB,uBACpBC,YAAa,iBACbC,SAAU,mDACVC,OAAQ,SACRC,eAAgB,kBAChBC,aAAc,gBACdC,UAAW,YACXC,gBAAiB,CACf,EAAK,gCACL,EAAK,kCAEPC,aAAc,gBACdC,aAAc,CACZ,EAAK,6BACL,EAAK,+BAEPC,gBAAiB,CACf,EAAK,8BACL,EAAK,gCAEPC,eAAgB,CACd,EAAK,+BACL,EAAK,iCAEPC,gBAAiB,CACf,EAAK,iCACL,EAAK,mCAEPC,UAAW,eACXC,0BAA2B,gCAC3BC,kBAAmB,CACjB,EAAK,0CACL,EAAK,4CAEPC,wBAAyB,CACvB,EAAK,kDACL,EAAK,oDAEPC,OAAQ,UACRC,QAAS,YAGXnJ,UAAkB,SAAmBoJ,GACnC,OAAc,IAAVA,EACK,EAGF,IAGa,qBAAXC,QAAiD,qBAAhBA,OAAOC,OACjDD,OAAOC,KAAKC,QAAQvJ,MAAQA,GAG9BwJ,EAAOC,QAAUzJ","file":"static/js/12.703b846d.chunk.js","sourcesContent":["\"use strict\";\n\nconst en_US = {};\nen_US.strings = {\n addBulkFilesFailed: {\n '0': 'Failed to add %{smart_count} file due to an internal error',\n '1': 'Failed to add %{smart_count} files due to internal errors'\n },\n addingMoreFiles: 'Adding more files',\n addMore: 'Add more',\n addMoreFiles: 'Add more files',\n allFilesFromFolderNamed: 'All files from folder %{name}',\n allowAccessDescription: 'In order to take pictures or record video with your camera, please allow camera access for this site.',\n allowAccessTitle: 'Please allow access to your camera',\n allowAudioAccessDescription: 'In order to record audio, please allow microphone access for this site.',\n allowAudioAccessTitle: 'Please allow access to your microphone',\n aspectRatioLandscape: 'Crop landscape (16:9)',\n aspectRatioPortrait: 'Crop portrait (9:16)',\n aspectRatioSquare: 'Crop square',\n authAborted: 'Authentication aborted',\n authenticateWith: 'Connect to %{pluginName}',\n authenticateWithTitle: 'Please authenticate with %{pluginName} to select files',\n back: 'Back',\n backToSearch: 'Back to Search',\n browse: 'browse',\n browseFiles: 'browse files',\n browseFolders: 'browse folders',\n cancel: 'Cancel',\n cancelUpload: 'Cancel upload',\n chooseFiles: 'Choose files',\n closeModal: 'Close Modal',\n companionError: 'Connection with Companion failed',\n companionUnauthorizeHint: 'To unauthorize to your %{provider} account, please go to %{url}',\n complete: 'Complete',\n connectedToInternet: 'Connected to the Internet',\n copyLink: 'Copy link',\n copyLinkToClipboardFallback: 'Copy the URL below',\n copyLinkToClipboardSuccess: 'Link copied to clipboard.',\n creatingAssembly: 'Preparing upload...',\n creatingAssemblyFailed: 'Transloadit: Could not create Assembly',\n dashboardTitle: 'Uppy Dashboard',\n dashboardWindowTitle: 'Uppy Dashboard Window (Press escape to close)',\n dataUploadedOfTotal: '%{complete} of %{total}',\n discardRecordedFile: 'Discard recorded file',\n done: 'Done',\n dropHereOr: 'Drop here or %{browse}',\n dropHint: 'Drop your files here',\n dropPasteBoth: 'Drop files here, %{browseFiles} or %{browseFolders}',\n dropPasteFiles: 'Drop files here or %{browseFiles}',\n dropPasteFolders: 'Drop files here or %{browseFolders}',\n dropPasteImportBoth: 'Drop files here, %{browseFiles}, %{browseFolders} or import from:',\n dropPasteImportFiles: 'Drop files here, %{browseFiles} or import from:',\n dropPasteImportFolders: 'Drop files here, %{browseFolders} or import from:',\n editFile: 'Edit file',\n editFileWithFilename: 'Edit file %{file}',\n editing: 'Editing %{file}',\n emptyFolderAdded: 'No files were added from empty folder',\n encoding: 'Encoding...',\n enterCorrectUrl: 'Incorrect URL: Please make sure you are entering a direct link to a file',\n enterTextToSearch: 'Enter text to search for images',\n enterUrlToImport: 'Enter URL to import a file',\n exceedsSize: '%{file} exceeds maximum allowed size of %{size}',\n failedToFetch: 'Companion failed to fetch this URL, please make sure it’s correct',\n failedToUpload: 'Failed to upload %{file}',\n filesUploadedOfTotal: {\n '0': '%{complete} of %{smart_count} file uploaded',\n '1': '%{complete} of %{smart_count} files uploaded'\n },\n filter: 'Filter',\n finishEditingFile: 'Finish editing file',\n flipHorizontal: 'Flip horizontal',\n folderAdded: {\n '0': 'Added %{smart_count} file from %{folder}',\n '1': 'Added %{smart_count} files from %{folder}'\n },\n folderAlreadyAdded: 'The folder \"%{folder}\" was already added',\n generatingThumbnails: 'Generating thumbnails...',\n import: 'Import',\n importFiles: 'Import files from:',\n importFrom: 'Import from %{name}',\n inferiorSize: 'This file is smaller than the allowed size of %{size}',\n loading: 'Loading...',\n logOut: 'Log out',\n micDisabled: 'Microphone access denied by user',\n missingRequiredMetaField: 'Missing required meta fields',\n missingRequiredMetaFieldOnFile: 'Missing required meta fields in %{fileName}',\n missingRequiredMetaFields: {\n '0': 'Missing required meta field: %{fields}.',\n '1': 'Missing required meta fields: %{fields}.'\n },\n myDevice: 'My Device',\n noAudioDescription: 'In order to record audio, please connect a microphone or another audio input device',\n noAudioTitle: 'Microphone Not Available',\n noCameraDescription: 'In order to take pictures or record video, please connect a camera device',\n noCameraTitle: 'Camera Not Available',\n noDuplicates: \"Cannot add the duplicate file '%{fileName}', it already exists\",\n noFilesFound: 'You have no files or folders here',\n noInternetConnection: 'No Internet connection',\n noMoreFilesAllowed: 'Cannot add more files',\n openFolderNamed: 'Open folder %{name}',\n pause: 'Pause',\n paused: 'Paused',\n pauseUpload: 'Pause upload',\n pluginNameAudio: 'Audio',\n pluginNameBox: 'Box',\n pluginNameCamera: 'Camera',\n pluginNameDropbox: 'Dropbox',\n pluginNameFacebook: 'Facebook',\n pluginNameGoogleDrive: 'Google Drive',\n pluginNameInstagram: 'Instagram',\n pluginNameOneDrive: 'OneDrive',\n pluginNameZoom: 'Zoom',\n poweredBy: 'Powered by %{uppy}',\n processingXFiles: {\n '0': 'Processing %{smart_count} file',\n '1': 'Processing %{smart_count} files'\n },\n recording: 'Recording',\n recordingLength: 'Recording length %{recording_length}',\n recordingStoppedMaxSize: 'Recording stopped because the file size is about to exceed the limit',\n recoveredAllFiles: 'We restored all files. You can now resume the upload.',\n recoveredXFiles: {\n '0': 'We could not fully recover 1 file. Please re-select it and resume the upload.',\n '1': 'We could not fully recover %{smart_count} files. Please re-select them and resume the upload.'\n },\n removeFile: 'Remove file',\n reSelect: 'Re-select',\n resetFilter: 'Reset filter',\n resume: 'Resume',\n resumeUpload: 'Resume upload',\n retry: 'Retry',\n retryUpload: 'Retry upload',\n revert: 'Revert',\n rotate: 'Rotate',\n save: 'Save',\n saveChanges: 'Save changes',\n searchImages: 'Search for images',\n selectX: {\n '0': 'Select %{smart_count}',\n '1': 'Select %{smart_count}'\n },\n sessionRestored: 'Session restored',\n showErrorDetails: 'Show error details',\n signInWithGoogle: 'Sign in with Google',\n smile: 'Smile!',\n startAudioRecording: 'Begin audio recording',\n startCapturing: 'Begin screen capturing',\n startRecording: 'Begin video recording',\n stopAudioRecording: 'Stop audio recording',\n stopCapturing: 'Stop screen capturing',\n stopRecording: 'Stop video recording',\n streamActive: 'Stream active',\n streamPassive: 'Stream passive',\n submitRecordedFile: 'Submit recorded file',\n takePicture: 'Take a picture',\n timedOut: 'Upload stalled for %{seconds} seconds, aborting.',\n upload: 'Upload',\n uploadComplete: 'Upload complete',\n uploadFailed: 'Upload failed',\n uploading: 'Uploading',\n uploadingXFiles: {\n '0': 'Uploading %{smart_count} file',\n '1': 'Uploading %{smart_count} files'\n },\n uploadPaused: 'Upload paused',\n uploadXFiles: {\n '0': 'Upload %{smart_count} file',\n '1': 'Upload %{smart_count} files'\n },\n uploadXNewFiles: {\n '0': 'Upload +%{smart_count} file',\n '1': 'Upload +%{smart_count} files'\n },\n xFilesSelected: {\n '0': '%{smart_count} file selected',\n '1': '%{smart_count} files selected'\n },\n xMoreFilesAdded: {\n '0': '%{smart_count} more file added',\n '1': '%{smart_count} more files added'\n },\n xTimeLeft: '%{time} left',\n youCanOnlyUploadFileTypes: 'You can only upload: %{types}',\n youCanOnlyUploadX: {\n '0': 'You can only upload %{smart_count} file',\n '1': 'You can only upload %{smart_count} files'\n },\n youHaveToAtLeastSelectX: {\n '0': 'You have to select at least %{smart_count} file',\n '1': 'You have to select at least %{smart_count} files'\n },\n zoomIn: 'Zoom in',\n zoomOut: 'Zoom out'\n};\n\nen_US.pluralize = function pluralize(count) {\n if (count === 1) {\n return 0;\n }\n\n return 1;\n};\n\nif (typeof window !== 'undefined' && typeof window.Uppy !== 'undefined') {\n window.Uppy.locales.en_US = en_US;\n}\n\nmodule.exports = en_US;"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (this["webpackJsonp@micromag/viewer-build"]=this["webpackJsonp@micromag/viewer-build"]||[]).push([[14],{540:function(e,r,i){"use strict";var o={strings:{addBulkFilesFailed:{0:"L'ajout de %{smart_count} fichier a \xe9chou\xe9",1:"L'ajout de %{smart_count} fichiers a \xe9chou\xe9"},addMore:"Ajouter d'autres",addMoreFiles:"Ajouter d'autres fichiers",addingMoreFiles:"En train d'ajouter des fichiers",allFilesFromFolderNamed:"Tous les fichiers du dossier %{name}",allowAccessDescription:"Pour prendre des photos ou enregistrer une vid\xe9o avec votre cam\xe9ra, veuillez autoriser l'acc\xe8s \xe0 votre cam\xe9ra pour ce site.",allowAccessTitle:"Veuillez autoriser l'acc\xe8s \xe0 votre cam\xe9ra",authAborted:"Authentification interrompue",authenticateWith:"Se connecter \xe0 %{pluginName}",authenticateWithTitle:"Veuillez vous authentifier avec %{pluginName} pour s\xe9lectionner les fichiers",back:"Retour",browse:"naviguer",browseFiles:"naviguer",cancel:"Annuler",cancelUpload:"Annuler t\xe9l\xe9chargement",chooseFiles:"Choisir des fichiers",closeModal:"Fermer Fen\xeatre",companionError:"Connexion \xe0 Companion a \xe9chou\xe9",companionUnauthorizeHint:"Pour vous d\xe9connecter de votre compte %{provider}, veuillez aller \xe0 %{url}",complete:"Termin\xe9",connectedToInternet:"Connect\xe9 \xe0 Internet",copyLink:"Copier lien",copyLinkToClipboardFallback:"Copier le lien ci-dessous",copyLinkToClipboardSuccess:"Lien copi\xe9",creatingAssembly:"Pr\xe9paration du t\xe9l\xe9chargement...",creatingAssemblyFailed:"Transloadit: Impossible de cr\xe9er Assembly",dashboardTitle:"T\xe9l\xe9chargeur de fichier",dashboardWindowTitle:"Fen\xeatre de t\xe9l\xe9chargeur de fichier (Appuyez sur echap pour fermer)",dataUploadedOfTotal:"%{complete} sur %{total}",done:"Termin\xe9",dropHereOr:"D\xe9poser les fichiers ici ou %{browse}",dropHint:"D\xe9posez vos fichiers ici",dropPasteBoth:"D\xe9poser les fichiers ici, coller ou %{browse}",dropPasteFiles:"D\xe9poser les fichiers ici, coller ou %{browse}",dropPasteFolders:"D\xe9poser les fichiers ici, coller ou %{browse}",dropPasteImportBoth:"D\xe9poser les fichiers ici, coller, %{browse} ou importer de",dropPasteImportFiles:"D\xe9poser les fichiers ici, coller, %{browse} ou importer de",dropPasteImportFolders:"D\xe9poser les fichiers ici, coller, %{browse} ou importer de",editFile:"Modifier le fichier",editFileWithFilename:"Modifier le fichier %{file}",editing:"Modification en cours de %{file}",emptyFolderAdded:"Aucun fichier n'a \xe9t\xe9 ajout\xe9 depuis un dossier vide",encoding:"Traitement...",enterCorrectUrl:"Lien incorrect: Assurez-vous que vous entrez un lien direct vers le fichier",enterUrlToImport:"Entrez le lien pour importer un fichier",exceedsSize:"Ce fichier d\xe9passe la taille maximale autoris\xe9e de %{size}",failedToFetch:"Companion a \xe9chou\xe9 \xe0 r\xe9cup\xe9rer ce lien, assurez-vous qu'il est correct",failedToUpload:"Le t\xe9l\xe9chargement de %{file} a \xe9chou\xe9",fileSource:"Fichier source: %{name}",filesUploadedOfTotal:{0:"%{complete} sur %{smart_count} fichier t\xe9l\xe9charg\xe9",1:"%{complete} sur %{smart_count} fichiers t\xe9l\xe9charg\xe9s",2:"%{complete} sur %{smart_count} fichiers t\xe9l\xe9charg\xe9s"},filter:"Filtrer",finishEditingFile:"Terminer l'\xe9dition du fichier",folderAdded:{0:"%{smart_count} fichier ajout\xe9 de %{folder}",1:"%{smart_count} fichiers ajout\xe9s de %{folder}",2:"%{smart_count} fichiers ajout\xe9s de %{folder}"},generatingThumbnails:"Generating thumbnails...",import:"Importer",importFrom:"Importer de %{name}",loading:"Chargement...",logOut:"D\xe9connexion",micDisabled:"Acc\xe8s au micro refus\xe9 par l'utilisateur",myDevice:"Mon Appareil",noDuplicates:'Impossible d\'ajouter le fichier "%{fileName}", il existe d\xe9j\xe0',noFilesFound:"Vous n'avez aucun fichier ou dossier ici",noInternetConnection:"Pas de connexion \xe0 Internet",noMoreFilesAllowed:"Impossible d'ajouter de nouveaux fichiers: en cours de chargement ",openFolderNamed:"Ouvrir %{name}",pause:"Pause",pauseUpload:"Mettre en pause le t\xe9l\xe9chargement",paused:"En pause",poweredBy:"Propuls\xe9 par %{uppy}",processingXFiles:{0:"Traitement de %{smart_count} fichier",1:"Traitement de %{smart_count} fichiers",2:"Traitement de %{smart_count} fichiers"},recording:"Enregistrement",recordingLength:"Dur\xe9e d'enregistrement %{recording_length}",recordingStoppedMaxSize:"L'enregistrement s'est arr\xe9t\xe9 car la taille du fichier d\xe9passe la limite",removeFile:"Effacer le fichier %{file}",resetFilter:"R\xe9initialiser filtre",resume:"Reprendre",resumeUpload:"Reprendre le t\xe9l\xe9chargement",retry:"R\xe9essayer",retryUpload:"R\xe9essayer le t\xe9l\xe9chargement",saveChanges:"Sauvegarder les modifications",selectFileNamed:"S\xe9lectionner le fichier %{name}",selectX:{0:"S\xe9lectionner %{smart_count}",1:"S\xe9lectionner %{smart_count}",2:"S\xe9lectionner %{smart_count}"},smile:"Souriez !",startRecording:"Commencer l'enregistrement vid\xe9o",stopRecording:"Arr\xeater l'enregistrement vid\xe9o",streamActive:"Stream actif",streamPassive:"Stream passif",submitRecordedFile:"Envoyer la vid\xe9o enregistr\xe9e",takePicture:"Prendre une photo",timedOut:"T\xe9l\xe9chargement bloqu\xe9 durant %{seconds} secondes, annulation.",unselectFileNamed:"D\xe9s\xe9lectionner le fichier %{name}",upload:"T\xe9l\xe9charger",uploadComplete:"T\xe9l\xe9chargement termin\xe9",uploadFailed:"Le t\xe9l\xe9chargement a \xe9chou\xe9",uploadPaused:"T\xe9l\xe9chargement mis en pause",uploadXFiles:{0:"T\xe9l\xe9charger %{smart_count} fichier",1:"T\xe9l\xe9charger %{smart_count} fichiers",2:"T\xe9l\xe9charger %{smart_count} fichiers"},uploadXNewFiles:{0:"T\xe9l\xe9charger +%{smart_count} fichier",1:"T\xe9l\xe9charger +%{smart_count} fichiers",2:"T\xe9l\xe9charger +%{smart_count} fichiers"},uploading:"T\xe9l\xe9chargement en cours",uploadingXFiles:{0:"T\xe9l\xe9chargement de %{smart_count} fichier",1:"T\xe9l\xe9chargement de %{smart_count} fichiers",2:"T\xe9l\xe9chargement de %{smart_count} fichiers"},xFilesSelected:{0:"%{smart_count} fichier s\xe9lectionn\xe9",1:"%{smart_count} fichiers s\xe9lectionn\xe9s",2:"%{smart_count} fichiers s\xe9lectionn\xe9s"},xMoreFilesAdded:{0:"%{smart_count} autre fichier ajout\xe9",1:"%{smart_count} autres fichiers ajout\xe9s",2:"%{smart_count} autres fichiers ajout\xe9s"},xTimeLeft:"%{time} restantes",youCanOnlyUploadFileTypes:"Vous pouvez seulement t\xe9l\xe9charger: %{types}",youCanOnlyUploadX:{0:"Vous pouvez seulement t\xe9l\xe9charger %{smart_count} fichier",1:"Vous pouvez seulement t\xe9l\xe9charger %{smart_count} fichiers",2:"Vous pouvez seulement t\xe9l\xe9charger %{smart_count} fichiers"},youHaveToAtLeastSelectX:{0:"Vous devez s\xe9lectionner au moins %{smart_count} fichier",1:"Vous devez s\xe9lectionner au moins %{smart_count} fichiers",2:"Vous devez s\xe9lectionner au moins %{smart_count} fichiers"}},pluralize:function(e){return 1===e?0:1}};"undefined"!==typeof window&&"undefined"!==typeof window.Uppy&&(window.Uppy.locales.fr_FR=o),e.exports=o}}]);
2
- //# sourceMappingURL=14.e42f0789.chunk.js.map
1
+ (this["webpackJsonp@micromag/viewer-build"]=this["webpackJsonp@micromag/viewer-build"]||[]).push([[13],{524:function(e,r,i){"use strict";var o={strings:{addBulkFilesFailed:{0:"L'ajout de %{smart_count} fichier a \xe9chou\xe9",1:"L'ajout de %{smart_count} fichiers a \xe9chou\xe9"},addMore:"Ajouter d'autres",addMoreFiles:"Ajouter d'autres fichiers",addingMoreFiles:"En train d'ajouter des fichiers",allFilesFromFolderNamed:"Tous les fichiers du dossier %{name}",allowAccessDescription:"Pour prendre des photos ou enregistrer une vid\xe9o avec votre cam\xe9ra, veuillez autoriser l'acc\xe8s \xe0 votre cam\xe9ra pour ce site.",allowAccessTitle:"Veuillez autoriser l'acc\xe8s \xe0 votre cam\xe9ra",authAborted:"Authentification interrompue",authenticateWith:"Se connecter \xe0 %{pluginName}",authenticateWithTitle:"Veuillez vous authentifier avec %{pluginName} pour s\xe9lectionner les fichiers",back:"Retour",browse:"naviguer",browseFiles:"naviguer",cancel:"Annuler",cancelUpload:"Annuler t\xe9l\xe9chargement",chooseFiles:"Choisir des fichiers",closeModal:"Fermer Fen\xeatre",companionError:"Connexion \xe0 Companion a \xe9chou\xe9",companionUnauthorizeHint:"Pour vous d\xe9connecter de votre compte %{provider}, veuillez aller \xe0 %{url}",complete:"Termin\xe9",connectedToInternet:"Connect\xe9 \xe0 Internet",copyLink:"Copier lien",copyLinkToClipboardFallback:"Copier le lien ci-dessous",copyLinkToClipboardSuccess:"Lien copi\xe9",creatingAssembly:"Pr\xe9paration du t\xe9l\xe9chargement...",creatingAssemblyFailed:"Transloadit: Impossible de cr\xe9er Assembly",dashboardTitle:"T\xe9l\xe9chargeur de fichier",dashboardWindowTitle:"Fen\xeatre de t\xe9l\xe9chargeur de fichier (Appuyez sur echap pour fermer)",dataUploadedOfTotal:"%{complete} sur %{total}",done:"Termin\xe9",dropHereOr:"D\xe9poser les fichiers ici ou %{browse}",dropHint:"D\xe9posez vos fichiers ici",dropPasteBoth:"D\xe9poser les fichiers ici, coller ou %{browse}",dropPasteFiles:"D\xe9poser les fichiers ici, coller ou %{browse}",dropPasteFolders:"D\xe9poser les fichiers ici, coller ou %{browse}",dropPasteImportBoth:"D\xe9poser les fichiers ici, coller, %{browse} ou importer de",dropPasteImportFiles:"D\xe9poser les fichiers ici, coller, %{browse} ou importer de",dropPasteImportFolders:"D\xe9poser les fichiers ici, coller, %{browse} ou importer de",editFile:"Modifier le fichier",editFileWithFilename:"Modifier le fichier %{file}",editing:"Modification en cours de %{file}",emptyFolderAdded:"Aucun fichier n'a \xe9t\xe9 ajout\xe9 depuis un dossier vide",encoding:"Traitement...",enterCorrectUrl:"Lien incorrect: Assurez-vous que vous entrez un lien direct vers le fichier",enterUrlToImport:"Entrez le lien pour importer un fichier",exceedsSize:"Ce fichier d\xe9passe la taille maximale autoris\xe9e de %{size}",failedToFetch:"Companion a \xe9chou\xe9 \xe0 r\xe9cup\xe9rer ce lien, assurez-vous qu'il est correct",failedToUpload:"Le t\xe9l\xe9chargement de %{file} a \xe9chou\xe9",fileSource:"Fichier source: %{name}",filesUploadedOfTotal:{0:"%{complete} sur %{smart_count} fichier t\xe9l\xe9charg\xe9",1:"%{complete} sur %{smart_count} fichiers t\xe9l\xe9charg\xe9s",2:"%{complete} sur %{smart_count} fichiers t\xe9l\xe9charg\xe9s"},filter:"Filtrer",finishEditingFile:"Terminer l'\xe9dition du fichier",folderAdded:{0:"%{smart_count} fichier ajout\xe9 de %{folder}",1:"%{smart_count} fichiers ajout\xe9s de %{folder}",2:"%{smart_count} fichiers ajout\xe9s de %{folder}"},generatingThumbnails:"Generating thumbnails...",import:"Importer",importFrom:"Importer de %{name}",loading:"Chargement...",logOut:"D\xe9connexion",micDisabled:"Acc\xe8s au micro refus\xe9 par l'utilisateur",myDevice:"Mon Appareil",noDuplicates:'Impossible d\'ajouter le fichier "%{fileName}", il existe d\xe9j\xe0',noFilesFound:"Vous n'avez aucun fichier ou dossier ici",noInternetConnection:"Pas de connexion \xe0 Internet",noMoreFilesAllowed:"Impossible d'ajouter de nouveaux fichiers: en cours de chargement ",openFolderNamed:"Ouvrir %{name}",pause:"Pause",pauseUpload:"Mettre en pause le t\xe9l\xe9chargement",paused:"En pause",poweredBy:"Propuls\xe9 par %{uppy}",processingXFiles:{0:"Traitement de %{smart_count} fichier",1:"Traitement de %{smart_count} fichiers",2:"Traitement de %{smart_count} fichiers"},recording:"Enregistrement",recordingLength:"Dur\xe9e d'enregistrement %{recording_length}",recordingStoppedMaxSize:"L'enregistrement s'est arr\xe9t\xe9 car la taille du fichier d\xe9passe la limite",removeFile:"Effacer le fichier %{file}",resetFilter:"R\xe9initialiser filtre",resume:"Reprendre",resumeUpload:"Reprendre le t\xe9l\xe9chargement",retry:"R\xe9essayer",retryUpload:"R\xe9essayer le t\xe9l\xe9chargement",saveChanges:"Sauvegarder les modifications",selectFileNamed:"S\xe9lectionner le fichier %{name}",selectX:{0:"S\xe9lectionner %{smart_count}",1:"S\xe9lectionner %{smart_count}",2:"S\xe9lectionner %{smart_count}"},smile:"Souriez !",startRecording:"Commencer l'enregistrement vid\xe9o",stopRecording:"Arr\xeater l'enregistrement vid\xe9o",streamActive:"Stream actif",streamPassive:"Stream passif",submitRecordedFile:"Envoyer la vid\xe9o enregistr\xe9e",takePicture:"Prendre une photo",timedOut:"T\xe9l\xe9chargement bloqu\xe9 durant %{seconds} secondes, annulation.",unselectFileNamed:"D\xe9s\xe9lectionner le fichier %{name}",upload:"T\xe9l\xe9charger",uploadComplete:"T\xe9l\xe9chargement termin\xe9",uploadFailed:"Le t\xe9l\xe9chargement a \xe9chou\xe9",uploadPaused:"T\xe9l\xe9chargement mis en pause",uploadXFiles:{0:"T\xe9l\xe9charger %{smart_count} fichier",1:"T\xe9l\xe9charger %{smart_count} fichiers",2:"T\xe9l\xe9charger %{smart_count} fichiers"},uploadXNewFiles:{0:"T\xe9l\xe9charger +%{smart_count} fichier",1:"T\xe9l\xe9charger +%{smart_count} fichiers",2:"T\xe9l\xe9charger +%{smart_count} fichiers"},uploading:"T\xe9l\xe9chargement en cours",uploadingXFiles:{0:"T\xe9l\xe9chargement de %{smart_count} fichier",1:"T\xe9l\xe9chargement de %{smart_count} fichiers",2:"T\xe9l\xe9chargement de %{smart_count} fichiers"},xFilesSelected:{0:"%{smart_count} fichier s\xe9lectionn\xe9",1:"%{smart_count} fichiers s\xe9lectionn\xe9s",2:"%{smart_count} fichiers s\xe9lectionn\xe9s"},xMoreFilesAdded:{0:"%{smart_count} autre fichier ajout\xe9",1:"%{smart_count} autres fichiers ajout\xe9s",2:"%{smart_count} autres fichiers ajout\xe9s"},xTimeLeft:"%{time} restantes",youCanOnlyUploadFileTypes:"Vous pouvez seulement t\xe9l\xe9charger: %{types}",youCanOnlyUploadX:{0:"Vous pouvez seulement t\xe9l\xe9charger %{smart_count} fichier",1:"Vous pouvez seulement t\xe9l\xe9charger %{smart_count} fichiers",2:"Vous pouvez seulement t\xe9l\xe9charger %{smart_count} fichiers"},youHaveToAtLeastSelectX:{0:"Vous devez s\xe9lectionner au moins %{smart_count} fichier",1:"Vous devez s\xe9lectionner au moins %{smart_count} fichiers",2:"Vous devez s\xe9lectionner au moins %{smart_count} fichiers"}},pluralize:function(e){return 1===e?0:1}};"undefined"!==typeof window&&"undefined"!==typeof window.Uppy&&(window.Uppy.locales.fr_FR=o),e.exports=o}}]);
2
+ //# sourceMappingURL=13.e2bba628.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/@uppy/locales/lib/fr_FR.js"],"names":["fr_FR","addBulkFilesFailed","addMore","addMoreFiles","addingMoreFiles","allFilesFromFolderNamed","allowAccessDescription","allowAccessTitle","authAborted","authenticateWith","authenticateWithTitle","back","browse","browseFiles","cancel","cancelUpload","chooseFiles","closeModal","companionError","companionUnauthorizeHint","complete","connectedToInternet","copyLink","copyLinkToClipboardFallback","copyLinkToClipboardSuccess","creatingAssembly","creatingAssemblyFailed","dashboardTitle","dashboardWindowTitle","dataUploadedOfTotal","done","dropHereOr","dropHint","dropPasteBoth","dropPasteFiles","dropPasteFolders","dropPasteImportBoth","dropPasteImportFiles","dropPasteImportFolders","editFile","editFileWithFilename","editing","emptyFolderAdded","encoding","enterCorrectUrl","enterUrlToImport","exceedsSize","failedToFetch","failedToUpload","fileSource","filesUploadedOfTotal","filter","finishEditingFile","folderAdded","generatingThumbnails","import","importFrom","loading","logOut","micDisabled","myDevice","noDuplicates","noFilesFound","noInternetConnection","noMoreFilesAllowed","openFolderNamed","pause","pauseUpload","paused","poweredBy","processingXFiles","recording","recordingLength","recordingStoppedMaxSize","removeFile","resetFilter","resume","resumeUpload","retry","retryUpload","saveChanges","selectFileNamed","selectX","smile","startRecording","stopRecording","streamActive","streamPassive","submitRecordedFile","takePicture","timedOut","unselectFileNamed","upload","uploadComplete","uploadFailed","uploadPaused","uploadXFiles","uploadXNewFiles","uploading","uploadingXFiles","xFilesSelected","xMoreFilesAdded","xTimeLeft","youCanOnlyUploadFileTypes","youCanOnlyUploadX","youHaveToAtLeastSelectX","n","window","Uppy","locales","module","exports"],"mappings":"yIAEA,IAAMA,EAAQ,CACdA,QAAgB,CACdC,mBAAoB,CAClB,EAAK,mDACL,EAAK,qDAEPC,QAAS,mBACTC,aAAc,4BACdC,gBAAiB,kCACjBC,wBAAyB,uCACzBC,uBAAwB,6IACxBC,iBAAkB,qDAClBC,YAAa,+BACbC,iBAAkB,kCAClBC,sBAAuB,kFACvBC,KAAM,SACNC,OAAQ,WACRC,YAAa,WACbC,OAAQ,UACRC,aAAc,+BACdC,YAAa,uBACbC,WAAY,oBACZC,eAAgB,0CAChBC,yBAA0B,mFAC1BC,SAAU,aACVC,oBAAqB,4BACrBC,SAAU,cACVC,4BAA6B,4BAC7BC,2BAA4B,gBAC5BC,iBAAkB,4CAClBC,uBAAwB,+CACxBC,eAAgB,gCAChBC,qBAAsB,8EACtBC,oBAAqB,2BACrBC,KAAM,aACNC,WAAY,2CACZC,SAAU,8BACVC,cAAe,mDACfC,eAAgB,mDAChBC,iBAAkB,mDAClBC,oBAAqB,gEACrBC,qBAAsB,gEACtBC,uBAAwB,gEACxBC,SAAU,sBACVC,qBAAsB,8BACtBC,QAAS,mCACTC,iBAAkB,+DAClBC,SAAU,gBACVC,gBAAiB,8EACjBC,iBA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B,EAAK,6DACL,EAAK,8DACL,EAAK,gEAITzG,UAAkB,SAAmB0G,GACnC,OAAU,IAANA,EACK,EAGF,IAGa,qBAAXC,QAAiD,qBAAhBA,OAAOC,OACjDD,OAAOC,KAAKC,QAAQ7G,MAAQA,GAG9B8G,EAAOC,QAAU/G","file":"static/js/14.e42f0789.chunk.js","sourcesContent":["\"use strict\";\n\nconst fr_FR = {};\nfr_FR.strings = {\n addBulkFilesFailed: {\n '0': 'L\\'ajout de %{smart_count} fichier a échoué',\n '1': 'L\\'ajout de %{smart_count} fichiers a échoué'\n },\n addMore: 'Ajouter d\\'autres',\n addMoreFiles: 'Ajouter d\\'autres fichiers',\n addingMoreFiles: 'En train d\\'ajouter des fichiers',\n allFilesFromFolderNamed: 'Tous les fichiers du dossier %{name}',\n allowAccessDescription: 'Pour prendre des photos ou enregistrer une vidéo avec votre caméra, veuillez autoriser l\\'accès à votre caméra pour ce site.',\n allowAccessTitle: 'Veuillez autoriser l\\'accès à votre caméra',\n authAborted: 'Authentification interrompue',\n authenticateWith: 'Se connecter à %{pluginName}',\n authenticateWithTitle: 'Veuillez vous authentifier avec %{pluginName} pour sélectionner les fichiers',\n back: 'Retour',\n browse: 'naviguer',\n browseFiles: 'naviguer',\n cancel: 'Annuler',\n cancelUpload: 'Annuler téléchargement',\n chooseFiles: 'Choisir des fichiers',\n closeModal: 'Fermer Fenêtre',\n companionError: 'Connexion à Companion a échoué',\n companionUnauthorizeHint: 'Pour vous déconnecter de votre compte %{provider}, veuillez aller à %{url}',\n complete: 'Terminé',\n connectedToInternet: 'Connecté à Internet',\n copyLink: 'Copier lien',\n copyLinkToClipboardFallback: 'Copier le lien ci-dessous',\n copyLinkToClipboardSuccess: 'Lien copié',\n creatingAssembly: 'Préparation du téléchargement...',\n creatingAssemblyFailed: 'Transloadit: Impossible de créer Assembly',\n dashboardTitle: 'Téléchargeur de fichier',\n dashboardWindowTitle: 'Fenêtre de téléchargeur de fichier (Appuyez sur echap pour fermer)',\n dataUploadedOfTotal: '%{complete} sur %{total}',\n done: 'Terminé',\n dropHereOr: 'Déposer les fichiers ici ou %{browse}',\n dropHint: 'Déposez vos fichiers ici',\n dropPasteBoth: 'Déposer les fichiers ici, coller ou %{browse}',\n dropPasteFiles: 'Déposer les fichiers ici, coller ou %{browse}',\n dropPasteFolders: 'Déposer les fichiers ici, coller ou %{browse}',\n dropPasteImportBoth: 'Déposer les fichiers ici, coller, %{browse} ou importer de',\n dropPasteImportFiles: 'Déposer les fichiers ici, coller, %{browse} ou importer de',\n dropPasteImportFolders: 'Déposer les fichiers ici, coller, %{browse} ou importer de',\n editFile: 'Modifier le fichier',\n editFileWithFilename: 'Modifier le fichier %{file}',\n editing: 'Modification en cours de %{file}',\n emptyFolderAdded: 'Aucun fichier n\\'a été ajouté depuis un dossier vide',\n encoding: 'Traitement...',\n enterCorrectUrl: 'Lien incorrect: Assurez-vous que vous entrez un lien direct vers le fichier',\n enterUrlToImport: 'Entrez le lien pour importer un fichier',\n exceedsSize: 'Ce fichier dépasse la taille maximale autorisée de %{size}',\n failedToFetch: 'Companion a échoué à récupérer ce lien, assurez-vous qu\\'il est correct',\n failedToUpload: 'Le téléchargement de %{file} a échoué',\n fileSource: 'Fichier source: %{name}',\n filesUploadedOfTotal: {\n '0': '%{complete} sur %{smart_count} fichier téléchargé',\n '1': '%{complete} sur %{smart_count} fichiers téléchargés',\n '2': '%{complete} sur %{smart_count} fichiers téléchargés'\n },\n filter: 'Filtrer',\n finishEditingFile: 'Terminer l\\'édition du fichier',\n folderAdded: {\n '0': '%{smart_count} fichier ajouté de %{folder}',\n '1': '%{smart_count} fichiers ajoutés de %{folder}',\n '2': '%{smart_count} fichiers ajoutés de %{folder}'\n },\n generatingThumbnails: 'Generating thumbnails...',\n import: 'Importer',\n importFrom: 'Importer de %{name}',\n loading: 'Chargement...',\n logOut: 'Déconnexion',\n micDisabled: 'Accès au micro refusé par l\\'utilisateur',\n myDevice: 'Mon Appareil',\n noDuplicates: 'Impossible d\\'ajouter le fichier \"%{fileName}\", il existe déjà',\n noFilesFound: 'Vous n\\'avez aucun fichier ou dossier ici',\n noInternetConnection: 'Pas de connexion à Internet',\n noMoreFilesAllowed: 'Impossible d\\'ajouter de nouveaux fichiers: en cours de chargement ',\n openFolderNamed: 'Ouvrir %{name}',\n pause: 'Pause',\n pauseUpload: 'Mettre en pause le téléchargement',\n paused: 'En pause',\n poweredBy: 'Propulsé par %{uppy}',\n processingXFiles: {\n '0': 'Traitement de %{smart_count} fichier',\n '1': 'Traitement de %{smart_count} fichiers',\n '2': 'Traitement de %{smart_count} fichiers'\n },\n recording: 'Enregistrement',\n recordingLength: 'Durée d\\'enregistrement %{recording_length}',\n recordingStoppedMaxSize: 'L\\'enregistrement s\\'est arrété car la taille du fichier dépasse la limite',\n removeFile: 'Effacer le fichier %{file}',\n resetFilter: 'Réinitialiser filtre',\n resume: 'Reprendre',\n resumeUpload: 'Reprendre le téléchargement',\n retry: 'Réessayer',\n retryUpload: 'Réessayer le téléchargement',\n saveChanges: 'Sauvegarder les modifications',\n selectFileNamed: 'Sélectionner le fichier %{name}',\n selectX: {\n '0': 'Sélectionner %{smart_count}',\n '1': 'Sélectionner %{smart_count}',\n '2': 'Sélectionner %{smart_count}'\n },\n smile: 'Souriez !',\n startRecording: 'Commencer l\\'enregistrement vidéo',\n stopRecording: 'Arrêter l\\'enregistrement vidéo',\n streamActive: 'Stream actif',\n streamPassive: 'Stream passif',\n submitRecordedFile: 'Envoyer la vidéo enregistrée',\n takePicture: 'Prendre une photo',\n timedOut: 'Téléchargement bloqué durant %{seconds} secondes, annulation.',\n unselectFileNamed: 'Désélectionner le fichier %{name}',\n upload: 'Télécharger',\n uploadComplete: 'Téléchargement terminé',\n uploadFailed: 'Le téléchargement a échoué',\n uploadPaused: 'Téléchargement mis en pause',\n uploadXFiles: {\n '0': 'Télécharger %{smart_count} fichier',\n '1': 'Télécharger %{smart_count} fichiers',\n '2': 'Télécharger %{smart_count} fichiers'\n },\n uploadXNewFiles: {\n '0': 'Télécharger +%{smart_count} fichier',\n '1': 'Télécharger +%{smart_count} fichiers',\n '2': 'Télécharger +%{smart_count} fichiers'\n },\n uploading: 'Téléchargement en cours',\n uploadingXFiles: {\n '0': 'Téléchargement de %{smart_count} fichier',\n '1': 'Téléchargement de %{smart_count} fichiers',\n '2': 'Téléchargement de %{smart_count} fichiers'\n },\n xFilesSelected: {\n '0': '%{smart_count} fichier sélectionné',\n '1': '%{smart_count} fichiers sélectionnés',\n '2': '%{smart_count} fichiers sélectionnés'\n },\n xMoreFilesAdded: {\n '0': '%{smart_count} autre fichier ajouté',\n '1': '%{smart_count} autres fichiers ajoutés',\n '2': '%{smart_count} autres fichiers ajoutés'\n },\n xTimeLeft: '%{time} restantes',\n youCanOnlyUploadFileTypes: 'Vous pouvez seulement télécharger: %{types}',\n youCanOnlyUploadX: {\n '0': 'Vous pouvez seulement télécharger %{smart_count} fichier',\n '1': 'Vous pouvez seulement télécharger %{smart_count} fichiers',\n '2': 'Vous pouvez seulement télécharger %{smart_count} fichiers'\n },\n youHaveToAtLeastSelectX: {\n '0': 'Vous devez sélectionner au moins %{smart_count} fichier',\n '1': 'Vous devez sélectionner au moins %{smart_count} fichiers',\n '2': 'Vous devez sélectionner au moins %{smart_count} fichiers'\n }\n};\n\nfr_FR.pluralize = function pluralize(n) {\n if (n === 1) {\n return 0;\n }\n\n return 1;\n};\n\nif (typeof window !== 'undefined' && typeof window.Uppy !== 'undefined') {\n window.Uppy.locales.fr_FR = fr_FR;\n}\n\nmodule.exports = fr_FR;"],"sourceRoot":""}
1
+ {"version":3,"sources":["../../../node_modules/@uppy/locales/lib/fr_FR.js"],"names":["fr_FR","addBulkFilesFailed","addMore","addMoreFiles","addingMoreFiles","allFilesFromFolderNamed","allowAccessDescription","allowAccessTitle","authAborted","authenticateWith","authenticateWithTitle","back","browse","browseFiles","cancel","cancelUpload","chooseFiles","closeModal","companionError","companionUnauthorizeHint","complete","connectedToInternet","copyLink","copyLinkToClipboardFallback","copyLinkToClipboardSuccess","creatingAssembly","creatingAssemblyFailed","dashboardTitle","dashboardWindowTitle","dataUploadedOfTotal","done","dropHereOr","dropHint","dropPasteBoth","dropPasteFiles","dropPasteFolders","dropPasteImportBoth","dropPasteImportFiles","dropPasteImportFolders","editFile","editFileWithFilename","editing","emptyFolderAdded","encoding","enterCorrectUrl","enterUrlToImport","exceedsSize","failedToFetch","failedToUpload","fileSource","filesUploadedOfTotal","filter","finishEditingFile","folderAdded","generatingThumbnails","import","importFrom","loading","logOut","micDisabled","myDevice","noDuplicates","noFilesFound","noInternetConnection","noMoreFilesAllowed","openFolderNamed","pause","pauseUpload","paused","poweredBy","processingXFiles","recording","recordingLength","recordingStoppedMaxSize","removeFile","resetFilter","resume","resumeUpload","retry","retryUpload","saveChanges","selectFileNamed","selectX","smile","startRecording","stopRecording","streamActive","streamPassive","submitRecordedFile","takePicture","timedOut","unselectFileNamed","upload","uploadComplete","uploadFailed","uploadPaused","uploadXFiles","uploadXNewFiles","uploading","uploadingXFiles","xFilesSelected","xMoreFilesAdded","xTimeLeft","youCanOnlyUploadFileTypes","youCanOnlyUploadX","youHaveToAtLeastSelectX","n","window","Uppy","locales","module","exports"],"mappings":"yIAEA,IAAMA,EAAQ,CACdA,QAAgB,CACdC,mBAAoB,CAClB,EAAK,mDACL,EAAK,qDAEPC,QAAS,mBACTC,aAAc,4BACdC,gBAAiB,kCACjBC,wBAAyB,uCACzBC,uBAAwB,6IACxBC,iBAAkB,qDAClBC,YAAa,+BACbC,iBAAkB,kCAClBC,sBAAuB,kFACvBC,KAAM,SACNC,OAAQ,WACRC,YAAa,WACbC,OAAQ,UACRC,aAAc,+BACdC,YAAa,uBACbC,WAAY,oBACZC,eAAgB,0CAChBC,yBAA0B,mFAC1BC,SAAU,aACVC,oBAAqB,4BACrBC,SAAU,cACVC,4BAA6B,4BAC7BC,2BAA4B,gBAC5BC,iBAAkB,4CAClBC,uBAAwB,+CACxBC,eAAgB,gCAChBC,qBAAsB,8EACtBC,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iB,CACf,EAAK,iDACL,EAAK,kDACL,EAAK,mDAEPC,eAAgB,CACd,EAAK,2CACL,EAAK,6CACL,EAAK,8CAEPC,gBAAiB,CACf,EAAK,yCACL,EAAK,4CACL,EAAK,6CAEPC,UAAW,oBACXC,0BAA2B,oDAC3BC,kBAAmB,CACjB,EAAK,iEACL,EAAK,kEACL,EAAK,mEAEPC,wBAAyB,CACvB,EAAK,6DACL,EAAK,8DACL,EAAK,gEAITzG,UAAkB,SAAmB0G,GACnC,OAAU,IAANA,EACK,EAGF,IAGa,qBAAXC,QAAiD,qBAAhBA,OAAOC,OACjDD,OAAOC,KAAKC,QAAQ7G,MAAQA,GAG9B8G,EAAOC,QAAU/G","file":"static/js/13.e2bba628.chunk.js","sourcesContent":["\"use strict\";\n\nconst fr_FR = {};\nfr_FR.strings = {\n addBulkFilesFailed: {\n '0': 'L\\'ajout de %{smart_count} fichier a échoué',\n '1': 'L\\'ajout de %{smart_count} fichiers a échoué'\n },\n addMore: 'Ajouter d\\'autres',\n addMoreFiles: 'Ajouter d\\'autres fichiers',\n addingMoreFiles: 'En train d\\'ajouter des fichiers',\n allFilesFromFolderNamed: 'Tous les fichiers du dossier %{name}',\n allowAccessDescription: 'Pour prendre des photos ou enregistrer une vidéo avec votre caméra, veuillez autoriser l\\'accès à votre caméra pour ce site.',\n allowAccessTitle: 'Veuillez autoriser l\\'accès à votre caméra',\n authAborted: 'Authentification interrompue',\n authenticateWith: 'Se connecter à %{pluginName}',\n authenticateWithTitle: 'Veuillez vous authentifier avec %{pluginName} pour sélectionner les fichiers',\n back: 'Retour',\n browse: 'naviguer',\n browseFiles: 'naviguer',\n cancel: 'Annuler',\n cancelUpload: 'Annuler téléchargement',\n chooseFiles: 'Choisir des fichiers',\n closeModal: 'Fermer Fenêtre',\n companionError: 'Connexion à Companion a échoué',\n companionUnauthorizeHint: 'Pour vous déconnecter de votre compte %{provider}, veuillez aller à %{url}',\n complete: 'Terminé',\n connectedToInternet: 'Connecté à Internet',\n copyLink: 'Copier lien',\n copyLinkToClipboardFallback: 'Copier le lien ci-dessous',\n copyLinkToClipboardSuccess: 'Lien copié',\n creatingAssembly: 'Préparation du téléchargement...',\n creatingAssemblyFailed: 'Transloadit: Impossible de créer Assembly',\n dashboardTitle: 'Téléchargeur de fichier',\n dashboardWindowTitle: 'Fenêtre de téléchargeur de fichier (Appuyez sur echap pour fermer)',\n dataUploadedOfTotal: '%{complete} sur %{total}',\n done: 'Terminé',\n dropHereOr: 'Déposer les fichiers ici ou %{browse}',\n dropHint: 'Déposez vos fichiers ici',\n dropPasteBoth: 'Déposer les fichiers ici, coller ou %{browse}',\n dropPasteFiles: 'Déposer les fichiers ici, coller ou %{browse}',\n dropPasteFolders: 'Déposer les fichiers ici, coller ou %{browse}',\n dropPasteImportBoth: 'Déposer les fichiers ici, coller, %{browse} ou importer de',\n dropPasteImportFiles: 'Déposer les fichiers ici, coller, %{browse} ou importer de',\n dropPasteImportFolders: 'Déposer les fichiers ici, coller, %{browse} ou importer de',\n editFile: 'Modifier le fichier',\n editFileWithFilename: 'Modifier le fichier %{file}',\n editing: 'Modification en cours de %{file}',\n emptyFolderAdded: 'Aucun fichier n\\'a été ajouté depuis un dossier vide',\n encoding: 'Traitement...',\n enterCorrectUrl: 'Lien incorrect: Assurez-vous que vous entrez un lien direct vers le fichier',\n enterUrlToImport: 'Entrez le lien pour importer un fichier',\n exceedsSize: 'Ce fichier dépasse la taille maximale autorisée de %{size}',\n failedToFetch: 'Companion a échoué à récupérer ce lien, assurez-vous qu\\'il est correct',\n failedToUpload: 'Le téléchargement de %{file} a échoué',\n fileSource: 'Fichier source: %{name}',\n filesUploadedOfTotal: {\n '0': '%{complete} sur %{smart_count} fichier téléchargé',\n '1': '%{complete} sur %{smart_count} fichiers téléchargés',\n '2': '%{complete} sur %{smart_count} fichiers téléchargés'\n },\n filter: 'Filtrer',\n finishEditingFile: 'Terminer l\\'édition du fichier',\n folderAdded: {\n '0': '%{smart_count} fichier ajouté de %{folder}',\n '1': '%{smart_count} fichiers ajoutés de %{folder}',\n '2': '%{smart_count} fichiers ajoutés de %{folder}'\n },\n generatingThumbnails: 'Generating thumbnails...',\n import: 'Importer',\n importFrom: 'Importer de %{name}',\n loading: 'Chargement...',\n logOut: 'Déconnexion',\n micDisabled: 'Accès au micro refusé par l\\'utilisateur',\n myDevice: 'Mon Appareil',\n noDuplicates: 'Impossible d\\'ajouter le fichier \"%{fileName}\", il existe déjà',\n noFilesFound: 'Vous n\\'avez aucun fichier ou dossier ici',\n noInternetConnection: 'Pas de connexion à Internet',\n noMoreFilesAllowed: 'Impossible d\\'ajouter de nouveaux fichiers: en cours de chargement ',\n openFolderNamed: 'Ouvrir %{name}',\n pause: 'Pause',\n pauseUpload: 'Mettre en pause le téléchargement',\n paused: 'En pause',\n poweredBy: 'Propulsé par %{uppy}',\n processingXFiles: {\n '0': 'Traitement de %{smart_count} fichier',\n '1': 'Traitement de %{smart_count} fichiers',\n '2': 'Traitement de %{smart_count} fichiers'\n },\n recording: 'Enregistrement',\n recordingLength: 'Durée d\\'enregistrement %{recording_length}',\n recordingStoppedMaxSize: 'L\\'enregistrement s\\'est arrété car la taille du fichier dépasse la limite',\n removeFile: 'Effacer le fichier %{file}',\n resetFilter: 'Réinitialiser filtre',\n resume: 'Reprendre',\n resumeUpload: 'Reprendre le téléchargement',\n retry: 'Réessayer',\n retryUpload: 'Réessayer le téléchargement',\n saveChanges: 'Sauvegarder les modifications',\n selectFileNamed: 'Sélectionner le fichier %{name}',\n selectX: {\n '0': 'Sélectionner %{smart_count}',\n '1': 'Sélectionner %{smart_count}',\n '2': 'Sélectionner %{smart_count}'\n },\n smile: 'Souriez !',\n startRecording: 'Commencer l\\'enregistrement vidéo',\n stopRecording: 'Arrêter l\\'enregistrement vidéo',\n streamActive: 'Stream actif',\n streamPassive: 'Stream passif',\n submitRecordedFile: 'Envoyer la vidéo enregistrée',\n takePicture: 'Prendre une photo',\n timedOut: 'Téléchargement bloqué durant %{seconds} secondes, annulation.',\n unselectFileNamed: 'Désélectionner le fichier %{name}',\n upload: 'Télécharger',\n uploadComplete: 'Téléchargement terminé',\n uploadFailed: 'Le téléchargement a échoué',\n uploadPaused: 'Téléchargement mis en pause',\n uploadXFiles: {\n '0': 'Télécharger %{smart_count} fichier',\n '1': 'Télécharger %{smart_count} fichiers',\n '2': 'Télécharger %{smart_count} fichiers'\n },\n uploadXNewFiles: {\n '0': 'Télécharger +%{smart_count} fichier',\n '1': 'Télécharger +%{smart_count} fichiers',\n '2': 'Télécharger +%{smart_count} fichiers'\n },\n uploading: 'Téléchargement en cours',\n uploadingXFiles: {\n '0': 'Téléchargement de %{smart_count} fichier',\n '1': 'Téléchargement de %{smart_count} fichiers',\n '2': 'Téléchargement de %{smart_count} fichiers'\n },\n xFilesSelected: {\n '0': '%{smart_count} fichier sélectionné',\n '1': '%{smart_count} fichiers sélectionnés',\n '2': '%{smart_count} fichiers sélectionnés'\n },\n xMoreFilesAdded: {\n '0': '%{smart_count} autre fichier ajouté',\n '1': '%{smart_count} autres fichiers ajoutés',\n '2': '%{smart_count} autres fichiers ajoutés'\n },\n xTimeLeft: '%{time} restantes',\n youCanOnlyUploadFileTypes: 'Vous pouvez seulement télécharger: %{types}',\n youCanOnlyUploadX: {\n '0': 'Vous pouvez seulement télécharger %{smart_count} fichier',\n '1': 'Vous pouvez seulement télécharger %{smart_count} fichiers',\n '2': 'Vous pouvez seulement télécharger %{smart_count} fichiers'\n },\n youHaveToAtLeastSelectX: {\n '0': 'Vous devez sélectionner au moins %{smart_count} fichier',\n '1': 'Vous devez sélectionner au moins %{smart_count} fichiers',\n '2': 'Vous devez sélectionner au moins %{smart_count} fichiers'\n }\n};\n\nfr_FR.pluralize = function pluralize(n) {\n if (n === 1) {\n return 0;\n }\n\n return 1;\n};\n\nif (typeof window !== 'undefined' && typeof window.Uppy !== 'undefined') {\n window.Uppy.locales.fr_FR = fr_FR;\n}\n\nmodule.exports = fr_FR;"],"sourceRoot":""}