(parser)
| 5922 | return { target, offset, plusOrMinus, scrollOptions, container }; |
| 5923 | } |
| 5924 | function _parseSmoothness(parser) { |
| 5925 | var smoothness = parser.matchAnyToken("smoothly", "instantly"); |
| 5926 | if (!smoothness) return void 0; |
| 5927 | return smoothness.value === "smoothly" ? "smooth" : "instant"; |
| 5928 | } |
| 5929 | function _resolveScroll(ctx, to, offset, plusOrMinus, scrollOptions, container) { |
| 5930 | ctx.meta.runtime.implicitLoop(to, function(target) { |
| 5931 | if (target === window) target = document.body; |