import{Component}from"@theme/component";class ProductCustomProperty extends Component{handleInput(){this.#updateCharacterCount()}#updateCharacterCount(){const{characterCount,textInput}=this.refs,currentLength=textInput.value.length,maxLength=textInput.maxLength,template=characterCount.getAttribute("data-template");if(!template)return;const updatedText=template.replace("[current]",currentLength.toString()).replace("[max]",maxLength.toString());characterCount.textContent=updatedText}}customElements.define("product-custom-property-component",ProductCustomProperty);
//# sourceMappingURL=/s/files/1/0677/1399/0759/t/1/assets/product-custom-property.js.map?v=1783078800
