(()=>{function e(r){return{require:"ngModel",link:function(e,n,t,i){i.$validators.c8yUrlSegment=function(e,n){return!r.validation.urlSegment.pattern.test(e||n)}}}}e.$inject=["c8yConfig"],angular.module("c8y.ui").directive("c8yValidateUrlSegment",e)})();