{"version":3,"file":"static/npm.domelementtype.c25d88ab.js","mappings":"uHAIA,IAAIA,EAHJC,OAAOC,eAAeC,EAAS,aAAc,CAAEC,OAAO,IACtDD,EAAQE,QAAUF,EAAQG,MAAQH,EAAQI,IAAMJ,EAAQK,MAAQL,EAAQM,OAASN,EAAQO,QAAUP,EAAQQ,UAAYR,EAAQS,KAAOT,EAAQU,KAAOV,EAAQW,MAAQX,EAAQH,iBAAc,EAG3L,SAAWA,GAEPA,EAAkB,KAAI,OAEtBA,EAAkB,KAAI,OAEtBA,EAAuB,UAAI,YAE3BA,EAAqB,QAAI,UAEzBA,EAAoB,OAAI,SAExBA,EAAmB,MAAI,QAEvBA,EAAiB,IAAI,MAErBA,EAAmB,MAAI,QAEvBA,EAAqB,QAAI,SAC5B,CAnBD,CAmBGA,EAAcG,EAAQH,cAAgBG,EAAQH,YAAc,CAAC,IAWhEG,EAAQW,MALR,SAAeC,GACX,OAAQA,EAAKC,OAAShB,EAAYO,KAC9BQ,EAAKC,OAAShB,EAAYS,QAC1BM,EAAKC,OAAShB,EAAYQ,KAClC,EAIAL,EAAQU,KAAOb,EAAYa,KAE3BV,EAAQS,KAAOZ,EAAYY,KAE3BT,EAAQQ,UAAYX,EAAYW,UAEhCR,EAAQO,QAAUV,EAAYU,QAE9BP,EAAQM,OAAST,EAAYS,OAE7BN,EAAQK,MAAQR,EAAYQ,MAE5BL,EAAQI,IAAMP,EAAYO,IAE1BJ,EAAQG,MAAQN,EAAYM,MAE5BH,EAAQE,QAAUL,EAAYK,O","sources":["../node_modules/domelementtype/lib/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = exports.ElementType = void 0;\n/** Types of elements found in htmlparser2's DOM */\nvar ElementType;\n(function (ElementType) {\n /** Type for the root element of a document */\n ElementType[\"Root\"] = \"root\";\n /** Type for Text */\n ElementType[\"Text\"] = \"text\";\n /** Type for <? ... ?> */\n ElementType[\"Directive\"] = \"directive\";\n /** Type for <!-- ... --> */\n ElementType[\"Comment\"] = \"comment\";\n /** Type for <script> tags */\n ElementType[\"Script\"] = \"script\";\n /** Type for <style> tags */\n ElementType[\"Style\"] = \"style\";\n /** Type for Any tag */\n ElementType[\"Tag\"] = \"tag\";\n /** Type for <![CDATA[ ... ]]> */\n ElementType[\"CDATA\"] = \"cdata\";\n /** Type for <!doctype ...> */\n ElementType[\"Doctype\"] = \"doctype\";\n})(ElementType = exports.ElementType || (exports.ElementType = {}));\n/**\n * Tests whether an element is a tag or not.\n *\n * @param elem Element to test\n */\nfunction isTag(elem) {\n return (elem.type === ElementType.Tag ||\n elem.type === ElementType.Script ||\n elem.type === ElementType.Style);\n}\nexports.isTag = isTag;\n// Exports for backwards compatibility\n/** Type for the root element of a document */\nexports.Root = ElementType.Root;\n/** Type for Text */\nexports.Text = ElementType.Text;\n/** Type for <? ... ?> */\nexports.Directive = ElementType.Directive;\n/** Type for <!-- ... --> */\nexports.Comment = ElementType.Comment;\n/** Type for <script> tags */\nexports.Script = ElementType.Script;\n/** Type for <style> tags */\nexports.Style = ElementType.Style;\n/** Type for Any tag */\nexports.Tag = ElementType.Tag;\n/** Type for <![CDATA[ ... ]]> */\nexports.CDATA = ElementType.CDATA;\n/** Type for <!doctype ...> */\nexports.Doctype = ElementType.Doctype;\n"],"names":["ElementType","Object","defineProperty","exports","value","Doctype","CDATA","Tag","Style","Script","Comment","Directive","Text","Root","isTag","elem","type"],"sourceRoot":""}