const e=(e,r)=>`${e}__${r}-message`;const r=(r,t,n)=>{if(!n)return;let s=e(r,"helper");if(t)s=e(r,"error");return s};const t=(e,r)=>{if(!e||!r)return;if(r.required===true){e.checkValidity()===false?r.invalid=true:r.invalid=false}};function n(e,r){if(Object.getOwnPropertyDescriptor(e,"type"))return;Object.defineProperty(e,"type",{get:typeof r==="function"?r:()=>r,enumerable:true,configurable:false})}const s=()=>{var e;return typeof process!=="undefined"&&((e=process.env)===null||e===void 0?void 0:e.__STENCIL_SPEC_TESTS__)==="true"};export{r as a,t as b,n as e,s as i,e as m};
//# sourceMappingURL=p-C3xDZBme.js.map