System.register(["./index-legacy.DRKniymH.js"],(function(e,t){"use strict";var n,u;return{setters:[e=>{n=e.r,u=e.A}],execute:function(){function t(e={},t=null,n=[]){for(let[u,i]of Object.entries(e))l(n,r(t,u),i);return n}function r(e,t){return e?e+"["+t+"]":t}function l(e,n,u){if(Array.isArray(u))for(let[t,i]of u.entries())l(e,r(n,t.toString()),i);else u instanceof Date?e.push([n,u.toISOString()]):"boolean"==typeof u?e.push([n,u?"1":"0"]):"string"==typeof u?e.push([n,u]):"number"==typeof u?e.push([n,`${u}`]):null==u?e.push([n,""]):t(u,n,e)}e({d:function(e,t,r){let l=n(null==r?void 0:r.value),i=u((()=>void 0!==e.value));return[u((()=>i.value?e.value:l.value)),function(e){return i.value||(l.value=e),null==t?void 0:t(e)}]},e:t,p:function(e){var t,n;let u=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(u){for(let t of u.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(n=u.requestSubmit)||n.call(u)}}})}}}));
