Build 542549stable
Module 621466
1,196 characters · in no known chunkDependencies
Required by (52)
23339343378203883379106236112758139384142662159730176634189996201349203480216603241124242269253363267102269115275664299619312138316254390435436405453903483517492230494012501440505234506309521754565265584648590114594467623646646764697138728321731231743650769299781696783144847342854379903586916260976526994064
Lazily required by (0)none
Requires (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";function i(e,t){if(null==e)return!1;let n=e?.ownerDocument?.defaultView;if(null==n)return console.warn("Unable to determine render window for element",e),!1;let i=t?.name??"Element",r=n[i];return null==r?(console.warn(`Unable to find element constructor "${i}" in`,n),!1):e instanceof r}function r(e){let t=parseInt(e,10);return isNaN(t)?0:t}n.d(t,{BF:()=>u,Cw:()=>l,p3:()=>c,vq:()=>i,wB:()=>d,xI:()=>r});let s=/input/i,a=/textarea/i,o=new Set(["text","password","number","date","datetime-local","time","week","month","email","search","tel","url"]);function l(e){if(null==e)return!1;if("true"===e.getAttribute("contenteditable")||a.test(e.tagName))return!0;if(s.test(e.tagName)){let t=e.getAttribute("type")??"text";if(o.has(t))return!0}return!1}function u(e){let{target:t}=e;return null==t?null:"ownerDocument"in t?t.ownerDocument:"document"in t?t.document:(console.warn("Unable to get owner document from event",e.type),null)}function c(e,t){let n=e.parentElement;for(;null!=n;){if(n.classList.contains(t))return n;n=n.parentElement}return null}function d(e,t){let n=e.parentElement;for(;null!=n;){if(null!=n.getAttribute(t))return n;n=n.parentElement}return null}}