var e={3020:(e,r,t)=>{function l(e){return function(e){return"rating"===e?.type}(e)&&e?.displayValue?e.displayValue:null}t.d(r,{$t:()=>l})}},r={};function t(l){var a=r[l];if(void 0!==a)return a.exports;var n=r[l]={exports:{}};return e[l](n,n.exports,t),n.exports}t.d=(e,r)=>{for(var l in r)t.o(r,l)&&!t.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:r[l]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var l={};t.d(l,{$R:()=>u,ID:()=>o,KR:()=>s,aX:()=>n});var a=t(3020);const n=e=>{const r=e||null;return r?r.endsWith("?")?r:r.replace(/[.:]$/,"")+":":null},s=e=>{if("image-select"===e?.type)return e.choices.map(e=>{let r=e.perceived;return e.showLabels&&null!=e.label&&""!==e.label&&(r+=" - "+e.label),r}).join(", ");if("url"===e?.type&&e?.url)return e.url;const r=(0,a.$t)(e);return r||(e?.name&&e?.size?e.name+" ("+e.size+")":e)},u=e=>"image-select"===e?.type?e.choices.map(e=>{const r=e.perceived??"",t=e.showLabels&&null!=e.label&&""!==e.label?e.label:"";return{src:e.image?.src??"",letterCode:r,label:t}}):null,o=e=>{if("url"===e?.type&&e?.url){let r=e.url;return/^https?:\/\//i.test(r)||(r="https://"+r),r}return null},i=l.$R,p=l.ID,c=l.aX,b=l.KR;export{i as getImages,p as getUrl,c as maybeAddColonToLabel,b as maybeTransformValue};