(()=>{"use strict";class n{constructor(){this.runned=!1}runOnReady(){t.runOnReady(this)}}class e extends n{constructor(){super(...arguments),this.runnedAdmin=!1}}class t{constructor(){this.isReady=!1}static addModule(n){window.inobyModules||(window.inobyModules=[]),window.inobyModules.push(n)}static getInstance(){return t.instance||(t.instance=new t),t.instance}static runOnReady(n){t.addModule(n),window.wasReady&&t.runModule(n)}static onReady(){var n;window.wasReady=!0,null===(n=window.inobyModules)||void 0===n||n.forEach((n=>{t.runModule(n)}))}static runModule(n){n instanceof e&&(null===window||void 0===window?void 0:window.adminpage)&&!n.runnedAdmin?document.addEventListener("mb_blocks_preview/"+n.metaboxId,(()=>{n.runnedAdmin=!0,n.runAdmin()})):n.runned||(n.runned=!0,n.run(),"function"==typeof n.runAsync&&setTimeout((()=>{n.runAsync()}),200))}}"loading"!==document.readyState?t.onReady():document.addEventListener("DOMContentLoaded",(()=>t.onReady()));const d=jQuery;class o{initPlaceholdersFromLabels(n,e=!1){d(n).attr("placeholder",(function(n,t){return!t||e?d('label[for="'+this.id+'"]').text():t}))}getInputLabel(n,e){let t;return n&&(t=d("label[for="+this.escBrackets(n)+"]")),!t&&e&&(t=d("label[for="+this.escBrackets(e)+"]")),t}escBrackets(n){return n.replace("[","\\[").replace("]","\\]")}}(new class extends n{run(){(new o).initPlaceholdersFromLabels(".woocommerce-EditAccountForm input[type=password]")}}).runOnReady()})();