import{d as e}from"./chunk-I267ADJP.js";import{Ld as t}from"./chunk-4JM6MIZ5.js";var n={VALIDATORS:[e.required,e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Visningsnamn kr\xE4vs.",minlength:"Visningsnamnet m\xE5ste inneh\xE5lla minst ett tecken.",maxlength:"Visningsnamnet f\xE5r inte vara mer \xE4n 120 tecken l\xE5ngt."}},o={VALIDATORS:[e.required],MESSAGES:{required:"Synligheten m\xE5ste anges."}},s={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"Beskrivningen m\xE5ste inneh\xE5lla minst tre tecken.",maxlength:"Beskrivningen f\xE5r inte vara mer \xE4n 1000 tecken l\xE5ng."}},A={VALIDATORS:[],MESSAGES:{required:"En kanal m\xE5ste anges f\xF6r offentliga spellistor."}};function c(i,a){a.toString()===t.PUBLIC.toString()?i.setValidators([e.required]):i.setValidators(null),i.markAsDirty(),i.updateValueAndValidity();}export{n as a,o as b,s as c,A as d,c as e};/**i18n:68865f44f2a527c44cf5136a17c76a0ff8308c2bae5c7c8d50070a5fb9847c44*///# sourceMappingURL=chunk-67W4HYD7.js.map