(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`98855b37a3d52795063fb5f65b16b203e1f309a7`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`b5c85992-5955-4ce1-94bd-bc949989c014`,e._sentryDebugIdIdentifier=`sentry-dbid-b5c85992-5955-4ce1-94bd-bc949989c014`)}catch{}})();import{H as e,Z as t}from"./element-plus-B1fHG2BL.js";import{l as n,o as r,s as i}from"./main-CNgG4xjc.js";import{n as a}from"./usePopup-DtGdnVsG.js";function o(){let o=a(),s=t({name:[{required:!0,message:`请输入名称`,trigger:`blur`}]});e(()=>{o.collectionForm.uri.forEach((e,t)=>{e.value?s[`uri.${t}`]=[{validator:(e,t,r)=>{t&&!n(t.value)?r(Error(`请输入有效的URI`)):r()},trigger:`change`}]:s[`uri.${t}`]=[{required:!1}]})});function c(e){return e.length?i(r(e[0].target)):`暂无匹配项`}return{rules:s,getTargetHostname:c}}export{o as t};
//# sourceMappingURL=collection-DSqVd0uf.js.map