jamespot-user-api 1.0.76 → 1.0.79
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.
- package/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JConceptApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFileApi.html +1 -1
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +1 -1
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JUserApi.html +3 -3
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -0
- package/documentation/classes/WindowJestFetch.html +1 -0
- package/documentation/classes/WindowMobile.html +1 -0
- package/documentation/classes/WindowMock.html +10 -0
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/ApiError.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseAutocomplete.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/Category.html +1 -1
- package/documentation/interfaces/CreateGroup.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/Result.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SearchCategoryModel.html +1 -1
- package/documentation/interfaces/SearchConfig.html +1 -1
- package/documentation/interfaces/SearchFacetModel.html +1 -1
- package/documentation/interfaces/SearchFacetValueModel.html +1 -1
- package/documentation/interfaces/SearchQuery.html +1 -1
- package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
- package/documentation/interfaces/SearchQueryOption.html +1 -1
- package/documentation/interfaces/SearchQueryResult.html +1 -1
- package/documentation/interfaces/SearchQuerySortModel.html +1 -1
- package/documentation/interfaces/SearchResultCatProps.html +1 -1
- package/documentation/interfaces/SearchResultProps.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/Taxonomy.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/UserModel.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +1 -1
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/article.d.ts +2 -3
- package/lib/src/index.d.ts +1 -0
- package/lib/src/types/utils.d.ts +6 -0
- package/lib/src/util/network.d.ts +4 -1
- package/lib/src/window/index.d.ts +5 -0
- package/package.json +1 -1
package/lib/jamespot-user-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{"use strict";var t={d:(e,s)=>{for(var r in s)t.o(s,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:s[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{AdminStoreApi:()=>r,JApplicationApi:()=>n,JArticleApi:()=>i,JAudienceApi:()=>a,JBaseApi:()=>s,JBookmarkApi:()=>g,JCommunityApi:()=>c,JConceptApi:()=>u,JDiapazoneApi:()=>b,JFileApi:()=>l,JFilebankApi:()=>p,JGroupApi:()=>d,JLandApi:()=>f,JMessengerApi:()=>w,JSearchApi:()=>k,JShareApi:()=>A,JUserApi:()=>y,JWedocApi:()=>O,JamespotUserApi:()=>v,JamespotUserApiInstance:()=>x,Network:()=>j,StudioApplicationStatus:()=>o,api:()=>R,default:()=>C,network:()=>F});class s{constructor(t){this.network=t}}class r extends s{getItem(t){return this.network.post({o:"adminStore",f:"getItem",uri:t})}checkoutBilling(t){return this.network.postCSRF({o:"adminStore",f:"checkoutBilling",uri:t})}checkoutFinalize(t){return this.network.postCSRF({o:"adminStore",f:"checkoutFinalize",uri:t})}}var o;!function(t){t.local="local",t.installed="installed",t.autosaved="autosaved",t.saved="saved"}(o||(o={}));class n extends s{list(){return this.network.post({o:"studio",f:"list"})}get(t,e){return this.network.post({o:"studio",f:"get",idApp:t,status:e})}install(t){return this.network.postCSRF({o:"studio",f:"install",value:t})}suspend(t){return this.network.postCSRF({o:"studio",f:"suspend",idApp:t})}restart(t){return this.network.postCSRF({o:"studio",f:"restart",idApp:t})}save(t,e,s){if(s===o.saved||s===o.autosaved)return this.network.postCSRF({o:"studio",f:"save",idApp:t,value:e,status:s});throw"Invalid status value"}delete(t,e){return s=this,r=void 0,n=function*(){return this.network.postCSRF({o:"studio",f:"delete",idApp:t,status:e}).then((t=>{if(0===t.error)return t.messages;throw t.messages}))},new((o=void 0)||(o=Promise))((function(t,e){function i(t){try{c(n.next(t))}catch(t){e(t)}}function a(t){try{c(n.throw(t))}catch(t){e(t)}}function c(e){var s;e.done?t(e.value):(s=e.value,s instanceof o?s:new o((function(t){t(s)}))).then(i,a)}c((n=n.apply(s,r||[])).next())}));var s,r,o,n}cssClassList(){return this.network.post({o:"studio",f:"icons"})}}class i extends s{list(t){return this.network.post(Object.assign({o:"ObjectListJamespot",f:"ArticleQueryList"},t))}get(t){return this.network.post(Object.assign({o:"article",f:"get"},t))}create(t){return this.network.post(Object.assign({o:"article",f:"create"},t))}update(t){return this.network.post(Object.assign({o:"article",f:"update"},t))}count(t){return this.network.post({o:"article",f:"count",type:t})}}class a extends s{autocomplete(t){return this.network.post({o:"autocomplete",f:"audience",q:t}).then((t=>{if(Array.isArray(t.result))return t.result;throw"Bad response from backend"}))}}class c extends s{sendRequest(t,e){return this.network.post({o:"community",f:"sendRequest",message:t,idUserTo:e})}autocomplete(t){return this.network.post({o:"autocomplete",f:"community",q:t}).then((t=>t.result))}}class u extends s{autocomplete(t,e){return this.network.post({o:"autocomplete",f:"taxonomy",q:e,idTaxonomy:t,idToUri:!1})}}class l extends s{upload(t,e){const s=new FormData;return s.append("attrName",t),s.append(t,e),this.network.postFile(s)}}class p extends s{getBanks(t="list"){return this.network.post({o:"fileBank",f:"getBanks",format:t}).then((t=>t.result))}getFolders(t){return this.network.post({o:"fileBank",f:"getFolders",parentURI:t}).then((t=>({data:t.result})))}}class d extends s{create(t){var{type:e,widgets:s}=t,r=function(t,e){var s={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(s[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(s[r[o]]=t[r[o]])}return s}(t,["type","widgets"]);return this.network.post(Object.assign(Object.assign({o:"spot",f:"create"},r),{type:e||"spot",widgets:JSON.stringify(s)}))}getApplications(){return this.network.post({o:"spot",f:"get-available-widget"})}getCategories(){return this.network.post({o:"spot",f:"get-categories"})}getObjectListJamespotSpotMembers(t,e,s,r=1){return this.network.post({o:"objectListJamespot",f:"SpotMembers",idSpot:t,limit:s,page:r,format:"raw-little",query:e})}}class h extends s{list(t,e,s,r=[{name:"dateCreation",sort:"DESC"}]){return new i(this.network).list({type:"aseiClearanceTicket",format:"raw-view",limit:e,page:t,orders:r,filters:s})}requestStatus(t,e,s){return this.network.post({o:"asei",f:"setStatus",uri:t,requestedStatus:e,audience:s}).then((t=>{if(t&&t.result)return t.result;throw"Bad response from backend"}))}getDedicatedGroups(){return this.network.post({o:"asei",f:"getDedicatedGroups"}).then((t=>{if(t&&t.result)return t.result;throw"Bad response from backend"}))}getConfiguration(){return this.network.post({o:"asei",f:"configuration"}).then((t=>{if(t&&t.result)return t.result.right;throw"Bad response from backend"}))}}class f extends s{getLogs({dateEnd:t,idLogMax:e}){return this.network.post({o:"jLand",f:"adminLogs",dateEnd:t,idLogMax:e})}getStats({map:t,dateStart:e,dateEnd:s}){return this.network.post({o:"jLand",f:"adminStats",map:t,dateStart:e,dateEnd:s})}}class w extends s{sendMessage(t,e){return this.network.post({o:"messenger",f:"newMessage",idDiscussion:e,msg:{description:t}})}getOrCreateDiscussion(t,e){const s=t<e?`${t}.${e}`:`${e}.${t}`;return this.network.post({o:"messenger",f:"getDiscussion",idDiscussion:s,type:"messengerUser",idUserTo:e})}}class k extends s{getConfig(){return this.network.post({o:"search",f:"getConfig"})}proposition({query:t,format:e},s){return this.network.post({o:"search",f:"proposition",query:t,format:e||"little"},s)}searchQuery(t,e){const{keywords:s,category:r,facetCategories:o,filters:n,page:i,limit:a,sort:c,options:u}=t;return this.network.post({o:"search",f:"query",keywords:s,category:r,facetCategories:o,filters:n,page:i,limit:a,sort:c,options:u},e)}getLastQueries(){return this.network.post({o:"search",f:"getLastQueries"})}getAdminConfig(){return this.network.post({o:"search",f:"getAdminConfig"})}setAdminConfig(t){return this.network.post({o:"search",f:"setAdminConfig",config:t})}}class g extends s{getList(t){return this.network.post(Object.assign({o:"object",f:"list",namespace:"bookmarks",view:"list"},t))}addLink(t,e){return this.network.post({o:"custom",f:"actionAdd",type:"bookmarkLink",targetId:t,targetType:e,format:"list"})}addBookmark(t){return this.network.postCSRF(Object.assign({o:"bookmarks",f:"add"},t))}delete(t){return this.network.postCSRF({o:"bookmarks",f:"delete",bookmarkID:t})}rename(t,e){return this.network.postCSRF({o:"bookmarks",f:"rename",bookmarkID:t,bookmarkLabel:e})}move(t,e,s){return this.network.postCSRF({o:"bookmarks",f:"move",bookmarkID:t,bookmarkReference:e,bookmarkPosition:s})}}class m extends s{list(){return this.network.post({o:"taxonomy",f:"list"}).then((t=>{if(Array.isArray(t.result))return t.result;throw"Bad response from backend"}))}create(t){return this.network.post(Object.assign({o:"taxonomy",f:"create"},t))}}class y extends s{autocomplete(t){return this.network.post({o:"autocomplete",f:"user",q:t,idToUri:!1}).then((t=>{if(Array.isArray(t.result))return t.result;throw"Bad response from backend"}))}get(t,e="little"){return this.network.post({o:"user",f:"get",uri:t,format:e})}signIn(t,e){return this.network.post({o:"user",f:"signIn",mail:t,password:e})}}class b extends s{create(t,e,s,r,o){return this.network.post({o:"article",f:"create",type:t,token:e,title:s,dateStart:r,publishTo:o})}getList(t="",e=[],s=[],r=1,o="list"){return this.network.post({o:"objectList",f:"diapazoneQueryList",query:t,filters:e,orders:s,page:r,format:o}).then((t=>{const e=t.result;if(Array.isArray(e.data))return e;throw{error:t.error,messages:t.messages}}))}}class O extends s{getFiles(t){return this.network.post(Object.assign({o:"onlyOffice",f:"getFiles"},t)).then((t=>{const e=t.result;if(Array.isArray(e.data))return{page:e.page,cnt:e.cnt,limit:e.limit,data:e.data};throw{error:t.error,messages:t.messages}}))}getFile(t,e){return this.network.post({o:"onlyOffice",f:"getFile",idFile:t,hash:e}).then((t=>t.result))}getTemplates(){return this.network.post({o:"onlyOffice",f:"getTemplates"}).then((t=>t.result))}duplicateFile(t,e,s){return this.network.post({o:"onlyOffice",f:"duplicateFile",idFile:t,title:e,publishTo:s})}deleteFile(t){return this.network.post({o:"onlyOffice",f:"deleteFile",idFile:t})}createFile(t,e,s){return this.network.post({o:"onlyOffice",f:"createFile",title:t,type:e,publishTo:s}).then((t=>t.result))}updateFile(t,e){return this.network.post({o:"onlyOffice",f:"updateFile",idFile:t,title:e})}getFileInfo(t,e){return this.network.post({o:"onlyOffice",f:"GetFileInfo",idFile:t,mode:e})}}class A extends s{setObjectAccessRequest(t,e,s,r){return this.network.post({o:"onlyOffice",f:"setObjectAccessRequest",uri:t,idUser:e,requestAccessValue:s,requestResponseMessage:r})}getObjectAccessRequest(t,e){return this.network.post({o:"onlyOffice",f:"getObjectAccessRequest",uri:t,idUser:e}).then((t=>t.result))}getObject(t){return this.network.post({o:"onlyOffice",f:"getObject",uri:t}).then((t=>t.result))}askObjectAccess(t,e,s){return this.network.post({o:"onlyOffice",f:"askObjectAccess",uri:t,askAccess:e,askMessage:s}).then((t=>t.result))}setObjectAccess(t,e,s,r){return this.network.post({o:"onlyOffice",f:"setObjectAccess",uri:t,access:e,message:s,generalAccessRule:r}).then((t=>t.result))}getObjectAccess(t){return this.network.post({o:"onlyOffice",f:"getObjectAccess",uri:t}).then((t=>({audience:t.result.audience,read:t.result.read,write:t.result.write})))}}class v{constructor(t){this.version="1.0",this.network=t,this.admin={store:new r(this.network)},this.application=new n(this.network),this.article=new i(this.network),this.asei=new h(this.network),this.audience=new a(this.network),this.community=new c(this.network),this.concept=new u(this.network),this.file=new l(this.network),this.filebank=new p(this.network),this.group=new d(this.network),this.jland=new f(this.network),this.messenger=new w(this.network),this.search=new k(this.network),this.share=new A(this.network),this.bookmark=new g(this.network),this.taxonomy=new m(this.network),this.user=new y(this.network),this.diapazone=new b(this.network),this.wedoc=new O(this.network)}}var S=function(t,e,s,r){return new(s||(s=Promise))((function(o,n){function i(t){try{c(r.next(t))}catch(t){n(t)}}function a(t){try{c(r.throw(t))}catch(t){n(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(i,a)}c((r=r.apply(t,e||[])).next())}))};class j{constructor(t,e="api-front"){this.window=t,this.action=e}static _formatPostOptions(t){const e=t?{body:JSON.stringify(t)}:void 0;return Object.assign({method:"POST",credentials:"same-origin"},e)}static _formatQueryOptions(t){return Object.entries(t).reduce(((t,[e,s])=>(t.append(e,s.toString()),t)),new URLSearchParams).toString()}getUrl(t,e){return S(this,void 0,void 0,(function*(){return`${yield this.window.getBackendUrl()}/${this.action}/${t}/${e}`}))}fetch(t,e){var{o:s,f:r}=t,o=function(t,e){var s={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(s[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(s[r[o]]=t[r[o]])}return s}(t,["o","f"]);return S(this,void 0,void 0,(function*(){void 0===e&&(e=null);const t=yield this.getUrl(s,r);return this.window.fetch(t,Object.assign(Object.assign({},j._formatPostOptions(o)),{signal:e}))}))}post(t,e){return this.fetch(t,e).then((t=>t.json())).then((t=>{if(0===t.error)return t;throw{error:t.error,errorMsg:t.errorMsg,messages:t.messages}})).catch((t=>{if(e&&e.aborted)throw{error:-1,aborted:!0};throw t}))}postFile(t){return S(this,void 0,void 0,(function*(){const{result:e}=yield this.token(),s=yield this.getUrl("file","create");return t.append("token",e),this.window.fetch(s,{method:"POST",credentials:"same-origin",body:t}).then((t=>t.json())).then((t=>{if(0===t.error)return t.result;throw t.error}))}))}postCSRF(t){return this.tokenCSRF().then((e=>this.post(Object.assign(t,{tokenCSRF:e.result}))))}token(){return this.post({o:"misc",f:"token"})}tokenCSRF(){return this.post({o:"misc",f:"tokenCSRF"})}}const F=new j(new class{getBackendUrl(){return t=this,e=void 0,r=function*(){const t=window.location;return`${t.protocol}//${t.host}`},new((s=void 0)||(s=Promise))((function(o,n){function i(t){try{c(r.next(t))}catch(t){n(t)}}function a(t){try{c(r.throw(t))}catch(t){n(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(i,a)}c((r=r.apply(t,e||[])).next())}));var t,e,s,r}fetch(t,e){return window.fetch(t,e)}}),x=new v(F);window.JamespotUserApi=x;const C=x,R=v;module.exports=e})();
|
|
1
|
+
(()=>{"use strict";var e,t,s={300:(e,t)=>{var s=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==s)return s;throw new Error("unable to locate global object")}();e.exports=t=s.fetch,s.fetch&&(t.default=s.fetch.bind(s)),t.Headers=s.Headers,t.Request=s.Request,t.Response=s.Response}},a={};function r(e){var t=a[e];if(void 0!==t)return t.exports;var i=a[e]={exports:{}};return s[e](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(s,a){if(1&a&&(s=this(s)),8&a)return s;if("object"==typeof s&&s){if(4&a&&s.__esModule)return s;if(16&a&&"function"==typeof s.then)return s}var i=Object.create(null);r.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var n=2&a&&s;"object"==typeof n&&!~e.indexOf(n);n=t(n))Object.getOwnPropertyNames(n).forEach((e=>o[e]=()=>s[e]));return o.default=()=>s,r.d(i,o),i},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{r.r(i),r.d(i,{AdminStoreApi:()=>t,JApplicationApi:()=>a,JArticleApi:()=>o,JAudienceApi:()=>n,JBaseApi:()=>e,JBookmarkApi:()=>_,JCommunityApi:()=>l,JConceptApi:()=>u,JDiapazoneApi:()=>C,JFileApi:()=>c,JFilebankApi:()=>m,JGroupApi:()=>p,JLandApi:()=>f,JMessengerApi:()=>y,JSearchApi:()=>h,JShareApi:()=>k,JUserApi:()=>g,JWedocApi:()=>O,JamespotUserApi:()=>v,JamespotUserApiInstance:()=>be,Network:()=>A,StudioApplicationStatus:()=>s,WindowBrowser:()=>w,WindowJestFetch:()=>j,WindowMobile:()=>D,WindowMock:()=>he,api:()=>Ce,default:()=>ge,network:()=>_e});class e{constructor(e){this.network=e}}class t extends e{getItem(e){return this.network.post({o:"adminStore",f:"getItem",uri:e})}checkoutBilling(e){return this.network.postCSRF({o:"adminStore",f:"checkoutBilling",uri:e})}checkoutFinalize(e){return this.network.postCSRF({o:"adminStore",f:"checkoutFinalize",uri:e})}}var s;!function(e){e.local="local",e.installed="installed",e.autosaved="autosaved",e.saved="saved"}(s||(s={}));class a extends e{list(){return this.network.post({o:"studio",f:"list"})}get(e,t){return this.network.post({o:"studio",f:"get",idApp:e,status:t})}install(e){return this.network.postCSRF({o:"studio",f:"install",value:e})}suspend(e){return this.network.postCSRF({o:"studio",f:"suspend",idApp:e})}restart(e){return this.network.postCSRF({o:"studio",f:"restart",idApp:e})}save(e,t,a){if(a===s.saved||a===s.autosaved)return this.network.postCSRF({o:"studio",f:"save",idApp:e,value:t,status:a});throw"Invalid status value"}delete(e,t){return s=this,a=void 0,i=function*(){return this.network.postCSRF({o:"studio",f:"delete",idApp:e,status:t}).then((e=>{if(0===e.error)return e.messages;throw e.messages}))},new((r=void 0)||(r=Promise))((function(e,t){function o(e){try{l(i.next(e))}catch(e){t(e)}}function n(e){try{l(i.throw(e))}catch(e){t(e)}}function l(t){var s;t.done?e(t.value):(s=t.value,s instanceof r?s:new r((function(e){e(s)}))).then(o,n)}l((i=i.apply(s,a||[])).next())}));var s,a,r,i}cssClassList(){return this.network.post({o:"studio",f:"icons"})}}class o extends e{list(e){return this.network.post(Object.assign({o:"ObjectListJamespot",f:"ArticleQueryList"},e))}get(e){return this.network.post(Object.assign({o:"article",f:"get"},e))}create(e){return this.network.maybePostToken(Object.assign({o:"article",f:"create"},e))}update(e){return this.network.post(Object.assign({o:"article",f:"update"},e))}count(e){return this.network.post({o:"article",f:"count",type:e})}}class n extends e{autocomplete(e){return this.network.post({o:"autocomplete",f:"audience",q:e}).then((e=>{if(Array.isArray(e.result))return e.result;throw"Bad response from backend"}))}}class l extends e{sendRequest(e,t){return this.network.post({o:"community",f:"sendRequest",message:e,idUserTo:t})}autocomplete(e){return this.network.post({o:"autocomplete",f:"community",q:e}).then((e=>e.result))}}class u extends e{autocomplete(e,t){return this.network.post({o:"autocomplete",f:"taxonomy",q:t,idTaxonomy:e,idToUri:!1})}}class c extends e{upload(e,t){const s=new FormData;return s.append("attrName",e),s.append(e,t),this.network.postFile(s)}}class m extends e{getBanks(e="list"){return this.network.post({o:"fileBank",f:"getBanks",format:e}).then((e=>e.result))}getFolders(e){return this.network.post({o:"fileBank",f:"getFolders",parentURI:e}).then((e=>({data:e.result})))}}class p extends e{create(e){var{type:t,widgets:s}=e,a=function(e,t){var s={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(s[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(s[a[r]]=e[a[r]])}return s}(e,["type","widgets"]);return this.network.post(Object.assign(Object.assign({o:"spot",f:"create"},a),{type:t||"spot",widgets:JSON.stringify(s)}))}getApplications(){return this.network.post({o:"spot",f:"get-available-widget"})}getCategories(){return this.network.post({o:"spot",f:"get-categories"})}getObjectListJamespotSpotMembers(e,t,s,a=1){return this.network.post({o:"objectListJamespot",f:"SpotMembers",idSpot:e,limit:s,page:a,format:"raw-little",query:t})}}class d extends e{list(e,t,s,a=[{name:"dateCreation",sort:"DESC"}]){return new o(this.network).list({type:"aseiClearanceTicket",format:"raw-view",limit:t,page:e,orders:a,filters:s})}requestStatus(e,t,s){return this.network.post({o:"asei",f:"setStatus",uri:e,requestedStatus:t,audience:s}).then((e=>{if(e&&e.result)return e.result;throw"Bad response from backend"}))}getDedicatedGroups(){return this.network.post({o:"asei",f:"getDedicatedGroups"}).then((e=>{if(e&&e.result)return e.result;throw"Bad response from backend"}))}getConfiguration(){return this.network.post({o:"asei",f:"configuration"}).then((e=>{if(e&&e.result)return e.result.right;throw"Bad response from backend"}))}}class f extends e{getLogs({dateEnd:e,idLogMax:t}){return this.network.post({o:"jLand",f:"adminLogs",dateEnd:e,idLogMax:t})}getStats({map:e,dateStart:t,dateEnd:s}){return this.network.post({o:"jLand",f:"adminStats",map:e,dateStart:t,dateEnd:s})}}class y extends e{sendMessage(e,t){return this.network.post({o:"messenger",f:"newMessage",idDiscussion:t,msg:{description:e}})}getOrCreateDiscussion(e,t){const s=e<t?`${e}.${t}`:`${t}.${e}`;return this.network.post({o:"messenger",f:"getDiscussion",idDiscussion:s,type:"messengerUser",idUserTo:t})}}class h extends e{getConfig(){return this.network.post({o:"search",f:"getConfig"})}proposition({query:e,format:t},s){return this.network.post({o:"search",f:"proposition",query:e,format:t||"little"},s)}searchQuery(e,t){const{keywords:s,category:a,facetCategories:r,filters:i,page:o,limit:n,sort:l,options:u}=e;return this.network.post({o:"search",f:"query",keywords:s,category:a,facetCategories:r,filters:i,page:o,limit:n,sort:l,options:u},t)}getLastQueries(){return this.network.post({o:"search",f:"getLastQueries"})}getAdminConfig(){return this.network.post({o:"search",f:"getAdminConfig"})}setAdminConfig(e){return this.network.post({o:"search",f:"setAdminConfig",config:e})}}class _ extends e{getList(e){return this.network.post(Object.assign({o:"object",f:"list",namespace:"bookmarks",view:"list"},e))}addLink(e,t){return this.network.post({o:"custom",f:"actionAdd",type:"bookmarkLink",targetId:e,targetType:t,format:"list"})}addBookmark(e){return this.network.postCSRF(Object.assign({o:"bookmarks",f:"add"},e))}delete(e){return this.network.postCSRF({o:"bookmarks",f:"delete",bookmarkID:e})}rename(e,t){return this.network.postCSRF({o:"bookmarks",f:"rename",bookmarkID:e,bookmarkLabel:t})}move(e,t,s){return this.network.postCSRF({o:"bookmarks",f:"move",bookmarkID:e,bookmarkReference:t,bookmarkPosition:s})}}class b extends e{list(){return this.network.post({o:"taxonomy",f:"list"}).then((e=>{if(Array.isArray(e.result))return e.result;throw"Bad response from backend"}))}create(e){return this.network.post(Object.assign({o:"taxonomy",f:"create"},e))}}class g extends e{autocomplete(e){return this.network.post({o:"autocomplete",f:"user",q:e,idToUri:!1}).then((e=>{if(Array.isArray(e.result))return e.result;throw"Bad response from backend"}))}get(e,t="little"){return this.network.post({o:"user",f:"get",uri:e,format:t})}signIn(e,t){return this.network.post({o:"user",f:"signIn",mail:e,password:t})}}class C extends e{create(e,t,s,a,r){return this.network.post({o:"article",f:"create",type:e,token:t,title:s,dateStart:a,publishTo:r})}getList(e="",t=[],s=[],a=1,r="list"){return this.network.post({o:"objectList",f:"diapazoneQueryList",query:e,filters:t,orders:s,page:a,format:r}).then((e=>{const t=e.result;if(Array.isArray(t.data))return t;throw{error:e.error,messages:e.messages}}))}}class O extends e{getFiles(e){return this.network.post(Object.assign({o:"onlyOffice",f:"getFiles"},e)).then((e=>{const t=e.result;if(Array.isArray(t.data))return{page:t.page,cnt:t.cnt,limit:t.limit,data:t.data};throw{error:e.error,messages:e.messages}}))}getFile(e,t){return this.network.post({o:"onlyOffice",f:"getFile",idFile:e,hash:t}).then((e=>e.result))}getTemplates(){return this.network.post({o:"onlyOffice",f:"getTemplates"}).then((e=>e.result))}duplicateFile(e,t,s){return this.network.post({o:"onlyOffice",f:"duplicateFile",idFile:e,title:t,publishTo:s})}deleteFile(e){return this.network.post({o:"onlyOffice",f:"deleteFile",idFile:e})}createFile(e,t,s){return this.network.post({o:"onlyOffice",f:"createFile",title:e,type:t,publishTo:s}).then((e=>e.result))}updateFile(e,t){return this.network.post({o:"onlyOffice",f:"updateFile",idFile:e,title:t})}getFileInfo(e,t){return this.network.post({o:"onlyOffice",f:"GetFileInfo",idFile:e,mode:t})}}class k extends e{setObjectAccessRequest(e,t,s,a){return this.network.post({o:"onlyOffice",f:"setObjectAccessRequest",uri:e,idUser:t,requestAccessValue:s,requestResponseMessage:a})}getObjectAccessRequest(e,t){return this.network.post({o:"onlyOffice",f:"getObjectAccessRequest",uri:e,idUser:t}).then((e=>e.result))}getObject(e){return this.network.post({o:"onlyOffice",f:"getObject",uri:e}).then((e=>e.result))}askObjectAccess(e,t,s){return this.network.post({o:"onlyOffice",f:"askObjectAccess",uri:e,askAccess:t,askMessage:s}).then((e=>e.result))}setObjectAccess(e,t,s,a){return this.network.post({o:"onlyOffice",f:"setObjectAccess",uri:e,access:t,message:s,generalAccessRule:a}).then((e=>e.result))}getObjectAccess(e){return this.network.post({o:"onlyOffice",f:"getObjectAccess",uri:e}).then((e=>({audience:e.result.audience,read:e.result.read,write:e.result.write})))}}class v{constructor(e){this.version="1.0",this.network=e,this.admin={store:new t(this.network)},this.application=new a(this.network),this.article=new o(this.network),this.asei=new d(this.network),this.audience=new n(this.network),this.community=new l(this.network),this.concept=new u(this.network),this.file=new c(this.network),this.filebank=new m(this.network),this.group=new p(this.network),this.jland=new f(this.network),this.messenger=new y(this.network),this.search=new h(this.network),this.share=new k(this.network),this.bookmark=new _(this.network),this.taxonomy=new b(this.network),this.user=new g(this.network),this.diapazone=new C(this.network),this.wedoc=new O(this.network)}}var T=function(e,t,s,a){return new(s||(s=Promise))((function(r,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function n(e){try{l(a.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(o,n)}l((a=a.apply(e,t||[])).next())}))};class A{constructor(e,t="api-front"){this.window=e,this.action=t}static _formatPostOptions(e){const t=e?{body:JSON.stringify(e)}:void 0;return Object.assign({method:"POST",credentials:"same-origin"},t)}static _formatQueryOptions(e){return Object.entries(e).reduce(((e,[t,s])=>(e.append(t,s.toString()),e)),new URLSearchParams).toString()}getUrl(e,t){return T(this,void 0,void 0,(function*(){return`${yield this.window.getBackendUrl()}/${this.action}/${e}/${t}`}))}fetch(e,t){var{o:s,f:a}=e,r=function(e,t){var s={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(s[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(s[a[r]]=e[a[r]])}return s}(e,["o","f"]);return T(this,void 0,void 0,(function*(){void 0===t&&(t=null);const e=yield this.getUrl(s,a);return this.window.fetch(e,Object.assign(Object.assign({},A._formatPostOptions(r)),{signal:t}))}))}post(e,t){return this.fetch(e,t).then((e=>e.json())).then((e=>{if(0===e.error)return e;throw{error:e.error,errorMsg:e.errorMsg,messages:e.messages}})).catch((e=>{if(t&&t.aborted)throw{error:-1,aborted:!0};throw e}))}postFile(e){return T(this,void 0,void 0,(function*(){const{result:t}=yield this.token(),s=yield this.getUrl("file","create");return e.append("token",t),this.window.fetch(s,{method:"POST",credentials:"same-origin",body:e}).then((e=>e.json())).then((e=>{if(0===e.error)return e.result;throw e.error}))}))}postCSRF(e){return this.tokenCSRF().then((t=>this.post(Object.assign(e,{tokenCSRF:t.result}))))}maybePostCSRF(e){return"tokenCSRF"in e&&e.tokenCSRF?this.post(e):this.postCSRF(e)}postToken(e){return this.token().then((t=>this.post(Object.assign(e,{token:t.result}))))}maybePostToken(e){return"token"in e&&e.token?this.post(e):this.postToken(e)}token(){return this.post({o:"misc",f:"token"})}tokenCSRF(){return this.post({o:"misc",f:"tokenCSRF"})}}class w{getBackendUrl(){return e=this,t=void 0,a=function*(){const e=window.location;return`${e.protocol}//${e.host}`},new((s=void 0)||(s=Promise))((function(r,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function n(e){try{l(a.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(o,n)}l((a=a.apply(e,t||[])).next())}));var e,t,s,a}fetch(e,t){return window.fetch(e,t)}}var M=r(300),N=r.n(M);class j{getBackendUrl(){return e=this,t=void 0,a=function*(){return{MOCK_MODE:!1}.BACKEND_URL||""},new((s=void 0)||(s=Promise))((function(r,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function n(e){try{l(a.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(o,n)}l((a=a.apply(e,t||[])).next())}));var e,t,s,a}fetch(e,t){const s={referer:`${this.getBackendUrl()}/ng/wall`};return this.cookie&&(s.cookie=this.cookie),N()(e,Object.assign({headers:s},t)).then((e=>{const t=e.headers.raw()["set-cookie"];return t&&(this.cookie=t.map((e=>{const t=e.split(";");return t.length&&t[0]?t[0].trim():e})).reduce(((e,t)=>`${e};${t}`))),e}))}}class D{constructor(e){this.backendUrl=e}getBackendUrl(){return e=this,t=void 0,a=function*(){return this.backendUrl},new((s=void 0)||(s=Promise))((function(r,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function n(e){try{l(a.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(o,n)}l((a=a.apply(e,t||[])).next())}));var e,t,s,a}setToken(e){this.token=e}fetch(e,t={}){var{headers:s={}}=t,a=function(e,t){var s={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(s[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(s[a[r]]=e[a[r]])}return s}(t,["headers"]);return this.token&&(s instanceof Headers?s.set("authorization",`Bearer ${this.token}`):s.authorization=`Bearer ${this.token}`),N()(e,Object.assign({headers:s},a))}}const S=JSON.parse('{"o":"shortcuts","f":"add","error":0,"messages":[{"code":200,"msg":"Enregistrement réussi"}],"result":{"id":47,"type":"bookmarkLink","uri":"bookmarkLink/47","srcId":1,"srcType":"user","targetId":0,"targetType":null,"mainType":"link","value":null,"_cssColor":"#76b9f2","_cssClass":"star","_src":{"id":1,"type":"user","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","uri":"user/1","title":"Maxime.Dupont","_url":"/user/1","firstname":"Maxime","lastname":"Dupont","company":"","mail":"<a href=\\"mailto:maxime.dupont@jamespot.com\\" class=\\"\\" >maxime.dupont@jamespot.com</a>","_values":{"firstname":"Maxime","lastname":"Dupont","company":"","mail":"maxime.dupont@jamespot.com","dateCreation":"2021-07-12 10:56:16","dateModified":"2021-07-12 10:56:16"}},"bookmarkOrder":-7,"bookmarkLabel":"Test","bookmarkUrl":null,"bookmarkMeta":"{ \\"type\\": \\"shortcut:search:v1\\", \\"query\\": \\"AB\\", \\"mainType\\": \\"spot\\" }","_values":{"dateCreation":"2021-10-28 12:02:27","dateModified":"2021-10-28 12:02:27"}}}');var x=r.t(S,2);const U=JSON.parse('{"o":"custom","f":"actionAdd","error":0,"messages":[],"result":{"id":40,"type":"bookmarkLink","uri":"bookmarkLink/40","srcId":1,"srcType":"user","targetId":6,"targetType":"mpMedia","mainType":"link","value":null,"_cssColor":"#76b9f2","_cssClass":"star","_src":{"id":1,"type":"user","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","uri":"user/1","title":"Maxime.Dupont","_url":"/user/1","firstname":"Maxime","lastname":"Dupont","company":"","mail":"<a href=\\"mailto:maxime.dupont@jamespot.com\\" class=\\"\\" >maxime.dupont@jamespot.com</a>","_values":{"firstname":"Maxime","lastname":"Dupont","company":"","mail":"maxime.dupont@jamespot.com","dateCreation":"2021-07-12 10:56:16","dateModified":"2021-07-12 10:56:16"}},"_target":{"id":6,"type":"mpMedia","uri":"mpMedia/6","mainType":"article","_cssColor":"#529b60","_cssClass":"article","title":"","_url":"/article/6","_values":{"dateCreation":"2021-09-15 16:38:58","dateModified":"2021-09-15 16:38:58"}},"bookmarkOrder":-1,"bookmarkLabel":null,"bookmarkUrl":null,"bookmarkMeta":null,"_values":{"dateCreation":"2021-10-28 10:04:55","dateModified":"2021-10-28 10:04:55"}}}');var R=r.t(U,2);const W=JSON.parse('{"o":"audience","f":"autocomplete","filter":"name","error":0,"messages":[],"result":[{"value":"user/8","uri":"user/8","shortUri":"u8","title":"Matthieu_Lluis","name":"Matthieu_Lluis","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Matthieu_Lluis"},{"value":"user/25","uri":"user/25","shortUri":"u25","title":"Maxime.Dupont","name":"Maxime.Dupont","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Maxime.Dupont"},{"value":"user/23","uri":"user/23","shortUri":"u23","title":"Damien.Percereau","name":"Damien.Percereau","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Damien.Percereau"},{"value":"user/2","uri":"user/2","shortUri":"u2","title":"Samuel.Arzouan","name":"Samuel.Arzouan","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Samuel.Arzouan"},{"value":"user/20","uri":"user/20","shortUri":"u20","title":"Clémence_Fabre","name":"Clémence_Fabre","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Clémence_Fabre"},{"value":"user/11","uri":"user/11","shortUri":"u11","title":"Antony_Meunier","name":"Antony_Meunier","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Antony_Meunier"},{"value":"user/12","uri":"user/12","shortUri":"u12","title":"Guillaume_Poumadé","name":"Guillaume_Poumadé","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Guillaume_Poumadé"},{"value":"user/27","uri":"user/27","shortUri":"u27","title":"Guillaume.Barreau","name":"Guillaume.Barreau","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Guillaume.Barreau"},{"value":"user/28","uri":"user/28","shortUri":"u28","title":"Guillaume.Barreau","name":"Guillaume.Barreau","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Guillaume.Barreau"},{"value":"spot/6","valuespot":"6","uri":"spot/6","shortUri":"s6","title":"mon groupe","name":"mon groupe","mainType":"spot","type":"spot","label":"Groupe","cssClass":"group","cssColor":"#e34d55","class":"user-selector-spot"},{"value":"spot/7","valuespot":"7","uri":"spot/7","shortUri":"s7","title":"Mon groupe test","name":"Mon groupe test","mainType":"spot","type":"spot","label":"Groupe","cssClass":"group","cssColor":"#e34d55","class":"user-selector-spot"},{"value":"spot/3","valuespot":"3","uri":"spot/3","shortUri":"s3","title":"Mon nom de groupe","name":"Mon nom de groupe","mainType":"spot","type":"spot","label":"Groupe","cssClass":"group","cssColor":"#e34d55","class":"user-selector-spot"},{"value":"spot/23","valuespot":"23","uri":"spot/23","shortUri":"s23","title":"Mon super groupe","name":"Mon super groupe","mainType":"spot","type":"spot","label":"Groupe","cssClass":"group","cssColor":"#e34d55","class":"user-selector-spot"}]}');var Y=r.t(W,2);const F=JSON.parse('{"o":"community","f":"autocompleteCommunity","error":0,"messages":[],"result":[{"id":"communityPublic/12","uri":"communityPublic/12","shortUri":"ct12","title":"Communauté des astronautes","name":"Communauté des astronautes","mainType":"community","type":"communityPublic","label":"COMMUNITY_Public","cssClass":"globe","cssColor":"#42ac9e","class":""},{"id":"communityPublic/13","uri":"communityPublic/13","shortUri":"ct13","title":"Communauté des vendeurs de rêves","name":"Communauté des vendeurs de rêves","mainType":"community","type":"communityPublic","label":"COMMUNITY_Public","cssClass":"globe","cssColor":"#42ac9e","class":""},{"id":"communityPublic/14","uri":"communityPublic/14","shortUri":"ct14","title":"Communauté des vendeurs de paquerettes","name":"Communauté des vendeurs de paquerettes","mainType":"community","type":"communityPublic","label":"COMMUNITY_Public","cssClass":"globe","cssColor":"#42ac9e","class":""}]}');var P=r.t(F,2);const E=JSON.parse('{"o":"taxonomy","f":"autocomplete","error":0,"filter":"name","messages":[],"result":[{"id":"tagConcept/3","uri":"tagConcept/3","shortUri":null,"title":"hello","name":"hello","mainType":"tagConcept","type":"tagConcept","label":"Tag","cssClass":"article","cssColor":"#76b9f2","class":"user-selector-spot"},{"id":"tagConcept/2","uri":"tagConcept/2","shortUri":null,"title":"salut","name":"salut","mainType":"tagConcept","type":"tagConcept","label":"Tag","cssClass":"article","cssColor":"#76b9f2","class":"user-selector-spot"}]}');var L=r.t(E,2);const B=JSON.parse('{"o":"user","f":"autocomplete","error":0,"filter":"name","messages":[],"result":[{"id":"user/8","uri":"user/8","shortUri":"u8","title":"Matthieu_Lluis","name":"Matthieu_Lluis","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Matthieu_Lluis"},{"id":"user/25","uri":"user/25","shortUri":"u25","title":"Maxime.Dupont","name":"Maxime.Dupont","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Maxime.Dupont"},{"id":"user/23","uri":"user/23","shortUri":"u23","title":"Damien.Percereau","name":"Damien.Percereau","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Damien.Percereau"},{"id":"user/2","uri":"user/2","shortUri":"u2","title":"Samuel.Arzouan","name":"Samuel.Arzouan","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Samuel.Arzouan"},{"id":"user/20","uri":"user/20","shortUri":"u20","title":"Clémence_Fabre","name":"Clémence_Fabre","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Clémence_Fabre"},{"id":"user/11","uri":"user/11","shortUri":"u11","title":"Antony_Meunier","name":"Antony_Meunier","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Antony_Meunier"},{"id":"user/12","uri":"user/12","shortUri":"u12","title":"Guillaume_Poumadé","name":"Guillaume_Poumadé","mainType":"user","type":"user","label":"Utilisateur","cssClass":"user","cssColor":"#a4acaf","class":"user-selector-user","Pseudo":"Guillaume_Poumadé"}]}');var J=r.t(B,2);const H=JSON.parse('{"o":"object","f":"list","error":0,"messages":[],"result":{"limit":5,"page":2,"cnt":15,"data":[{"id":50,"type":"bookmarkLink","uri":"bookmarkLink/50","srcId":1,"srcType":"user","targetId":6,"targetType":"mpMedia","mainType":"link","value":null,"_cssColor":"#76b9f2","_cssClass":"star","_src":{"id":1,"type":"user","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","uri":"user/1","title":"Maxime.Dupont","_url":"/user/1","firstname":"Maxime","lastname":"Dupont","company":"","mail":"<a href=\\"mailto:maxime.dupont@jamespot.com\\" class=\\"\\" >maxime.dupont@jamespot.com</a>","_values":{"firstname":"Maxime","lastname":"Dupont","company":"","mail":"maxime.dupont@jamespot.com","dateCreation":"2021-07-12 10:56:16","dateModified":"2021-07-12 10:56:16"}},"_target":{"id":6,"type":"mpMedia","uri":"mpMedia/6","mainType":"article","_cssColor":"#529b60","_cssClass":"article","title":"","_url":"/article/6","_values":{"dateCreation":"2021-09-15 16:38:58","dateModified":"2021-09-15 16:38:58"}},"bookmarkOrder":"-10","bookmarkLabel":null,"bookmarkUrl":null,"bookmarkMeta":null,"_values":{"dateCreation":"2021-10-28 12:55:33","dateModified":"2021-10-28 12:55:33"}},{"id":49,"type":"bookmarkLink","uri":"bookmarkLink/49","srcId":1,"srcType":"user","targetId":0,"targetType":null,"mainType":"link","value":null,"_cssColor":"#76b9f2","_cssClass":"star","_src":{"id":1,"type":"user","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","uri":"user/1","title":"Maxime.Dupont","_url":"/user/1","firstname":"Maxime","lastname":"Dupont","company":"","mail":"<a href=\\"mailto:maxime.dupont@jamespot.com\\" class=\\"\\" >maxime.dupont@jamespot.com</a>","_values":{"firstname":"Maxime","lastname":"Dupont","company":"","mail":"maxime.dupont@jamespot.com","dateCreation":"2021-07-12 10:56:16","dateModified":"2021-07-12 10:56:16"}},"bookmarkOrder":"-9","bookmarkLabel":"Recherche de groupes qui commencent par AB","bookmarkUrl":null,"bookmarkMeta":"{\\"type\\":\\"shortcut:search:v1\\",\\"query\\":\\"AB\\",\\"mainType\\":\\"spot\\"}","_values":{"dateCreation":"2021-10-28 12:03:39","dateModified":"2021-10-28 12:03:39"}},{"id":48,"type":"bookmarkLink","uri":"bookmarkLink/48","srcId":1,"srcType":"user","targetId":6,"targetType":"mpMedia","mainType":"link","value":null,"_cssColor":"#76b9f2","_cssClass":"star","_src":{"id":1,"type":"user","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","uri":"user/1","title":"Maxime.Dupont","_url":"/user/1","firstname":"Maxime","lastname":"Dupont","company":"","mail":"<a href=\\"mailto:maxime.dupont@jamespot.com\\" class=\\"\\" >maxime.dupont@jamespot.com</a>","_values":{"firstname":"Maxime","lastname":"Dupont","company":"","mail":"maxime.dupont@jamespot.com","dateCreation":"2021-07-12 10:56:16","dateModified":"2021-07-12 10:56:16"}},"_target":{"id":6,"type":"mpMedia","uri":"mpMedia/6","mainType":"article","_cssColor":"#529b60","_cssClass":"article","title":"","_url":"/article/6","_values":{"dateCreation":"2021-09-15 16:38:58","dateModified":"2021-09-15 16:38:58"}},"bookmarkOrder":"-8","bookmarkLabel":null,"bookmarkUrl":null,"bookmarkMeta":null,"_values":{"dateCreation":"2021-10-28 12:03:38","dateModified":"2021-10-28 12:03:38"}},{"id":47,"type":"bookmarkLink","uri":"bookmarkLink/47","srcId":1,"srcType":"user","targetId":0,"targetType":null,"mainType":"link","value":null,"_cssColor":"#76b9f2","_cssClass":"star","_src":{"id":1,"type":"user","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","uri":"user/1","title":"Maxime.Dupont","_url":"/user/1","firstname":"Maxime","lastname":"Dupont","company":"","mail":"<a href=\\"mailto:maxime.dupont@jamespot.com\\" class=\\"\\" >maxime.dupont@jamespot.com</a>","_values":{"firstname":"Maxime","lastname":"Dupont","company":"","mail":"maxime.dupont@jamespot.com","dateCreation":"2021-07-12 10:56:16","dateModified":"2021-07-12 10:56:16"}},"bookmarkOrder":"-7","bookmarkLabel":"Test","bookmarkUrl":null,"bookmarkMeta":"{ \\"type\\": \\"shortcut:search:v1\\", \\"query\\": \\"AB\\", \\"mainType\\": \\"spot\\" }","_values":{"dateCreation":"2021-10-28 12:02:27","dateModified":"2021-10-28 12:02:27"}},{"id":46,"type":"bookmarkLink","uri":"bookmarkLink/46","srcId":1,"srcType":"user","targetId":6,"targetType":"mpMedia","mainType":"link","value":null,"_cssColor":"#76b9f2","_cssClass":"star","_src":{"id":1,"type":"user","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","uri":"user/1","title":"Maxime.Dupont","_url":"/user/1","firstname":"Maxime","lastname":"Dupont","company":"","mail":"<a href=\\"mailto:maxime.dupont@jamespot.com\\" class=\\"\\" >maxime.dupont@jamespot.com</a>","_values":{"firstname":"Maxime","lastname":"Dupont","company":"","mail":"maxime.dupont@jamespot.com","dateCreation":"2021-07-12 10:56:16","dateModified":"2021-07-12 10:56:16"}},"_target":{"id":6,"type":"mpMedia","uri":"mpMedia/6","mainType":"article","_cssColor":"#529b60","_cssClass":"article","title":"","_url":"/article/6","_values":{"dateCreation":"2021-09-15 16:38:58","dateModified":"2021-09-15 16:38:58"}},"bookmarkOrder":"-6","bookmarkLabel":null,"bookmarkUrl":null,"bookmarkMeta":null,"_values":{"dateCreation":"2021-10-28 10:46:04","dateModified":"2021-10-28 10:46:04"}}],"facets":null}}');var q=r.t(H,2);const I=JSON.parse('{"o":"community","f":"sendRequest","error":0,"messages":[{"code":200,"msg":"Votre demande de contact a été envoyée !"}],"result":true}');var G=r.t(I,2);const V=JSON.parse('{"o":"shortcuts","f":"delete","error":0,"messages":[{"code":200,"msg":"Suppression réussie"}],"result":null}');var z=r.t(V,2);const Q=JSON.parse('{"o":"file","f":"create","error":0,"messages":[],"result":{"id":"13","name":"2.png","type":"fileTmp","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.IntcIm5hbWVcIjpcIkpQT1RcIixcImlkVXNlclwiOlwiOVwiLFwibWljcm90aW1lXCI6MTYyOTgxMzExNC4yMDU5NjU5OTU3ODg1NzQyMTg3NX0i.wQe4w4woyWPXYZr8nkJqhqNhmK2fFfug3ESAUon_nIQ","size":"51.77 KB","mediaKey":"cf37e6c33f22d69b9fd715423a94b8f4","imagesize":{"width":528,"height":528}}}');var $=r.t(Q,2);const X=JSON.parse('{"o":"messenger","f":"newMessage","error":0,"messages":[],"result":{"id":22,"type":"messengerMessage","uri":"messengerMessage/22","uriDiscussion":"messengerUser/7","description":"test","preview":{},"isTechnical":false,"_url":"/messengerMessage/22","_right":{"create":true,"read":true,"publish":true,"administrate":true,"update":true,"delete":true,"comment":true},"_user":{"id":9,"type":"user","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","uri":"user/9","title":"Chrystelle_Blot","firstname":"Chrystelle","lastname":"Blot","mail":"chrystelle.blot@jamespot.com","_url":"/user/9","_values":{"dateCreation":"2021-06-07 16:05:10","dateModified":null}},"_values":{"dateCreation":"2021-08-24 14:51:58","dateModified":"2021-08-24 14:51:58"},"_idDiscussion":"9.25"}}');var K=r.t(X,2);const Z=JSON.parse('{"o":"search","f":"getConfig","error":0,"messages":[],"result":{"home":{"facets":[{"field":"tag_2","title":"Compétences","facetType":"facet","facetOptions":[],"type":"user"},{"field":"businessNetworkingBusinessLine","title":"Secteur d\'activité","facetType":"facet","facetOptions":[],"type":"businessNetworking"},{"field":"businessNetworkingHostCountry","title":"Pays d\'implantation","facetType":"facet","facetOptions":[],"type":"businessNetworking"},{"field":"__sec__","title":"Audience","facetType":"facet","facetOptions":[]},{"field":"dateCreation","title":"Date","facetType":"facetQuery","facetOptions":{"[NOW-1DAY TO *]":{"ressource":"SEARCH_Facet_Day","value":"[NOW-1DAY TO *]"},"[NOW/DAY-7DAY TO NOW]":{"ressource":"SEARCH_Facet_Week","value":"[NOW/DAY-7DAY TO NOW]"},"[NOW/DAY-1MONTH TO NOW]":{"ressource":"SEARCH_Facet_Month","value":"[NOW/DAY-1MONTH TO NOW]"},"[NOW/DAY-1YEAR TO NOW]":{"ressource":"SEARCH_Facet_Year","value":"[NOW/DAY-1YEAR TO NOW]"},"[* TO NOW/DAY-1YEAR]":{"ressource":"SEARCH_Facet_More_Year","value":"[* TO NOW/DAY-1YEAR]"}}}]},"categories":[{"id":"user","mainType":"user","type":"user","title":"Utilisateur","facets":[{"field":"tag_2","title":"Compétences","facetType":"facet","facetOptions":[]},{"field":"dateCreation","title":"Date","facetType":"facetQuery","facetOptions":{"[NOW-1DAY TO *]":{"ressource":"SEARCH_Facet_Day","value":"[NOW-1DAY TO *]"},"[NOW/DAY-7DAY TO NOW]":{"ressource":"SEARCH_Facet_Week","value":"[NOW/DAY-7DAY TO NOW]"},"[NOW/DAY-1MONTH TO NOW]":{"ressource":"SEARCH_Facet_Month","value":"[NOW/DAY-1MONTH TO NOW]"},"[NOW/DAY-1YEAR TO NOW]":{"ressource":"SEARCH_Facet_Year","value":"[NOW/DAY-1YEAR TO NOW]"},"[* TO NOW/DAY-1YEAR]":{"ressource":"SEARCH_Facet_More_Year","value":"[* TO NOW/DAY-1YEAR]"}}}]},{"id":"article-businessNetworking","mainType":"article","type":"businessNetworking","title":"Fiche entreprise","facets":[{"field":"businessNetworkingBusinessLine","title":"Secteur d\'activité","facetType":"facet","facetOptions":[]},{"field":"tag_5","title":"Type d\'entreprise","facetType":"facet","facetOptions":[]},{"field":"businessNetworkingHostCountry","title":"Pays d\'implantation","facetType":"facet","facetOptions":[]},{"field":"dateCreation","title":"Date","facetType":"facetQuery","facetOptions":{"[NOW-1DAY TO *]":{"ressource":"SEARCH_Facet_Day","value":"[NOW-1DAY TO *]"},"[NOW/DAY-7DAY TO NOW]":{"ressource":"SEARCH_Facet_Week","value":"[NOW/DAY-7DAY TO NOW]"},"[NOW/DAY-1MONTH TO NOW]":{"ressource":"SEARCH_Facet_Month","value":"[NOW/DAY-1MONTH TO NOW]"},"[NOW/DAY-1YEAR TO NOW]":{"ressource":"SEARCH_Facet_Year","value":"[NOW/DAY-1YEAR TO NOW]"},"[* TO NOW/DAY-1YEAR]":{"ressource":"SEARCH_Facet_More_Year","value":"[* TO NOW/DAY-1YEAR]"}}}]},{"id":"article","mainType":"article","title":"Contenu","typesExcluded":["businessNetworking"],"facets":[{"field":"__sec__","title":"Audience","facetType":"facet","facetOptions":[]},{"field":"dateCreation","title":"Date","facetType":"facetQuery","facetOptions":{"[NOW-1DAY TO *]":{"ressource":"SEARCH_Facet_Day","value":"[NOW-1DAY TO *]"},"[NOW/DAY-7DAY TO NOW]":{"ressource":"SEARCH_Facet_Week","value":"[NOW/DAY-7DAY TO NOW]"},"[NOW/DAY-1MONTH TO NOW]":{"ressource":"SEARCH_Facet_Month","value":"[NOW/DAY-1MONTH TO NOW]"},"[NOW/DAY-1YEAR TO NOW]":{"ressource":"SEARCH_Facet_Year","value":"[NOW/DAY-1YEAR TO NOW]"},"[* TO NOW/DAY-1YEAR]":{"ressource":"SEARCH_Facet_More_Year","value":"[* TO NOW/DAY-1YEAR]"}}},{"field":"type","title":"Type","facetType":"facet","facetOptions":{"limit":45}},{"field":"__sec__","title":"Audience","facetType":"facet","facetOptions":[]},{"field":"dateCreation","title":"Date","facetType":"facetQuery","facetOptions":{"[NOW-1DAY TO *]":{"ressource":"SEARCH_Facet_Day","value":"[NOW-1DAY TO *]"},"[NOW/DAY-7DAY TO NOW]":{"ressource":"SEARCH_Facet_Week","value":"[NOW/DAY-7DAY TO NOW]"},"[NOW/DAY-1MONTH TO NOW]":{"ressource":"SEARCH_Facet_Month","value":"[NOW/DAY-1MONTH TO NOW]"},"[NOW/DAY-1YEAR TO NOW]":{"ressource":"SEARCH_Facet_Year","value":"[NOW/DAY-1YEAR TO NOW]"},"[* TO NOW/DAY-1YEAR]":{"ressource":"SEARCH_Facet_More_Year","value":"[* TO NOW/DAY-1YEAR]"}}}]},{"id":"spot","mainType":"spot","title":"Groupe","typesExcluded":[],"facets":[{"field":"__sec__","title":"Audience","facetType":"facet","facetOptions":[]},{"field":"dateCreation","title":"Date","facetType":"facetQuery","facetOptions":{"[NOW-1DAY TO *]":{"ressource":"SEARCH_Facet_Day","value":"[NOW-1DAY TO *]"},"[NOW/DAY-7DAY TO NOW]":{"ressource":"SEARCH_Facet_Week","value":"[NOW/DAY-7DAY TO NOW]"},"[NOW/DAY-1MONTH TO NOW]":{"ressource":"SEARCH_Facet_Month","value":"[NOW/DAY-1MONTH TO NOW]"},"[NOW/DAY-1YEAR TO NOW]":{"ressource":"SEARCH_Facet_Year","value":"[NOW/DAY-1YEAR TO NOW]"},"[* TO NOW/DAY-1YEAR]":{"ressource":"SEARCH_Facet_More_Year","value":"[* TO NOW/DAY-1YEAR]"}}},{"field":"__sec__","title":"Audience","facetType":"facet","facetOptions":[]},{"field":"dateCreation","title":"Date","facetType":"facetQuery","facetOptions":{"[NOW-1DAY TO *]":{"ressource":"SEARCH_Facet_Day","value":"[NOW-1DAY TO *]"},"[NOW/DAY-7DAY TO NOW]":{"ressource":"SEARCH_Facet_Week","value":"[NOW/DAY-7DAY TO NOW]"},"[NOW/DAY-1MONTH TO NOW]":{"ressource":"SEARCH_Facet_Month","value":"[NOW/DAY-1MONTH TO NOW]"},"[NOW/DAY-1YEAR TO NOW]":{"ressource":"SEARCH_Facet_Year","value":"[NOW/DAY-1YEAR TO NOW]"},"[* TO NOW/DAY-1YEAR]":{"ressource":"SEARCH_Facet_More_Year","value":"[* TO NOW/DAY-1YEAR]"}}}]}]}}');var ee=r.t(Z,2);const te=JSON.parse('{"o":"search","f":"proposition","error":0,"messages":[],"result":[{"id":"user","title":"Utilisateur","showAll":true,"results":[{"id":30,"type":"user","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","uri":"user/30","title":"njara","firstname":"Njara","lastname":"The One","mail":"njara.rakotondrainibe@gmail.com","_url":"/user/30","_values":{"dateCreation":"2021-06-16 15:04:18","dateModified":"2021-06-21 15:37:03"}}]},{"id":"article-businessNetworking","title":"Fiche entreprise","showAll":true,"results":[{"id":67,"type":"businessNetworking","uri":"businessNetworking/67","mainType":"article","_cssColor":"#8E58A8","_cssClass":"businessDirectory","title":"React entreprise","_url":"/article/67","_values":{"dateCreation":"2021-05-05 16:16:03","dateModified":"2021-08-11 17:39:25"}}]},{"id":"article","title":"Contenu","showAll":true,"results":[{"id":75,"type":"mpSocialFile","uri":"mpSocialFile/75","mainType":"article","_cssColor":"#809c0e","_cssClass":"document","title":"React document","_url":"/article/75","_values":{"dateCreation":"2021-05-05 17:15:04","dateModified":"2021-05-05 17:15:04"}},{"id":68,"type":"mpArticle","uri":"mpArticle/68","mainType":"article","_cssColor":"#529b60","_cssClass":"article","title":"Test article React","_url":"/article/68","_values":{"dateCreation":"2021-05-05 16:49:28","dateModified":"2021-05-05 16:49:28"}},{"id":67,"type":"businessNetworking","uri":"businessNetworking/67","mainType":"article","_cssColor":"#8E58A8","_cssClass":"businessDirectory","title":"React entreprise","_url":"/article/67","_values":{"dateCreation":"2021-05-05 16:16:03","dateModified":"2021-08-11 17:39:25"}}]},{"id":"spot","title":"Groupe","showAll":true,"results":[{"id":2,"type":"spot","uri":"spot/2","mainType":"spot","_cssColor":"#e34d55","_cssClass":"group","title":"React","_url":"/group/2","_values":{"privacy":0,"category":"1","dateCreation":"2021-05-05 15:48:30","dateModified":"2021-05-05 15:48:30"}}]}]}');var se=r.t(te,2);const ae=JSON.parse('{"o":"search","f":"query","error":0,"messages":[],"result":{"start":0,"count":29,"results":[{"id":3,"type":"user","uri":"user/3","title":"Raphaël_Van-Laere","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/3","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Raphaël","lastname":"Van-Laere","company":"","mail":"<a href=\\"mailto:raphael.vanlaere@jamespot.com\\" class=\\"\\" >raphael.vanlaere@jamespot.com</a>","_values":{"firstname":"Raphaël","lastname":"Van-Laere","company":"","mail":"raphael.vanlaere@jamespot.com","title":"Raphaël_Van-Laere","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":4,"type":"user","uri":"user/4","title":"Samuel.Arzouan","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/4","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Samuel","lastname":"Arzouan","company":"","mail":"<a href=\\"mailto:samuel@jamespot.com\\" class=\\"\\" >samuel@jamespot.com</a>","_values":{"firstname":"Samuel","lastname":"Arzouan","company":"","mail":"samuel@jamespot.com","title":"Samuel.Arzouan","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":5,"type":"user","uri":"user/5","title":"Afef_Hnid","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/5","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Afef","lastname":"Hnid","company":"","mail":"<a href=\\"mailto:afef.hnid@jamespot.com\\" class=\\"\\" >afef.hnid@jamespot.com</a>","_values":{"firstname":"Afef","lastname":"Hnid","company":"","mail":"afef.hnid@jamespot.com","title":"Afef_Hnid","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":7,"type":"user","uri":"user/7","title":"Olivier_Bache","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/7","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Olivier","lastname":"Bache","company":"","mail":"<a href=\\"mailto:olivier.bache@jamespot.com\\" class=\\"\\" >olivier.bache@jamespot.com</a>","_values":{"firstname":"Olivier","lastname":"Bache","company":"","mail":"olivier.bache@jamespot.com","title":"Olivier_Bache","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":8,"type":"user","uri":"user/8","title":"Nicolas_Bouteillier","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/8","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Nicolas","lastname":"Bouteillier","company":"","mail":"<a href=\\"mailto:nicolas.bouteillier@jamespot.com\\" class=\\"\\" >nicolas.bouteillier@jamespot.com</a>","_values":{"firstname":"Nicolas","lastname":"Bouteillier","company":"","mail":"nicolas.bouteillier@jamespot.com","title":"Nicolas_Bouteillier","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":9,"type":"user","uri":"user/9","title":"Claire.Charpentier","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/9","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Claire","lastname":"Charpentier","company":"","mail":"<a href=\\"mailto:claire.charpentier@jamespot.com\\" class=\\"\\" >claire.charpentier@jamespot.com</a>","_values":{"firstname":"Claire","lastname":"Charpentier","company":"","mail":"claire.charpentier@jamespot.com","title":"Claire.Charpentier","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":10,"type":"user","uri":"user/10","title":"Matthieu_Lluis","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/10","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Matthieu","lastname":"Lluis","company":"","mail":"<a href=\\"mailto:matthieu.lluis@jamespot.com\\" class=\\"\\" >matthieu.lluis@jamespot.com</a>","_values":{"firstname":"Matthieu","lastname":"Lluis","company":"","mail":"matthieu.lluis@jamespot.com","title":"Matthieu_Lluis","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":11,"type":"user","uri":"user/11","title":"Chrystelle_Blot","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/11","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Chrystelle","lastname":"Blot","company":"","mail":"<a href=\\"mailto:chrystelle.blot@jamespot.com\\" class=\\"\\" >chrystelle.blot@jamespot.com</a>","_values":{"firstname":"Chrystelle","lastname":"Blot","company":"","mail":"chrystelle.blot@jamespot.com","title":"Chrystelle_Blot","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":12,"type":"user","uri":"user/12","title":"Julie.Petignat","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/12","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Julie","lastname":"Petignat","company":"","mail":"<a href=\\"mailto:julie.petignat@jamespot.com\\" class=\\"\\" >julie.petignat@jamespot.com</a>","_values":{"firstname":"Julie","lastname":"Petignat","company":"","mail":"julie.petignat@jamespot.com","title":"Julie.Petignat","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":13,"type":"user","uri":"user/13","title":"Antony_Meunier","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/13","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Antony","lastname":"Meunier","company":"","mail":"<a href=\\"mailto:antony.meunier@jamespot.com\\" class=\\"\\" >antony.meunier@jamespot.com</a>","_values":{"firstname":"Antony","lastname":"Meunier","company":"","mail":"antony.meunier@jamespot.com","title":"Antony_Meunier","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":14,"type":"user","uri":"user/14","title":"Guillaume_Poumadé","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/14","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Guillaume","lastname":"Poumadé","company":"","mail":"<a href=\\"mailto:guillaume.poumade@jamespot.com\\" class=\\"\\" >guillaume.poumade@jamespot.com</a>","_values":{"firstname":"Guillaume","lastname":"Poumadé","company":"","mail":"guillaume.poumade@jamespot.com","title":"Guillaume_Poumadé","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":15,"type":"user","uri":"user/15","title":"Sophie.Renaudin","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/15","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Sophie","lastname":"Renaudin","company":"","mail":"<a href=\\"mailto:sophie.renaudin@jamespot.com\\" class=\\"\\" >sophie.renaudin@jamespot.com</a>","_values":{"firstname":"Sophie","lastname":"Renaudin","company":"","mail":"sophie.renaudin@jamespot.com","title":"Sophie.Renaudin","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":16,"type":"user","uri":"user/16","title":"Benoit.guilbert","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/16","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Benoit","lastname":"Guilbert","company":"","mail":"<a href=\\"mailto:benoit.guilbert@jamespot.com\\" class=\\"\\" >benoit.guilbert@jamespot.com</a>","_values":{"firstname":"Benoit","lastname":"Guilbert","company":"","mail":"benoit.guilbert@jamespot.com","title":"Benoit.guilbert","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":17,"type":"user","uri":"user/17","title":"JC_Billerey","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/17","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"JC","lastname":"Billerey","company":"","mail":"<a href=\\"mailto:jc@jamespot.com\\" class=\\"\\" >jc@jamespot.com</a>","_values":{"firstname":"JC","lastname":"Billerey","company":"","mail":"jc@jamespot.com","title":"JC_Billerey","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":18,"type":"user","uri":"user/18","title":"Blandine_Paget","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/18","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Blandine","lastname":"Paget","company":"","mail":"<a href=\\"mailto:blandine.paget@jamespot.com\\" class=\\"\\" >blandine.paget@jamespot.com</a>","_values":{"firstname":"Blandine","lastname":"Paget","company":"","mail":"blandine.paget@jamespot.com","title":"Blandine_Paget","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":19,"type":"user","uri":"user/19","title":"Heddy","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/19","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Heddy","lastname":"Amara","company":"","mail":"<a href=\\"mailto:heddy.amara@jamespot.com\\" class=\\"\\" >heddy.amara@jamespot.com</a>","_values":{"firstname":"Heddy","lastname":"Amara","company":"","mail":"heddy.amara@jamespot.com","title":"Heddy","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":20,"type":"user","uri":"user/20","title":"Alain.Garnier","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/20","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Alain","lastname":"Garnier","company":"","mail":"<a href=\\"mailto:alain.garnier@jamespot.com\\" class=\\"\\" >alain.garnier@jamespot.com</a>","_values":{"firstname":"Alain","lastname":"Garnier","company":"","mail":"alain.garnier@jamespot.com","title":"Alain.Garnier","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":21,"type":"user","uri":"user/21","title":"Gurvan","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/21","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Gurvan","lastname":"Henrhy","company":"","mail":"<a href=\\"mailto:gurvan@hojopa.com\\" class=\\"\\" >gurvan@hojopa.com</a>","_values":{"firstname":"Gurvan","lastname":"Henrhy","company":"","mail":"gurvan@hojopa.com","title":"Gurvan","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":22,"type":"user","uri":"user/22","title":"Clémence_Fabre","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/22","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Clémence","lastname":"Fabre","company":"","mail":"<a href=\\"mailto:clemence@jamespot.com\\" class=\\"\\" >clemence@jamespot.com</a>","_values":{"firstname":"Clémence","lastname":"Fabre","company":"","mail":"clemence@jamespot.com","title":"Clémence_Fabre","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]},{"id":23,"type":"user","uri":"user/23","title":"Charline","mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_url":"/user/23","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false,"member":true},"firstname":"Charline","lastname":"Aubriot","company":"","mail":"<a href=\\"mailto:charline.aubriot@jamespot.com\\" class=\\"\\" >charline.aubriot@jamespot.com</a>","_values":{"firstname":"Charline","lastname":"Aubriot","company":"","mail":"charline.aubriot@jamespot.com","title":"Charline","dateCreation":"2022-03-09 16:05:54","dateModified":null},"businesses":[],"canSendRequest":true,"isVisible":true,"communities":[{"id":2,"type":"communityUser","mainType":"community","_cssColor":"#42ac9e","_cssClass":"globe","uri":"communityUser/2","title":"Utilisateurs standard","isTechnical":1,"_url":"/ng/app/community/2/page","_values":{"dateCreation":"2022-05-18 09:48:44","dateModified":"2022-05-18 09:48:44"}}]}],"facets":[{"name":"__sec__","title":"Audience","count":53,"values":[]},{"name":"dateCreation","title":"Date","count":29,"values":[{"count":28,"value":"[NOW/DAY-1YEAR TO NOW]","title":"Moins d\'un an"},{"count":1,"value":"[* TO NOW/DAY-1YEAR]","title":"Plus d\'un an"}]}]}}');var re=r.t(ae,2);const ie=JSON.parse('{"o":"spot","f":"create","error":0,"messages":[],"result":"6"}');var oe=r.t(ie,2);const ne=JSON.parse('{"o":"spot","f":"get-available-widget","error":0,"messages":[],"result":{"board_box":{"idWidget":"board_box","title":"Board","url":"","type":"box","icon":"app-icon icon-fs-board","description":"Board description"},"calendar_box":{"idWidget":"calendar_box","title":"Calendar","url":"","type":"box","icon":"app-icon icon-fs-calendar","description":"Calendar description"},"fbank_box":{"idWidget":"fbank_box","title":"Documents","url":"","type":"box","icon":"app-icon icon-fs-filebank","description":"File bank description"},"question_box":{"idWidget":"question_box","title":"Questions & Answers","url":"","type":"box","icon":"app-icon icon-fs-question","description":"Question description"},"spot_tags_box":{"idWidget":"spot_tags_box","title":"Tags","url":"","type":"box","icon":"icon-tags","description":"Give members the possibility of filtering the contents of the group via a cloud of keywords in the right column."},"todo_box":{"idWidget":"todo_box","title":"Tasks","url":"","type":"box","icon":"app-icon icon-fs-todo","description":"Todo description"}}}');var le=r.t(ne,2);const ue=JSON.parse('{"o":"spot","f":"get-categories","error":0,"messages":[],"result":[{"id":"1","idorder":"1","label":"Non classé"},{"id":"2","idorder":"2","label":"Le bon coin"},{"id":"3","idorder":"3","label":"Le petit coin"},{"id":"4","idorder":"4","label":"Le grand coin"}]}');var ce=r.t(ue,2);const me=JSON.parse('{"o":"misc","f":"tokenCSRF","error":0,"messages":[],"result":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.IntcIm5hbWVcIjpcInRva2VuLWNzcmZcIixcImlkVXNlclwiOlwiMVwiLFwibWljcm90aW1lXCI6MTYzNTQxNTMzOS44MTE2NzE5NzIyNzQ3ODAyNzM0Mzc1fSI.76-eAKpubev8HzdcJXqx7CnXYYceLFwy6cBScLOJFoU"}');var pe=r.t(me,2);const de=JSON.parse('{"o":"user","f":"signIn","error":0,"messages":[],"result":{"id":"25","idUser":"25","type":"user","active":"1","title":"Maxime.Dupont","dateCreation":"<span class=\'pointer\' tooltip=\'07/06/2021 16:05:10\'>07/06/2021</span>","dateModified":"<span class=\'pointer\' tooltip=\'29/06/2021 14:15:35\'>29/06/2021</span>","level":"Administrateur","image":null,"lastConnection":"<span class=\'pointer\' tooltip=\'03/09/2021 09:26:48\'>Aujourd\'hui 09:38</span>","firstname":"Maxime","lastname":"Dupont","phoneNumber":"","mobileNumber":"","company":"","function":"","department":"","country":"","timeZone":"Europe/Paris","language":"Français","mail":"<a href=\\"mailto:maxime.dupont@jamespot.com\\" class=\\"\\" >maxime.dupont@jamespot.com</a>","visioconference":"<table class=\\"w100\\">\\r\\n </table>","tag_2":"","idMainCommunity":"","userBanner":"","_socialActions":[],"uri":"user/25","_fields":[{"name":"title","label":"Pseudo","type":"text"},{"name":"dateCreation","label":"Date de création","type":"date"},{"name":"dateModified","label":"Date de modification","type":"date"},{"name":"level","label":"Niveau","type":"select"},{"name":"image","label":"Votre photo","type":null},{"name":"active","label":"Actif","type":null},{"name":"lastConnection","label":"lastConnection","type":"date"},{"name":"firstname","label":"Prénom","type":"text"},{"name":"lastname","label":"Nom","type":"text"},{"name":"phoneNumber","label":"Tél.","type":"text"},{"name":"mobileNumber","label":"Tél. mobile","type":"text"},{"name":"company","label":"Société","type":"text"},{"name":"function","label":"Fonction","type":"text"},{"name":"department","label":"Département","type":"text"},{"name":"country","label":"Pays","type":"select"},{"name":"timeZone","label":"Fuseau horaire","type":"select"},{"name":"language","label":"Langue","type":"select"},{"name":"mail","label":"Mail","type":"email"},{"name":"visioconference","label":"Visioconférence","type":"multiattribute"},{"name":"tag_2","label":"Compétences","type":"taxonomy"},{"name":"idMainCommunity","label":"COMMUNITY_User_Main_Community","type":"text"},{"name":"userBanner","label":"Bannière","type":"file"},{"name":"visioconference","label":"Visioconférence","type":"multiattribute"},{"name":"tag_2","label":"Compétences","type":"taxonomy"}],"mainType":"user","_cssColor":"#a4acaf","_cssClass":"user","_right":{"create":false,"read":true,"publish":true,"administrate":false,"update":true,"delete":true,"comment":false},"_values":{"title":"Maxime.Dupont","dateCreation":"2021-06-07 16:05:10","dateModified":"2021-06-29 14:15:35","level":9,"image":null,"active":1,"lastConnection":1630654008,"firstname":"Maxime","lastname":"Dupont","phoneNumber":"","mobileNumber":"","company":"","function":"","department":"","country":"","timeZone":"Europe/Paris","language":"fr","mail":"maxime.dupont@jamespot.com","visioconference":"[]","tag_2":null,"idMainCommunity":null,"userBanner":null},"_timezone":{"dateCreation":"2021-06-07 16:05:10"},"_url":"/user/25"}}');var fe=r.t(de,2),ye=function(e,t){var s={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(s[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(s[a[r]]=e[a[r]])}return s};class he{constructor(){this.data={autocomplete:{audience:e=>{const t=Y,{result:s}=t,a=ye(t,["result"]);return Object.assign({result:s.filter((t=>new RegExp(e.q).test(t.title)))},a)},taxonomy:L,user:J,community:e=>{const t=P,{result:s}=t,a=ye(t,["result"]);return Object.assign({result:s.filter((t=>new RegExp(e.q).test(t.title)))},a)}},community:{sendRequest:G},custom:{actionAdd:e=>{if("bookmarkLink"===e.type&&"list"===e.format)return R}},file:{create:$},messenger:{newMessage:K},misc:{tokenCSRF:pe},object:{list:e=>{if("bookmarks"===e.namespace&&"list"===e.view)return q}},spot:{create:oe,"get-available-widget":le,"get-categories":ce},search:{getConfig:ee,proposition:se,query:({keywords:e})=>{const t=re,{result:s}=t,a=ye(t,["result"]);return Object.assign({result:Object.assign(Object.assign({},s),{results:s.results.filter((t=>new RegExp(e).test(t.title)))})},a)}},bookmarks:{add:x,delete:z},user:{signIn:fe}}}getBackendUrl(){return e=this,t=void 0,a=function*(){return""},new((s=void 0)||(s=Promise))((function(r,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function n(e){try{l(a.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(o,n)}l((a=a.apply(e,t||[])).next())}));var e,t,s,a}static unwrap(e){return e.default||e}fetch(e,t){if(!t)return Promise.reject("!! api mock probably wrong");const s=JSON.parse(t.body),a=e.split("/"),r=a[a.length-2],i=a[a.length-1];let o={};if(r&&i){const e=this.data[r];if(e){const t=e[i];t&&(o=t)}}return"object"==typeof o?o=he.unwrap(o):"function"==typeof o&&(o=o(s)),!o||Array.isArray(o)?Promise.reject("!! api mock probably not implemented"):function(e,t=1e3){return s=this,a=void 0,i=function*(){return new Promise((function(s){setTimeout((()=>s(e)),t)}))},new((r=void 0)||(r=Promise))((function(e,t){function o(e){try{l(i.next(e))}catch(e){t(e)}}function n(e){try{l(i.throw(e))}catch(e){t(e)}}function l(t){var s;t.done?e(t.value):(s=t.value,s instanceof r?s:new r((function(e){e(s)}))).then(o,n)}l((i=i.apply(s,a||[])).next())}));var s,a,r,i}({json:()=>o})}}const _e=new A(new w),be=new v(_e);window.JamespotUserApi=be;const ge=be,Ce=v})(),module.exports=i})();
|
|
2
2
|
//# sourceMappingURL=jamespot-user-api.js.map
|