(parser)
| 6281 | return { target, offset, plusOrMinus, scrollOptions, container }; |
| 6282 | } |
| 6283 | function _parseSmoothness(parser) { |
| 6284 | var smoothness = parser.matchAnyToken("smoothly", "instantly"); |
| 6285 | if (!smoothness) return void 0; |
| 6286 | return smoothness.value === "smoothly" ? "smooth" : "instant"; |
| 6287 | } |
| 6288 | function _resolveScroll(ctx, to, offset, plusOrMinus, scrollOptions, container) { |
| 6289 | ctx.meta.runtime.implicitLoop(to, function(target) { |
| 6290 | if (target === window) target = document.body; |