export const __webpack_esm_id__=42324;export const __webpack_esm_ids__=[8872,19484,33739,42324,54187,57384,68164,79616,96815,97217,97795];export const __webpack_esm_modules__={97217(e,s,t){t.d(s,{f:()=>a});class a{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}setPageNumber(e){this.request._data.pageNumber=e}setCount(e){this.request._data.count=e}}},54187(e,s,t){t.d(s,{x:()=>r});var a=t(22723);class r{constructor(e){this.TYPE=e.TYPE,this.response=e.payload.response}hasResponse(){return this.response&&this.response.body}getResponseBody(){if(this.hasResponse())return this.response.body}isResponseNumber(){return!!this.hasResponse()&&(0,a.isNumber)(this.response.body)}isResponseArray(){return!!this.hasResponse()&&Array.isArray(this.response.body)}getBindings(){if(this.hasResponse())return this.response.body.results.bindings}hasBindingResponse(){return!!this.hasResponse()&&this.response.body.results.bindings[0]}setTotalElements(e){this.response.body.totalElements=e}}},8872(e,s,t){t.d(s,{X:()=>a});class a{constructor(e){this.TYPE=e.TYPE,this.contentType=e.payload.value,this.pluginName=e.payload.pluginName,this.query=e.payload.query,this.infer=e.payload.infer,this.sameAs=e.payload.sameAs}}},19484(e,s,t){t.d(s,{r:()=>a});const a={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",REQUEST_ABORTED:"requestAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}},96815(e,s,t){t.d(s,{R:()=>a});class a{constructor(e,s){this.TYPE=e,this.payload=s}}},57384(e,s,t){t.d(s,{R:()=>a});class a{constructor(e){this.TYPE=e.TYPE,this.message=e.payload.message,this.code=e.payload.code,this.messageType=e.payload.messageType}}},33739(e,s,t){t.d(s,{o:()=>a});class a{constructor(e){this.TYPE=e.TYPE,this.duration=e.payload.duration,this.tabId=e.payload.tabId}}},97795(e,s,t){t.d(s,{q:()=>a});class a{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}getPageSize(){return this.request._data.pageSize?parseInt(this.request._data.pageSize):void 0}setPageNumber(e){this.request._data.pageNumber=e}getPageNumber(){return this.request._data.pageNumber?parseInt(this.request._data.pageNumber):void 0}setOffset(e){this.request._data.offset=e}setLimit(e){this.request._data.limit=e}}},68164(e,s,t){t.d(s,{f:()=>a});class a{constructor(e){this.TYPE=e.TYPE,this.request=e.payload.request,this.queryMode=e.payload.queryMode}getQueryTrackAlias(){if(this.request)return this.request.header["X-GraphDB-Track-Alias"]}getRepository(){if(this.request){const e=this.request.url;return e.substring(e.lastIndexOf("/")+1)}}}},79616(e,s,t){t.d(s,{$:()=>a});class a{constructor(e){this.tab=e.payload.tab}getTab(){return this.tab}}},42324(e,s,t){t.d(s,{U:()=>c});var a=t(96815),r=t(19484),i=t(97795),o=t(54187),u=t(97217),n=t(8872),d=t(57384),p=t(33739),h=t(79616),y=t(68164);const c=e=>{const s=(e=>new a.R(e.detail.TYPE,e.detail.payload))(e);switch(s.TYPE){case r.r.DOWNLOAD_AS:return new n.X(s);case r.r.NOTIFICATION_MESSAGE:return new d.R(s);case r.r.COUNT_QUERY:return new u.f(s);case r.r.COUNT_QUERY_RESPONSE:return new o.x(s);case r.r.QUERY:return new i.q(s);case r.r.QUERY_EXECUTED:return new p.o(s);case r.r.SAVE_QUERY_OPENED:return new h.$(s);case r.r.REQUEST_ABORTED:return new y.f(s);default:return s}}}};
//# sourceMappingURL=42324.2becca6c83baa55c3baa.bundle.js.map