"use strict";var helpers=require("./helpers.js");const getWrapperLiquidAttrs=({uniqId:e,pageContext:t,setting:r})=>{let{invalidNumberMessageDisplay:a,invalidEmailMessageDisplay:s,requiredMessageDisplay:p,invalidLengthMessageDisplay:i}=helpers.getContents({uniqId:e,pageContext:t,setting:r});return{"data-id":e??"","data-invalid":!1,"data-gp-setting":JSON.stringify(r).replaceAll('"',"&#34;"),"data-translate-setting":JSON.stringify({requiredMessage:p,invalidEmailMessage:s,invalidLengthMessage:i,invalidNumberMessage:a}).replaceAll('"',"&#34;")}},getWrapperTSXAttrs=(e,t)=>({"data-product-id":t??"","data-id":e??""}),getWrapperErrorMessageAttrs=()=>({"data-slot-type":"message","data-hidden":"true"});exports.getWrapperErrorMessageAttrs=getWrapperErrorMessageAttrs,exports.getWrapperLiquidAttrs=getWrapperLiquidAttrs,exports.getWrapperTSXAttrs=getWrapperTSXAttrs;
