"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../../../../micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.cjs.js"),k=require("../../../../micromark-util-character@2.1.1/node_modules/micromark-util-character/index.cjs.js"),l={name:"tasklistCheck",tokenize:m};function C(){return{text:{91:l}}}function m(n,i,e){const a=this;return r;function r(t){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?e(t):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(t),n.exit("taskListCheckMarker"),s)}function s(t){return k.markdownLineEndingOrSpace(t)?(n.enter("taskListCheckValueUnchecked"),n.consume(t),n.exit("taskListCheckValueUnchecked"),u):t===88||t===120?(n.enter("taskListCheckValueChecked"),n.consume(t),n.exit("taskListCheckValueChecked"),u):e(t)}function u(t){return t===93?(n.enter("taskListCheckMarker"),n.consume(t),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),h):e(t)}function h(t){return k.markdownLineEnding(t)?i(t):k.markdownSpace(t)?n.check({tokenize:L},i,e)(t):e(t)}}function L(n,i,e){return c.factorySpace(n,a,"whitespace");function a(r){return r===null?e(r):i(r)}}exports.gfmTaskListItem=C;
//# sourceMappingURL=syntax.cjs.js.map
