export const __webpack_esm_id__=83427;export const __webpack_esm_ids__=[9297,83427,93966];export const __webpack_esm_modules__={93966(){function t(t,e,n,o,r){t.externalIntegrationConfiguration=r.externalIntegrationConfiguration,t.difyExtension=r.difyExtensionUrl,t.queryMethods=r.queryMethodsUrl,t.agentId=r.agentId,t.agentName=r.agentName,t.close=()=>{e.dismiss({})},t.onCloseExternalIntegrationConfigurationModal=()=>{e.dismiss({})}}angular.module("graphdb.framework.ttyg.controllers.external-integration-configuration-modal",[]).controller("ExternalIntegrationConfigurationModalController",t),t.$inject=["$scope","$uibModalInstance","ModalService","$translate","dialogModel"]},9297(t,e,n){n.d(e,{A1:()=>a,LE:()=>o,OJ:()=>r});const o=100,r="ALL",a={CREATE:"create",EDIT:"edit",CLONE:"clone"}},83427(t,e,n){n(93966);var o=n(9297);function r(t,e,n){return{open:function(r){return e.getExternalUrl().then(e=>{const n=function(t,e){return{agentName:t.name,agentId:t.id,queryMethodsUrl:`${e}/rest/llm/tool/ttyg/${t.id}`,difyExtensionUrl:`${e}/rest/llm/ttyg/${t.id}/dify`}}(r,e.data);return t.open({templateUrl:"js/angular/ttyg/templates/modal/external-integration-configuration-modal.html",controller:"ExternalIntegrationConfigurationModalController",windowClass:"external-integration-configuration-modal",backdrop:"static",resolve:{dialogModel:()=>n}}).result.then(()=>{}).catch(()=>{})}).catch(t=>{n.error(getError(t,0,o.LE))})}}}angular.module("graphdb.framework.ttyg.services.externalIntegrationModal",["graphdb.framework.ttyg.controllers.external-integration-configuration-modal"]).factory("ExternalIntegrationModalService",r),r.$inject=["$uibModal","LocationsRestService","toastr"]}};
//# sourceMappingURL=83427.3a81529337ce57e6acda.bundle.js.map